1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <cstdio>
#include <cstdlib>

int main(){
int x;
while(scanf("%d",&x)!=EOF){
if(x >= 90 && x<= 100)
printf("A");
else if(x >= 80&& x<=89)
printf("B");
else if(x >= 70 && x <= 79)
printf("C");
else if(x >= 60 && x <= 69)
printf("D");
else if(x >= 0 && x <= 59)
printf("E");
else printf("Score is error!");
printf("\n");
}
return 0;
}