iii. 判断末尾