Grade Calculator
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 .
Output
The grade letter.
Constraints
Sample 1
Input
82
Output
B
Sample 2
Input
39
Output
F
Convert marks out of 100 to a grade: 90 and above A, 75–89 B, 60–74 C, 40–59 D, below 40 F.
A single integer .
The grade letter.
Input
82
Output
B
Input
39
Output
F