85
B
score = int(input()) if score >= 90: print('A') elif score >= 80: print('B') elif score >= 70: print('C') else: print('D')