package jichu;
import java.util.Scanner;
public class Test4 {
public static void main(String[] args) {
System.out.print("请输入一个整数:");
Scanner scanner = new Scanner(System.in);
int n=scanner.nextInt();
System.out.println(method(n));
}
public static char method(int n){
if(90<=n&&n<=100){
return 'A';
}else if(80<=n&&n<=90){
return 'B';
}else if(70<=n&&n<=80){
return 'C';
}else if(60<=n&&n<=70){
return 'D';
}else if(0<=n&&n<=60){
return 'E';
}else{
return 'F';
}
}
}