Server Time: Wed Feb 26, 2020 2:05 pm
Welcome ( logout
E - CGPA
Ranklist
Time Limit: 2 second(s) Memory Limit: 32 MB

Problem G

CGPA

standard I/O
code

In real-life, if you have skill then your CGPA doesn't matter. But you need good CGPA in your university to get a good job. One of your friend don't know how CGPA is measured. He needs your help. Now, write a program that takes a student's mark as input and tells his CGPA according to the following list.

cgpa.jpg

Input

Input is an integer number.

Output

Print the corresponding CGPA according to the following example.
Don't forget the new line.

Sample

Input
99
38
57
Output
A+
F
B-

Developed and Maintained by
JANE ALAM JAN
Copyright © 2012
LightOJ, Jane Alam Jan