import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int point = scan.nextInt();
if (point >= 90) {
System.out.println("A");
} else if (point >= 80) {
System.out.println("B");
} else if (point >= 70) {
System.out.println("C");
} else if (point >= 60) {
System.out.println("D");
} else {
System.out.println("F");
}
}
}
if(point >= 90 && point <= 100) {
System.out.println("A");
}
이렇게 쓰지 않아도 시험 점수 범위 확인하는데는 이상이 없다는거 알 게 되었다.