Problem2172--Digital grading

2172: Digital grading

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 0  Solved: 0
[Submit] [Status] [Web Board] [Creator:]

Description

A numeric integer grade is between 50 and 99. Using integer division or otherwise obtain a int value that is 5, 6, 7, 8, or 9 from the numeric grade. Write code using a switch statement using this number in the selector expression that assigns letter grades based on this 10 point scheme: if the numeric_grade is not less than 90, the letter_grade is an A, if the numeric_grade is not less than 80, the letter_grade is a B, if the numeric_grade is not less than 70, the letter_grade is C, if the numeric_grade is not less than 60, the letter_grade is D, otherwise the letter_grade is F.

Input

Input a integer between 50 and 99

Output

The number corresponds to the grade

Sample Input Copy

97

Sample Output Copy

A

Source/Category

9