while True:
temp = int(input('猜猜我考了多少分:'))
if temp == 100:
print('满分')
break
elif temp <= 99 and temp > 79:
print('优')
elif temp <=79 and temp > 69:
print('良')
elif temp <=69 and temp > 60:
print('一般')
elif temp <= 59 and temp >49:
print('差,不及格')
else:
print('完蛋了')
print('程序结束')