score = int(input('Please input your score : '))
if 90<= score <=100:
    print('A')
elif 80< score < 90:
    print('B')
elif 60<= score <= 80:
    print('C')
elif score<60:
    print('D')

else:
    print('Input was Wrong!')