#include <stdio.h> #include <stdlib.h> int main() { int score; while(scanf("%d",&score)!=EOF) { if(score<0||score>100) printf("Score is error! "); if(score>=90&&score<=100) printf("A "); if(score>=80&&score<=89) printf("B "); if(score>=70&&score<=79) printf("C "); if(score>=60&&score<=69) printf("D "); if(score>=0&&score<=59) printf("E "); } return 0; }