import java.util.Scanner; public class Main{ public static void main(String[] args) throws Exception { int score; Scanner sc = new Scanner(System.in); score = sc.nextInt(); switch(score/10){ case 10 : case 9: System.out.println("A"); break; case 8: System.out.println("B"); break; case 7: System.out.println("C"); break; case 6: System.out.println("D"); break; default: System.out.println("F"); bre..