#Program condition (if-elif-else)
score = float(input('ป้อนคะแนน :'))
if (score >= 80):
print("เกรด A")
elif(score >= 70 and score <= 79):
print("เกรด B")
elif(score >= 60 and score <= 69):
print("เกรด C")
elif(score >= 50 and score <= 59):
print("เกรด D")
else:
print("เกรด F")