Problem1296--Grade Judgment

1296: Grade Judgment

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

Description

Write a program that outputs the appropriate grade when KTY's score is X.
The grades for each score are as follows.
  • A++ if X is 100
  • 97~99 is A+
  • A for 93-96
  • 90-92 is A-
  • 87-89 is B+
  • B if 83-86
  • 80-82 is B-
         ...
  • D+ if 67~69
  • D if 63-66
  • 60-62 is D-
  • F if X < 60

Input

An integer X between 0 and 100 is input.

Output

Print out KTY's grade.

Sample Input Copy

77

Sample Output Copy

C+

Source/Category