Skip to content
UPEEC

Grade Calculator

Easy#basics#conditionals· solved by 0 · time limit 2.0 s

Convert marks out of 100 to a grade: 90 and above A, 75–89 B, 60–74 C, 40–59 D, below 40 F.

Input

A single integer mm.

Output

The grade letter.

Constraints

0≤m≤1000 \le m \le 100

Sample 1

Input

82

Output

B

Sample 2

Input

39

Output

F

Sign in or join free to run and submit your solution.