node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 2, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 40, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 193, 5 ], [ 193, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 15, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 19, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 19, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 19, 55 ], [ 55, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 57, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 55, 70 ], [ 70, 71 ], [ 55, 72 ], [ 72, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 74, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 72, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 72, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 95, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 95, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 108, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 108, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 127, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 127, 146 ], [ 146, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 148, 159 ], [ 159, 160 ], [ 159, 161 ], [ 146, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 146, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 170, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 169, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 182, 187 ], [ 19, 188 ], [ 188, 189 ], [ 6, 190 ], [ 190, 191 ], [ 0, 192 ], [ 192, 193 ], [ 192, 194 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int i = 1;", "i", "1", "while (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}", "i < 1000", "i", "1000", "{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] string = line.split(\" \");", "string", "line.split(\" \")", "line.split", "line", "\" \"", "int m = Integer.parseInt(string[0]);", "m", "Integer.parseInt(string[0])", "Integer.parseInt", "Integer", "string[0]", "string", "0", "int f = Integer.parseInt(string[1]);", "f", "Integer.parseInt(string[1])", "Integer.parseInt", "Integer", "string[1]", "string", "1", "int r = Integer.parseInt(string[2]);", "r", "Integer.parseInt(string[2])", "Integer.parseInt", "Integer", "string[2]", "string", "2", "if (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\n\t\t\t}", "break;", "if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "m == -1 || f == -1 || m + f < 30", "m == -1 || f == -1 || m + f < 30", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "m + f < 30", "m + f", "m", "f", "30", "{\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "m + f >= 65 && m + f < 80", "m + f >= 65", "m + f", "m", "f", "65", "m + f < 80", "m + f", "m", "f", "80", "{\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "m + f >= 50 && m + f < 65", "m + f >= 50", "m + f", "m", "f", "50", "m + f < 65", "m + f", "m", "f", "65", "{\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "m + f >= 30 && m + f < 50 && r >= 50", "m + f >= 30 && m + f < 50 && r >= 50", "m + f >= 30", "m + f", "m", "f", "30", "m + f < 50", "m + f", "m", "f", "50", "r >= 50", "r", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "m + f >= 30 && m + f < 50", "m + f >= 30", "m + f", "m", "f", "30", "m + f < 50", "m + f", "m", "f", "50", "{\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "i++", "i", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 1000) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] string = line.split(\" \");\n\t\t\tint m = Integer.parseInt(string[0]);\n\t\t\tint f = Integer.parseInt(string[1]);\n\t\t\tint r = Integer.parseInt(string[2]);\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\n\t\t\t} else if (m == -1 || f == -1 || m + f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (m + f >= 65 && m + f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (m + f >= 50 && m + f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (m + f >= 30 && m + f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int i = 1; while (i < 1000) { String line = sc.nextLine(); String[] string = line.split(" "); int m = Integer.parseInt(string[0]); int f = Integer.parseInt(string[1]); int r = Integer.parseInt(string[2]); if (m == -1 && f == -1 && r == -1) { break; } else if (m == -1 || f == -1 || m + f < 30) { System.out.println("F"); } else if (m + f >= 80) { System.out.println("A"); } else if (m + f >= 65 && m + f < 80) { System.out.println("B"); } else if (m + f >= 50 && m + f < 65) { System.out.println("C"); } else if (m + f >= 30 && m + f < 50 && r >= 50) { System.out.println("C"); } else if (m + f >= 30 && m + f < 50) { System.out.println("D"); } i++; } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 13, 17, 14, 2, 17, 2, 13, 13, 30, 4, 18, 13, 17, 14, 2, 17, 2, 13, 13, 30, 4, 18, 13, 17, 14, 2, 17, 2, 13, 13, 30, 4, 18, 13, 17, 14, 2, 17, 2, 13, 13, 30, 14, 2, 17, 13, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 163, 8 ], [ 163, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 11, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 26, 42 ], [ 42, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 44, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 42, 57 ], [ 57, 58 ], [ 42, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 59, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 74, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 85, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 96, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 110, 112 ], [ 107, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 114, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 107, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 11, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 133, 143 ], [ 143, 144 ], [ 144, 145 ], [ 133, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 11, 157 ], [ 157, 158 ], [ 158, 159 ], [ 9, 160 ], [ 160, 161 ], [ 0, 162 ], [ 162, 163 ], [ 162, 164 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m;\n\t\tint f;\n\t\tint r;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m;\n\t\tint f;\n\t\tint r;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m;\n\t\tint f;\n\t\tint r;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m;\n\t\tint f;\n\t\tint r;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int m;", "m", "int f;", "f", "int r;", "r", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "while(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "f = scan.nextInt()", "f", "scan.nextInt()", "scan.nextInt", "scan", "r = scan.nextInt()", "r", "scan.nextInt()", "scan.nextInt", "scan", "if(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "list.add(\"F\")", "list.add", "list", "\"F\"", "if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "80 <= m + f", "80", "m + f", "m", "f", "{\n\t\t\t\tlist.add(\"A\");\n\t\t\t}", "list.add(\"A\")", "list.add", "list", "\"A\"", "if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "65 <= m + f", "65", "m + f", "m", "f", "{\n\t\t\t\tlist.add(\"B\");\n\t\t\t}", "list.add(\"B\")", "list.add", "list", "\"B\"", "if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "50 <= m + f", "50", "m + f", "m", "f", "{\n\t\t\t\tlist.add(\"C\");\n\t\t\t}", "list.add(\"C\")", "list.add", "list", "\"C\"", "if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "30 <= m + f", "30", "m + f", "m", "f", "{\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}", "if(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}", "50 <= r", "50", "r", "{\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}", "list.add(\"C\")", "list.add", "list", "\"C\"", "{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}", "list.add(\"D\")", "list.add", "list", "\"D\"", "{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}", "list.add(\"F\")", "list.add", "list", "\"F\"", "for(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(list.get(i));\n\t\t}", "System.out.println(list.get(i))", "System.out.println", "System.out", "System", "System.out", "list.get(i)", "list.get", "list", "i", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m;\n\t\tint f;\n\t\tint r;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m;\n\t\tint f;\n\t\tint r;\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}else if(m == -1 || f == -1){\n\t\t\t\tlist.add(\"F\");\n\t\t\t}else if(80 <= m + f){\n\t\t\t\tlist.add(\"A\");\n\t\t\t}else if(65 <= m + f){\n\t\t\t\tlist.add(\"B\");\n\t\t\t}else if(50 <= m + f){\n\t\t\t\tlist.add(\"C\");\n\t\t\t}else if(30 <= m + f){\n\t\t\t\tif(50 <= r){\n\t\t\t\t\tlist.add(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tlist.add(\"D\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tlist.add(\"F\");\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < list.size(); i++){\n\t\t\tSystem.out.println(list.get(i));\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int m; int f; int r; ArrayList<String> list = new ArrayList<String>(); while(true){ m = scan.nextInt(); f = scan.nextInt(); r = scan.nextInt(); if(m == -1 && f == -1 && r == -1){ break; }else if(m == -1 || f == -1){ list.add("F"); }else if(80 <= m + f){ list.add("A"); }else if(65 <= m + f){ list.add("B"); }else if(50 <= m + f){ list.add("C"); }else if(30 <= m + f){ if(50 <= r){ list.add("C"); }else{ list.add("D"); } }else{ list.add("F"); } } for(int i = 0; i < list.size(); i++){ System.out.println(list.get(i)); } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 42, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 140, 5 ], [ 140, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 34, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 32, 47 ], [ 47, 48 ], [ 48, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 48, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 80, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 91, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 47, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 47, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 47, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 47, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 134, 136 ], [ 6, 137 ], [ 137, 138 ], [ 0, 139 ], [ 139, 140 ], [ 139, 141 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint m = x.nextInt();\n\t\tint f = x.nextInt();\n\t\tint r = x.nextInt();\n\t\tint go = m + f;\n\t\twhile( m != -1 || f != -1 || r != -1){\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint m = x.nextInt();\n\t\tint f = x.nextInt();\n\t\tint r = x.nextInt();\n\t\tint go = m + f;\n\t\twhile( m != -1 || f != -1 || r != -1){\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint m = x.nextInt();\n\t\tint f = x.nextInt();\n\t\tint r = x.nextInt();\n\t\tint go = m + f;\n\t\twhile( m != -1 || f != -1 || r != -1){\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}\n\t}", "main", "{\n\t\tScanner x = new Scanner(System.in);\n\t\tint m = x.nextInt();\n\t\tint f = x.nextInt();\n\t\tint r = x.nextInt();\n\t\tint go = m + f;\n\t\twhile( m != -1 || f != -1 || r != -1){\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}\n\t}", "Scanner x = new Scanner(System.in);", "x", "new Scanner(System.in)", "int m = x.nextInt();", "m", "x.nextInt()", "x.nextInt", "x", "int f = x.nextInt();", "f", "x.nextInt()", "x.nextInt", "x", "int r = x.nextInt();", "r", "x.nextInt()", "x.nextInt", "x", "int go = m + f;", "go", "m + f", "m", "f", "while( m != -1 || f != -1 || r != -1){\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}", "m != -1 || f != -1 || r != -1", "m != -1 || f != -1 || r != -1", "m != -1", "m", "-1", "1", "f != -1", "f", "-1", "1", "r != -1", "r", "-1", "1", "{\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}", "if( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "m == -1 || f == -1 || go < 30", "m == -1 || f == -1 || go < 30", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "go < 30", "go", "30", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "go >= 80", "go", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "go >= 65", "go", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "go >= 50 || r >= 50", "go >= 50", "go", "50", "r >= 50", "r", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "go >= 30", "go", "30", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "m = x.nextInt()", "m", "x.nextInt()", "x.nextInt", "x", "f = x.nextInt()", "f", "x.nextInt()", "x.nextInt", "x", "r = x.nextInt()", "r", "x.nextInt()", "x.nextInt", "x", "go = m + f", "go", "m + f", "m", "f", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint m = x.nextInt();\n\t\tint f = x.nextInt();\n\t\tint r = x.nextInt();\n\t\tint go = m + f;\n\t\twhile( m != -1 || f != -1 || r != -1){\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner x = new Scanner(System.in);\n\t\tint m = x.nextInt();\n\t\tint f = x.nextInt();\n\t\tint r = x.nextInt();\n\t\tint go = m + f;\n\t\twhile( m != -1 || f != -1 || r != -1){\n\t\t\tif( m == -1 || f == -1 || go < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( go >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( go >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( go >= 50 || r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( go >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\tm = x.nextInt();\n\t\t\tf = x.nextInt();\n\t\t\tr = x.nextInt();\n\t\t\tgo = m + f;\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner x = new Scanner(System.in); int m = x.nextInt(); int f = x.nextInt(); int r = x.nextInt(); int go = m + f; while( m != -1 || f != -1 || r != -1){ if( m == -1 || f == -1 || go < 30){ System.out.println("F"); }else if( go >= 80){ System.out.println("A"); }else if( go >= 65){ System.out.println("B"); }else if( go >= 50 || r >= 50){ System.out.println("C"); }else if( go >= 30){ System.out.println("D"); } m = x.nextInt(); f = x.nextInt(); r = x.nextInt(); go = m + f; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 171, 5 ], [ 171, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 14, 55 ], [ 55, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 57, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 55, 70 ], [ 70, 71 ], [ 14, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 72, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 72, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 89, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 100, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 115, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 135, 137 ], [ 130, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 139, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 130, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 6, 168 ], [ 168, 169 ], [ 0, 170 ], [ 170, 171 ], [ 170, 172 ] ]
[ "import java.io.*;\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "String input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "String[] score = input.split(\" \");", "score", "input.split(\" \")", "input.split", "input", "\" \"", "Integer m = Integer.parseInt(score[0]);", "m", "Integer.parseInt(score[0])", "Integer.parseInt", "Integer", "score[0]", "score", "0", "Integer f = Integer.parseInt(score[1]);", "f", "Integer.parseInt(score[1])", "Integer.parseInt", "Integer", "score[1]", "score", "1", "Integer r = Integer.parseInt(score[2]);", "r", "Integer.parseInt(score[2])", "Integer.parseInt", "Integer", "score[2]", "score", "2", "Integer total = m + f;", "total", "m + f", "m", "f", "if(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "total >= 80", "total", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "total >= 65 && total < 80", "total >= 65", "total", "65", "total < 80", "total", "80", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "total >= 50 && total < 65", "total >= 50", "total", "50", "total < 65", "total", "65", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "total >= 30 && total < 50", "total >= 30", "total", "30", "total < 50", "total", "50", "{\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}", "if(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "total < 30", "total", "30", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString input = br.readLine();\n\t\t\tString[] score = input.split(\" \");\n\t\t\tInteger m = Integer.parseInt(score[0]);\n\t\t\tInteger f = Integer.parseInt(score[1]);\n\t\t\tInteger r = Integer.parseInt(score[2]);\n\t\t\tInteger total = m + f;\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if(total >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(total >= 65 && total < 80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(total >= 50 && total < 65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(total >= 30 && total < 50){\n\t\t\t\tif(r >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(total < 30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; public class Main { /** * @param args * @throws IOException */ public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String input = br.readLine(); String[] score = input.split(" "); Integer m = Integer.parseInt(score[0]); Integer f = Integer.parseInt(score[1]); Integer r = Integer.parseInt(score[2]); Integer total = m + f; if(m == -1 && f == -1 && r == -1){ break; } if(m == -1 || f == -1){ System.out.println("F"); } else if(total >= 80){ System.out.println("A"); } else if(total >= 65 && total < 80){ System.out.println("B"); } else if(total >= 50 && total < 65){ System.out.println("C"); } else if(total >= 30 && total < 50){ if(r >= 50){ System.out.println("C"); } else{ System.out.println("D"); } } else if(total < 30){ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 39, 54 ], [ 23, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 55, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 55, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 71, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 83, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 102, 103 ], [ 102, 104 ], [ 95, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 95, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 111, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 111, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 6, 129 ], [ 129, 130 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tboolean sharp = false;\n\n\t\twhile (true) {\n\t\t\tm = scanner.nextInt();\n\t\t\tf = scanner.nextInt();\n\t\t\tr = scanner.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\n\t\t\tif (m == -1 || f == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tboolean sharp = false;\n\n\t\twhile (true) {\n\t\t\tm = scanner.nextInt();\n\t\t\tf = scanner.nextInt();\n\t\t\tr = scanner.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\n\t\t\tif (m == -1 || f == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tboolean sharp = false;\n\n\t\twhile (true) {\n\t\t\tm = scanner.nextInt();\n\t\t\tf = scanner.nextInt();\n\t\t\tr = scanner.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\n\t\t\tif (m == -1 || f == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tboolean sharp = false;\n\n\t\twhile (true) {\n\t\t\tm = scanner.nextInt();\n\t\t\tf = scanner.nextInt();\n\t\t\tr = scanner.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\n\t\t\tif (m == -1 || f == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "boolean sharp = false;", "sharp", "false", "while (true) {\n\t\t\tm = scanner.nextInt();\n\t\t\tf = scanner.nextInt();\n\t\t\tr = scanner.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\n\t\t\tif (m == -1 || f == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}", "true", "{\n\t\t\tm = scanner.nextInt();\n\t\t\tf = scanner.nextInt();\n\t\t\tr = scanner.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\n\t\t\tif (m == -1 || f == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}", "m = scanner.nextInt()", "m", "scanner.nextInt()", "scanner.nextInt", "scanner", "f = scanner.nextInt()", "f", "scanner.nextInt()", "scanner.nextInt", "scanner", "r = scanner.nextInt()", "r", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if (m == -1 || f == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "m + f >= 80", "m + f", "m", "f", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "m + f >= 65", "m + f", "m", "f", "65", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f >= 50 || r >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "m + f >= 50 || r >= 50", "m + f >= 50", "m + f", "m", "f", "50", "r >= 50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30)\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "m + f >= 30", "m + f", "m", "f", "30", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int m, f, r; boolean sharp = false; while (true) { m = scanner.nextInt(); f = scanner.nextInt(); r = scanner.nextInt(); if (m == -1 && f == -1 && r == -1) break; if (m == -1 || f == -1) System.out.println("F"); else if (m + f >= 80) System.out.println("A"); else if (m + f >= 65) System.out.println("B"); else if (m + f >= 50 || r >= 50) System.out.println("C"); else if (m + f >= 30) System.out.println("D"); else System.out.println("F"); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 137, 5 ], [ 137, 6 ], [ 6, 7 ], [ 137, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 16, 32 ], [ 32, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 34, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 32, 47 ], [ 16, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 48, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 59, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 72, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 92, 93 ], [ 92, 94 ], [ 85, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 85, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 102, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 48, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 8, 134 ], [ 134, 135 ], [ 0, 136 ], [ 136, 137 ], [ 136, 138 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}\n\t}\n}", "Main", "private static Scanner sc;", "sc", "public static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}\n\t}", "main", "{\n\t\tsc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}\n\t}", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "while(true){\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}", "true", "{\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}", "int m=sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f=sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r=sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m==-1&&f==-1&&r==-1)break;", "m==-1&&f==-1&&r==-1", "m==-1&&f==-1&&r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "break;", "if(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");", "m!=-1&&f!=-1", "m!=-1", "m", "-1", "1", "f!=-1", "f", "-1", "1", "{\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "if(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "m+f>=80", "m+f", "m", "f", "80", "{\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "m+f>=65", "m+f", "m", "f", "65", "{\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "m+f>=50||r>=50", "m+f>=50", "m+f", "m", "f", "50", "r>=50", "r", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "m+f>=30", "m+f", "m", "f", "30", "{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "m+f<30", "m+f", "m", "f", "30", "{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}\n\t}\n}", "public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m=sc.nextInt();\n\t\t\tint f=sc.nextInt();\n\t\t\tint r=sc.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1)break;\n\t\t\tif(m!=-1&&f!=-1){\n\t\t\t\tif(m+f>=80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(m+f>=65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(m+f>=50||r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(m+f>=30){\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}else if(m+f<30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else System.out.println(\"F\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner sc; public static void main(String[] args){ sc = new Scanner(System.in); while(true){ int m=sc.nextInt(); int f=sc.nextInt(); int r=sc.nextInt(); if(m==-1&&f==-1&&r==-1)break; if(m!=-1&&f!=-1){ if(m+f>=80){ System.out.println("A"); }else if(m+f>=65){ System.out.println("B"); }else if(m+f>=50||r>=50){ System.out.println("C"); }else if(m+f>=30){ System.out.println("D"); }else if(m+f<30){ System.out.println("F"); } }else System.out.println("F"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 8, 2, 13, 17, 17, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 13, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 26, 42 ], [ 42, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 44, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 42, 57 ], [ 26, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 58, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 68, 75 ], [ 26, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 82, 89 ], [ 76, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 90, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 103, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 116, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 116, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 135, 140 ], [ 18, 141 ], [ 141, 142 ] ]
[ "import java.awt.*;\nimport java.awt.geom.*;\nimport java.io.*;\n\nimport java.util.*;\nclass Main {\n\n\tstatic char[] xx = new char[] {'S','H','C','D'};\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}\n}", "import java.awt.*;", "awt.*", "java", "import java.awt.geom.*;", "geom.*", "java.awt", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main {\n\n\tstatic char[] xx = new char[] {'S','H','C','D'};\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}\n}", "Main", "static char[] xx = new char[] {'S','H','C','D'};", "xx", "new char[] {'S','H','C','D'}", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}\n\t\t\t\n\t\t}", "true", "{\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tif(m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}\n\t\t\t\n\t\t}", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "continue;", "if(m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\telse if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "continue;", "if(m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}", "m + f >= 50", "m + f", "m", "f", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(m +f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}", "m +f < 30", "m +f", "m", "f", "30", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\t\tSystem.out.println((r >= 50)?\"C\":\"D\");\n\t\t\t}", "System.out.println((r >= 50)?\"C\":\"D\")", "System.out.println", "System.out", "System", "System.out", "(r >= 50)?\"C\":\"D\"", "(r >= 50)", "r", "50", "\"C\"", "\"D\"", "String[] args", "args" ]
import java.awt.*; import java.awt.geom.*; import java.io.*; import java.util.*; class Main { static char[] xx = new char[] {'S','H','C','D'}; public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true) { int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); if(m == -1 && f == -1 && r == -1) break; if(m == -1 || f == -1) { System.out.println("F"); continue; } if(m + f >= 80) { System.out.println("A"); continue; } else if(m + f >= 65) { System.out.println("B"); } else if(m + f >= 50) { System.out.println("C"); } else if(m +f < 30) { System.out.println("F"); } else { System.out.println((r >= 50)?"C":"D"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 4, 18, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 29, 17, 14, 2, 2, 13, 13, 17, 29, 17, 14, 2, 2, 13, 13, 17, 29, 17, 14, 2, 2, 13, 13, 17, 29, 17, 14, 2, 2, 13, 13, 17, 14, 2, 13, 17, 29, 17, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 124, 5 ], [ 124, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 51, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 6, 60 ], [ 60, 61 ], [ 124, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 65, 75 ], [ 75, 76 ], [ 64, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 64, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 85, 91 ], [ 91, 92 ], [ 64, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 93, 99 ], [ 99, 100 ], [ 64, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 107, 113 ], [ 113, 114 ], [ 64, 115 ], [ 115, 116 ], [ 62, 117 ], [ 117, 118 ], [ 62, 119 ], [ 119, 120 ], [ 62, 121 ], [ 121, 122 ], [ 0, 123 ], [ 123, 124 ], [ 123, 125 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static String run(int m, int f, int r) {\n\t\tif (m == -1 || f == -1)\n\t\t\treturn (\"F\");\n\t\tif (m + f >= 80)\n\t\t\treturn (\"A\");\n\t\tif (m + f >= 65)\n\t\t\treturn (\"B\");\n\t\tif (m + f >= 50)\n\t\t\treturn (\"C\");\n\t\tif (m + f >= 30)\n\t\t\tif (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");\n\t\treturn (\"F\");\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static String run(int m, int f, int r) {\n\t\tif (m == -1 || f == -1)\n\t\t\treturn (\"F\");\n\t\tif (m + f >= 80)\n\t\t\treturn (\"A\");\n\t\tif (m + f >= 65)\n\t\t\treturn (\"B\");\n\t\tif (m + f >= 50)\n\t\t\treturn (\"C\");\n\t\tif (m + f >= 30)\n\t\t\tif (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");\n\t\treturn (\"F\");\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}\n\t\tSystem.exit(0);\n\t}", "main", "{\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}\n\t\tSystem.exit(0);\n\t}", "@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while (true) {\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}", "true", "{\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int f = scan.nextInt();", "f", "scan.nextInt()", "scan.nextInt", "scan", "int r = scan.nextInt();", "r", "scan.nextInt()", "scan.nextInt", "scan", "if (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "System.out.println(run(m, f, r))", "System.out.println", "System.out", "System", "System.out", "run(m, f, r)", "run", "m", "f", "r", "System.exit(0)", "System.exit", "System", "0", "String[] args", "args", "private static String run(int m, int f, int r) {\n\t\tif (m == -1 || f == -1)\n\t\t\treturn (\"F\");\n\t\tif (m + f >= 80)\n\t\t\treturn (\"A\");\n\t\tif (m + f >= 65)\n\t\t\treturn (\"B\");\n\t\tif (m + f >= 50)\n\t\t\treturn (\"C\");\n\t\tif (m + f >= 30)\n\t\t\tif (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");\n\t\treturn (\"F\");\n\n\t}", "run", "{\n\t\tif (m == -1 || f == -1)\n\t\t\treturn (\"F\");\n\t\tif (m + f >= 80)\n\t\t\treturn (\"A\");\n\t\tif (m + f >= 65)\n\t\t\treturn (\"B\");\n\t\tif (m + f >= 50)\n\t\t\treturn (\"C\");\n\t\tif (m + f >= 30)\n\t\t\tif (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");\n\t\treturn (\"F\");\n\n\t}", "if (m == -1 || f == -1)\n\t\t\treturn (\"F\");", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "return (\"F\");", "(\"F\")", "if (m + f >= 80)\n\t\t\treturn (\"A\");", "m + f >= 80", "m + f", "m", "f", "80", "return (\"A\");", "(\"A\")", "if (m + f >= 65)\n\t\t\treturn (\"B\");", "m + f >= 65", "m + f", "m", "f", "65", "return (\"B\");", "(\"B\")", "if (m + f >= 50)\n\t\t\treturn (\"C\");", "m + f >= 50", "m + f", "m", "f", "50", "return (\"C\");", "(\"C\")", "if (m + f >= 30)\n\t\t\tif (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");", "m + f >= 30", "m + f", "m", "f", "30", "if (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");", "r >= 50", "r", "50", "return (\"C\");", "(\"C\")", "return (\"D\");", "(\"D\")", "return (\"F\");", "(\"F\")", "int m", "m", "int f", "f", "int r", "r", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static String run(int m, int f, int r) {\n\t\tif (m == -1 || f == -1)\n\t\t\treturn (\"F\");\n\t\tif (m + f >= 80)\n\t\t\treturn (\"A\");\n\t\tif (m + f >= 65)\n\t\t\treturn (\"B\");\n\t\tif (m + f >= 50)\n\t\t\treturn (\"C\");\n\t\tif (m + f >= 30)\n\t\t\tif (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");\n\t\treturn (\"F\");\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t@SuppressWarnings(\"resource\")\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(run(m, f, r));\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static String run(int m, int f, int r) {\n\t\tif (m == -1 || f == -1)\n\t\t\treturn (\"F\");\n\t\tif (m + f >= 80)\n\t\t\treturn (\"A\");\n\t\tif (m + f >= 65)\n\t\t\treturn (\"B\");\n\t\tif (m + f >= 50)\n\t\t\treturn (\"C\");\n\t\tif (m + f >= 30)\n\t\t\tif (r >= 50)\n\t\t\t\treturn (\"C\");\n\t\t\telse\n\t\t\t\treturn (\"D\");\n\t\treturn (\"F\");\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { @SuppressWarnings("resource") Scanner scan = new Scanner(System.in); while (true) { int m = scan.nextInt(); int f = scan.nextInt(); int r = scan.nextInt(); if (m == -1 && f == -1 && r == -1) break; System.out.println(run(m, f, r)); } System.exit(0); } private static String run(int m, int f, int r) { if (m == -1 || f == -1) return ("F"); if (m + f >= 80) return ("A"); if (m + f >= 65) return ("B"); if (m + f >= 50) return ("C"); if (m + f >= 30) if (r >= 50) return ("C"); else return ("D"); return ("F"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 3, 41, 13, 2, 13, 13, 41, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 154, 11 ], [ 154, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 20, 53 ], [ 53, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 55, 62 ], [ 62, 63 ], [ 62, 64 ], [ 53, 65 ], [ 65, 66 ], [ 20, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 20, 72 ], [ 72, 73 ], [ 72, 74 ], [ 20, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 75, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 96, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 108, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 120, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 20, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 12, 151 ], [ 151, 152 ], [ 0, 153 ], [ 153, 154 ], [ 153, 155 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}", "true", "{\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}", "String[] strbfr = br.readLine().split(\" \");", "strbfr", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int m = Integer.parseInt(strbfr[0]);", "m", "Integer.parseInt(strbfr[0])", "Integer.parseInt", "Integer", "strbfr[0]", "strbfr", "0", "int f = Integer.parseInt(strbfr[1]);", "f", "Integer.parseInt(strbfr[1])", "Integer.parseInt", "Integer", "strbfr[1]", "strbfr", "1", "int r = Integer.parseInt(strbfr[2]);", "r", "Integer.parseInt(strbfr[2])", "Integer.parseInt", "Integer", "strbfr[2]", "strbfr", "2", "if (m < 0 & f < 0 & r < 0) { break; }", "m < 0 & f < 0 & r < 0", "m < 0 & f < 0 & r < 0", "m < 0", "m", "0", "f < 0", "f", "0", "r < 0", "r", "0", "{ break; }", "break;", "int sum = m + f;", "sum", "m + f", "m", "f", "String score = null;", "score", "null", "if (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}", "m < 0 | f < 0", "m < 0", "m", "0", "f < 0", "f", "0", "{\n\t\t\t\tscore = \"F\";\n\t\t\t}", "score = \"F\"", "score", "\"F\"", "{\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}", "if (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}", "sum >= 80", "sum", "80", "{\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t}", "score = \"A\"", "score", "\"A\"", "if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}", "sum >= 65 & sum < 80", "sum >= 65", "sum", "65", "sum < 80", "sum", "80", "{\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t}", "score = \"B\"", "score", "\"B\"", "if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}", "sum >= 50 & sum < 65", "sum >= 50", "sum", "50", "sum < 65", "sum", "65", "{\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t}", "score = \"C\"", "score", "\"C\"", "if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}", "sum >= 30 & sum < 50", "sum >= 30", "sum", "30", "sum < 50", "sum", "50", "{\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t}", "if (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t}", "score = \"C\"", "score", "\"C\"", "{\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}", "score = \"D\"", "score", "\"D\"", "{\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}", "score = \"F\"", "score", "\"F\"", "System.out.println(score)", "System.out.println", "System.out", "System", "System.out", "score", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strbfr = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(strbfr[0]);\n\t\t\tint f = Integer.parseInt(strbfr[1]);\n\t\t\tint r = Integer.parseInt(strbfr[2]);\n\t\t\tif (m < 0 & f < 0 & r < 0) { break; }\n\n\t\t\tint sum = m + f;\n\t\t\tString score = null;\n\t\t\tif (m < 0 | f < 0) {\n\t\t\t\tscore = \"F\";\n\t\t\t} else {\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tscore = \"A\";\n\t\t\t\t} else if (sum >= 65 & sum < 80) {\n\t\t\t\t\tscore = \"B\";\n\t\t\t\t} else if (sum >= 50 & sum < 65) {\n\t\t\t\t\tscore = \"C\";\n\t\t\t\t} else if (sum >= 30 & sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tscore = \"C\";\n\t\t\t\t\t} else {\n\t\t\t\t\t\tscore = \"D\";\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tscore = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(score);\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.PrintWriter; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] strbfr = br.readLine().split(" "); int m = Integer.parseInt(strbfr[0]); int f = Integer.parseInt(strbfr[1]); int r = Integer.parseInt(strbfr[2]); if (m < 0 & f < 0 & r < 0) { break; } int sum = m + f; String score = null; if (m < 0 | f < 0) { score = "F"; } else { if (sum >= 80) { score = "A"; } else if (sum >= 65 & sum < 80) { score = "B"; } else if (sum >= 50 & sum < 65) { score = "C"; } else if (sum >= 30 & sum < 50) { if (r >= 50) { score = "C"; } else { score = "D"; } } else { score = "F"; } } System.out.println(score); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 157, 5 ], [ 157, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 27, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 43, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 43, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 60, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 73, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 86, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 106, 108 ], [ 99, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 99, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 116, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 116, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 42, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 42, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 42, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 8, 151 ], [ 151, 152 ], [ 152, 153 ], [ 6, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n while (m != -1 || f != -1 || r != -1) {\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }\n s.close();\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n while (m != -1 || f != -1 || r != -1) {\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }\n s.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n while (m != -1 || f != -1 || r != -1) {\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }\n s.close();\n }", "main", "{\n Scanner s = new Scanner(System.in);\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n while (m != -1 || f != -1 || r != -1) {\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }\n s.close();\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int m = s.nextInt();", "m", "s.nextInt()", "s.nextInt", "s", "int f = s.nextInt();", "f", "s.nextInt()", "s.nextInt", "s", "int r = s.nextInt();", "r", "s.nextInt()", "s.nextInt", "s", "while (m != -1 || f != -1 || r != -1) {\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }", "m != -1 || f != -1 || r != -1", "m != -1 || f != -1 || r != -1", "m != -1", "m", "-1", "1", "f != -1", "f", "-1", "1", "r != -1", "r", "-1", "1", "{\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }", "if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }", "m + f >= 80", "m + f", "m", "f", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }", "m + f >= 65", "m + f", "m", "f", "65", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }", "m + f >= 50", "m + f", "m", "f", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }", "m + f >= 30 && r >= 50", "m + f >= 30", "m + f", "m", "f", "30", "r >= 50", "r", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }", "m + f >= 30", "m + f", "m", "f", "30", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "m = s.nextInt()", "m", "s.nextInt()", "s.nextInt", "s", "f = s.nextInt()", "f", "s.nextInt()", "s.nextInt", "s", "r = s.nextInt()", "r", "s.nextInt()", "s.nextInt", "s", "s.close()", "s.close", "s", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n while (m != -1 || f != -1 || r != -1) {\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }\n s.close();\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n while (m != -1 || f != -1 || r != -1) {\n if (m == -1 || f == -1) {\n System.out.println(\"F\");\n } else if (m + f >= 80) {\n System.out.println(\"A\");\n } else if (m + f >= 65) {\n System.out.println(\"B\");\n } else if (m + f >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30 && r >= 50) {\n System.out.println(\"C\");\n } else if (m + f >= 30) {\n System.out.println(\"D\");\n } else {\n System.out.println(\"F\");\n }\n m = s.nextInt();\n f = s.nextInt();\n r = s.nextInt();\n }\n s.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int m = s.nextInt(); int f = s.nextInt(); int r = s.nextInt(); while (m != -1 || f != -1 || r != -1) { if (m == -1 || f == -1) { System.out.println("F"); } else if (m + f >= 80) { System.out.println("A"); } else if (m + f >= 65) { System.out.println("B"); } else if (m + f >= 50) { System.out.println("C"); } else if (m + f >= 30 && r >= 50) { System.out.println("C"); } else if (m + f >= 30) { System.out.println("D"); } else { System.out.println("F"); } m = s.nextInt(); f = s.nextInt(); r = s.nextInt(); } s.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 30, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 156, 5 ], [ 156, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 36, 51 ], [ 36, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 53, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 69, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 88, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 101, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 81, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 117, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 129, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 141, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 6, 153 ], [ 153, 154 ], [ 0, 155 ], [ 155, 156 ], [ 155, 157 ] ]
[ "import java.util.*;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint a, b, c;\n\t\twhile(true)\n\t\t{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint a, b, c;\n\t\twhile(true)\n\t\t{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint a, b, c;\n\t\twhile(true)\n\t\t{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner input = new Scanner(System.in);\n\t\tint a, b, c;\n\t\twhile(true)\n\t\t{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}\n\t}", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int a", "a", "b", "b", "c;", "c", "while(true)\n\t\t{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}", "a = input.nextInt()", "a", "input.nextInt()", "input.nextInt", "input", "b = input.nextInt()", "b", "input.nextInt()", "input.nextInt", "input", "c = input.nextInt()", "c", "input.nextInt()", "input.nextInt", "input", "if(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "a == -1 && b == -1 && c == -1", "a == -1 && b == -1 && c == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "c == -1", "c", "-1", "1", "break;", "{\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "if(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");", "a == -1 || b == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");", "a+b < 30", "a+b", "a", "b", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");", "a+b < 50", "a+b", "a", "b", "50", "{\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}", "if(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "c == -1", "c", "-1", "1", "{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "if(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");", "c >= 50", "c", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");", "a+b < 65", "a+b", "a", "b", "65", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");", "a+b < 80", "a+b", "a", "b", "80", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");", "a+b >= 80", "a+b", "a", "b", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "String args[]", "args", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint a, b, c;\n\t\twhile(true)\n\t\t{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint a, b, c;\n\t\twhile(true)\n\t\t{\n\t\t\ta = input.nextInt();\n\t\t\tb = input.nextInt();\n\t\t\tc = input.nextInt();\n\t\t\tif(a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a == -1 || b == -1)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 30)\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\telse if(a+b < 50){\n\t\t\t\t\tif(c == -1){\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tif(c >= 50)\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(a+b < 65)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse if(a+b < 80)\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\n\t\t\t\telse if(a+b >= 80)\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner input = new Scanner(System.in); int a, b, c; while(true) { a = input.nextInt(); b = input.nextInt(); c = input.nextInt(); if(a == -1 && b == -1 && c == -1) break; else { if(a == -1 || b == -1) System.out.println("F"); else if(a+b < 30) System.out.println("F"); else if(a+b < 50){ if(c == -1){ System.out.println("D"); } else { if(c >= 50) System.out.println("C"); else System.out.println("D"); } } else if(a+b < 65) System.out.println("C"); else if(a+b < 80) System.out.println("B"); else if(a+b >= 80) System.out.println("A"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 0, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 29, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 163, 5 ], [ 163, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 45, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 52, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 6, 60 ], [ 60, 61 ], [ 163, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 64, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 64, 76 ], [ 76, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 78, 87 ], [ 87, 88 ], [ 87, 89 ], [ 76, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 76, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 103, 105 ], [ 94, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 94, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 117, 119 ], [ 112, 120 ], [ 120, 121 ], [ 120, 122 ], [ 111, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 127, 129 ], [ 110, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 110, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 139, 141 ], [ 134, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 134, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 64, 154 ], [ 154, 155 ], [ 62, 156 ], [ 156, 157 ], [ 62, 158 ], [ 158, 159 ], [ 62, 160 ], [ 160, 161 ], [ 0, 162 ], [ 162, 163 ], [ 162, 164 ] ]
[ "import java.util.Scanner;\n\n\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tScanner scan=new Scanner(System.in);\n\n\t\twhile(true){\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tpublic static char grading(int mid_score, int final_score, int re_score){\n\t\tchar char_grading='0';\n\t\tint total_score=0;\n\t\ttotal_score=(mid_score+final_score);\n\n\t\tif(mid_score==-1||final_score==-1||total_score<30){\n\t\t\tchar_grading='F';\n\n\t\t}else if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}\n\n\n\n\n\t\treturn char_grading;\n\t}\n\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tScanner scan=new Scanner(System.in);\n\n\t\twhile(true){\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tpublic static char grading(int mid_score, int final_score, int re_score){\n\t\tchar char_grading='0';\n\t\tint total_score=0;\n\t\ttotal_score=(mid_score+final_score);\n\n\t\tif(mid_score==-1||final_score==-1||total_score<30){\n\t\t\tchar_grading='F';\n\n\t\t}else if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}\n\n\n\n\n\t\treturn char_grading;\n\t}\n\n\n}", "Main", "public static void main(String[] args){\n\n\t\tScanner scan=new Scanner(System.in);\n\n\t\twhile(true){\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}\n\n\t\tscan.close();\n\t}", "main", "{\n\n\t\tScanner scan=new Scanner(System.in);\n\n\t\twhile(true){\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}\n\n\t\tscan.close();\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true){\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}", "true", "{\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}", "int mid_score=scan.nextInt();", "mid_score", "scan.nextInt()", "scan.nextInt", "scan", "int final_score=scan.nextInt();", "final_score", "scan.nextInt()", "scan.nextInt", "scan", "int re_score=scan.nextInt();", "re_score", "scan.nextInt()", "scan.nextInt", "scan", "if(mid_score==-1&&final_score==-1&&re_score==-1){break;}", "mid_score==-1&&final_score==-1&&re_score==-1", "mid_score==-1&&final_score==-1&&re_score==-1", "mid_score==-1", "mid_score", "-1", "1", "final_score==-1", "final_score", "-1", "1", "re_score==-1", "re_score", "-1", "1", "{break;}", "break;", "System.out.println(grading(mid_score, final_score, re_score))", "System.out.println", "System.out", "System", "System.out", "grading(mid_score, final_score, re_score)", "grading", "mid_score", "final_score", "re_score", "scan.close()", "scan.close", "scan", "String[] args", "args", "public static char grading(int mid_score, int final_score, int re_score){\n\t\tchar char_grading='0';\n\t\tint total_score=0;\n\t\ttotal_score=(mid_score+final_score);\n\n\t\tif(mid_score==-1||final_score==-1||total_score<30){\n\t\t\tchar_grading='F';\n\n\t\t}else if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}\n\n\n\n\n\t\treturn char_grading;\n\t}", "grading", "{\n\t\tchar char_grading='0';\n\t\tint total_score=0;\n\t\ttotal_score=(mid_score+final_score);\n\n\t\tif(mid_score==-1||final_score==-1||total_score<30){\n\t\t\tchar_grading='F';\n\n\t\t}else if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}\n\n\n\n\n\t\treturn char_grading;\n\t}", "char char_grading='0';", "char_grading", "'0'", "int total_score=0;", "total_score", "0", "total_score=(mid_score+final_score)", "total_score", "(mid_score+final_score)", "mid_score", "final_score", "if(mid_score==-1||final_score==-1||total_score<30){\n\t\t\tchar_grading='F';\n\n\t\t}else if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}", "mid_score==-1||final_score==-1||total_score<30", "mid_score==-1||final_score==-1||total_score<30", "mid_score==-1", "mid_score", "-1", "1", "final_score==-1", "final_score", "-1", "1", "total_score<30", "total_score", "30", "{\n\t\t\tchar_grading='F';\n\n\t\t}", "char_grading='F'", "char_grading", "'F'", "if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}", "(total_score>=30&&total_score<50) && re_score<50", "(total_score>=30&&total_score<50)", "total_score>=30", "total_score", "30", "total_score<50", "total_score", "50", "re_score<50", "re_score", "50", "{\n\t\t\tchar_grading='D';\n\n\t\t}", "char_grading='D'", "char_grading", "'D'", "if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}", "((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)", "((total_score>=30&&total_score<50) && re_score>=50)", "(total_score>=30&&total_score<50)", "total_score>=30", "total_score", "30", "total_score<50", "total_score", "50", "re_score>=50", "re_score", "50", "(total_score>=50&&total_score<65)", "total_score>=50", "total_score", "50", "total_score<65", "total_score", "65", "{\n\t\t\tchar_grading='C';\n\t\t}", "char_grading='C'", "char_grading", "'C'", "if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}", "total_score>=65&&total_score<80", "total_score>=65", "total_score", "65", "total_score<80", "total_score", "80", "{\n\t\t\tchar_grading='B';\n\t\t}", "char_grading='B'", "char_grading", "'B'", "if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}", "total_score>=80", "total_score", "80", "{\n\t\t\tchar_grading='A';\n\t\t}", "char_grading='A'", "char_grading", "'A'", "return char_grading;", "char_grading", "int mid_score", "mid_score", "int final_score", "final_score", "int re_score", "re_score", "public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tScanner scan=new Scanner(System.in);\n\n\t\twhile(true){\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tpublic static char grading(int mid_score, int final_score, int re_score){\n\t\tchar char_grading='0';\n\t\tint total_score=0;\n\t\ttotal_score=(mid_score+final_score);\n\n\t\tif(mid_score==-1||final_score==-1||total_score<30){\n\t\t\tchar_grading='F';\n\n\t\t}else if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}\n\n\n\n\n\t\treturn char_grading;\n\t}\n\n\n}", "public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tScanner scan=new Scanner(System.in);\n\n\t\twhile(true){\n\t\tint mid_score=scan.nextInt();\n\t\tint final_score=scan.nextInt();\n\t\tint re_score=scan.nextInt();\n\n\t\tif(mid_score==-1&&final_score==-1&&re_score==-1){break;}\n\n\t\tSystem.out.println(grading(mid_score, final_score, re_score));\n\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tpublic static char grading(int mid_score, int final_score, int re_score){\n\t\tchar char_grading='0';\n\t\tint total_score=0;\n\t\ttotal_score=(mid_score+final_score);\n\n\t\tif(mid_score==-1||final_score==-1||total_score<30){\n\t\t\tchar_grading='F';\n\n\t\t}else if((total_score>=30&&total_score<50) && re_score<50){\n\t\t\tchar_grading='D';\n\n\t\t}else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){\n\t\t\tchar_grading='C';\n\t\t}else if(total_score>=65&&total_score<80){\n\t\t\tchar_grading='B';\n\t\t}else if(total_score>=80){\n\t\t\tchar_grading='A';\n\t\t}\n\n\n\n\n\t\treturn char_grading;\n\t}\n\n\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner(System.in); while(true){ int mid_score=scan.nextInt(); int final_score=scan.nextInt(); int re_score=scan.nextInt(); if(mid_score==-1&&final_score==-1&&re_score==-1){break;} System.out.println(grading(mid_score, final_score, re_score)); } scan.close(); } public static char grading(int mid_score, int final_score, int re_score){ char char_grading='0'; int total_score=0; total_score=(mid_score+final_score); if(mid_score==-1||final_score==-1||total_score<30){ char_grading='F'; }else if((total_score>=30&&total_score<50) && re_score<50){ char_grading='D'; }else if(((total_score>=30&&total_score<50) && re_score>=50) || (total_score>=50&&total_score<65)){ char_grading='C'; }else if(total_score>=65&&total_score<80){ char_grading='B'; }else if(total_score>=80){ char_grading='A'; } return char_grading; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 156, 5 ], [ 156, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 45, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 47, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 70, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 81, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 96, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 120, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 111, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 6, 153 ], [ 153, 154 ], [ 0, 155 ], [ 155, 156 ], [ 155, 157 ] ]
[ "import java.util.Scanner;\npublic class Main{ \n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(true){\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{ \n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(true){\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(true){\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }\n }", "main", "{ \n Scanner sc = new Scanner(System.in);\n while(true){\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }", "true", "{\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if (m == -1 && f == -1 && r == -1){ \n break; \n }", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{ \n break; \n }", "break;", "if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }", "m==-1 || f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }", "int S = m + f;", "S", "m + f", "m", "f", "if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }", "S>=80", "S", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }", "S<80 && S>=65", "S<80", "S", "80", "S>=65", "S", "65", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }", "S<65 && S>=50", "S<65", "S", "65", "S>=50", "S", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }", "S<50 && S>=30", "S<50", "S", "50", "S>=30", "S", "30", "{\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }", "if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }", "r>=50", "r", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(r<50){\n System.out.println(\"D\");\n }", "r<50", "r", "50", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(S<30){\n System.out.println(\"F\");\n }", "S<30", "S", "30", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main{ \n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(true){\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }\n }\n}", "public class Main{ \n public static void main(String[] args) { \n Scanner sc = new Scanner(System.in);\n while(true){\n int m = sc.nextInt(); \n int f = sc.nextInt();\n int r = sc.nextInt();\n if (m == -1 && f == -1 && r == -1){ \n break; \n } \n if(m==-1 || f==-1){\n System.out.println(\"F\");\n } \n else{\n int S = m + f;\n if(S>=80){\n System.out.println(\"A\");\n }\n else if(S<80 && S>=65){\n System.out.println(\"B\");\n }\n else if(S<65 && S>=50){\n System.out.println(\"C\");\n }\n else if(S<50 && S>=30){\n if(r>=50){\n System.out.println(\"C\");\n }\n else if(r<50){\n System.out.println(\"D\");\n }\n }\n else if(S<30){\n System.out.println(\"F\");\n }\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(true){ int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); if (m == -1 && f == -1 && r == -1){ break; } if(m==-1 || f==-1){ System.out.println("F"); } else{ int S = m + f; if(S>=80){ System.out.println("A"); } else if(S<80 && S>=65){ System.out.println("B"); } else if(S<65 && S>=50){ System.out.println("C"); } else if(S<50 && S>=30){ if(r>=50){ System.out.println("C"); } else if(r<50){ System.out.println("D"); } } else if(S<30){ System.out.println("F"); } } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 29, 18, 13, 13, 14, 2, 13, 17, 30, 29, 18, 13, 13, 14, 2, 13, 17, 30, 29, 18, 13, 13, 14, 2, 13, 17, 30, 29, 18, 13, 13, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 29, 18, 13, 13, 30, 29, 18, 13, 13, 30, 29, 18, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 0, 13, 4, 18, 13, 13, 13, 13, 35, 13, 34, 18, 13, 13, 1, 4, 18, 18, 13, 13, 17, 3, 34, 18, 13, 13, 1, 4, 18, 18, 13, 13, 17, 3, 34, 18, 13, 13, 1, 4, 18, 18, 13, 13, 17, 3, 34, 18, 13, 13, 1, 4, 18, 18, 13, 13, 17, 3, 34, 18, 13, 13, 1, 4, 18, 18, 13, 13, 17, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 235, 5 ], [ 235, 6 ], [ 6, 7 ], [ 6, 8 ], [ 235, 9 ], [ 9, 10 ], [ 9, 11 ], [ 235, 12 ], [ 12, 13 ], [ 12, 14 ], [ 235, 15 ], [ 15, 16 ], [ 15, 17 ], [ 235, 18 ], [ 18, 19 ], [ 18, 20 ], [ 235, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 23, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 29, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 44, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 53, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 62, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 76, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 71, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 21, 95 ], [ 95, 96 ], [ 21, 97 ], [ 97, 98 ], [ 21, 99 ], [ 99, 100 ], [ 235, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 103, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 115, 116 ], [ 112, 117 ], [ 117, 118 ], [ 112, 119 ], [ 119, 120 ], [ 112, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 126, 127 ], [ 127, 128 ], [ 112, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 135, 136 ], [ 112, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 142, 143 ], [ 143, 144 ], [ 112, 145 ], [ 145, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 147, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 147, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 145, 160 ], [ 160, 161 ], [ 112, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 164, 168 ], [ 164, 169 ], [ 112, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 176, 183 ], [ 170, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 189, 194 ], [ 188, 195 ], [ 170, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 200, 207 ], [ 170, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 212, 219 ], [ 170, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 224, 231 ], [ 101, 232 ], [ 232, 233 ], [ 0, 234 ], [ 234, 235 ], [ 234, 236 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static final int F = 0, A = 1, B = 2, C = 3, D = 4;\n\n public int grade(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1) {\n return Main.F;\n } else if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }\n }\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n Main app = new Main();\n\n while (true) {\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }\n\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static final int F = 0, A = 1, B = 2, C = 3, D = 4;\n\n public int grade(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1) {\n return Main.F;\n } else if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }\n }\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n Main app = new Main();\n\n while (true) {\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }\n\n }\n}", "Main", "public static final int F = 0", "F", "0", "A = 1", "A", "1", "B = 2", "B", "2", "C = 3", "C", "3", "D = 4;", "D", "4", "public int grade(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1) {\n return Main.F;\n } else if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }\n }", "grade", "{\n int sum = m + f;\n if (m == -1 || f == -1) {\n return Main.F;\n } else if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }\n }", "int sum = m + f;", "sum", "m + f", "m", "f", "if (m == -1 || f == -1) {\n return Main.F;\n } else if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n return Main.F;\n }", "return Main.F;", "Main.F", "Main", "Main.F", "if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }", "sum >= 80", "sum", "80", "{\n return Main.A;\n }", "return Main.A;", "Main.A", "Main", "Main.A", "if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }", "sum >= 65", "sum", "65", "{\n return Main.B;\n }", "return Main.B;", "Main.B", "Main", "Main.B", "if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }", "sum >= 50", "sum", "50", "{\n return Main.C;\n }", "return Main.C;", "Main.C", "Main", "Main.C", "if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }", "sum >= 30", "sum", "30", "{\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n }", "if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }", "r >= 50", "r", "50", "{\n return Main.C;\n }", "return Main.C;", "Main.C", "Main", "Main.C", "{\n return Main.D;\n }", "return Main.D;", "Main.D", "Main", "Main.D", "{\n return Main.F;\n }", "return Main.F;", "Main.F", "Main", "Main.F", "int m", "m", "int f", "f", "int r", "r", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n Main app = new Main();\n\n while (true) {\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }\n\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n Main app = new Main();\n\n while (true) {\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }\n\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "Main app = new Main();", "app", "new Main()", "while (true) {\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }", "true", "{\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }", "int inM", "inM", "inF", "inF", "inR;", "inR", "int result;", "result", "inM = Integer.parseInt(scan.next())", "inM", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "inF = Integer.parseInt(scan.next())", "inF", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "inR = Integer.parseInt(scan.next())", "inR", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }", "inM == -1 && inF == -1 && inR == -1", "inM == -1 && inF == -1 && inR == -1", "inM == -1", "inM", "-1", "1", "inF == -1", "inF", "-1", "1", "inR == -1", "inR", "-1", "1", "{\n break;\n }", "break;", "result = app.grade(inM, inF, inR)", "result", "app.grade(inM, inF, inR)", "app.grade", "app", "inM", "inF", "inR", "switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }", "result", "case Main.F:", "Main.F", "Main", "Main.F", "case Main.F:", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "break;", "case Main.A:", "Main.A", "Main", "Main.A", "case Main.A:", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "break;", "case Main.B:", "Main.B", "Main", "Main.B", "case Main.B:", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "break;", "case Main.C:", "Main.C", "Main", "Main.C", "case Main.C:", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "break;", "case Main.D:", "Main.D", "Main", "Main.D", "case Main.D:", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "break;", "String[] args", "args", "public class Main {\n public static final int F = 0, A = 1, B = 2, C = 3, D = 4;\n\n public int grade(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1) {\n return Main.F;\n } else if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }\n }\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n Main app = new Main();\n\n while (true) {\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }\n\n }\n}", "public class Main {\n public static final int F = 0, A = 1, B = 2, C = 3, D = 4;\n\n public int grade(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1) {\n return Main.F;\n } else if (sum >= 80) {\n return Main.A;\n } else if (sum >= 65) {\n return Main.B;\n } else if (sum >= 50) {\n return Main.C;\n } else if (sum >= 30) {\n if (r >= 50) {\n return Main.C;\n } else {\n return Main.D;\n }\n } else {\n return Main.F;\n }\n }\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n Main app = new Main();\n\n while (true) {\n int inM, inF, inR;\n int result;\n inM = Integer.parseInt(scan.next());\n inF = Integer.parseInt(scan.next());\n inR = Integer.parseInt(scan.next());\n\n if (inM == -1 && inF == -1 && inR == -1) {\n break;\n }\n\n result = app.grade(inM, inF, inR);\n switch (result) {\n case Main.F:\n System.out.println(\"F\");\n break;\n case Main.A:\n System.out.println(\"A\");\n break;\n case Main.B:\n System.out.println(\"B\");\n break;\n case Main.C:\n System.out.println(\"C\");\n break;\n case Main.D:\n System.out.println(\"D\");\n break;\n }\n }\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static final int F = 0, A = 1, B = 2, C = 3, D = 4; public int grade(int m, int f, int r) { int sum = m + f; if (m == -1 || f == -1) { return Main.F; } else if (sum >= 80) { return Main.A; } else if (sum >= 65) { return Main.B; } else if (sum >= 50) { return Main.C; } else if (sum >= 30) { if (r >= 50) { return Main.C; } else { return Main.D; } } else { return Main.F; } } public static void main(String[] args) { Scanner scan = new Scanner(System.in); Main app = new Main(); while (true) { int inM, inF, inR; int result; inM = Integer.parseInt(scan.next()); inF = Integer.parseInt(scan.next()); inR = Integer.parseInt(scan.next()); if (inM == -1 && inF == -1 && inR == -1) { break; } result = app.grade(inM, inF, inR); switch (result) { case Main.F: System.out.println("F"); break; case Main.A: System.out.println("A"); break; case Main.B: System.out.println("B"); break; case Main.C: System.out.println("C"); break; case Main.D: System.out.println("D"); break; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 154, 5 ], [ 154, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 30, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 46, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 62, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 74, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 74, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 93, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 92, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 92, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 111, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 110, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 123, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 110, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 139, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 6, 151 ], [ 151, 152 ], [ 0, 153 ], [ 153, 154 ], [ 153, 155 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}", "true", "{\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");", "m + f >= 80", "m + f", "m", "f", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");", "m + f >= 65 && m + f < 80", "m + f >= 65", "m + f", "m", "f", "65", "m + f < 80", "m + f", "m", "f", "80", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");", "m + f >= 50 && m + f < 65", "m + f >= 50", "m + f", "m", "f", "50", "m + f < 65", "m + f", "m", "f", "65", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");", "m + f >= 30 && m + f < 50", "m + f >= 30", "m + f", "m", "f", "30", "m + f < 50", "m + f", "m", "f", "50", "{\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}", "if (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");", "r >= 50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if (m + f < 30) System.out.println(\"F\");", "m + f < 30", "m + f", "m", "f", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\telse if (m == -1 || f == -1) System.out.println(\"F\");\n\t\t\telse if (m + f >= 80) System.out.println(\"A\");\n\t\t\telse if (m + f >= 65 && m + f < 80) System.out.println(\"B\");\n\t\t\telse if (m + f >= 50 && m + f < 65) System.out.println(\"C\");\n\t\t\telse if (m + f >= 30 && m + f < 50) {\n\t\t\t\tif (r >= 50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\telse if (m + f < 30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); if (m == -1 && f == -1 && r == -1) break; else if (m == -1 || f == -1) System.out.println("F"); else if (m + f >= 80) System.out.println("A"); else if (m + f >= 65 && m + f < 80) System.out.println("B"); else if (m + f >= 50 && m + f < 65) System.out.println("C"); else if (m + f >= 30 && m + f < 50) { if (r >= 50) System.out.println("C"); else System.out.println("D"); } else if (m + f < 30) System.out.println("F"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 41, 13, 17, 42, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 39, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 39, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 59, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 76, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 89, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 109, 111 ], [ 102, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 102, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 119, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 6, 139 ], [ 139, 140 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint m, f, r;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tboolean flag = true;\n\t\twhile (flag) {\n\t\t\tm = stdIn.nextInt();\n\t\t\tf = stdIn.nextInt();\n\t\t\tr = stdIn.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint m, f, r;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tboolean flag = true;\n\t\twhile (flag) {\n\t\t\tm = stdIn.nextInt();\n\t\t\tf = stdIn.nextInt();\n\t\t\tr = stdIn.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tint m, f, r;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tboolean flag = true;\n\t\twhile (flag) {\n\t\t\tm = stdIn.nextInt();\n\t\t\tf = stdIn.nextInt();\n\t\t\tr = stdIn.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tint m, f, r;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tboolean flag = true;\n\t\twhile (flag) {\n\t\t\tm = stdIn.nextInt();\n\t\t\tf = stdIn.nextInt();\n\t\t\tr = stdIn.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "int m", "m", "f", "f", "r;", "r", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "boolean flag = true;", "flag", "true", "while (flag) {\n\t\t\tm = stdIn.nextInt();\n\t\t\tf = stdIn.nextInt();\n\t\t\tr = stdIn.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "flag", "{\n\t\t\tm = stdIn.nextInt();\n\t\t\tf = stdIn.nextInt();\n\t\t\tr = stdIn.nextInt();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "m = stdIn.nextInt()", "m", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "f = stdIn.nextInt()", "f", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "r = stdIn.nextInt()", "r", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "if (m == -1 && f == -1 && r == -1) {\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tflag = false;\n\t\t\t\tbreak;\n\t\t\t}", "flag = false", "flag", "false", "break;", "if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f >= 50 || r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 50 || r >= 50", "m + f >= 50", "m + f", "m", "f", "50", "r >= 50", "r", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { int m, f, r; Scanner stdIn = new Scanner(System.in); boolean flag = true; while (flag) { m = stdIn.nextInt(); f = stdIn.nextInt(); r = stdIn.nextInt(); if (m == -1 && f == -1 && r == -1) { flag = false; break; } else if (m == -1 || f == -1) { System.out.println("F"); } else if (m + f >= 80) { System.out.println("A"); } else if (m + f >= 65) { System.out.println("B"); } else if (m + f >= 50 || r >= 50) { System.out.println("C"); } else if (m + f >= 30) { System.out.println("D"); } else { System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 13, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 157, 5 ], [ 157, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 16, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 16, 37 ], [ 37, 38 ], [ 38, 39 ], [ 40, 40 ], [ 40, 41 ], [ 40, 42 ], [ 40, 43 ], [ 38, 44 ], [ 44, 45 ], [ 37, 46 ], [ 46, 47 ], [ 37, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 48, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 48, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 65, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 76, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 91, 106 ], [ 106, 107 ], [ 108, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 108, 115 ], [ 115, 116 ], [ 115, 117 ], [ 106, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 106, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 125, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 8, 151 ], [ 151, 152 ], [ 152, 153 ], [ 6, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "import java.util.Scanner;\n\n//20180509\n//03\n\npublic class Main {\n public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNextLine()) {\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNextLine()) {\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n }\n}", "Main", "public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNextLine()) {\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n }", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNextLine()) {\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while (scanner.hasNextLine()) {\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "scanner.hasNextLine()", "scanner.hasNextLine", "scanner", "{\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "int m = scanner.nextInt();", "m", "scanner.nextInt()", "scanner.nextInt", "scanner", "int f = scanner.nextInt();", "f", "scanner.nextInt()", "scanner.nextInt", "scanner", "int r = scanner.nextInt();", "r", "scanner.nextInt()", "scanner.nextInt", "scanner", "int m_f = m + f;", "m_f", "m + f", "m", "f", "if(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f + r == -3", "m + f + r", "m + f + r", "m", "f", "r", "-3", "3", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m_f >= 80", "m_f", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m_f >= 65 && m_f < 80", "m_f >= 65", "m_f", "65", "m_f < 80", "m_f", "80", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m_f >= 50 && m_f < 65", "m_f >= 50", "m_f", "50", "m_f < 65", "m_f", "65", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m_f >= 30 && m_f < 50 && r >= 50", "m_f >= 30 && m_f < 50 && r >= 50", "m_f >= 30", "m_f", "30", "m_f < 50", "m_f", "50", "r >= 50", "r", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m_f >= 30 && m_f < 50", "m_f >= 30", "m_f", "30", "m_f < 50", "m_f", "50", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m_f < 30", "m_f", "30", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "scanner.close()", "scanner.close", "scanner", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNextLine()) {\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n }\n}", "public class Main {\n public static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\twhile (scanner.hasNextLine()) {\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\n\t\t\tint m_f = m + f;\n\n\t\t\tif(m + f + r == -3) {\n\t\t\t\tbreak;\n\t\t\t} else if(m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if(m_f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if(m_f >= 65 && m_f < 80) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if(m_f >= 50 && m_f < 65) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50 && r >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if(m_f >= 30 && m_f < 50) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else if(m_f < 30) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t\tscanner.close();\n }\n}", "Main" ]
import java.util.Scanner; //20180509 //03 public class Main { public static void main(String[] args){ Scanner scanner = new Scanner(System.in); while (scanner.hasNextLine()) { int m = scanner.nextInt(); int f = scanner.nextInt(); int r = scanner.nextInt(); int m_f = m + f; if(m + f + r == -3) { break; } else if(m == -1 || f == -1) { System.out.println("F"); } else if(m_f >= 80) { System.out.println("A"); } else if(m_f >= 65 && m_f < 80) { System.out.println("B"); } else if(m_f >= 50 && m_f < 65) { System.out.println("C"); } else if(m_f >= 30 && m_f < 50 && r >= 50) { System.out.println("C"); } else if(m_f >= 30 && m_f < 50) { System.out.println("D"); } else if(m_f < 30) { System.out.println("F"); } } scanner.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 42, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 30, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 153, 11 ], [ 153, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 14, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 35, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 35, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 35, 59 ], [ 59, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 61, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 59, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 59, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 79, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 79, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 93, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 78, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 12, 150 ], [ 150, 151 ], [ 0, 152 ], [ 152, 153 ], [ 152, 154 ] ]
[ "import java.io.*;\nimport java.util.Scanner;\nimport java.util.ArrayList;\n\n\npublic class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int m;\n int f;\n int r;\n int sum;\n int i = 0;\n char grade;\n while(i == 0){\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int m;\n int f;\n int r;\n int sum;\n int i = 0;\n char grade;\n while(i == 0){\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }\n }\n}", "Main", "public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int m;\n int f;\n int r;\n int sum;\n int i = 0;\n char grade;\n while(i == 0){\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int m;\n int f;\n int r;\n int sum;\n int i = 0;\n char grade;\n while(i == 0){\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int m;", "m", "int f;", "f", "int r;", "r", "int sum;", "sum", "int i = 0;", "i", "0", "char grade;", "grade", "while(i == 0){\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }", "i == 0", "i", "0", "{\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }", "grade = ' '", "grade", "' '", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "f = scan.nextInt()", "f", "scan.nextInt()", "scan.nextInt", "scan", "r = scan.nextInt()", "r", "scan.nextInt()", "scan.nextInt", "scan", "sum = m + f", "sum", "m + f", "m", "f", "if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n i = 1;\n }", "i = 1", "i", "1", "{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }", "if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n grade = 'F';\n }", "grade = 'F'", "grade", "'F'", "{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }", "sum = m + f", "sum", "m + f", "m", "f", "if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }", "sum >= 80", "sum", "80", "{\n grade = 'A';\n }", "grade = 'A'", "grade", "'A'", "if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }", "sum >= 65", "sum", "65", "{\n grade = 'B';\n }", "grade = 'B'", "grade", "'B'", "if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }", "sum >= 50", "sum", "50", "{\n grade = 'C';\n }", "grade = 'C'", "grade", "'C'", "if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }", "sum < 30", "sum", "30", "{\n grade = 'F';\n }", "grade = 'F'", "grade", "'F'", "{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }", "if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }", "r >= 50", "r", "50", "{\n grade = 'C';\n }", "grade = 'C'", "grade", "'C'", "{\n grade = 'D';\n }", "grade = 'D'", "grade", "'D'", "System.out.println(grade)", "System.out.println", "System.out", "System", "System.out", "grade", "String[] args", "args", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int m;\n int f;\n int r;\n int sum;\n int i = 0;\n char grade;\n while(i == 0){\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }\n }\n}", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int m;\n int f;\n int r;\n int sum;\n int i = 0;\n char grade;\n while(i == 0){\n grade = ' ';\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n sum = m + f;\n if(m == -1 && f == -1 && r == -1){\n i = 1;\n }else{ \n if(m == -1 || f == -1){\n grade = 'F';\n }else{\n sum = m + f;\n if(sum >= 80){\n grade = 'A';\n }else if(sum >= 65){\n grade = 'B';\n }else if(sum >= 50){\n grade = 'C';\n }else if(sum < 30){\n grade = 'F';\n }else{\n if(r >= 50){\n grade = 'C';\n }else{\n grade = 'D';\n }\n }\n }\n System.out.println(grade); \n }\n }\n }\n}", "Main" ]
import java.io.*; import java.util.Scanner; import java.util.ArrayList; public class Main { public static void main(String[] args)throws Exception{ Scanner scan = new Scanner(System.in); int m; int f; int r; int sum; int i = 0; char grade; while(i == 0){ grade = ' '; m = scan.nextInt(); f = scan.nextInt(); r = scan.nextInt(); sum = m + f; if(m == -1 && f == -1 && r == -1){ i = 1; }else{ if(m == -1 || f == -1){ grade = 'F'; }else{ sum = m + f; if(sum >= 80){ grade = 'A'; }else if(sum >= 65){ grade = 'B'; }else if(sum >= 50){ grade = 'C'; }else if(sum < 30){ grade = 'F'; }else{ if(r >= 50){ grade = 'C'; }else{ grade = 'D'; } } } System.out.println(grade); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 148, 5 ], [ 148, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 45, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 47, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 70, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 81, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 96, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 120, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 111, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 6, 145 ], [ 145, 146 ], [ 0, 147 ], [ 147, 148 ], [ 147, 149 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}", "true", "{\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int mid = sc.nextInt();", "mid", "sc.nextInt()", "sc.nextInt", "sc", "int fin = sc.nextInt();", "fin", "sc.nextInt()", "sc.nextInt", "sc", "int re = sc.nextInt();", "re", "sc.nextInt()", "sc.nextInt", "sc", "if(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}", "mid == -1 && fin == -1 && re == -1", "mid == -1 && fin == -1 && re == -1", "mid == -1", "mid", "-1", "1", "fin == -1", "fin", "-1", "1", "re == -1", "re", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}", "mid == -1 || fin == -1", "mid == -1", "mid", "-1", "1", "fin == -1", "fin", "-1", "1", "{\n\t\t\t\tSystem.out.println('F');\n\t\t\t}", "System.out.println('F')", "System.out.println", "System.out", "System", "System.out", "'F'", "{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}", "int sum = mid + fin;", "sum", "mid + fin", "mid", "fin", "if (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}", "sum >= 80", "sum", "80", "{\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}", "System.out.println('A')", "System.out.println", "System.out", "System", "System.out", "'A'", "if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}", "65 <= sum && sum < 80", "65 <= sum", "65", "sum", "sum < 80", "sum", "80", "{\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}", "System.out.println('B')", "System.out.println", "System.out", "System", "System.out", "'B'", "if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}", "50 <= sum && sum < 65", "50 <= sum", "50", "sum", "sum < 65", "sum", "65", "{\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}", "System.out.println('C')", "System.out.println", "System.out", "System", "System.out", "'C'", "if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}", "30 <= sum && sum < 50", "30 <= sum", "30", "sum", "sum < 50", "sum", "50", "{\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}", "if (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}", "re >= 50", "re", "50", "{\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}", "System.out.println('C')", "System.out.println", "System.out", "System", "System.out", "'C'", "{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}", "System.out.println('D')", "System.out.println", "System.out", "System", "System.out", "'D'", "{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}", "System.out.println('F')", "System.out.println", "System.out", "System", "System.out", "'F'", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\t//データ入力の準備\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\t//データ入力\n\t\t\tint mid = sc.nextInt();\n\t\t\tint fin = sc.nextInt();\n\t\t\tint re = sc.nextInt();\n\t\t\t\n\t\t\t//終了条件の判定\n\t\t\tif(mid == -1 && fin == -1 && re == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//試験を受けたかどうか分岐\n\t\t\tif (mid == -1 || fin == -1){\n\t\t\t\tSystem.out.println('F');\n\t\t\t}else{\n\t\t\t\t//成績の条件分岐\n\t\t\t\tint sum = mid + fin;\n\t\t\t\t\n\t\t\t\tif (sum >= 80){\n\t\t\t\t\tSystem.out.println('A');\n\t\t\t\t}else if (65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println('B');\n\t\t\t\t}else if (50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t}else if (30 <= sum && sum < 50){\n\t\t\t\t\tif (re >= 50){\n\t\t\t\t\t\tSystem.out.println('C');\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println('D');\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println('F');\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ //データ入力の準備 Scanner sc = new Scanner(System.in); while(true){ //データ入力 int mid = sc.nextInt(); int fin = sc.nextInt(); int re = sc.nextInt(); //終了条件の判定 if(mid == -1 && fin == -1 && re == -1){ break; } //試験を受けたかどうか分岐 if (mid == -1 || fin == -1){ System.out.println('F'); }else{ //成績の条件分岐 int sum = mid + fin; if (sum >= 80){ System.out.println('A'); }else if (65 <= sum && sum < 80){ System.out.println('B'); }else if (50 <= sum && sum < 65){ System.out.println('C'); }else if (30 <= sum && sum < 50){ if (re >= 50){ System.out.println('C'); }else{ System.out.println('D'); } }else{ System.out.println('F'); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 0, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 147, 5 ], [ 147, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 15, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 15, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 15, 31 ], [ 31, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 33, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 31, 46 ], [ 15, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 15, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 52, 62 ], [ 62, 63 ], [ 62, 64 ], [ 15, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 65, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 76, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 91, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 106, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 115, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 106, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 6, 144 ], [ 144, 145 ], [ 0, 146 ], [ 146, 147 ], [ 146, 148 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (;;){\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (;;){\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (;;){\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (;;){\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "for (;;){\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", ";", "{\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "{\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m==-1 && f==-1 && r==-1)break;", "m==-1 && f==-1 && r==-1", "m==-1 && f==-1 && r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "break;", "int p = m + f;", "p", "m + f", "m", "f", "if(m==-1 || f==-1) p=0;", "m==-1 || f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "p=0", "p", "0", "if(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "p>=80", "p", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "p>=65 && p<80", "p>=65", "p", "65", "p<80", "p", "80", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "p>=50 && p<65", "p>=50", "p", "50", "p<65", "p", "65", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "p>=30 && p<50", "p>=30", "p", "30", "p<50", "p", "50", "{\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}", "if(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "r>=50", "r", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "p<30", "p", "30", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (;;){\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor (;;){\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1)break;\n\t\t\tint p = m + f;\n\t\t\tif(m==-1 || f==-1) p=0;\n\t\t\tif(p>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(p>=65 && p<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(p>=50 && p<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(p>=30 && p<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(p<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); for (;;){ int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); if(m==-1 && f==-1 && r==-1)break; int p = m + f; if(m==-1 || f==-1) p=0; if(p>=80){ System.out.println("A"); }else if(p>=65 && p<80){ System.out.println("B"); }else if(p>=50 && p<65){ System.out.println("C"); }else if(p>=30 && p<50){ if(r>=50){ System.out.println("C"); }else{ System.out.println("D"); } }else if(p<30){ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 13, 17, 30, 4, 13, 17, 30, 4, 13, 17, 30, 4, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 45, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 58, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 58, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 78, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 88, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 47, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 4, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 115, 121 ], [ 121, 122 ], [ 4, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 123, 132 ], [ 132, 133 ], [ 4, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 134, 143 ], [ 143, 144 ], [ 4, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ] ]
[ "import java.util.Scanner;\n \nclass Main {\n Scanner sc = new Scanner(System.in);\n \n \n public void run() {\n while(true){\n int m=sc.nextInt(),f=sc.nextInt(),r=sc.nextInt();\n if(m==-1 && f==-1 && r==-1){\n break;\n }\n if(m!=-1 && f!=-1){\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }else{\n ln(\"F\");\n }\n }\n }\n \n public static void main(String[] args) {\n new Main().run();\n }\n \n public static void pr(Object o) {\n System.out.print(o);\n }\n \n public static void ln(Object o) {\n System.out.println(o);\n }\n \n public static void ln() {\n System.out.println();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n Scanner sc = new Scanner(System.in);\n \n \n public void run() {\n while(true){\n int m=sc.nextInt(),f=sc.nextInt(),r=sc.nextInt();\n if(m==-1 && f==-1 && r==-1){\n break;\n }\n if(m!=-1 && f!=-1){\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }else{\n ln(\"F\");\n }\n }\n }\n \n public static void main(String[] args) {\n new Main().run();\n }\n \n public static void pr(Object o) {\n System.out.print(o);\n }\n \n public static void ln(Object o) {\n System.out.println(o);\n }\n \n public static void ln() {\n System.out.println();\n }\n}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public void run() {\n while(true){\n int m=sc.nextInt(),f=sc.nextInt(),r=sc.nextInt();\n if(m==-1 && f==-1 && r==-1){\n break;\n }\n if(m!=-1 && f!=-1){\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }else{\n ln(\"F\");\n }\n }\n }", "run", "{\n while(true){\n int m=sc.nextInt(),f=sc.nextInt(),r=sc.nextInt();\n if(m==-1 && f==-1 && r==-1){\n break;\n }\n if(m!=-1 && f!=-1){\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }else{\n ln(\"F\");\n }\n }\n }", "while(true){\n int m=sc.nextInt(),f=sc.nextInt(),r=sc.nextInt();\n if(m==-1 && f==-1 && r==-1){\n break;\n }\n if(m!=-1 && f!=-1){\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }else{\n ln(\"F\");\n }\n }", "true", "{\n int m=sc.nextInt(),f=sc.nextInt(),r=sc.nextInt();\n if(m==-1 && f==-1 && r==-1){\n break;\n }\n if(m!=-1 && f!=-1){\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }else{\n ln(\"F\");\n }\n }", "int m=sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f=sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r=sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m==-1 && f==-1 && r==-1){\n break;\n }", "m==-1 && f==-1 && r==-1", "m==-1 && f==-1 && r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "{\n break;\n }", "break;", "if(m!=-1 && f!=-1){\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }else{\n ln(\"F\");\n }", "m!=-1 && f!=-1", "m!=-1", "m", "-1", "1", "f!=-1", "f", "-1", "1", "{\n if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }\n }", "if(m+f>=80){\n ln(\"A\");\n }else if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }", "m+f>=80", "m+f", "m", "f", "80", "{\n ln(\"A\");\n }", "ln(\"A\")", "ln", "\"A\"", "if(m+f >=65){\n ln(\"B\");\n }else if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }", "m+f >=65", "m+f", "m", "f", "65", "{\n ln(\"B\");\n }", "ln(\"B\")", "ln", "\"B\"", "if(m+f >=50){\n ln(\"C\");\n }else if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }", "m+f >=50", "m+f", "m", "f", "50", "{\n ln(\"C\");\n }", "ln(\"C\")", "ln", "\"C\"", "if(m+f >=30){\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }else{\n ln(\"F\");\n }", "m+f >=30", "m+f", "m", "f", "30", "{\n if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }\n }", "if(r>=50){\n ln(\"C\");\n }else{\n ln(\"D\");\n }", "r>=50", "r", "50", "{\n ln(\"C\");\n }", "ln(\"C\")", "ln", "\"C\"", "{\n ln(\"D\");\n }", "ln(\"D\")", "ln", "\"D\"", "{\n ln(\"F\");\n }", "ln(\"F\")", "ln", "\"F\"", "{\n ln(\"F\");\n }", "ln(\"F\")", "ln", "\"F\"", "public static void main(String[] args) {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public static void pr(Object o) {\n System.out.print(o);\n }", "pr", "{\n System.out.print(o);\n }", "System.out.print(o)", "System.out.print", "System.out", "System", "System.out", "o", "Object o", "o", "public static void ln(Object o) {\n System.out.println(o);\n }", "ln", "{\n System.out.println(o);\n }", "System.out.println(o)", "System.out.println", "System.out", "System", "System.out", "o", "Object o", "o", "public static void ln() {\n System.out.println();\n }", "ln", "{\n System.out.println();\n }", "System.out.println()", "System.out.println", "System.out", "System", "System.out" ]
import java.util.Scanner; class Main { Scanner sc = new Scanner(System.in); public void run() { while(true){ int m=sc.nextInt(),f=sc.nextInt(),r=sc.nextInt(); if(m==-1 && f==-1 && r==-1){ break; } if(m!=-1 && f!=-1){ if(m+f>=80){ ln("A"); }else if(m+f >=65){ ln("B"); }else if(m+f >=50){ ln("C"); }else if(m+f >=30){ if(r>=50){ ln("C"); }else{ ln("D"); } }else{ ln("F"); } }else{ ln("F"); } } } public static void main(String[] args) { new Main().run(); } public static void pr(Object o) { System.out.print(o); } public static void ln(Object o) { System.out.println(o); } public static void ln() { System.out.println(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 17, 13, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 2, 17, 13, 2, 13, 17, 2, 17, 13, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 9, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 175, 11 ], [ 175, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 20, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 20, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 20, 61 ], [ 61, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 63, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 61, 76 ], [ 76, 77 ], [ 20, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 88, 95 ], [ 78, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 100, 107 ], [ 96, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 116, 123 ], [ 108, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 133, 135 ], [ 124, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 136, 143 ], [ 124, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 149, 151 ], [ 144, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 152, 159 ], [ 144, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 164, 171 ], [ 12, 172 ], [ 172, 173 ], [ 0, 174 ], [ 174, 175 ], [ 174, 176 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] s = str.split(\" \");", "s", "str.split(\" \")", "str.split", "str", "\" \"", "int shiken1 = Integer.parseInt(s[0]);", "shiken1", "Integer.parseInt(s[0])", "Integer.parseInt", "Integer", "s[0]", "s", "0", "int shiken2 = Integer.parseInt(s[1]);", "shiken2", "Integer.parseInt(s[1])", "Integer.parseInt", "Integer", "s[1]", "s", "1", "int saishiken = Integer.parseInt(s[2]);", "saishiken", "Integer.parseInt(s[2])", "Integer.parseInt", "Integer", "s[2]", "s", "2", "int sum = shiken1 + shiken2;", "sum", "shiken1 + shiken2", "shiken1", "shiken2", "if((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}", "(shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)", "(shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)", "(shiken1 == -1)", "shiken1", "-1", "1", "(shiken2 == -1)", "shiken2", "-1", "1", "(saishiken == -1)", "saishiken", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "(shiken1 == -1)||(shiken2 == -1)", "(shiken1 == -1)", "shiken1", "-1", "1", "(shiken2 == -1)", "shiken2", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "continue;", "if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "80 <= sum", "80", "sum", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "continue;", "if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "(65 <= sum)&&(sum <= 79)", "(65 <= sum)", "65", "sum", "(sum <= 79)", "sum", "79", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "continue;", "if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "(50 <= sum)&&(sum <= 64)||(50 <= saishiken)", "(50 <= sum)&&(sum <= 64)", "(50 <= sum)", "50", "sum", "(sum <= 64)", "sum", "64", "(50 <= saishiken)", "50", "saishiken", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "continue;", "if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "(30 <= sum)&&(sum <= 49)", "(30 <= sum)", "30", "sum", "(sum <= 49)", "sum", "49", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "continue;", "if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "sum <= 29", "sum", "29", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "continue;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint shiken1 = Integer.parseInt(s[0]);\n\t\t\tint shiken2 = Integer.parseInt(s[1]);\n\t\t\tint saishiken = Integer.parseInt(s[2]);\n\n\t\t\tint sum = shiken1 + shiken2;\n\n\t\t\tif((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif((shiken1 == -1)||(shiken2 == -1)){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}else if(80 <= sum){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\tcontinue;\n\t\t\t}else if((65 <= sum)&&(sum <= 79)){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\tcontinue;\n\t\t\t}else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\tcontinue;\n\t\t\t}else if((30 <= sum)&&(sum <= 49)){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\tcontinue;\n\t\t\t}else if(sum <= 29){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String str = br.readLine(); String[] s = str.split(" "); int shiken1 = Integer.parseInt(s[0]); int shiken2 = Integer.parseInt(s[1]); int saishiken = Integer.parseInt(s[2]); int sum = shiken1 + shiken2; if((shiken1 == -1)&&(shiken2 == -1)&&(saishiken == -1)){ break; } if((shiken1 == -1)||(shiken2 == -1)){ System.out.println("F"); continue; }else if(80 <= sum){ System.out.println("A"); continue; }else if((65 <= sum)&&(sum <= 79)){ System.out.println("B"); continue; }else if((50 <= sum)&&(sum <= 64)||(50 <= saishiken)){ System.out.println("C"); continue; }else if((30 <= sum)&&(sum <= 49)){ System.out.println("D"); continue; }else if(sum <= 29){ System.out.println("F"); continue; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 147, 14 ], [ 147, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 39, 54 ], [ 54, 55 ], [ 23, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 56, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 73, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 86, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 99, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 119, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 112, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 15, 144 ], [ 144, 145 ], [ 0, 146 ], [ 146, 147 ], [ 146, 148 ] ]
[ "import java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "final int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "final int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "final int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 50", "m + f", "m", "f", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}", "if (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String args[]", "args", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int m = sc.nextInt();\n\t\t\tfinal int f = sc.nextInt();\n\t\t\tfinal int r = sc.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); while (true) { final int m = sc.nextInt(); final int f = sc.nextInt(); final int r = sc.nextInt(); if(m == -1 && f == -1 && r == -1){ break; } if (m == -1 || f == -1) { System.out.println("F"); } else if (m + f >= 80) { System.out.println("A"); } else if (m + f >= 65) { System.out.println("B"); } else if (m + f >= 50) { System.out.println("C"); } else if (m + f >= 30) { if (r >= 50) { System.out.println("C"); } else { System.out.println("D"); } } else { System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 129, 5 ], [ 129, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 46, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 62, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 74, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 86, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 104, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 98, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 6, 126 ], [ 126, 127 ], [ 0, 128 ], [ 128, 129 ], [ 128, 130 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}", "true", "{\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "int c = scanner.nextInt();", "c", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;", "a == -1 && b == -1 && c == -1", "a == -1 && b == -1 && c == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "c == -1", "c", "-1", "1", "break;", "if (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "a == -1 || b == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "a + b >= 80", "a + b", "a", "b", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "a + b >= 65", "a + b", "a", "b", "65", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "a + b >= 50", "a + b", "a", "b", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");", "a + b >= 30", "a + b", "a", "b", "30", "if (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");", "c >= 50", "c", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\tint c = scanner.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tif (a == -1 || b == -1)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (a + b >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (a + b >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (a + b >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if (a + b >= 30)\n\t\t\t\tif (c >= 50)\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); while (true) { int a = scanner.nextInt(); int b = scanner.nextInt(); int c = scanner.nextInt(); if (a == -1 && b == -1 && c == -1) break; if (a == -1 || b == -1) System.out.println("F"); else if (a + b >= 80) System.out.println("A"); else if (a + b >= 65) System.out.println("B"); else if (a + b >= 50) System.out.println("C"); else if (a + b >= 30) if (c >= 50) System.out.println("C"); else System.out.println("D"); else System.out.println("F"); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 42, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 4, 12 ], [ 12, 13 ], [ 4, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 16, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 16, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 16, 40 ], [ 40, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 40, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 56, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 74, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 85, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 96, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 112, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 107, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 55, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 55, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 55, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 55, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 158, 160 ], [ 4, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 161, 167 ], [ 167, 168 ] ]
[ "import java.util.Scanner;\nclass Main {\n\tint m,f,r,x;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tm = sc.nextInt();\n\t\tf = sc.nextInt();\n\t\tr = sc.nextInt();\n\t\tx = m + f;\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tx = m + f;\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tint m,f,r,x;\n\tpublic void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tm = sc.nextInt();\n\t\tf = sc.nextInt();\n\t\tr = sc.nextInt();\n\t\tx = m + f;\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tx = m + f;\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}\n}", "Main", "int m", "m", "f", "f", "r", "r", "x;", "x", "public void suzuki(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tm = sc.nextInt();\n\t\tf = sc.nextInt();\n\t\tr = sc.nextInt();\n\t\tx = m + f;\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tx = m + f;\n\t\t}\n\t}", "suzuki", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tm = sc.nextInt();\n\t\tf = sc.nextInt();\n\t\tr = sc.nextInt();\n\t\tx = m + f;\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tx = m + f;\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "x = m + f", "x", "m + f", "m", "f", "while(m != -1 || f != -1 || r != -1){\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tx = m + f;\n\t\t}", "m != -1 || f != -1 || r != -1", "m != -1 || f != -1 || r != -1", "m != -1", "m", "-1", "1", "f != -1", "f", "-1", "1", "r != -1", "r", "-1", "1", "{\n\t\t\tif(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tx = m + f;\n\t\t}", "if(m == -1 || f == -1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\t\tif(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "if(x >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "x >= 80", "x", "80", "{\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(x >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "x >= 65", "x", "65", "{\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(x >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "x >= 50", "x", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(x >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "x >= 30", "x", "30", "{\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}", "if(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(x < 30){\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "x < 30", "x", "30", "{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "x = m + f", "x", "m + f", "m", "f", "public static void main(String[] args){\n\t\tnew Main().suzuki();\n\t}", "main", "{\n\t\tnew Main().suzuki();\n\t}", "new Main().suzuki()", "new Main().suzuki", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main { int m,f,r,x; public void suzuki(){ Scanner sc = new Scanner(System.in); m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); x = m + f; while(m != -1 || f != -1 || r != -1){ if(m == -1 || f == -1){ System.out.println("F"); }else{ if(x >= 80){ System.out.println("A"); }else if(x >= 65){ System.out.println("B"); }else if(x >= 50){ System.out.println("C"); }else if(x >= 30){ if(r >= 50){ System.out.println("C"); }else{ System.out.println("D"); } }else if(x < 30){ System.out.println("F"); } } m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); x = m + f; } } public static void main(String[] args){ new Main().suzuki(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 29, 17, 14, 2, 2, 13, 13, 17, 30, 29, 17, 14, 2, 2, 13, 13, 17, 30, 29, 17, 14, 2, 2, 13, 13, 17, 30, 29, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 29, 17, 30, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 38, 45 ], [ 45, 46 ], [ 45, 47 ], [ 36, 48 ], [ 20, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 54, 57 ], [ 54, 58 ], [ 6, 59 ], [ 59, 60 ], [ 4, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 63, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 74, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 89, 90 ], [ 90, 91 ], [ 83, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 92, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 108, 115 ], [ 115, 116 ], [ 116, 117 ], [ 63, 118 ], [ 118, 119 ], [ 61, 120 ], [ 120, 121 ], [ 61, 122 ], [ 122, 123 ], [ 61, 124 ], [ 124, 125 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int m, f, r;\n while(true){\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n if(m < 0 && f < 0 && r < 0) break;\n System.out.println(calcGrade(m, f, r));\n }\n }\n public static char calcGrade(int m, int f, int r){\n if(m < 0 || f < 0) return 'F';\n if(m + f >= 80){ return 'A'; }\n else if(m + f >= 65){ return 'B'; }\n else if(m + f >= 50){ return 'C'; }\n else if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }\n return 'F';\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int m, f, r;\n while(true){\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n if(m < 0 && f < 0 && r < 0) break;\n System.out.println(calcGrade(m, f, r));\n }\n }\n public static char calcGrade(int m, int f, int r){\n if(m < 0 || f < 0) return 'F';\n if(m + f >= 80){ return 'A'; }\n else if(m + f >= 65){ return 'B'; }\n else if(m + f >= 50){ return 'C'; }\n else if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }\n return 'F';\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int m, f, r;\n while(true){\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n if(m < 0 && f < 0 && r < 0) break;\n System.out.println(calcGrade(m, f, r));\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int m, f, r;\n while(true){\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n if(m < 0 && f < 0 && r < 0) break;\n System.out.println(calcGrade(m, f, r));\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "while(true){\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n if(m < 0 && f < 0 && r < 0) break;\n System.out.println(calcGrade(m, f, r));\n }", "true", "{\n m = scan.nextInt();\n f = scan.nextInt();\n r = scan.nextInt();\n if(m < 0 && f < 0 && r < 0) break;\n System.out.println(calcGrade(m, f, r));\n }", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "f = scan.nextInt()", "f", "scan.nextInt()", "scan.nextInt", "scan", "r = scan.nextInt()", "r", "scan.nextInt()", "scan.nextInt", "scan", "if(m < 0 && f < 0 && r < 0) break;", "m < 0 && f < 0 && r < 0", "m < 0 && f < 0 && r < 0", "m < 0", "m", "0", "f < 0", "f", "0", "r < 0", "r", "0", "break;", "System.out.println(calcGrade(m, f, r))", "System.out.println", "System.out", "System", "System.out", "calcGrade(m, f, r)", "calcGrade", "m", "f", "r", "String[] args", "args", "public static char calcGrade(int m, int f, int r){\n if(m < 0 || f < 0) return 'F';\n if(m + f >= 80){ return 'A'; }\n else if(m + f >= 65){ return 'B'; }\n else if(m + f >= 50){ return 'C'; }\n else if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }\n return 'F';\n }", "calcGrade", "{\n if(m < 0 || f < 0) return 'F';\n if(m + f >= 80){ return 'A'; }\n else if(m + f >= 65){ return 'B'; }\n else if(m + f >= 50){ return 'C'; }\n else if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }\n return 'F';\n }", "if(m < 0 || f < 0) return 'F';", "m < 0 || f < 0", "m < 0", "m", "0", "f < 0", "f", "0", "return 'F';", "'F'", "if(m + f >= 80){ return 'A'; }\n else if(m + f >= 65){ return 'B'; }\n else if(m + f >= 50){ return 'C'; }\n else if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }", "m + f >= 80", "m + f", "m", "f", "80", "{ return 'A'; }", "return 'A';", "'A'", "if(m + f >= 65){ return 'B'; }\n else if(m + f >= 50){ return 'C'; }\n else if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }", "m + f >= 65", "m + f", "m", "f", "65", "{ return 'B'; }", "return 'B';", "'B'", "if(m + f >= 50){ return 'C'; }\n else if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }", "m + f >= 50", "m + f", "m", "f", "50", "{ return 'C'; }", "return 'C';", "'C'", "if(m + f >= 30){\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }", "m + f >= 30", "m + f", "m", "f", "30", "{\n if(r >= 50){ return 'C'; }else{ return 'D'; }\n }", "if(r >= 50){ return 'C'; }else{ return 'D'; }", "r >= 50", "r", "50", "{ return 'C'; }", "return 'C';", "'C'", "{ return 'D'; }", "return 'D';", "'D'", "return 'F';", "'F'", "int m", "m", "int f", "f", "int r", "r" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int m, f, r; while(true){ m = scan.nextInt(); f = scan.nextInt(); r = scan.nextInt(); if(m < 0 && f < 0 && r < 0) break; System.out.println(calcGrade(m, f, r)); } } public static char calcGrade(int m, int f, int r){ if(m < 0 || f < 0) return 'F'; if(m + f >= 80){ return 'A'; } else if(m + f >= 65){ return 'B'; } else if(m + f >= 50){ return 'C'; } else if(m + f >= 30){ if(r >= 50){ return 'C'; }else{ return 'D'; } } return 'F'; } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 17, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 0, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 18, 13, 13, 17, 40, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 16, 18 ], [ 12, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 12, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 12, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 12, 34 ], [ 34, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 36, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 34, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 59, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 75, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 87, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 87, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 112, 114 ], [ 99, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 99, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 121, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 133, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 49, 145 ], [ 145, 146 ], [ 49, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 49, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 49, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 12, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 162, 172 ], [ 172, 173 ], [ 173, 174 ], [ 162, 175 ], [ 176, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 4, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 185, 191 ], [ 191, 192 ] ]
[ "import java.util.Scanner;\nclass Main {\n\tprivate static String[] ten = new String[100];\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint m = sc.nextInt();\n\t\tint f = sc.nextInt();\n\t\tint r = sc.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m <= 50 && f <= 50){\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tx++;\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i <= x-1; i++){\n\t\t\tSystem.out.println(ten[i]);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tprivate static String[] ten = new String[100];\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint m = sc.nextInt();\n\t\tint f = sc.nextInt();\n\t\tint r = sc.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m <= 50 && f <= 50){\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tx++;\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i <= x-1; i++){\n\t\t\tSystem.out.println(ten[i]);\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}\n\n}", "Main", "private static String[] ten = new String[100];", "ten", "new String[100]", "100", "public void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint m = sc.nextInt();\n\t\tint f = sc.nextInt();\n\t\tint r = sc.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m <= 50 && f <= 50){\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tx++;\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i <= x-1; i++){\n\t\t\tSystem.out.println(ten[i]);\n\t\t}\n\t}", "kami", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = 0;\n\t\tint m = sc.nextInt();\n\t\tint f = sc.nextInt();\n\t\tint r = sc.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m <= 50 && f <= 50){\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tx++;\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i <= x-1; i++){\n\t\t\tSystem.out.println(ten[i]);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = 0;", "x", "0", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "while(m != -1 || f != -1 || r != -1){\n\t\t\tif(m <= 50 && f <= 50){\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tx++;\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t}", "m != -1 || f != -1 || r != -1", "m != -1 || f != -1 || r != -1", "m != -1", "m", "-1", "1", "f != -1", "f", "-1", "1", "r != -1", "r", "-1", "1", "{\n\t\t\tif(m <= 50 && f <= 50){\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tx++;\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t}", "if(m <= 50 && f <= 50){\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}", "m <= 50 && f <= 50", "m <= 50", "m", "50", "f <= 50", "f", "50", "{\n\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}\n\t\t\t}", "if(m == -1 || f == -1){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}else if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "ten[x] = \"F\"", "ten[x]", "ten", "x", "\"F\"", "if(m + f >= 80){\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}else if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\t\tten[x] = \"A\";\n\t\t\t\t}", "ten[x] = \"A\"", "ten[x]", "ten", "x", "\"A\"", "if(m + f >= 65){\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}else if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\t\tten[x] = \"B\";\n\t\t\t\t}", "ten[x] = \"B\"", "ten[x]", "ten", "x", "\"B\"", "if(m + f >= 50 || (m + f >= 30 && r >= 50)){\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}else if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "m + f >= 50 || (m + f >= 30 && r >= 50)", "m + f >= 50", "m + f", "m", "f", "50", "(m + f >= 30 && r >= 50)", "m + f >= 30", "m + f", "m", "f", "30", "r >= 50", "r", "50", "{\n\t\t\t\t\tten[x] = \"C\";\n\t\t\t\t}", "ten[x] = \"C\"", "ten[x]", "ten", "x", "\"C\"", "if(m + f >= 30){\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}else if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{\n\t\t\t\t\tten[x] = \"D\";\n\t\t\t\t}", "ten[x] = \"D\"", "ten[x]", "ten", "x", "\"D\"", "if(m + f < 30){\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "m + f < 30", "m + f", "m", "f", "30", "{\n\t\t\t\t\tten[x] = \"F\";\n\t\t\t\t}", "ten[x] = \"F\"", "ten[x]", "ten", "x", "\"F\"", "x++", "x", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i <= x-1; i++){\n\t\t\tSystem.out.println(ten[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i <= x-1", "i", "x-1", "x", "1", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(ten[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(ten[i]);\n\t\t}", "System.out.println(ten[i])", "System.out.println", "System.out", "System", "System.out", "ten[i]", "ten", "i", "public static void main(String[] args) {\n\n\t\tnew Main().kami();\n\t}", "main", "{\n\n\t\tnew Main().kami();\n\t}", "new Main().kami()", "new Main().kami", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main { private static String[] ten = new String[100]; public void kami() { Scanner sc = new Scanner(System.in); int x = 0; int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); while(m != -1 || f != -1 || r != -1){ if(m <= 50 && f <= 50){ if(m == -1 || f == -1){ ten[x] = "F"; }else if(m + f >= 80){ ten[x] = "A"; }else if(m + f >= 65){ ten[x] = "B"; }else if(m + f >= 50 || (m + f >= 30 && r >= 50)){ ten[x] = "C"; }else if(m + f >= 30){ ten[x] = "D"; }else if(m + f < 30){ ten[x] = "F"; } } x++; m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); } for(int i = 0; i <= x-1; i++){ System.out.println(ten[i]); } } public static void main(String[] args) { new Main().kami(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 13, 4, 18, 4, 18, 13, 17, 41, 13, 20, 14, 4, 18, 13, 20, 30, 3, 30, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 41, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 29, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 29, 13, 12, 13, 30, 14, 2, 36, 13, 29, 17, 14, 2, 13, 17, 29, 17, 14, 2, 4, 13, 4, 18, 13, 29, 17, 41, 13, 13, 14, 2, 13, 18, 13, 13, 29, 17, 14, 2, 13, 18, 13, 13, 29, 17, 14, 2, 13, 18, 13, 13, 29, 17, 29, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 277, 11 ], [ 277, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 34, 39 ], [ 39, 40 ], [ 34, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 12, 50 ], [ 50, 51 ], [ 277, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 61, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 54, 86 ], [ 86, 87 ], [ 52, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 90, 94 ], [ 94, 95 ], [ 90, 96 ], [ 96, 97 ], [ 90, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 100, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 98, 116 ], [ 116, 117 ], [ 98, 118 ], [ 118, 119 ], [ 98, 120 ], [ 120, 121 ], [ 90, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 127, 129 ], [ 124, 130 ], [ 130, 131 ], [ 124, 132 ], [ 132, 133 ], [ 134, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 134, 143 ], [ 143, 144 ], [ 143, 145 ], [ 132, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 132, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 155, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 150, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 167, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 175, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 124, 187 ], [ 187, 188 ], [ 90, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 195, 196 ], [ 195, 197 ], [ 191, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 191, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 191, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 191, 219 ], [ 219, 220 ], [ 90, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 228, 229 ], [ 223, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 230, 234 ], [ 234, 235 ], [ 223, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 237, 240 ], [ 240, 241 ], [ 241, 242 ], [ 236, 243 ], [ 243, 244 ], [ 223, 245 ], [ 245, 246 ], [ 245, 247 ], [ 223, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 251, 252 ], [ 251, 253 ], [ 248, 254 ], [ 254, 255 ], [ 223, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 259, 261 ], [ 256, 262 ], [ 262, 263 ], [ 223, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 267, 268 ], [ 267, 269 ], [ 264, 270 ], [ 270, 271 ], [ 223, 272 ], [ 272, 273 ], [ 221, 274 ], [ 274, 275 ], [ 0, 276 ], [ 276, 277 ], [ 276, 278 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static int[] parceIntArray(String[] strArr){\n\t\tint[] arr = new int[strArr.length];\n\t\tfor(int i = 0;i < arr.length;i++){\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}\n\t\treturn arr;\n\t}\n}\n\nclass Score {\n\tint midterm;\n\tint term;\n\tint makeUp;\n\n\tScore(int midterm, int term, int makeUp) {\n\t\tthis.midterm = midterm;\n\t\tthis.term = term;\n\t\tthis.makeUp = makeUp;\n\t}\n\n\tString getGrade() {\n\t\tint finalScore = midterm + term;\n\t\tString result;\n\t\tif (midterm == -1 || term == -1 || finalScore < 30) {\n\t\t\tresult = \"F\";\n\t\t} else if (finalScore < 50) {\n\t\t\tif (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}\n\t\t}else if(finalScore < 65){\n\t\t\tresult = \"C\";\n\t\t}else if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}\n\t\treturn result;\n\t}\n\n\t@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + makeUp;\n\t\tresult = prime * result + midterm;\n\t\tresult = prime * result + term;\n\t\treturn result;\n\t}\n\n\t@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tScore other = (Score) obj;\n\t\tif (makeUp != other.makeUp)\n\t\t\treturn false;\n\t\tif (midterm != other.midterm)\n\t\t\treturn false;\n\t\tif (term != other.term)\n\t\t\treturn false;\n\t\treturn true;\n\t}\n\t\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static int[] parceIntArray(String[] strArr){\n\t\tint[] arr = new int[strArr.length];\n\t\tfor(int i = 0;i < arr.length;i++){\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}\n\t\treturn arr;\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}", "int[] arr = parceIntArray(br.readLine().split(\" \"));", "arr", "parceIntArray(br.readLine().split(\" \"))", "parceIntArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "Score score = new Score(arr[0], arr[1], arr[2]);", "score", "new Score(arr[0], arr[1], arr[2])", "if(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}", "score.equals(new Score(-1, -1, -1))", "score.equals", "score", "new Score(-1, -1, -1)", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}", "System.out.println(score.getGrade())", "System.out.println", "System.out", "System", "System.out", "score.getGrade()", "score.getGrade", "score", "String[] args", "args", "private static int[] parceIntArray(String[] strArr){\n\t\tint[] arr = new int[strArr.length];\n\t\tfor(int i = 0;i < arr.length;i++){\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}\n\t\treturn arr;\n\t}", "parceIntArray", "{\n\t\tint[] arr = new int[strArr.length];\n\t\tfor(int i = 0;i < arr.length;i++){\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}\n\t\treturn arr;\n\t}", "int[] arr = new int[strArr.length];", "arr", "new int[strArr.length]", "strArr.length", "strArr", "strArr.length", "for(int i = 0;i < arr.length;i++){\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}", "{\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}", "arr[i] = Integer.parseInt(strArr[i])", "arr[i]", "arr", "i", "Integer.parseInt(strArr[i])", "Integer.parseInt", "Integer", "strArr[i]", "strArr", "i", "return arr;", "arr", "String[] strArr", "strArr", "class Score {\n\tint midterm;\n\tint term;\n\tint makeUp;\n\n\tScore(int midterm, int term, int makeUp) {\n\t\tthis.midterm = midterm;\n\t\tthis.term = term;\n\t\tthis.makeUp = makeUp;\n\t}\n\n\tString getGrade() {\n\t\tint finalScore = midterm + term;\n\t\tString result;\n\t\tif (midterm == -1 || term == -1 || finalScore < 30) {\n\t\t\tresult = \"F\";\n\t\t} else if (finalScore < 50) {\n\t\t\tif (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}\n\t\t}else if(finalScore < 65){\n\t\t\tresult = \"C\";\n\t\t}else if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}\n\t\treturn result;\n\t}\n\n\t@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + makeUp;\n\t\tresult = prime * result + midterm;\n\t\tresult = prime * result + term;\n\t\treturn result;\n\t}\n\n\t@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tScore other = (Score) obj;\n\t\tif (makeUp != other.makeUp)\n\t\t\treturn false;\n\t\tif (midterm != other.midterm)\n\t\t\treturn false;\n\t\tif (term != other.term)\n\t\t\treturn false;\n\t\treturn true;\n\t}\n\t\n}", "Score", "int midterm;", "midterm", "int term;", "term", "int makeUp;", "makeUp", "Score(int midterm, int term, int makeUp) {\n\t\tthis.midterm = midterm;\n\t\tthis.term = term;\n\t\tthis.makeUp = makeUp;\n\t}", "Score", "{\n\t\tthis.midterm = midterm;\n\t\tthis.term = term;\n\t\tthis.makeUp = makeUp;\n\t}", "this.midterm = midterm", "this.midterm", "this", "this.midterm", "midterm", "this.term = term", "this.term", "this", "this.term", "term", "this.makeUp = makeUp", "this.makeUp", "this", "this.makeUp", "makeUp", "int midterm", "midterm", "int term", "term", "int makeUp", "makeUp", "String getGrade() {\n\t\tint finalScore = midterm + term;\n\t\tString result;\n\t\tif (midterm == -1 || term == -1 || finalScore < 30) {\n\t\t\tresult = \"F\";\n\t\t} else if (finalScore < 50) {\n\t\t\tif (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}\n\t\t}else if(finalScore < 65){\n\t\t\tresult = \"C\";\n\t\t}else if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}\n\t\treturn result;\n\t}", "getGrade", "{\n\t\tint finalScore = midterm + term;\n\t\tString result;\n\t\tif (midterm == -1 || term == -1 || finalScore < 30) {\n\t\t\tresult = \"F\";\n\t\t} else if (finalScore < 50) {\n\t\t\tif (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}\n\t\t}else if(finalScore < 65){\n\t\t\tresult = \"C\";\n\t\t}else if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}\n\t\treturn result;\n\t}", "int finalScore = midterm + term;", "finalScore", "midterm + term", "midterm", "term", "String result;", "result", "if (midterm == -1 || term == -1 || finalScore < 30) {\n\t\t\tresult = \"F\";\n\t\t} else if (finalScore < 50) {\n\t\t\tif (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}\n\t\t}else if(finalScore < 65){\n\t\t\tresult = \"C\";\n\t\t}else if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}", "midterm == -1 || term == -1 || finalScore < 30", "midterm == -1 || term == -1 || finalScore < 30", "midterm == -1", "midterm", "-1", "1", "term == -1", "term", "-1", "1", "finalScore < 30", "finalScore", "30", "{\n\t\t\tresult = \"F\";\n\t\t}", "result = \"F\"", "result", "\"F\"", "if (finalScore < 50) {\n\t\t\tif (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}\n\t\t}else if(finalScore < 65){\n\t\t\tresult = \"C\";\n\t\t}else if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}", "finalScore < 50", "finalScore", "50", "{\n\t\t\tif (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}\n\t\t}", "if (makeUp >= 50) {\n\t\t\t\tresult = \"C\";\n\t\t\t} else {\n\t\t\t\tresult = \"D\";\n\t\t\t}", "makeUp >= 50", "makeUp", "50", "{\n\t\t\t\tresult = \"C\";\n\t\t\t}", "result = \"C\"", "result", "\"C\"", "{\n\t\t\t\tresult = \"D\";\n\t\t\t}", "result = \"D\"", "result", "\"D\"", "if(finalScore < 65){\n\t\t\tresult = \"C\";\n\t\t}else if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}", "finalScore < 65", "finalScore", "65", "{\n\t\t\tresult = \"C\";\n\t\t}", "result = \"C\"", "result", "\"C\"", "if(finalScore < 80){\n\t\t\tresult = \"B\";\n\t\t}else{\n\t\t\tresult = \"A\";\n\t\t}", "finalScore < 80", "finalScore", "80", "{\n\t\t\tresult = \"B\";\n\t\t}", "result = \"B\"", "result", "\"B\"", "{\n\t\t\tresult = \"A\";\n\t\t}", "result = \"A\"", "result", "\"A\"", "return result;", "result", "@Override\n\tpublic int hashCode() {\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + makeUp;\n\t\tresult = prime * result + midterm;\n\t\tresult = prime * result + term;\n\t\treturn result;\n\t}", "hashCode", "{\n\t\tfinal int prime = 31;\n\t\tint result = 1;\n\t\tresult = prime * result + makeUp;\n\t\tresult = prime * result + midterm;\n\t\tresult = prime * result + term;\n\t\treturn result;\n\t}", "final int prime = 31;", "prime", "31", "int result = 1;", "result", "1", "result = prime * result + makeUp", "result", "prime * result + makeUp", "prime * result", "prime", "result", "makeUp", "result = prime * result + midterm", "result", "prime * result + midterm", "prime * result", "prime", "result", "midterm", "result = prime * result + term", "result", "prime * result + term", "prime * result", "prime", "result", "term", "return result;", "result", "@Override\n\tpublic boolean equals(Object obj) {\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tScore other = (Score) obj;\n\t\tif (makeUp != other.makeUp)\n\t\t\treturn false;\n\t\tif (midterm != other.midterm)\n\t\t\treturn false;\n\t\tif (term != other.term)\n\t\t\treturn false;\n\t\treturn true;\n\t}", "equals", "{\n\t\tif (this == obj)\n\t\t\treturn true;\n\t\tif (obj == null)\n\t\t\treturn false;\n\t\tif (getClass() != obj.getClass())\n\t\t\treturn false;\n\t\tScore other = (Score) obj;\n\t\tif (makeUp != other.makeUp)\n\t\t\treturn false;\n\t\tif (midterm != other.midterm)\n\t\t\treturn false;\n\t\tif (term != other.term)\n\t\t\treturn false;\n\t\treturn true;\n\t}", "if (this == obj)\n\t\t\treturn true;", "this == obj", "this", "obj", "return true;", "true", "if (obj == null)\n\t\t\treturn false;", "obj == null", "obj", "null", "return false;", "false", "if (getClass() != obj.getClass())\n\t\t\treturn false;", "getClass() != obj.getClass()", "getClass()", "getClass", "obj.getClass()", "obj.getClass", "obj", "return false;", "false", "Score other = (Score) obj;", "other", "(Score) obj", "if (makeUp != other.makeUp)\n\t\t\treturn false;", "makeUp != other.makeUp", "makeUp", "other.makeUp", "other", "other.makeUp", "return false;", "false", "if (midterm != other.midterm)\n\t\t\treturn false;", "midterm != other.midterm", "midterm", "other.midterm", "other", "other.midterm", "return false;", "false", "if (term != other.term)\n\t\t\treturn false;", "term != other.term", "term", "other.term", "other", "other.term", "return false;", "false", "return true;", "true", "Object obj", "obj", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static int[] parceIntArray(String[] strArr){\n\t\tint[] arr = new int[strArr.length];\n\t\tfor(int i = 0;i < arr.length;i++){\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}\n\t\treturn arr;\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint[] arr = parceIntArray(br.readLine().split(\" \"));\n\t\t\tScore score = new Score(arr[0], arr[1], arr[2]);\n\t\t\tif(score.equals(new Score(-1, -1, -1))){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(score.getGrade());\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static int[] parceIntArray(String[] strArr){\n\t\tint[] arr = new int[strArr.length];\n\t\tfor(int i = 0;i < arr.length;i++){\n\t\t\tarr[i] = Integer.parseInt(strArr[i]);\n\t\t}\n\t\treturn arr;\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ int[] arr = parceIntArray(br.readLine().split(" ")); Score score = new Score(arr[0], arr[1], arr[2]); if(score.equals(new Score(-1, -1, -1))){ break; }else{ System.out.println(score.getGrade()); } } } private static int[] parceIntArray(String[] strArr){ int[] arr = new int[strArr.length]; for(int i = 0;i < arr.length;i++){ arr[i] = Integer.parseInt(strArr[i]); } return arr; } } class Score { int midterm; int term; int makeUp; Score(int midterm, int term, int makeUp) { this.midterm = midterm; this.term = term; this.makeUp = makeUp; } String getGrade() { int finalScore = midterm + term; String result; if (midterm == -1 || term == -1 || finalScore < 30) { result = "F"; } else if (finalScore < 50) { if (makeUp >= 50) { result = "C"; } else { result = "D"; } }else if(finalScore < 65){ result = "C"; }else if(finalScore < 80){ result = "B"; }else{ result = "A"; } return result; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + makeUp; result = prime * result + midterm; result = prime * result + term; return result; } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (getClass() != obj.getClass()) return false; Score other = (Score) obj; if (makeUp != other.makeUp) return false; if (midterm != other.midterm) return false; if (term != other.term) return false; return true; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 14, 2, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 17, 17, 30, 3, 14, 2, 4, 18, 18, 13, 17, 17, 4, 18, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 9, 41, 13, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 4, 18, 13, 18, 13, 17, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 157, 11 ], [ 157, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 28, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 36, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 35, 49 ], [ 49, 50 ], [ 28, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 52, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 51, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 65, 72 ], [ 28, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 75, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 28, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 88, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 99, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 120, 121 ], [ 120, 122 ], [ 116, 123 ], [ 115, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 115, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 110, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 136, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 12, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }\n\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }\n\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "while((line = br.readLine()) != null){\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }", "(line = br.readLine()) != null", "(line = br.readLine())", "line", "br.readLine()", "br.readLine", "br", "null", "{\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }", "String[] input = line.split(\" \");", "input", "line.split(\" \")", "line.split", "line", "\" \"", "if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }", "input[0].equals(\"-1\") && input[1].equals(\"-1\")", "input[0].equals(\"-1\")", "input[0].equals", "input[0]", "input", "0", "\"-1\"", "input[1].equals(\"-1\")", "input[1].equals", "input[1]", "input", "1", "\"-1\"", "{\n break;\n }", "break;", "if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }", "input[0].equals(\"-1\") || input[1].equals(\"-1\")", "input[0].equals(\"-1\")", "input[0].equals", "input[0]", "input", "0", "\"-1\"", "input[1].equals(\"-1\")", "input[1].equals", "input[1]", "input", "1", "\"-1\"", "{\n System.out.println(\"F\");\n continue;\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "continue;", "int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);", "score", "Integer.parseInt(input[0]) + Integer.parseInt(input[1])", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }", "score < 30", "score", "30", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }", "score >= 80", "score", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }", "score < 50", "score", "50", "{\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }", "if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");", "Integer.parseInt(input[2]) >= 50", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }", "score < 65", "score", "65", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "String[] args", "args", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }\n\n }\n}", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while((line = br.readLine()) != null){\n String[] input = line.split(\" \");\n \n if(input[0].equals(\"-1\") && input[1].equals(\"-1\")){\n break;\n }\n \n if(input[0].equals(\"-1\") || input[1].equals(\"-1\")){\n System.out.println(\"F\");\n continue;\n }\n\n int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]);\n\n if(score < 30){\n System.out.println(\"F\");\n }else if(score >= 80){\n System.out.println(\"A\");\n }else if(score < 50){\n if(Integer.parseInt(input[2]) >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else if(score < 65){\n System.out.println(\"C\");\n }else{\n System.out.println(\"B\");\n }\n\n }\n\n }\n}", "Main" ]
import java.io.IOException; import java.io.InputStreamReader; import java.io.BufferedReader; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; while((line = br.readLine()) != null){ String[] input = line.split(" "); if(input[0].equals("-1") && input[1].equals("-1")){ break; } if(input[0].equals("-1") || input[1].equals("-1")){ System.out.println("F"); continue; } int score = Integer.parseInt(input[0]) + Integer.parseInt(input[1]); if(score < 30){ System.out.println("F"); }else if(score >= 80){ System.out.println("A"); }else if(score < 50){ if(Integer.parseInt(input[2]) >= 50) System.out.println("C"); else System.out.println("D"); }else if(score < 65){ System.out.println("C"); }else{ System.out.println("B"); } } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 11, 1, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 13, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 20, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 155, 2 ], [ 155, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 15, 17 ], [ 18, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 18, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 18, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 18, 34 ], [ 34, 35 ], [ 35, 36 ], [ 37, 37 ], [ 37, 38 ], [ 37, 39 ], [ 37, 40 ], [ 35, 41 ], [ 41, 42 ], [ 34, 43 ], [ 43, 44 ], [ 34, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 45, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 45, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 62, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 75, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 88, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 108, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 101, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 5, 133 ], [ 133, 134 ], [ 134, 135 ], [ 3, 136 ], [ 136, 137 ], [ 3, 138 ], [ 138, 139 ], [ 155, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 146, 148 ], [ 143, 149 ], [ 149, 150 ], [ 149, 151 ], [ 140, 152 ], [ 152, 153 ], [ 0, 154 ], [ 154, 155 ], [ 154, 156 ] ]
[ "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int m, f, r;\n\n for(;;){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int m, f, r;\n\n for(;;){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main", "public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int m, f, r;\n\n for(;;){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n\n\n sc.close();\n }", "run", "{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int m, f, r;\n\n for(;;){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n\n\n sc.close();\n }", "java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "int m", "m", "f", "f", "r;", "r", "for(;;){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }", ";", "{\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }", "{\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "m + f + r == -3", "m + f + r", "m + f + r", "m", "f", "r", "-3", "3", "{\n break;\n }", "break;", "if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "m + f >= 80", "m + f", "m", "f", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "m + f >= 65", "m + f", "m", "f", "65", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "m + f >= 50", "m + f", "m", "f", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "m + f >= 30", "m + f", "m", "f", "30", "{\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }", "if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }", "r >= 50", "r", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "sc.close()", "sc.close", "sc", "java.io.InputStream in", "in", "java.io.PrintStream out", "out", "public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }", "main", "{\n (new Main()).run(System.in, System.out);\n }", "(new Main()).run(System.in, System.out)", "(new Main()).run", "(new Main())", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int m, f, r;\n\n for(;;){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int m, f, r;\n\n for(;;){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m + f + r == -3){\n break;\n }else if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(m + f >= 80){\n System.out.println(\"A\");\n }else if(m + f >= 65){\n System.out.println(\"B\");\n }else if(m + f >= 50){\n System.out.println(\"C\");\n }else if(m + f >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main" ]
public class Main{ public void run(java.io.InputStream in, java.io.PrintStream out){ java.util.Scanner sc = new java.util.Scanner(in); /*answer*/ int m, f, r; for(;;){ m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); if(m + f + r == -3){ break; }else if(m == -1 || f == -1){ System.out.println("F"); }else if(m + f >= 80){ System.out.println("A"); }else if(m + f >= 65){ System.out.println("B"); }else if(m + f >= 50){ System.out.println("C"); }else if(m + f >= 30){ if(r >= 50){ System.out.println("C"); }else{ System.out.println("D"); } }else{ System.out.println("F"); } } sc.close(); } public static void main(String[] args){ (new Main()).run(System.in, System.out); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 30, 4, 18, 4, 18, 13, 17, 17, 30, 4, 18, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 186, 11 ], [ 186, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 23, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 23, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 23, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 23, 61 ], [ 61, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 63, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 61, 76 ], [ 76, 77 ], [ 61, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 89, 95 ], [ 78, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 101, 107 ], [ 96, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 117, 123 ], [ 108, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 133, 139 ], [ 124, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 145, 147 ], [ 140, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 154, 160 ], [ 149, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 162, 168 ], [ 140, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 172, 175 ], [ 170, 176 ], [ 14, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 12, 183 ], [ 183, 184 ], [ 0, 185 ], [ 185, 186 ], [ 185, 187 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true) {\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true) {\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true) {\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true) {\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "while(true) {\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }", "true", "{\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }", "String[] strArray = br.readLine().split(\" \");", "strArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int m = Integer.parseInt(strArray[0]);", "m", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "int f = Integer.parseInt(strArray[1]);", "f", "Integer.parseInt(strArray[1])", "Integer.parseInt", "Integer", "strArray[1]", "strArray", "1", "int r = Integer.parseInt(strArray[2]);", "r", "Integer.parseInt(strArray[2])", "Integer.parseInt", "Integer", "strArray[2]", "strArray", "2", "int d = m + f;", "d", "m + f", "m", "f", "if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n break;\n }", "break;", "if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n sb.append(\"F\").append(\"\\n\");\n }", "sb.append(\"F\").append(\"\\n\")", "sb.append(\"F\").append", "sb.append(\"F\")", "sb.append", "sb", "\"F\"", "\"\\n\"", "if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }", "d >= 80", "d", "80", "{\n sb.append(\"A\").append(\"\\n\");\n }", "sb.append(\"A\").append(\"\\n\")", "sb.append(\"A\").append", "sb.append(\"A\")", "sb.append", "sb", "\"A\"", "\"\\n\"", "if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }", "d >= 65 && d < 80", "d >= 65", "d", "65", "d < 80", "d", "80", "{\n sb.append(\"B\").append(\"\\n\");\n }", "sb.append(\"B\").append(\"\\n\")", "sb.append(\"B\").append", "sb.append(\"B\")", "sb.append", "sb", "\"B\"", "\"\\n\"", "if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }", "d >= 50 && d < 65", "d >= 50", "d", "50", "d < 65", "d", "65", "{\n sb.append(\"C\").append(\"\\n\");\n }", "sb.append(\"C\").append(\"\\n\")", "sb.append(\"C\").append", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "\"\\n\"", "if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }", "d >= 30 && d < 50", "d >= 30", "d", "30", "d < 50", "d", "50", "{\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }", "if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }", "r >= 50", "r", "50", "{\n sb.append(\"C\").append(\"\\n\");\n }", "sb.append(\"C\").append(\"\\n\")", "sb.append(\"C\").append", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "\"\\n\"", "{\n sb.append(\"D\").append(\"\\n\");\n }", "sb.append(\"D\").append(\"\\n\")", "sb.append(\"D\").append", "sb.append(\"D\")", "sb.append", "sb", "\"D\"", "\"\\n\"", "{\n sb.append(\"F\").append(\"\\n\");\n }", "sb.append(\"F\").append(\"\\n\")", "sb.append(\"F\").append", "sb.append(\"F\")", "sb.append", "sb", "\"F\"", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true) {\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true) {\n String[] strArray = br.readLine().split(\" \");\n int m = Integer.parseInt(strArray[0]);\n int f = Integer.parseInt(strArray[1]);\n int r = Integer.parseInt(strArray[2]);\n int d = m + f;\n if(m == -1 && f == -1 && r == -1) {\n break;\n }\n else if(m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n }\n else if(d >= 80) {\n sb.append(\"A\").append(\"\\n\");\n }\n else if(d >= 65 && d < 80) {\n sb.append(\"B\").append(\"\\n\");\n }\n else if(d >= 50 && d < 65) {\n sb.append(\"C\").append(\"\\n\");\n }\n else if(d >= 30 && d < 50) {\n if(r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n }\n else {\n sb.append(\"D\").append(\"\\n\");\n }\n }\n else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true) { String[] strArray = br.readLine().split(" "); int m = Integer.parseInt(strArray[0]); int f = Integer.parseInt(strArray[1]); int r = Integer.parseInt(strArray[2]); int d = m + f; if(m == -1 && f == -1 && r == -1) { break; } else if(m == -1 || f == -1) { sb.append("F").append("\n"); } else if(d >= 80) { sb.append("A").append("\n"); } else if(d >= 65 && d < 80) { sb.append("B").append("\n"); } else if(d >= 50 && d < 65) { sb.append("C").append("\n"); } else if(d >= 30 && d < 50) { if(r >= 50) { sb.append("C").append("\n"); } else { sb.append("D").append("\n"); } } else { sb.append("F").append("\n"); } } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 29, 17, 14, 2, 13, 17, 29, 17, 14, 2, 2, 13, 17, 2, 13, 17, 29, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 29, 17, 14, 2, 2, 13, 17, 2, 13, 17, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 136, 5 ], [ 136, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 36, 51 ], [ 20, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 57, 60 ], [ 57, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 6, 65 ], [ 65, 66 ], [ 136, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 75, 85 ], [ 85, 86 ], [ 69, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 69, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 69, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 112, 114 ], [ 103, 115 ], [ 115, 116 ], [ 69, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 122, 124 ], [ 117, 125 ], [ 125, 126 ], [ 69, 127 ], [ 127, 128 ], [ 67, 129 ], [ 129, 130 ], [ 67, 131 ], [ 131, 132 ], [ 67, 133 ], [ 133, 134 ], [ 0, 135 ], [ 135, 136 ], [ 135, 137 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\n\t\twhile(true) {\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tstatic String check(int m,int f,int r) {\n\t\tint sum = m+f;\n\t\tif(m==-1 || f==-1) return \"F\";\n\t\tif(sum>=80) return\"A\";\n\t\tif(sum>=65 && sum<=80) return \"B\";\n\t\tif(sum>=50 && sum<=65 || r>=50) return \"C\";\n\t\tif(sum>=30 && sum<=50) return \"D\";\n\t\treturn \"F\";\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\n\t\twhile(true) {\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tstatic String check(int m,int f,int r) {\n\t\tint sum = m+f;\n\t\tif(m==-1 || f==-1) return \"F\";\n\t\tif(sum>=80) return\"A\";\n\t\tif(sum>=65 && sum<=80) return \"B\";\n\t\tif(sum>=50 && sum<=65 || r>=50) return \"C\";\n\t\tif(sum>=30 && sum<=50) return \"D\";\n\t\treturn \"F\";\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\n\t\twhile(true) {\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\n\t\twhile(true) {\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}\n\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "while(true) {\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}", "true", "{\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "f = scan.nextInt()", "f", "scan.nextInt()", "scan.nextInt", "scan", "r = scan.nextInt()", "r", "scan.nextInt()", "scan.nextInt", "scan", "if(m==-1 && f==-1 && r==-1) break;", "m==-1 && f==-1 && r==-1", "m==-1 && f==-1 && r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "break;", "System.out.println(check(m,f,r))", "System.out.println", "System.out", "System", "System.out", "check(m,f,r)", "check", "m", "f", "r", "scan.close()", "scan.close", "scan", "String[] args", "args", "static String check(int m,int f,int r) {\n\t\tint sum = m+f;\n\t\tif(m==-1 || f==-1) return \"F\";\n\t\tif(sum>=80) return\"A\";\n\t\tif(sum>=65 && sum<=80) return \"B\";\n\t\tif(sum>=50 && sum<=65 || r>=50) return \"C\";\n\t\tif(sum>=30 && sum<=50) return \"D\";\n\t\treturn \"F\";\n\t}", "check", "{\n\t\tint sum = m+f;\n\t\tif(m==-1 || f==-1) return \"F\";\n\t\tif(sum>=80) return\"A\";\n\t\tif(sum>=65 && sum<=80) return \"B\";\n\t\tif(sum>=50 && sum<=65 || r>=50) return \"C\";\n\t\tif(sum>=30 && sum<=50) return \"D\";\n\t\treturn \"F\";\n\t}", "int sum = m+f;", "sum", "m+f", "m", "f", "if(m==-1 || f==-1) return \"F\";", "m==-1 || f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "return \"F\";", "\"F\"", "if(sum>=80) return\"A\";", "sum>=80", "sum", "80", "return\"A\";", "\"A\"", "if(sum>=65 && sum<=80) return \"B\";", "sum>=65 && sum<=80", "sum>=65", "sum", "65", "sum<=80", "sum", "80", "return \"B\";", "\"B\"", "if(sum>=50 && sum<=65 || r>=50) return \"C\";", "sum>=50 && sum<=65 || r>=50", "sum>=50 && sum<=65", "sum>=50", "sum", "50", "sum<=65", "sum", "65", "r>=50", "r", "50", "return \"C\";", "\"C\"", "if(sum>=30 && sum<=50) return \"D\";", "sum>=30 && sum<=50", "sum>=30", "sum", "30", "sum<=50", "sum", "50", "return \"D\";", "\"D\"", "return \"F\";", "\"F\"", "int m", "m", "int f", "f", "int r", "r", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\n\t\twhile(true) {\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tstatic String check(int m,int f,int r) {\n\t\tint sum = m+f;\n\t\tif(m==-1 || f==-1) return \"F\";\n\t\tif(sum>=80) return\"A\";\n\t\tif(sum>=65 && sum<=80) return \"B\";\n\t\tif(sum>=50 && sum<=65 || r>=50) return \"C\";\n\t\tif(sum>=30 && sum<=50) return \"D\";\n\t\treturn \"F\";\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\n\t\twhile(true) {\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m==-1 && f==-1 && r==-1) break;\n\t\t\tSystem.out.println(check(m,f,r));\n\t\t}\n\n\t\tscan.close();\n\t}\n\n\tstatic String check(int m,int f,int r) {\n\t\tint sum = m+f;\n\t\tif(m==-1 || f==-1) return \"F\";\n\t\tif(sum>=80) return\"A\";\n\t\tif(sum>=65 && sum<=80) return \"B\";\n\t\tif(sum>=50 && sum<=65 || r>=50) return \"C\";\n\t\tif(sum>=30 && sum<=50) return \"D\";\n\t\treturn \"F\";\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int m,f,r; while(true) { m = scan.nextInt(); f = scan.nextInt(); r = scan.nextInt(); if(m==-1 && f==-1 && r==-1) break; System.out.println(check(m,f,r)); } scan.close(); } static String check(int m,int f,int r) { int sum = m+f; if(m==-1 || f==-1) return "F"; if(sum>=80) return"A"; if(sum>=65 && sum<=80) return "B"; if(sum>=50 && sum<=65 || r>=50) return "C"; if(sum>=30 && sum<=50) return "D"; return "F"; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 0, 18, 18, 13, 13, 17, 13, 0, 18, 18, 13, 13, 17, 13, 0, 18, 18, 13, 13, 17, 13, 40, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 18, 18, 13, 13, 17, 40, 17, 2, 18, 18, 13, 13, 17, 40, 17, 30, 4, 18, 18, 13, 13, 17, 30, 0, 13, 2, 18, 18, 13, 13, 17, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 18, 18, 13, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 220, 5 ], [ 220, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 29, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 39, 55 ], [ 55, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 57, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 55, 70 ], [ 70, 71 ], [ 39, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 39, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 39, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 39, 93 ], [ 93, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 95, 106 ], [ 107, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 109, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 118, 124 ], [ 124, 125 ], [ 108, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 108, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 136, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 133, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 147, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 158, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 169, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 187, 191 ], [ 186, 192 ], [ 185, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 185, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 180, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 8, 214 ], [ 214, 215 ], [ 215, 216 ], [ 6, 217 ], [ 217, 218 ], [ 0, 219 ], [ 219, 220 ], [ 219, 221 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tint count = 0;\n\t\tint sum = 0;\n\t\tint[][] records = new int[50][3];\n\t\tfor (int i = 0; true; i++) {\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tint count = 0;\n\t\tint sum = 0;\n\t\tint[][] records = new int[50][3];\n\t\tfor (int i = 0; true; i++) {\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tint count = 0;\n\t\tint sum = 0;\n\t\tint[][] records = new int[50][3];\n\t\tfor (int i = 0; true; i++) {\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tint count = 0;\n\t\tint sum = 0;\n\t\tint[][] records = new int[50][3];\n\t\tfor (int i = 0; true; i++) {\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "int count = 0;", "count", "0", "int sum = 0;", "sum", "0", "int[][] records = new int[50][3];", "records", "new int[50][3]", "50", "3", "for (int i = 0; true; i++) {\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "true", "i++", "i++", "i", "{\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}", "{\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "if (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "records[i][0] = m", "records[i][0]", "records[i]", "records", "i", "0", "m", "records[i][1] = f", "records[i][1]", "records[i]", "records", "i", "1", "f", "records[i][2] = r", "records[i][2]", "records[i]", "records", "i", "2", "r", "count++", "count", "for (int i = 0; i < count; i++) {\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i++", "i++", "i", "{\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "if (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "records[i][0] == -1 || records[i][1] == -1", "records[i][0] == -1", "records[i][0]", "records[i]", "records", "i", "0", "-1", "1", "records[i][1] == -1", "records[i][1]", "records[i]", "records", "i", "1", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "sum = records[i][0] + records[i][1]", "sum", "records[i][0] + records[i][1]", "records[i][0]", "records[i]", "records", "i", "0", "records[i][1]", "records[i]", "records", "i", "1", "if (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "sum >= 80", "sum", "80", "{\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "sum >= 65", "sum", "65", "{\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "sum >= 50", "sum", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "sum >= 30", "sum", "30", "{\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}", "if (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "records[i][2] >= 50", "records[i][2]", "records[i]", "records", "i", "2", "50", "{\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tint count = 0;\n\t\tint sum = 0;\n\t\tint[][] records = new int[50][3];\n\t\tfor (int i = 0; true; i++) {\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint m, f, r;\n\t\tint count = 0;\n\t\tint sum = 0;\n\t\tint[][] records = new int[50][3];\n\t\tfor (int i = 0; true; i++) {\n\t\t\tm = sc.nextInt();\n\t\t\tf = sc.nextInt();\n\t\t\tr = sc.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\trecords[i][0] = m;\n\t\t\trecords[i][1] = f;\n\t\t\trecords[i][2] = r;\n\t\t\tcount++;\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tif (records[i][0] == -1 || records[i][1] == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n\t\t\t\tsum = records[i][0] + records[i][1];\n\t\t\t\tif (sum >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else if (sum >= 65) {\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t} else if (sum >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else if (sum >= 30) {\n\t\t\t\t\tif (records[i][2] >= 50) {\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int m, f, r; int count = 0; int sum = 0; int[][] records = new int[50][3]; for (int i = 0; true; i++) { m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); if (m == -1 && f == -1 && r == -1) { break; } records[i][0] = m; records[i][1] = f; records[i][2] = r; count++; } for (int i = 0; i < count; i++) { if (records[i][0] == -1 || records[i][1] == -1) { System.out.println("F"); } else { sum = records[i][0] + records[i][1]; if (sum >= 80) { System.out.println("A"); } else if (sum >= 65) { System.out.println("B"); } else if (sum >= 50) { System.out.println("C"); } else if (sum >= 30) { if (records[i][2] >= 50) { System.out.println("C"); } else { System.out.println("D"); } } else { System.out.println("F"); } } } sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 17, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 181, 11 ], [ 181, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 20, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 20, 58 ], [ 58, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 60, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 58, 73 ], [ 73, 74 ], [ 20, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 75, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 92, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 103, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 118, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 138, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 142, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 133, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 160, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 12, 178 ], [ 178, 179 ], [ 0, 180 ], [ 180, 181 ], [ 180, 182 ] ]
[ "\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}\n\t}\n\t\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}\n\t}\n\t\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}\n\t}", "main", "{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}", "true", "{\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int tyuukan = Integer.parseInt(input[0]);", "tyuukan", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int kimatu = Integer.parseInt(input[1]);", "kimatu", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "int saisiken = Integer.parseInt(input[2]);", "saisiken", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "int sum = tyuukan + kimatu;", "sum", "tyuukan + kimatu", "tyuukan", "kimatu", "if(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}", "tyuukan == -1 && kimatu == -1 && saisiken == -1", "tyuukan == -1 && kimatu == -1 && saisiken == -1", "tyuukan == -1", "tyuukan", "-1", "1", "kimatu == -1", "kimatu", "-1", "1", "saisiken == -1", "saisiken", "-1", "1", "{\n\t\t\tbreak;\n\t\t}", "break;", "if(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "tyuukan == -1 || kimatu == -1", "tyuukan == -1", "tyuukan", "-1", "1", "kimatu == -1", "kimatu", "-1", "1", "{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "sum >= 80", "sum", "80", "{\n\t\t\tSystem.out.println(\"A\");\n\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "65<=sum && sum <80", "65<=sum", "65", "sum", "sum <80", "sum", "80", "{\n\t\t\tSystem.out.println(\"B\");\n\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "50<=sum && sum <65", "50<=sum", "50", "sum", "sum <65", "sum", "65", "{\n\t\t\tSystem.out.println(\"C\");\n\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "30<=sum && sum <50", "30<=sum", "30", "sum", "sum <50", "sum", "50", "{\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}", "if(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "saisiken >= 50", "saisiken", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "30>sum", "30", "sum", "{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\tSystem.out.println(\"F\");\n\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}\n\t}\n\t\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\twhile(true){\n\t\t\n\t\tString[] input = br.readLine().split(\" \");\n\t\t\n\t\tint tyuukan = Integer.parseInt(input[0]);\n\t\tint kimatu = Integer.parseInt(input[1]);\n\t\tint saisiken = Integer.parseInt(input[2]);\n\t\tint sum = tyuukan + kimatu;\n\t\t\n\t\tif(tyuukan == -1 && kimatu == -1 && saisiken == -1){\n\t\t\tbreak;\n\t\t}\n\t\tif(tyuukan == -1 || kimatu == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else if(sum >= 80){\n\t\t\tSystem.out.println(\"A\");\n\t\t}else if(65<=sum && sum <80){\n\t\t\tSystem.out.println(\"B\");\n\t\t}else if(50<=sum && sum <65){\n\t\t\tSystem.out.println(\"C\");\n\t\t}else if(30<=sum && sum <50){\n\t\t\tif(saisiken >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t}else if(30>sum){\n\t\t\tSystem.out.println(\"F\");\n\t\t}else{\n\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\t\n\t\t}\n\t}\n\t\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String[] input = br.readLine().split(" "); int tyuukan = Integer.parseInt(input[0]); int kimatu = Integer.parseInt(input[1]); int saisiken = Integer.parseInt(input[2]); int sum = tyuukan + kimatu; if(tyuukan == -1 && kimatu == -1 && saisiken == -1){ break; } if(tyuukan == -1 || kimatu == -1){ System.out.println("F"); }else if(sum >= 80){ System.out.println("A"); }else if(65<=sum && sum <80){ System.out.println("B"); }else if(50<=sum && sum <65){ System.out.println("C"); }else if(30<=sum && sum <50){ if(saisiken >= 50){ System.out.println("C"); }else{ System.out.println("D"); } }else if(30>sum){ System.out.println("F"); }else{ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 26, 42 ], [ 42, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 44, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 42, 57 ], [ 57, 58 ], [ 26, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 59, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 76, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 89, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 109, 111 ], [ 102, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 102, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 119, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 6, 139 ], [ 139, 140 ] ]
[ "/**\nあなたの課題は、あるクラスの数学の成績を付けるプログラムを作成することです。\n\nプログラムは複数の学生のテストの点数を読み込みます。\n\nテストの点数は、中間試験の点数 m、期末試験の点数 f、再試験の点数 r で構成されています。\n\n中間試験と期末試験は 50 点満点(m, f ? 50)、再試験は 100 点満点 (r ? 100)です。\n\n試験を受けていない場合は点数を -1 とします。\n\n以下の手順で成績が付けられます:\n?中間試験、期末試験のいずれかを欠席した場合成績は F。\n?中間試験と期末試験の合計点数が 80 以上ならば成績は A 。\n?中間試験と期末試験の合計点数が 65 以上 80 未満ならば成績は B。\n?中間試験と期末試験の合計点数が 50 以上 65 未満ならば成績は C。\n?中間試験と期末試験の合計点数が 30 以上 50 未満ならば成績は D。 ただし、再試験の点数が 50 以上ならば成績は C。\n?中間試験と期末試験の合計点数が 30 未満ならば成績は F。\n\n */\n\n/*sucannerクラス使うためにインポート*/\nimport java.util.Scanner;\n\nclass Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 点数を受け取る変数を宣言\n\t\tint intM = 0;\n\t\tint intF = 0;\n\t\tint intR = 0;\n\t\tint intSum = 0;\n\n\t\twhile (true) {\n\t\t\tintM = sc.nextInt();\n\t\t\tintF = sc.nextInt();\n\t\t\tintR = sc.nextInt();\n\n\t\t\tif (intM == -1 && intF == -1 && intR == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (intM == -1 || intF == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 点数を受け取る変数を宣言\n\t\tint intM = 0;\n\t\tint intF = 0;\n\t\tint intR = 0;\n\t\tint intSum = 0;\n\n\t\twhile (true) {\n\t\t\tintM = sc.nextInt();\n\t\t\tintF = sc.nextInt();\n\t\t\tintR = sc.nextInt();\n\n\t\t\tif (intM == -1 && intF == -1 && intR == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (intM == -1 || intF == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 点数を受け取る変数を宣言\n\t\tint intM = 0;\n\t\tint intF = 0;\n\t\tint intR = 0;\n\t\tint intSum = 0;\n\n\t\twhile (true) {\n\t\t\tintM = sc.nextInt();\n\t\t\tintF = sc.nextInt();\n\t\t\tintR = sc.nextInt();\n\n\t\t\tif (intM == -1 && intF == -1 && intR == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (intM == -1 || intF == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 点数を受け取る変数を宣言\n\t\tint intM = 0;\n\t\tint intF = 0;\n\t\tint intR = 0;\n\t\tint intSum = 0;\n\n\t\twhile (true) {\n\t\t\tintM = sc.nextInt();\n\t\t\tintF = sc.nextInt();\n\t\t\tintR = sc.nextInt();\n\n\t\t\tif (intM == -1 && intF == -1 && intR == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (intM == -1 || intF == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int intM = 0;", "intM", "0", "int intF = 0;", "intF", "0", "int intR = 0;", "intR", "0", "int intSum = 0;", "intSum", "0", "while (true) {\n\t\t\tintM = sc.nextInt();\n\t\t\tintF = sc.nextInt();\n\t\t\tintR = sc.nextInt();\n\n\t\t\tif (intM == -1 && intF == -1 && intR == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (intM == -1 || intF == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tintM = sc.nextInt();\n\t\t\tintF = sc.nextInt();\n\t\t\tintR = sc.nextInt();\n\n\t\t\tif (intM == -1 && intF == -1 && intR == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (intM == -1 || intF == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "intM = sc.nextInt()", "intM", "sc.nextInt()", "sc.nextInt", "sc", "intF = sc.nextInt()", "intF", "sc.nextInt()", "sc.nextInt", "sc", "intR = sc.nextInt()", "intR", "sc.nextInt()", "sc.nextInt", "sc", "if (intM == -1 && intF == -1 && intR == -1) {\n\t\t\t\tbreak;\n\t\t\t}", "intM == -1 && intF == -1 && intR == -1", "intM == -1 && intF == -1 && intR == -1", "intM == -1", "intM", "-1", "1", "intF == -1", "intF", "-1", "1", "intR == -1", "intR", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if (intM == -1 || intF == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "intM == -1 || intF == -1", "intM == -1", "intM", "-1", "1", "intF == -1", "intF", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (intM + intF >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "intM + intF >= 80", "intM + intF", "intM", "intF", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (intM + intF >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "intM + intF >= 65", "intM + intF", "intM", "intF", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (intM + intF >= 50 || intR >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "intM + intF >= 50 || intR >= 50", "intM + intF >= 50", "intM + intF", "intM", "intF", "50", "intR >= 50", "intR", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (intM + intF >= 30) {\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "intM + intF >= 30", "intM + intF", "intM", "intF", "30", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args" ]
/** あなたの課題は、あるクラスの数学の成績を付けるプログラムを作成することです。 プログラムは複数の学生のテストの点数を読み込みます。 テストの点数は、中間試験の点数 m、期末試験の点数 f、再試験の点数 r で構成されています。 中間試験と期末試験は 50 点満点(m, f ? 50)、再試験は 100 点満点 (r ? 100)です。 試験を受けていない場合は点数を -1 とします。 以下の手順で成績が付けられます: ?中間試験、期末試験のいずれかを欠席した場合成績は F。 ?中間試験と期末試験の合計点数が 80 以上ならば成績は A 。 ?中間試験と期末試験の合計点数が 65 以上 80 未満ならば成績は B。 ?中間試験と期末試験の合計点数が 50 以上 65 未満ならば成績は C。 ?中間試験と期末試験の合計点数が 30 以上 50 未満ならば成績は D。 ただし、再試験の点数が 50 以上ならば成績は C。 ?中間試験と期末試験の合計点数が 30 未満ならば成績は F。 */ /*sucannerクラス使うためにインポート*/ import java.util.Scanner; class Main { // プログラムのエントリポイント public static void main(String[] args) { // 入力ストリームの生成 Scanner sc = new Scanner(System.in); // 点数を受け取る変数を宣言 int intM = 0; int intF = 0; int intR = 0; int intSum = 0; while (true) { intM = sc.nextInt(); intF = sc.nextInt(); intR = sc.nextInt(); if (intM == -1 && intF == -1 && intR == -1) { break; } if (intM == -1 || intF == -1) { System.out.println("F"); } else if (intM + intF >= 80) { System.out.println("A"); } else if (intM + intF >= 65) { System.out.println("B"); } else if (intM + intF >= 50 || intR >= 50) { System.out.println("C"); } else if (intM + intF >= 30) { System.out.println("D"); } else { System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 136, 5 ], [ 136, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 15, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 15, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 15, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 15, 36 ], [ 36, 37 ], [ 36, 38 ], [ 15, 39 ], [ 39, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 39, 54 ], [ 54, 55 ], [ 39, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 78, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 99, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 111, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 15, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 6, 133 ], [ 133, 134 ], [ 0, 135 ], [ 135, 136 ], [ 135, 137 ] ]
[ "import java.util.Scanner;\n\n\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;)\n\t\t{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;)\n\t\t{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;)\n\t\t{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;)\n\t\t{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "for(;;)\n\t\t{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}", ";", "{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}", "{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}", "int m = scanner.nextInt();", "m", "scanner.nextInt()", "scanner.nextInt", "scanner", "int f = scanner.nextInt();", "f", "scanner.nextInt()", "scanner.nextInt", "scanner", "int r = scanner.nextInt();", "r", "scanner.nextInt()", "scanner.nextInt", "scanner", "int sum = m + f;", "sum", "m + f", "m", "f", "String result = \"\";", "result", "\"\"", "if(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}", "m==-1 && f==-1 && r==-1", "m==-1 && f==-1 && r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}", "m==-1 || f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n\t\t\t\tresult = \"F\";\n\t\t\t}", "result = \"F\"", "result", "\"F\"", "if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}", "sum < 30", "sum", "30", "{\n\t\t\t\tresult = \"F\";\n\t\t\t}", "result = \"F\"", "result", "\"F\"", "if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}", "30<=sum && sum < 50", "30<=sum", "30", "sum", "sum < 50", "sum", "50", "{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}", "if(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}", "result = \"C\"", "result", "\"C\"", "{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}", "result = \"D\"", "result", "\"D\"", "if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}", "50<=sum && sum < 65", "50<=sum", "50", "sum", "sum < 65", "sum", "65", "{\n\t\t\t\tresult = \"C\";\n\t\t\t}", "result = \"C\"", "result", "\"C\"", "if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}", "65<=sum && sum < 80", "65<=sum", "65", "sum", "sum < 80", "sum", "80", "{\n\t\t\t\tresult = \"B\";\n\t\t\t}", "result = \"B\"", "result", "\"B\"", "{\n\t\t\t\tresult = \"A\";\n\t\t\t}", "result = \"A\"", "result", "\"A\"", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;)\n\t\t{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor(;;)\n\t\t{\t\n\t\t\tint m = scanner.nextInt();\n\t\t\tint f = scanner.nextInt();\n\t\t\tint r = scanner.nextInt();\n\t\t\t\n\t\t\tint sum = m + f;\n\t\t\tString result = \"\";\n\t\t\tif(m==-1 && f==-1 && r==-1)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(m==-1 || f==-1)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(sum < 30)\n\t\t\t{\n\t\t\t\tresult = \"F\";\n\t\t\t}\n\t\t\telse if(30<=sum && sum < 50)\n\t\t\t{\n\t\t\t\tif(r >= 50)\n\t\t\t\t{\n\t\t\t\t\tresult = \"C\";\n\t\t\t\t}\n\t\t\t\telse\n\t\t\t\t{\n\t\t\t\t\tresult = \"D\";\n\t\t\t\t}\n\t\t\t}\n\t\t\telse if(50<=sum && sum < 65)\n\t\t\t{\n\t\t\t\tresult = \"C\";\n\t\t\t}\n\t\t\telse if(65<=sum && sum < 80)\n\t\t\t{\n\t\t\t\tresult = \"B\";\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = \"A\";\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); for(;;) { int m = scanner.nextInt(); int f = scanner.nextInt(); int r = scanner.nextInt(); int sum = m + f; String result = ""; if(m==-1 && f==-1 && r==-1) { break; } else if(m==-1 || f==-1) { result = "F"; } else if(sum < 30) { result = "F"; } else if(30<=sum && sum < 50) { if(r >= 50) { result = "C"; } else { result = "D"; } } else if(50<=sum && sum < 65) { result = "C"; } else if(65<=sum && sum < 80) { result = "B"; } else { result = "A"; } System.out.println(result); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 13, 2, 13, 13, 2, 13, 13, 3, 41, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 14, 2, 13, 13, 30, 0, 13, 17, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 13, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 159, 5 ], [ 159, 6 ], [ 6, 7 ], [ 6, 8 ], [ 159, 9 ], [ 9, 10 ], [ 9, 11 ], [ 159, 12 ], [ 12, 13 ], [ 12, 14 ], [ 159, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 159, 19 ], [ 19, 20 ], [ 19, 21 ], [ 159, 22 ], [ 22, 23 ], [ 22, 24 ], [ 159, 25 ], [ 25, 26 ], [ 25, 27 ], [ 159, 28 ], [ 28, 29 ], [ 28, 30 ], [ 159, 31 ], [ 31, 32 ], [ 31, 33 ], [ 159, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 42, 58 ], [ 58, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 60, 67 ], [ 67, 68 ], [ 67, 69 ], [ 58, 70 ], [ 42, 71 ], [ 71, 72 ], [ 71, 73 ], [ 42, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 42, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 79, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 99, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 111, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 139, 141 ], [ 123, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 42, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 34, 156 ], [ 156, 157 ], [ 0, 158 ], [ 158, 159 ], [ 158, 160 ] ]
[ "import java.util.*;\n \npublic class Main {\n\tpublic static final int M = 0;\n\tpublic static final int F = 1;\n\tpublic static final int R = 2;\n\n\tpublic static final int ABSENT = -1;\n\n\tpublic static final int POINT_A = 80;\n\tpublic static final int POINT_B = 65;\n\tpublic static final int POINT_C = 50;\n\tpublic static final int POINT_D = 30;\n\tpublic static final int R_POINT = 50;\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n while( true ) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }\n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static final int M = 0;\n\tpublic static final int F = 1;\n\tpublic static final int R = 2;\n\n\tpublic static final int ABSENT = -1;\n\n\tpublic static final int POINT_A = 80;\n\tpublic static final int POINT_B = 65;\n\tpublic static final int POINT_C = 50;\n\tpublic static final int POINT_D = 30;\n\tpublic static final int R_POINT = 50;\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n while( true ) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }\n \n }\n}", "Main", "public static final int M = 0;", "M", "0", "public static final int F = 1;", "F", "1", "public static final int R = 2;", "R", "2", "public static final int ABSENT = -1;", "ABSENT", "-1", "1", "public static final int POINT_A = 80;", "POINT_A", "80", "public static final int POINT_B = 65;", "POINT_B", "65", "public static final int POINT_C = 50;", "POINT_C", "50", "public static final int POINT_D = 30;", "POINT_D", "30", "public static final int R_POINT = 50;", "R_POINT", "50", "public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n while( true ) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }\n \n }", "main", "{\n Scanner scan = new Scanner( System.in );\n\n while( true ) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }\n \n }", "Scanner scan = new Scanner( System.in );", "scan", "new Scanner( System.in )", "while( true ) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }", "true", "{\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int f = scan.nextInt();", "f", "scan.nextInt()", "scan.nextInt", "scan", "int r = scan.nextInt();", "r", "scan.nextInt()", "scan.nextInt", "scan", "if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;", "m == ABSENT && f == ABSENT && r == ABSENT", "m == ABSENT && f == ABSENT && r == ABSENT", "m == ABSENT", "m", "ABSENT", "f == ABSENT", "f", "ABSENT", "r == ABSENT", "r", "ABSENT", "break;", "String result = \"F\";", "result", "\"F\"", "int sum = m + f;", "sum", "m + f", "m", "f", "if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }", "m == ABSENT || f == ABSENT", "m == ABSENT", "m", "ABSENT", "f == ABSENT", "f", "ABSENT", "{\n result = \"F\";\n \n }", "result = \"F\"", "result", "\"F\"", "if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }", "sum >= POINT_A", "sum", "POINT_A", "{\n result = \"A\";\n \n }", "result = \"A\"", "result", "\"A\"", "if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }", "sum >= POINT_B && sum < POINT_A", "sum >= POINT_B", "sum", "POINT_B", "sum < POINT_A", "sum", "POINT_A", "{\n result = \"B\";\n \n }", "result = \"B\"", "result", "\"B\"", "if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }", "sum >= POINT_C && sum < POINT_B", "sum >= POINT_C", "sum", "POINT_C", "sum < POINT_B", "sum", "POINT_B", "{\n result = \"C\";\n \n }", "result = \"C\"", "result", "\"C\"", "if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }", "sum >= POINT_D && sum < POINT_C", "sum >= POINT_D", "sum", "POINT_D", "sum < POINT_C", "sum", "POINT_C", "{\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n }", "result = \"D\"", "result", "\"D\"", "if ( r >= 50 )\tresult = \"C\";", "r >= 50", "r", "50", "result = \"C\"", "result", "\"C\"", "if ( sum <= POINT_C ) {\n result = \"F\";\n \n }", "sum <= POINT_C", "sum", "POINT_C", "{\n result = \"F\";\n \n }", "result = \"F\"", "result", "\"F\"", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String args[]", "args", "public class Main {\n\tpublic static final int M = 0;\n\tpublic static final int F = 1;\n\tpublic static final int R = 2;\n\n\tpublic static final int ABSENT = -1;\n\n\tpublic static final int POINT_A = 80;\n\tpublic static final int POINT_B = 65;\n\tpublic static final int POINT_C = 50;\n\tpublic static final int POINT_D = 30;\n\tpublic static final int R_POINT = 50;\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n while( true ) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }\n \n }\n}", "public class Main {\n\tpublic static final int M = 0;\n\tpublic static final int F = 1;\n\tpublic static final int R = 2;\n\n\tpublic static final int ABSENT = -1;\n\n\tpublic static final int POINT_A = 80;\n\tpublic static final int POINT_B = 65;\n\tpublic static final int POINT_C = 50;\n\tpublic static final int POINT_D = 30;\n\tpublic static final int R_POINT = 50;\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n while( true ) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n \n if ( m == ABSENT && f == ABSENT && r == ABSENT )\n break;\n\t\t\t\n String result = \"F\";\n int sum = m + f;\n \n if ( m == ABSENT || f == ABSENT ) {\n result = \"F\";\n \n } else if ( sum >= POINT_A ) {\n result = \"A\";\n \n } else if ( sum >= POINT_B && sum < POINT_A ) {\n result = \"B\";\n \n } else if ( sum >= POINT_C && sum < POINT_B ) {\n result = \"C\";\n \n } else if ( sum >= POINT_D && sum < POINT_C ) {\n result = \"D\";\n \n if ( r >= 50 )\tresult = \"C\";\n \n } else if ( sum <= POINT_C ) {\n result = \"F\";\n \n }\n \n System.out.println(result);\n \n }\n \n }\n}", "Main" ]
import java.util.*; public class Main { public static final int M = 0; public static final int F = 1; public static final int R = 2; public static final int ABSENT = -1; public static final int POINT_A = 80; public static final int POINT_B = 65; public static final int POINT_C = 50; public static final int POINT_D = 30; public static final int R_POINT = 50; public static void main( String args[] ) { Scanner scan = new Scanner( System.in ); while( true ) { int m = scan.nextInt(); int f = scan.nextInt(); int r = scan.nextInt(); if ( m == ABSENT && f == ABSENT && r == ABSENT ) break; String result = "F"; int sum = m + f; if ( m == ABSENT || f == ABSENT ) { result = "F"; } else if ( sum >= POINT_A ) { result = "A"; } else if ( sum >= POINT_B && sum < POINT_A ) { result = "B"; } else if ( sum >= POINT_C && sum < POINT_B ) { result = "C"; } else if ( sum >= POINT_D && sum < POINT_C ) { result = "D"; if ( r >= 50 ) result = "C"; } else if ( sum <= POINT_C ) { result = "F"; } System.out.println(result); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 42, 17, 30, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 0, 13, 4, 18, 13, 0, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 11, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 11, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 54, 55 ], [ 11, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 61, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 59, 74 ], [ 59, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 75, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 92, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 105, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 105, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 124, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 124, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 144, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 143, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 156, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 166, 171 ], [ 143, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 58, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 58, 183 ], [ 183, 184 ], [ 183, 185 ], [ 58, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 188, 191 ], [ 191, 192 ], [ 192, 193 ], [ 58, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 196, 199 ], [ 199, 200 ], [ 200, 201 ], [ 58, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 204, 207 ], [ 207, 208 ], [ 208, 209 ], [ 9, 210 ], [ 210, 211 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n int m, f, r;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n \n while(true) {\n if (m == -1 && f == -1 && r==-1) break;\n else if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");\n \n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args)throws IOException{\n int m, f, r;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n \n while(true) {\n if (m == -1 && f == -1 && r==-1) break;\n else if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");\n \n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n }\n }\n}", "Main", "public static void main(String[] args)throws IOException{\n int m, f, r;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n \n while(true) {\n if (m == -1 && f == -1 && r==-1) break;\n else if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");\n \n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n }\n }", "main", "{\n int m, f, r;\n\n InputStreamReader isr =new InputStreamReader(System.in);\n \t\tBufferedReader br =new BufferedReader(isr);\n \tString buf = br.readLine();\n StringTokenizer st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n \n while(true) {\n if (m == -1 && f == -1 && r==-1) break;\n else if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");\n \n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n }\n }", "int m", "m", "f", "f", "r;", "r", "InputStreamReader isr =new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br =new BufferedReader(isr);", "br", "new BufferedReader(isr)", "String buf = br.readLine();", "buf", "br.readLine()", "br.readLine", "br", "StringTokenizer st = new StringTokenizer(buf,\" \");", "st", "new StringTokenizer(buf,\" \")", "m = Integer.parseInt(st.nextToken())", "m", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "f = Integer.parseInt(st.nextToken())", "f", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "r = Integer.parseInt(st.nextToken())", "r", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "while(true) {\n if (m == -1 && f == -1 && r==-1) break;\n else if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");\n \n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n }", "true", "{\n if (m == -1 && f == -1 && r==-1) break;\n else if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");\n \n buf = br.readLine();\n st = new StringTokenizer(buf,\" \");\n m = Integer.parseInt(st.nextToken());\n f = Integer.parseInt(st.nextToken());\n r = Integer.parseInt(st.nextToken());\n }", "if (m == -1 && f == -1 && r==-1) break;\n else if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");", "m == -1 && f == -1 && r==-1", "m == -1 && f == -1 && r==-1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r==-1", "r", "-1", "1", "break;", "if (m == -1 || f == -1) {\n System.out.println(\"F\");\n }\n else if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80) {\n System.out.println(\"A\");\n }\n else if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");", "m + f >= 80", "m + f", "m", "f", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f < 80 && m + f >= 65) {\n System.out.println(\"B\");\n }\n else if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");", "m + f < 80 && m + f >= 65", "m + f < 80", "m + f", "m", "f", "80", "m + f >= 65", "m + f", "m", "f", "65", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f < 65 && m + f >= 50) {\n System.out.println(\"C\");\n }\n else if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");", "m + f < 65 && m + f >= 50", "m + f < 65", "m + f", "m", "f", "65", "m + f >= 50", "m + f", "m", "f", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f < 50 && m + f >= 30) {\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }\n else System.out.println(\"F\");", "m + f < 50 && m + f >= 30", "m + f < 50", "m + f", "m", "f", "50", "m + f >= 30", "m + f", "m", "f", "30", "{\n if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }", "if (r >= 50) System.out.println(\"C\");\n else System.out.println(\"D\");", "r >= 50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "buf = br.readLine()", "buf", "br.readLine()", "br.readLine", "br", "st = new StringTokenizer(buf,\" \")", "st", "new StringTokenizer(buf,\" \")", "m = Integer.parseInt(st.nextToken())", "m", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "f = Integer.parseInt(st.nextToken())", "f", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "r = Integer.parseInt(st.nextToken())", "r", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main{ public static void main(String[] args)throws IOException{ int m, f, r; InputStreamReader isr =new InputStreamReader(System.in); BufferedReader br =new BufferedReader(isr); String buf = br.readLine(); StringTokenizer st = new StringTokenizer(buf," "); m = Integer.parseInt(st.nextToken()); f = Integer.parseInt(st.nextToken()); r = Integer.parseInt(st.nextToken()); while(true) { if (m == -1 && f == -1 && r==-1) break; else if (m == -1 || f == -1) { System.out.println("F"); } else if (m + f >= 80) { System.out.println("A"); } else if (m + f < 80 && m + f >= 65) { System.out.println("B"); } else if (m + f < 65 && m + f >= 50) { System.out.println("C"); } else if (m + f < 50 && m + f >= 30) { if (r >= 50) System.out.println("C"); else System.out.println("D"); } else System.out.println("F"); buf = br.readLine(); st = new StringTokenizer(buf," "); m = Integer.parseInt(st.nextToken()); f = Integer.parseInt(st.nextToken()); r = Integer.parseInt(st.nextToken()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 17, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 17, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 17, 2, 13, 13, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 13, 19 ], [ 19, 20 ], [ 13, 21 ], [ 21, 22 ], [ 13, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 25, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 25, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 25, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 25, 61 ], [ 61, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 63, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 61, 76 ], [ 25, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 77, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 77, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 94, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 108, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 107, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 107, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 127, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 126, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 126, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 154, 156 ], [ 145, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 158, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 145, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 180, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 6, 193 ], [ 193, 194 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint m, f, r;\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint m, f, r;\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint m, f, r;\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t}\n\t}", "main", "{\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint m, f, r;\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t}\n\t}", "try{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint m, f, r;\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}catch(Exception e){\n\t\t}", "catch(Exception e){\n\t\t}", "Exception e", "{\n\t\t}", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint m, f, r;\n\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int m", "m", "f", "f", "r;", "r", "while(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}", "true", "{\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tString[] line = buf.split(\" \");\n\t\t\t\tm = Integer.parseInt(line[0]);\n\t\t\t\tf = Integer.parseInt(line[1]);\n\t\t\t\tr = Integer.parseInt(line[2]);\n\t\t\t\t\n\t\t\t\t\tif(m == -1 && f == -1 && r == -1) break;\t\t\t\n\t\t\t\t\tif(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}\n\t\t\t\n\t\t\t}", "String buf = br.readLine();", "buf", "br.readLine()", "br.readLine", "br", "String[] line = buf.split(\" \");", "line", "buf.split(\" \")", "buf.split", "buf", "\" \"", "m = Integer.parseInt(line[0])", "m", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "f = Integer.parseInt(line[1])", "f", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "r = Integer.parseInt(line[2])", "r", "Integer.parseInt(line[2])", "Integer.parseInt", "Integer", "line[2]", "line", "2", "if(m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if(m == -1 || f == -1){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t} else if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(m+f >= 80 ){\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t} else if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "m+f >= 80", "m+f", "m", "f", "80", "{\n\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if ((m+f) >= 65 && 80 > (m+f)){\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "(m+f) >= 65 && 80 > (m+f)", "(m+f) >= 65", "(m+f)", "m", "f", "65", "80 > (m+f)", "80", "(m+f)", "m", "f", "{\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if ((m+f) >=50 && 65 > m+f){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t} else if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "(m+f) >=50 && 65 > m+f", "(m+f) >=50", "(m+f)", "m", "f", "50", "65 > m+f", "65", "m+f", "m", "f", "{\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if ( m+f >=30 && 50 > m+f ){\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t} else if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "m+f >=30 && 50 > m+f", "m+f >=30", "m+f", "m", "f", "30", "50 > m+f", "50", "m+f", "m", "f", "{\n\t\t\t\t\t\tif(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if(r < 50){\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}else if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}", "r < 50", "r", "50", "{\n\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if ( r >=50){\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}", "r >=50", "r", "50", "{\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if ( m+f < 30){\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "m+f < 30", "m+f", "m", "f", "30", "{\n\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args){ try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int m, f, r; while(true){ String buf = br.readLine(); String[] line = buf.split(" "); m = Integer.parseInt(line[0]); f = Integer.parseInt(line[1]); r = Integer.parseInt(line[2]); if(m == -1 && f == -1 && r == -1) break; if(m == -1 || f == -1){ System.out.println("F"); } else if(m+f >= 80 ){ System.out.println("A"); } else if ((m+f) >= 65 && 80 > (m+f)){ System.out.println("B"); } else if ((m+f) >=50 && 65 > m+f){ System.out.println("C"); } else if ( m+f >=30 && 50 > m+f ){ if(r < 50){ System.out.println("D"); }else if ( r >=50){ System.out.println("C"); } } else if ( m+f < 30){ System.out.println("F"); } } }catch(Exception e){ } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 169, 5 ], [ 169, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 14, 46 ], [ 46, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 48, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 46, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 46, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 68, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 80, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 80, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 99, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 111, 123 ], [ 123, 124 ], [ 123, 125 ], [ 98, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 98, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 134, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 133, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 145, 157 ], [ 157, 158 ], [ 157, 159 ], [ 132, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 6, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n while(true){\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n while(true){\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n while(true){\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n while(true){\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }", "true", "{\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m == -1 && f == -1 && r == -1)break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");", "m == -1 || f == -1 || (m + f) < 30", "m == -1 || f == -1 || (m + f) < 30", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "(m + f) < 30", "(m + f)", "m", "f", "30", "System.out.printf(\"F\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"F\\n\"", "if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");", "(m + f) >= 80", "(m + f)", "m", "f", "80", "System.out.printf(\"A\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"A\\n\"", "if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");", "(m + f) >= 65 && (m + f) < 80", "(m + f) >= 65", "(m + f)", "m", "f", "65", "(m + f) < 80", "(m + f)", "m", "f", "80", "System.out.printf(\"B\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"B\\n\"", "if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");", "((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50)", "((m + f) >= 50 && (m + f) < 65)", "(m + f) >= 50", "(m + f)", "m", "f", "50", "(m + f) < 65", "(m + f)", "m", "f", "65", "((m + f) >= 30 && (m + f) < 50 && r >= 50)", "(m + f) >= 30 && (m + f) < 50 && r >= 50", "(m + f) >= 30", "(m + f)", "m", "f", "30", "(m + f) < 50", "(m + f)", "m", "f", "50", "r >= 50", "r", "50", "System.out.printf(\"C\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"C\\n\"", "if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");", "((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50)", "((m + f) >= 30 && (m + f) < 50)", "(m + f) >= 30", "(m + f)", "m", "f", "30", "(m + f) < 50", "(m + f)", "m", "f", "50", "((m + f) >= 30 && (m + f) < 50 && r < 50)", "(m + f) >= 30 && (m + f) < 50 && r < 50", "(m + f) >= 30", "(m + f)", "m", "f", "30", "(m + f) < 50", "(m + f)", "m", "f", "50", "r < 50", "r", "50", "System.out.printf(\"D\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"D\\n\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n while(true){\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n while(true){\n int m = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n\n if(m == -1 && f == -1 && r == -1)break;\n if(m == -1 || f == -1 || (m + f) < 30)System.out.printf(\"F\\n\");\n else if((m + f) >= 80)System.out.printf(\"A\\n\");\n else if((m + f) >= 65 && (m + f) < 80)System.out.printf(\"B\\n\");\n else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf(\"C\\n\");\n else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf(\"D\\n\");\n\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); if(m == -1 && f == -1 && r == -1)break; if(m == -1 || f == -1 || (m + f) < 30)System.out.printf("F\n"); else if((m + f) >= 80)System.out.printf("A\n"); else if((m + f) >= 65 && (m + f) < 80)System.out.printf("B\n"); else if(((m + f) >= 50 && (m + f) < 65) || ((m + f) >= 30 && (m + f) < 50 && r >= 50))System.out.printf("C\n"); else if(((m + f) >= 30 && (m + f) < 50) || ((m + f) >= 30 && (m + f) < 50 && r < 50))System.out.printf("D\n"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 14, 55 ], [ 55, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 57, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 55, 70 ], [ 70, 71 ], [ 14, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 72, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 72, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 89, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 100, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 115, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 135, 137 ], [ 130, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 139, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 130, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 6, 168 ], [ 168, 169 ] ]
[ "import java.io.*;\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \twhile(true){\n\t\t\tString str = br.readLine();\n \t\tString[] str2 = str.split(\" \");\n\t\t int a = Integer.parseInt(str2[0]);\n\t\t int b = Integer.parseInt(str2[1]);\n\t\t int c = Integer.parseInt(str2[2]);\n\t\t int x = a + b;\n\t\t if(a == -1 && b == -1 && c == -1){\n\t\t\t\tbreak;\n \t\t}\n \t\tif(a == -1 || b == -1){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t\telse if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t}\n \t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \twhile(true){\n\t\t\tString str = br.readLine();\n \t\tString[] str2 = str.split(\" \");\n\t\t int a = Integer.parseInt(str2[0]);\n\t\t int b = Integer.parseInt(str2[1]);\n\t\t int c = Integer.parseInt(str2[2]);\n\t\t int x = a + b;\n\t\t if(a == -1 && b == -1 && c == -1){\n\t\t\t\tbreak;\n \t\t}\n \t\tif(a == -1 || b == -1){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t\telse if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t}\n \t}\n}", "Main", "public static void main(String[] args) throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \twhile(true){\n\t\t\tString str = br.readLine();\n \t\tString[] str2 = str.split(\" \");\n\t\t int a = Integer.parseInt(str2[0]);\n\t\t int b = Integer.parseInt(str2[1]);\n\t\t int c = Integer.parseInt(str2[2]);\n\t\t int x = a + b;\n\t\t if(a == -1 && b == -1 && c == -1){\n\t\t\t\tbreak;\n \t\t}\n \t\tif(a == -1 || b == -1){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t\telse if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t}\n \t}", "main", "{\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \twhile(true){\n\t\t\tString str = br.readLine();\n \t\tString[] str2 = str.split(\" \");\n\t\t int a = Integer.parseInt(str2[0]);\n\t\t int b = Integer.parseInt(str2[1]);\n\t\t int c = Integer.parseInt(str2[2]);\n\t\t int x = a + b;\n\t\t if(a == -1 && b == -1 && c == -1){\n\t\t\t\tbreak;\n \t\t}\n \t\tif(a == -1 || b == -1){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t\telse if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t}\n \t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\tString str = br.readLine();\n \t\tString[] str2 = str.split(\" \");\n\t\t int a = Integer.parseInt(str2[0]);\n\t\t int b = Integer.parseInt(str2[1]);\n\t\t int c = Integer.parseInt(str2[2]);\n\t\t int x = a + b;\n\t\t if(a == -1 && b == -1 && c == -1){\n\t\t\t\tbreak;\n \t\t}\n \t\tif(a == -1 || b == -1){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t\telse if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t}", "true", "{\n\t\t\tString str = br.readLine();\n \t\tString[] str2 = str.split(\" \");\n\t\t int a = Integer.parseInt(str2[0]);\n\t\t int b = Integer.parseInt(str2[1]);\n\t\t int c = Integer.parseInt(str2[2]);\n\t\t int x = a + b;\n\t\t if(a == -1 && b == -1 && c == -1){\n\t\t\t\tbreak;\n \t\t}\n \t\tif(a == -1 || b == -1){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t\telse if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] str2 = str.split(\" \");", "str2", "str.split(\" \")", "str.split", "str", "\" \"", "int a = Integer.parseInt(str2[0]);", "a", "Integer.parseInt(str2[0])", "Integer.parseInt", "Integer", "str2[0]", "str2", "0", "int b = Integer.parseInt(str2[1]);", "b", "Integer.parseInt(str2[1])", "Integer.parseInt", "Integer", "str2[1]", "str2", "1", "int c = Integer.parseInt(str2[2]);", "c", "Integer.parseInt(str2[2])", "Integer.parseInt", "Integer", "str2[2]", "str2", "2", "int x = a + b;", "x", "a + b", "a", "b", "if(a == -1 && b == -1 && c == -1){\n\t\t\t\tbreak;\n \t\t}", "a == -1 && b == -1 && c == -1", "a == -1 && b == -1 && c == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "c == -1", "c", "-1", "1", "{\n\t\t\t\tbreak;\n \t\t}", "break;", "if(a == -1 || b == -1){\n \t\tSystem.out.println(\"F\");\n \t\t}\n \t\telse if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}", "a == -1 || b == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "{\n \t\tSystem.out.println(\"F\");\n \t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(x >= 80){\n \t\tSystem.out.println(\"A\");\n \t\t}\n \t\telse if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}", "x >= 80", "x", "80", "{\n \t\tSystem.out.println(\"A\");\n \t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(x >= 65 && x < 80){\n \t\tSystem.out.println(\"B\");\n \t\t}\n \t\telse if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}", "x >= 65 && x < 80", "x >= 65", "x", "65", "x < 80", "x", "80", "{\n \t\tSystem.out.println(\"B\");\n \t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(x >= 50 && x < 65){\n \t\tSystem.out.println(\"C\");\n \t\t}\n \t\telse if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}", "x >= 50 && x < 65", "x >= 50", "x", "50", "x < 65", "x", "65", "{\n \t\tSystem.out.println(\"C\");\n \t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(x >= 30 && x < 50){\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}else if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}", "x >= 30 && x < 50", "x >= 30", "x", "30", "x < 50", "x", "50", "{\n \t\tif(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}\n \t\t}", "if(c >= 50){\n \t\t\tSystem.out.println(\"C\");\n \t\t}else{\n \t\t\tSystem.out.println(\"D\");\n \t\t}", "c >= 50", "c", "50", "{\n \t\t\tSystem.out.println(\"C\");\n \t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n \t\t\tSystem.out.println(\"D\");\n \t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(x < 30){\n \t\tSystem.out.println(\"F\");\n \t\t}", "x < 30", "x", "30", "{\n \t\tSystem.out.println(\"F\");\n \t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String str = br.readLine(); String[] str2 = str.split(" "); int a = Integer.parseInt(str2[0]); int b = Integer.parseInt(str2[1]); int c = Integer.parseInt(str2[2]); int x = a + b; if(a == -1 && b == -1 && c == -1){ break; } if(a == -1 || b == -1){ System.out.println("F"); } else if(x >= 80){ System.out.println("A"); } else if(x >= 65 && x < 80){ System.out.println("B"); } else if(x >= 50 && x < 65){ System.out.println("C"); } else if(x >= 30 && x < 50){ if(c >= 50){ System.out.println("C"); }else{ System.out.println("D"); } }else if(x < 30){ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 13, 40, 17, 2, 13, 17, 29, 14, 2, 2, 13, 40, 17, 2, 13, 17, 29, 14, 2, 2, 13, 40, 17, 2, 13, 17, 29, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 13, 17, 9, 14, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 13, 18 ], [ 9, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 19, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 31, 36 ], [ 28, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 28, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 28, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 28, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 61, 70 ], [ 28, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 71, 80 ], [ 28, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 81, 90 ], [ 28, 91 ], [ 91, 92 ], [ 93, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 93, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 91, 106 ], [ 28, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 28, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 112, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 122, 127 ], [ 28, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 128, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 137, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 146, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 160, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 155, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 19, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 6, 185 ], [ 185, 186 ] ]
[ "/* ITP1_7_A */\nimport java.io.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n while(true){\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }\n // output\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main\n{\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n while(true){\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }\n // output\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }\n}", "Main", "public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n while(true){\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }\n // output\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }", "main", "{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n while(true){\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }\n // output\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }\n }", "try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n while(true){\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }\n // output\n System.out.print(sb);\n }catch(Exception e){\n System.out.println(e);\n }", "catch(Exception e){\n System.out.println(e);\n }", "Exception e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n while(true){\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }\n // output\n System.out.print(sb);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "while(true){\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }", "true", "{\n // input\n String[] score = br.readLine().split(\" \");\n int mid_exam = Integer.parseInt(score[0]);\n int fin_exam = Integer.parseInt(score[1]);\n int retest = Integer.parseInt(score[2]);\n // errorcheck\n if(mid_exam < -1 || mid_exam > 50) return;\n if(fin_exam < -1 || fin_exam > 50) return;\n if(retest < -1 || retest > 100) return;\n // finish\n if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;\n\n int mid_fin = mid_exam + fin_exam;\n // grading\n if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }\n if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }\n }", "String[] score = br.readLine().split(\" \");", "score", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int mid_exam = Integer.parseInt(score[0]);", "mid_exam", "Integer.parseInt(score[0])", "Integer.parseInt", "Integer", "score[0]", "score", "0", "int fin_exam = Integer.parseInt(score[1]);", "fin_exam", "Integer.parseInt(score[1])", "Integer.parseInt", "Integer", "score[1]", "score", "1", "int retest = Integer.parseInt(score[2]);", "retest", "Integer.parseInt(score[2])", "Integer.parseInt", "Integer", "score[2]", "score", "2", "if(mid_exam < -1 || mid_exam > 50) return;", "mid_exam < -1 || mid_exam > 50", "mid_exam < -1", "mid_exam", "-1", "1", "mid_exam > 50", "mid_exam", "50", "return;", "if(fin_exam < -1 || fin_exam > 50) return;", "fin_exam < -1 || fin_exam > 50", "fin_exam < -1", "fin_exam", "-1", "1", "fin_exam > 50", "fin_exam", "50", "return;", "if(retest < -1 || retest > 100) return;", "retest < -1 || retest > 100", "retest < -1", "retest", "-1", "1", "retest > 100", "retest", "100", "return;", "if(mid_exam == -1 && fin_exam == -1 && retest == -1) break;", "mid_exam == -1 && fin_exam == -1 && retest == -1", "mid_exam == -1 && fin_exam == -1 && retest == -1", "mid_exam == -1", "mid_exam", "-1", "1", "fin_exam == -1", "fin_exam", "-1", "1", "retest == -1", "retest", "-1", "1", "break;", "int mid_fin = mid_exam + fin_exam;", "mid_fin", "mid_exam + fin_exam", "mid_exam", "fin_exam", "if(mid_exam == -1 || fin_exam == -1){\n sb.append(\"F\\n\");\n continue;\n }", "mid_exam == -1 || fin_exam == -1", "mid_exam == -1", "mid_exam", "-1", "1", "fin_exam == -1", "fin_exam", "-1", "1", "{\n sb.append(\"F\\n\");\n continue;\n }", "sb.append(\"F\\n\")", "sb.append", "sb", "\"F\\n\"", "continue;", "if(mid_fin >= 80){\n sb.append(\"A\\n\");\n\n }else if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }", "mid_fin >= 80", "mid_fin", "80", "{\n sb.append(\"A\\n\");\n\n }", "sb.append(\"A\\n\")", "sb.append", "sb", "\"A\\n\"", "if(mid_fin >= 65){\n sb.append(\"B\\n\");\n\n }else if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }", "mid_fin >= 65", "mid_fin", "65", "{\n sb.append(\"B\\n\");\n\n }", "sb.append(\"B\\n\")", "sb.append", "sb", "\"B\\n\"", "if(mid_fin >= 50){\n sb.append(\"C\\n\");\n\n }else if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }", "mid_fin >= 50", "mid_fin", "50", "{\n sb.append(\"C\\n\");\n\n }", "sb.append(\"C\\n\")", "sb.append", "sb", "\"C\\n\"", "if(mid_fin >= 30){\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }else{\n sb.append(\"F\\n\");\n }", "mid_fin >= 30", "mid_fin", "30", "{\n if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }\n\n }", "if(retest >= 50){\n sb.append(\"C\\n\");\n }else{\n sb.append(\"D\\n\");\n }", "retest >= 50", "retest", "50", "{\n sb.append(\"C\\n\");\n }", "sb.append(\"C\\n\")", "sb.append", "sb", "\"C\\n\"", "{\n sb.append(\"D\\n\");\n }", "sb.append(\"D\\n\")", "sb.append", "sb", "\"D\\n\"", "{\n sb.append(\"F\\n\");\n }", "sb.append(\"F\\n\")", "sb.append", "sb", "\"F\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args" ]
/* ITP1_7_A */ import java.io.*; class Main { public static void main(String[] args) { try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); while(true){ // input String[] score = br.readLine().split(" "); int mid_exam = Integer.parseInt(score[0]); int fin_exam = Integer.parseInt(score[1]); int retest = Integer.parseInt(score[2]); // errorcheck if(mid_exam < -1 || mid_exam > 50) return; if(fin_exam < -1 || fin_exam > 50) return; if(retest < -1 || retest > 100) return; // finish if(mid_exam == -1 && fin_exam == -1 && retest == -1) break; int mid_fin = mid_exam + fin_exam; // grading if(mid_exam == -1 || fin_exam == -1){ sb.append("F\n"); continue; } if(mid_fin >= 80){ sb.append("A\n"); }else if(mid_fin >= 65){ sb.append("B\n"); }else if(mid_fin >= 50){ sb.append("C\n"); }else if(mid_fin >= 30){ if(retest >= 50){ sb.append("C\n"); }else{ sb.append("D\n"); } }else{ sb.append("F\n"); } } // output System.out.print(sb); }catch(Exception e){ System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 182, 5 ], [ 182, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 32, 48 ], [ 48, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 48, 63 ], [ 63, 64 ], [ 32, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 65, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 65, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 84, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 105, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 99, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 114, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 114, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 140, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 136, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 149, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 129, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 158, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 164, 169 ], [ 169, 170 ], [ 170, 171 ], [ 169, 172 ], [ 8, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 6, 179 ], [ 179, 180 ], [ 0, 181 ], [ 181, 182 ], [ 181, 183 ] ]
[ "\n\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint m,f,r;\n\t\t//?????????????¨????\n\t\tm = 0;\n\t\tf = 0;\n\t\tr = 0;\n\t\t\n\t\twhile(true){//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint m,f,r;\n\t\t//?????????????¨????\n\t\tm = 0;\n\t\tf = 0;\n\t\tr = 0;\n\t\t\n\t\twhile(true){//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint m,f,r;\n\t\t//?????????????¨????\n\t\tm = 0;\n\t\tf = 0;\n\t\tr = 0;\n\t\t\n\t\twhile(true){//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint m,f,r;\n\t\t//?????????????¨????\n\t\tm = 0;\n\t\tf = 0;\n\t\tr = 0;\n\t\t\n\t\twhile(true){//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int m", "m", "f", "f", "r;", "r", "m = 0", "m", "0", "f = 0", "f", "0", "r = 0", "r", "0", "while(true){//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}", "true", "{//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "f = scan.nextInt()", "f", "scan.nextInt()", "scan.nextInt", "scan", "r = scan.nextInt()", "r", "scan.nextInt()", "scan.nextInt", "scan", "if((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}", "(m == -1) & (f == -1) & (r == -1)", "(m == -1) & (f == -1) & (r == -1)", "(m == -1)", "m", "-1", "1", "(f == -1)", "f", "-1", "1", "(r == -1)", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "(m == -1) | (f == -1)", "(m == -1)", "m", "-1", "1", "(f == -1)", "f", "-1", "1", "{//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "sb.append(\"F\")", "sb.append", "sb", "\"F\"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "(m + f)>=80", "(m + f)", "m", "f", "80", "{//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "sb.append(\"A\")", "sb.append", "sb", "\"A\"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "(m + f)>=65", "(m + f)", "m", "f", "65", "{//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "sb.append(\"B\")", "sb.append", "sb", "\"B\"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "(m + f)>=50", "(m + f)", "m", "f", "50", "{//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "(m + f)>=30", "(m + f)", "m", "f", "30", "{//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}", "if(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}", "r >= 50", "r", "50", "{//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}", "sb.append(\"D\")", "sb.append", "sb", "\"D\"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "(m+f)<30", "(m+f)", "m", "f", "30", "{//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "sb.append(\"F\")", "sb.append", "sb", "\"F\"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.print(new String(sb))", "System.out.print", "System.out", "System", "System.out", "new String(sb)", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint m,f,r;\n\t\t//?????????????¨????\n\t\tm = 0;\n\t\tf = 0;\n\t\tr = 0;\n\t\t\n\t\twhile(true){//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint m,f,r;\n\t\t//?????????????¨????\n\t\tm = 0;\n\t\tf = 0;\n\t\tr = 0;\n\t\t\n\t\twhile(true){//??\\???????????¨???-1????????£??????????????????\n\t\t\t\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\t\n\t\t\tif((m == -1) & (f == -1) & (r == -1)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif((m == -1) | (f == -1)){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=80){//??????A\n\t\t\t\tsb.append(\"A\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=65){//??????B\n\t\t\t\tsb.append(\"B\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}else if((m + f)>=30){//??????D ???r???50??\\????????´????????????C\n\t\t\t\tif(r >= 50){//??????C\n\t\t\t\tsb.append(\"C\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}else{//??????D\n\t\t\t\t\tsb.append(\"D\");\n\t\t\t\t\tsb.append(\"\\n\");\n\t\t\t\t}\n\t\t\t}else if((m+f)<30){//??????F\n\t\t\t\tsb.append(\"F\");\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int m,f,r; //?????????????¨???? m = 0; f = 0; r = 0; while(true){//??\???????????¨???-1????????£?????????????????? m = scan.nextInt(); f = scan.nextInt(); r = scan.nextInt(); if((m == -1) & (f == -1) & (r == -1)){ break; } if((m == -1) | (f == -1)){//??????F sb.append("F"); sb.append("\n"); }else if((m + f)>=80){//??????A sb.append("A"); sb.append("\n"); }else if((m + f)>=65){//??????B sb.append("B"); sb.append("\n"); }else if((m + f)>=50){//??????C sb.append("C"); sb.append("\n"); }else if((m + f)>=30){//??????D ???r???50??\????????´????????????C if(r >= 50){//??????C sb.append("C"); sb.append("\n"); }else{//??????D sb.append("D"); sb.append("\n"); } }else if((m+f)<30){//??????F sb.append("F"); sb.append("\n"); } } System.out.print(new String(sb)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 41, 13, 4, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 14, 2, 40, 4, 18, 4, 18, 13, 18, 13, 17, 40, 17, 40, 4, 18, 4, 18, 13, 18, 13, 17, 40, 17, 30, 0, 13, 2, 18, 13, 17, 18, 13, 17, 14, 2, 40, 4, 18, 4, 18, 13, 18, 13, 17, 40, 17, 40, 4, 18, 4, 18, 13, 18, 13, 17, 40, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 3, 30, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 231, 14 ], [ 231, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 25, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 25, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 63, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 68, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 60, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 94, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 93, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 124, 126 ], [ 117, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 135, 136 ], [ 135, 137 ], [ 130, 138 ], [ 138, 139 ], [ 128, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 127, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 152, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 163, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 174, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 190, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 197, 202 ], [ 190, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 185, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 211, 216 ], [ 127, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 93, 224 ], [ 224, 225 ], [ 56, 226 ], [ 226, 227 ], [ 15, 228 ], [ 228, 229 ], [ 0, 230 ], [ 230, 231 ], [ 230, 232 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] NumList = new int[3];\n\n\t\tint Result = 0;\n\n\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] NumList = new int[3];\n\n\t\tint Result = 0;\n\n\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tint[] NumList = new int[3];\n\n\t\tint Result = 0;\n\n\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\n\t}", "main", "{\n\n\t\tint[] NumList = new int[3];\n\n\t\tint Result = 0;\n\n\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\n\t}", "int[] NumList = new int[3];", "NumList", "new int[3]", "3", "int Result = 0;", "Result", "0", "try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "NumberFormatException e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "true", "{\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "if (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "line != null", "line", "null", "{\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "String[] InputList = line.split(\" \", 0);", "InputList", "line.split(\" \", 0)", "line.split", "line", "\" \"", "0", "for (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < InputList.length", "i", "InputList.length", "InputList", "InputList.length", "i++", "i++", "i", "{\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}", "NumList[i] = Integer.parseInt(InputList[i])", "NumList[i]", "NumList", "i", "Integer.parseInt(InputList[i])", "Integer.parseInt", "Integer", "InputList[i]", "InputList", "i", "if(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)", "!Arrays.asList(NumList[0]).contains(-1)", "Arrays.asList(NumList[0]).contains(-1)", "Arrays.asList(NumList[0]).contains", "Arrays.asList(NumList[0])", "Arrays.asList", "Arrays", "NumList[0]", "NumList", "0", "-1", "1", "!Arrays.asList(NumList[1]).contains(-1)", "Arrays.asList(NumList[1]).contains(-1)", "Arrays.asList(NumList[1]).contains", "Arrays.asList(NumList[1])", "Arrays.asList", "Arrays", "NumList[1]", "NumList", "1", "-1", "1", "{\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "Result = NumList[0] + NumList[1]", "Result", "NumList[0] + NumList[1]", "NumList[0]", "NumList", "0", "NumList[1]", "NumList", "1", "if (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}", "!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)", "!Arrays.asList(NumList[0]).contains(-1)", "Arrays.asList(NumList[0]).contains(-1)", "Arrays.asList(NumList[0]).contains", "Arrays.asList(NumList[0])", "Arrays.asList", "Arrays", "NumList[0]", "NumList", "0", "-1", "1", "!Arrays.asList(NumList[1]).contains(-1)", "Arrays.asList(NumList[1]).contains(-1)", "Arrays.asList(NumList[1]).contains", "Arrays.asList(NumList[1])", "Arrays.asList", "Arrays", "NumList[1]", "NumList", "1", "-1", "1", "{\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "if(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}", "Result >= 80", "Result", "80", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}", "Result >= 65", "Result", "65", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}", "Result >= 50", "Result", "50", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}", "Result >= 30", "Result", "30", "{\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}", "if (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}", "NumList[2] >= 50", "NumList[2]", "NumList", "2", "50", "{\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "break;", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] NumList = new int[3];\n\n\t\tint Result = 0;\n\n\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] NumList = new int[3];\n\n\t\tint Result = 0;\n\n\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\t//??\\??????????????????\n\t\t\t\tString line = br.readLine();\n\n\t\t\t\tif (line != null) {\n\t\t\t\t\t//???????????????????????????\n\t\t\t\t\tString[] InputList = line.split(\" \", 0);\n\n\t\t\t\t\t//?????????????????´??°???Int???\n\t\t\t\t\tfor (int i = 0; i < InputList.length; i++) {\n\t\t\t\t\t\tNumList[i] = Integer.parseInt(InputList[i]);\n\t\t\t\t\t}\n\n\t\t\t\t\t//????????????????????§??????\n\t\t\t\t\tif(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){\n\n\t\t\t\t\t\t//???????????£??\\\n\t\t\t\t\t\tResult = NumList[0] + NumList[1];\n\n\t\t\t\t\t\t//????¨?????????????????????????\n\t\t\t\t\t\tif (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) {\n\n\t\t\t\t\t\t\t//??????A????????¶\n\t\t\t\t\t\t\tif(Result >= 80){\n\t\t\t\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????B????????¶\n\t\t\t\t\t\t\telse if (Result >= 65) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????C????????¶\n\t\t\t\t\t\t\telse if (Result >= 50) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t//??????D????????¶\n\t\t\t\t\t\t\telse if (Result >= 30) {\n\t\t\t\t\t\t\t\tif (NumList[2] >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\telse{\n\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t}\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\n\t\t}catch (NumberFormatException e) {\n\t\t\tSystem.out.println(e);\n\t\t}catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}\n\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { public static void main(String[] args) { int[] NumList = new int[3]; int Result = 0; try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { //??\?????????????????? String line = br.readLine(); if (line != null) { //??????????????????????????? String[] InputList = line.split(" ", 0); //?????????????????´??°???Int??? for (int i = 0; i < InputList.length; i++) { NumList[i] = Integer.parseInt(InputList[i]); } //????????????????????§?????? if(!Arrays.asList(NumList[0]).contains(-1) || !Arrays.asList(NumList[1]).contains(-1)){ //???????????£??\ Result = NumList[0] + NumList[1]; //????¨????????????????????????? if (!Arrays.asList(NumList[0]).contains(-1) && !Arrays.asList(NumList[1]).contains(-1)) { //??????A????????¶ if(Result >= 80){ System.out.println("A"); } //??????B????????¶ else if (Result >= 65) { System.out.println("B"); } //??????C????????¶ else if (Result >= 50) { System.out.println("C"); } //??????D????????¶ else if (Result >= 30) { if (NumList[2] >= 50) { System.out.println("C"); }else { System.out.println("D"); } } else { System.out.println("F"); } } else{ System.out.println("F"); } }else{ break; } }else { break; } } }catch (NumberFormatException e) { System.out.println(e); }catch (IOException e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 30, 4, 18, 13, 17, 4, 13, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 169, 11 ], [ 169, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 23, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 23, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 23, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 23, 59 ], [ 59, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 61, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 59, 74 ], [ 23, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 75, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 90, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 101, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 112, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 130, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 123, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 14, 147 ], [ 147, 148 ], [ 147, 149 ], [ 12, 150 ], [ 150, 151 ], [ 169, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 155, 158 ], [ 159, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 152, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> res = new ArrayList<String>(); \n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }\n print(res);\n }\n static void print(List<String> list) {\n for(String s:list) {\n System.out.println(s);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> res = new ArrayList<String>(); \n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }\n print(res);\n }\n static void print(List<String> list) {\n for(String s:list) {\n System.out.println(s);\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> res = new ArrayList<String>(); \n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }\n print(res);\n }", "main", "{\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> res = new ArrayList<String>(); \n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }\n print(res);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "List<String> res = new ArrayList<String>();", "res", "new ArrayList<String>()", "while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }", "true", "{\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] line2 = line.split(\" \");", "line2", "line.split(\" \")", "line.split", "line", "\" \"", "int a1 = Integer.parseInt(line2[0]);", "a1", "Integer.parseInt(line2[0])", "Integer.parseInt", "Integer", "line2[0]", "line2", "0", "int a2 = Integer.parseInt(line2[1]);", "a2", "Integer.parseInt(line2[1])", "Integer.parseInt", "Integer", "line2[1]", "line2", "1", "int a3 = Integer.parseInt(line2[2]);", "a3", "Integer.parseInt(line2[2])", "Integer.parseInt", "Integer", "line2[2]", "line2", "2", "if(a1==-1&&a2==-1&&a3==-1)break;", "a1==-1&&a2==-1&&a3==-1", "a1==-1&&a2==-1&&a3==-1", "a1==-1", "a1", "-1", "1", "a2==-1", "a2", "-1", "1", "a3==-1", "a3", "-1", "1", "break;", "if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }", "a1==-1 || a2==-1", "a1==-1", "a1", "-1", "1", "a2==-1", "a2", "-1", "1", "{\n res.add(\"F\");\n }", "res.add(\"F\")", "res.add", "res", "\"F\"", "if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }", "a1+a2>=80", "a1+a2", "a1", "a2", "80", "{\n res.add(\"A\");\n }", "res.add(\"A\")", "res.add", "res", "\"A\"", "if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }", "a1+a2>=65", "a1+a2", "a1", "a2", "65", "{\n res.add(\"B\");\n }", "res.add(\"B\")", "res.add", "res", "\"B\"", "if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }", "a1+a2>=50", "a1+a2", "a1", "a2", "50", "{\n res.add(\"C\");\n }", "res.add(\"C\")", "res.add", "res", "\"C\"", "if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }", "a1+a2>=30", "a1+a2", "a1", "a2", "30", "{\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }", "if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");", "a3>=50", "a3", "50", "res.add(\"C\")", "res.add", "res", "\"C\"", "res.add(\"D\")", "res.add", "res", "\"D\"", "{\n res.add(\"F\");\n }", "res.add(\"F\")", "res.add", "res", "\"F\"", "print(res)", "print", "res", "String[] args", "args", "static void print(List<String> list) {\n for(String s:list) {\n System.out.println(s);\n }\n }", "print", "{\n for(String s:list) {\n System.out.println(s);\n }\n }", "for(String s:list) {\n System.out.println(s);\n }", "String s", "list", "{\n System.out.println(s);\n }", "{\n System.out.println(s);\n }", "System.out.println(s)", "System.out.println", "System.out", "System", "System.out", "s", "List<String> list", "list", "public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> res = new ArrayList<String>(); \n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }\n print(res);\n }\n static void print(List<String> list) {\n for(String s:list) {\n System.out.println(s);\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> res = new ArrayList<String>(); \n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int a1 = Integer.parseInt(line2[0]);\n int a2 = Integer.parseInt(line2[1]);\n int a3 = Integer.parseInt(line2[2]);\n if(a1==-1&&a2==-1&&a3==-1)break;\n if(a1==-1 || a2==-1) {\n res.add(\"F\");\n }\n else if(a1+a2>=80) {\n res.add(\"A\");\n }\n else if(a1+a2>=65) {\n res.add(\"B\");\n }\n else if(a1+a2>=50) {\n res.add(\"C\");\n }\n else if(a1+a2>=30) {\n if(a3>=50)\n res.add(\"C\");\n else\n res.add(\"D\");\n }else {\n res.add(\"F\");\n }\n }\n print(res);\n }\n static void print(List<String> list) {\n for(String s:list) {\n System.out.println(s);\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Here your code ! BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); List<String> res = new ArrayList<String>(); while(true) { String line = br.readLine(); String[] line2 = line.split(" "); int a1 = Integer.parseInt(line2[0]); int a2 = Integer.parseInt(line2[1]); int a3 = Integer.parseInt(line2[2]); if(a1==-1&&a2==-1&&a3==-1)break; if(a1==-1 || a2==-1) { res.add("F"); } else if(a1+a2>=80) { res.add("A"); } else if(a1+a2>=65) { res.add("B"); } else if(a1+a2>=50) { res.add("C"); } else if(a1+a2>=30) { if(a3>=50) res.add("C"); else res.add("D"); }else { res.add("F"); } } print(res); } static void print(List<String> list) { for(String s:list) { System.out.println(s); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 9, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 139, 5 ], [ 139, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 56, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 70, 77 ], [ 14, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 78, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 84, 91 ], [ 14, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 98, 105 ], [ 14, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 112, 129 ], [ 14, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 6, 136 ], [ 136, 137 ], [ 0, 138 ], [ 138, 139 ], [ 138, 140 ] ]
[ "import java.util.Scanner; \npublic class Main { \n\tpublic static void main(String... args) { \n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(true) { \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t} \n\t} \n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main { \n\tpublic static void main(String... args) { \n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(true) { \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t} \n\t} \n}", "Main", "public static void main(String... args) { \n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(true) { \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t} \n\t}", "main", "{ \n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(true) { \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t} \n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true) { \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t}", "true", "{ \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t}", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{ \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t}", "System.out.println('F')", "System.out.println", "System.out", "System", "System.out", "'F'", "continue;", "if(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{ \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t}", "System.out.println('A')", "System.out.println", "System.out", "System", "System.out", "'A'", "continue;", "if(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{ \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t}", "System.out.println('B')", "System.out.println", "System.out", "System", "System.out", "'B'", "continue;", "if(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t}", "m + f >= 50", "m + f", "m", "f", "50", "{ \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t}", "System.out.println('C')", "System.out.println", "System.out", "System", "System.out", "'C'", "continue;", "if(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{ \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}", "if(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D');", "r >= 50", "r", "50", "System.out.println('C')", "System.out.println", "System.out", "System", "System.out", "'C'", "System.out.println('D')", "System.out.println", "System.out", "System", "System.out", "'D'", "continue;", "System.out.println('F')", "System.out.println", "System.out", "System", "System.out", "'F'", "String... args", "args", "public class Main { \n\tpublic static void main(String... args) { \n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(true) { \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t} \n\t} \n}", "public class Main { \n\tpublic static void main(String... args) { \n\t\tScanner sc = new Scanner(System.in); \n\t\twhile(true) { \n\t\t\t\n\t\t\tint m = sc.nextInt(); \n\t\t\tint f = sc.nextInt(); \n\t\t\tint r = sc.nextInt(); \n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break; \n\t\t\t\n\t\t\tif(m == -1 || f == -1) { \n\t\t\t\tSystem.out.println('F'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 80) { \n\t\t\t\tSystem.out.println('A'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 65) { \n\t\t\t\tSystem.out.println('B'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 50) { \n\t\t\t\tSystem.out.println('C'); \n\t\t\t\tcontinue; \n\t\t\t} \n\t\t\tif(m + f >= 30) { \n\t\t\t\tif(r >= 50) System.out.println('C'); \n\t\t\t\telse System.out.println('D'); \n\t\t\t\tcontinue; \n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println('F'); \n\t\t} \n\t} \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String... args) { Scanner sc = new Scanner(System.in); while(true) { int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); if(m == -1 && f == -1 && r == -1) break; if(m == -1 || f == -1) { System.out.println('F'); continue; } if(m + f >= 80) { System.out.println('A'); continue; } if(m + f >= 65) { System.out.println('B'); continue; } if(m + f >= 50) { System.out.println('C'); continue; } if(m + f >= 30) { if(r >= 50) System.out.println('C'); else System.out.println('D'); continue; } System.out.println('F'); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 145, 11 ], [ 145, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 20, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 20, 58 ], [ 58, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 60, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 58, 73 ], [ 58, 74 ], [ 74, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 76, 85 ], [ 85, 86 ], [ 85, 87 ], [ 74, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 74, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 94, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 104, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 127, 129 ], [ 118, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 118, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 12, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\t/*\n\t *****class, math TEST point\n\t *\n\t * n People\n\t *\n\t * 1) midTest > m ***** 2) lastTest > f\n\t * m,f<=50\n\t * 3) retryTest > r\n\t * r<=100\n\t *\n\t * 4) noTest > -1\n\t *\n\t ******* output constraint\n\t *\n\t * 1. 1) || 2) -1 > F\n\t * 2. 1) + 2) 80~ > A\n\t * 3. 1) + 2) 65~80 > B\n\t * 4. 1) + 2) 50~65 > C\n\t * 5. 1) + 2) 30~50 > D -- but, +3) 50~ > C\n\t * 6. 1) + 2) 30 > F\n\t *\n\t *********** \" \", m,f,r\n\t ******** m,f,r > -1-1-1 > exit;\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t/*\n\t\t * 40 42 -1??? 20 30 -1??? 0 2 -1 ???-1 -1 -1\n\t\t */\n\t\tdo{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}while(true);\n}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\n\t/*\n\t *****class, math TEST point\n\t *\n\t * n People\n\t *\n\t * 1) midTest > m ***** 2) lastTest > f\n\t * m,f<=50\n\t * 3) retryTest > r\n\t * r<=100\n\t *\n\t * 4) noTest > -1\n\t *\n\t ******* output constraint\n\t *\n\t * 1. 1) || 2) -1 > F\n\t * 2. 1) + 2) 80~ > A\n\t * 3. 1) + 2) 65~80 > B\n\t * 4. 1) + 2) 50~65 > C\n\t * 5. 1) + 2) 30~50 > D -- but, +3) 50~ > C\n\t * 6. 1) + 2) 30 > F\n\t *\n\t *********** \" \", m,f,r\n\t ******** m,f,r > -1-1-1 > exit;\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t/*\n\t\t * 40 42 -1??? 20 30 -1??? 0 2 -1 ???-1 -1 -1\n\t\t */\n\t\tdo{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}while(true);\n}\n}", "Main", "/*\n\t *****class, math TEST point\n\t *\n\t * n People\n\t *\n\t * 1) midTest > m ***** 2) lastTest > f\n\t * m,f<=50\n\t * 3) retryTest > r\n\t * r<=100\n\t *\n\t * 4) noTest > -1\n\t *\n\t ******* output constraint\n\t *\n\t * 1. 1) || 2) -1 > F\n\t * 2. 1) + 2) 80~ > A\n\t * 3. 1) + 2) 65~80 > B\n\t * 4. 1) + 2) 50~65 > C\n\t * 5. 1) + 2) 30~50 > D -- but, +3) 50~ > C\n\t * 6. 1) + 2) 30 > F\n\t *\n\t *********** \" \", m,f,r\n\t ******** m,f,r > -1-1-1 > exit;\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t/*\n\t\t * 40 42 -1??? 20 30 -1??? 0 2 -1 ???-1 -1 -1\n\t\t */\n\t\tdo{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}while(true);\n}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t/*\n\t\t * 40 42 -1??? 20 30 -1??? 0 2 -1 ???-1 -1 -1\n\t\t */\n\t\tdo{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}while(true);\n}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "do{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}while(true);", "true", "{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}", "String[] point = br.readLine().split(\" \");", "point", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int midTest = Integer.parseInt(point[0]);", "midTest", "Integer.parseInt(point[0])", "Integer.parseInt", "Integer", "point[0]", "point", "0", "int lastTest = Integer.parseInt(point[1]);", "lastTest", "Integer.parseInt(point[1])", "Integer.parseInt", "Integer", "point[1]", "point", "1", "int retryTest = Integer.parseInt(point[2]);", "retryTest", "Integer.parseInt(point[2])", "Integer.parseInt", "Integer", "point[2]", "point", "2", "int totPoint = midTest + lastTest;", "totPoint", "midTest + lastTest", "midTest", "lastTest", "if (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");", "midTest == -1 && lastTest == -1 && retryTest == -1", "midTest == -1 && lastTest == -1 && retryTest == -1", "midTest == -1", "midTest", "-1", "1", "lastTest == -1", "lastTest", "-1", "1", "retryTest == -1", "retryTest", "-1", "1", "break;", "if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");", "midTest == -1 || lastTest == -1 || totPoint < 30", "midTest == -1 || lastTest == -1 || totPoint < 30", "midTest == -1", "midTest", "-1", "1", "lastTest == -1", "lastTest", "-1", "1", "totPoint < 30", "totPoint", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");", "totPoint >= 80", "totPoint", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");", "totPoint < 80 && totPoint >= 65", "totPoint < 80", "totPoint", "80", "totPoint >= 65", "totPoint", "65", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");", "totPoint < 65 && totPoint >= 50 || retryTest >= 50", "totPoint < 65 && totPoint >= 50", "totPoint < 65", "totPoint", "65", "totPoint >= 50", "totPoint", "50", "retryTest >= 50", "retryTest", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "String[] args", "args", "public class Main{\n\n\t/*\n\t *****class, math TEST point\n\t *\n\t * n People\n\t *\n\t * 1) midTest > m ***** 2) lastTest > f\n\t * m,f<=50\n\t * 3) retryTest > r\n\t * r<=100\n\t *\n\t * 4) noTest > -1\n\t *\n\t ******* output constraint\n\t *\n\t * 1. 1) || 2) -1 > F\n\t * 2. 1) + 2) 80~ > A\n\t * 3. 1) + 2) 65~80 > B\n\t * 4. 1) + 2) 50~65 > C\n\t * 5. 1) + 2) 30~50 > D -- but, +3) 50~ > C\n\t * 6. 1) + 2) 30 > F\n\t *\n\t *********** \" \", m,f,r\n\t ******** m,f,r > -1-1-1 > exit;\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t/*\n\t\t * 40 42 -1??? 20 30 -1??? 0 2 -1 ???-1 -1 -1\n\t\t */\n\t\tdo{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}while(true);\n}\n}", "public class Main{\n\n\t/*\n\t *****class, math TEST point\n\t *\n\t * n People\n\t *\n\t * 1) midTest > m ***** 2) lastTest > f\n\t * m,f<=50\n\t * 3) retryTest > r\n\t * r<=100\n\t *\n\t * 4) noTest > -1\n\t *\n\t ******* output constraint\n\t *\n\t * 1. 1) || 2) -1 > F\n\t * 2. 1) + 2) 80~ > A\n\t * 3. 1) + 2) 65~80 > B\n\t * 4. 1) + 2) 50~65 > C\n\t * 5. 1) + 2) 30~50 > D -- but, +3) 50~ > C\n\t * 6. 1) + 2) 30 > F\n\t *\n\t *********** \" \", m,f,r\n\t ******** m,f,r > -1-1-1 > exit;\n\t *\n\t */\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t/*\n\t\t * 40 42 -1??? 20 30 -1??? 0 2 -1 ???-1 -1 -1\n\t\t */\n\t\tdo{\n\t\t// ?????±????????????\n\t\tString[] point = br.readLine().split(\" \");\n\n\t\t\t//for (int i = 0; i < point.length; i++) {\n\t\t\tint midTest = Integer.parseInt(point[0]);\n\t\t\tint lastTest = Integer.parseInt(point[1]);\n\t\t\tint retryTest = Integer.parseInt(point[2]);\n\t\t\tint totPoint = midTest + lastTest;\n\n\t\t\t// 1???????????????\n\t\t\tif (midTest == -1 && lastTest == -1 && retryTest == -1)\n\t\t\t\tbreak;\n\t\t\telse if (midTest == -1 || lastTest == -1 || totPoint < 30)\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if (totPoint >= 80)\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if (totPoint < 80 && totPoint >= 65)\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if (totPoint < 65 && totPoint >= 50 || retryTest >= 50)\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse\n\t\t\t\tSystem.out.println(\"D\");\n\t}while(true);\n}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ /* *****class, math TEST point * * n People * * 1) midTest > m ***** 2) lastTest > f * m,f<=50 * 3) retryTest > r * r<=100 * * 4) noTest > -1 * ******* output constraint * * 1. 1) || 2) -1 > F * 2. 1) + 2) 80~ > A * 3. 1) + 2) 65~80 > B * 4. 1) + 2) 50~65 > C * 5. 1) + 2) 30~50 > D -- but, +3) 50~ > C * 6. 1) + 2) 30 > F * *********** " ", m,f,r ******** m,f,r > -1-1-1 > exit; * */ public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); /* * 40 42 -1??? 20 30 -1??? 0 2 -1 ???-1 -1 -1 */ do{ // ?????±???????????? String[] point = br.readLine().split(" "); //for (int i = 0; i < point.length; i++) { int midTest = Integer.parseInt(point[0]); int lastTest = Integer.parseInt(point[1]); int retryTest = Integer.parseInt(point[2]); int totPoint = midTest + lastTest; // 1??????????????? if (midTest == -1 && lastTest == -1 && retryTest == -1) break; else if (midTest == -1 || lastTest == -1 || totPoint < 30) System.out.println("F"); else if (totPoint >= 80) System.out.println("A"); else if (totPoint < 80 && totPoint >= 65) System.out.println("B"); else if (totPoint < 65 && totPoint >= 50 || retryTest >= 50) System.out.println("C"); else System.out.println("D"); }while(true); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 42, 17, 30, 41, 13, 4, 13, 41, 13, 4, 13, 41, 13, 4, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 17, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 2, 13, 13, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 2, 13, 13, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 2, 13, 13, 2, 2, 13, 13, 17, 30, 14, 2, 17, 13, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 30, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 179, 5 ], [ 179, 6 ], [ 6, 7 ], [ 6, 8 ], [ 179, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 14, 27 ], [ 27, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 27, 42 ], [ 42, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 44, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 44, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 61, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 75, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 74, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 74, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 93, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 93, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 113, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 112, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 125, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 112, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 143, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 11, 156 ], [ 156, 157 ], [ 9, 158 ], [ 158, 159 ], [ 179, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 179, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 0, 178 ], [ 178, 179 ], [ 178, 180 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (true) {\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (true) {\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main", "public static Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "public static void main(String[] args) {\n\n\t\twhile (true) {\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}", "main", "{\n\n\t\twhile (true) {\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}", "while (true) {\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}", "true", "{\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}", "int m = input();", "m", "input()", "input", "int f = input();", "f", "input()", "input", "int r = input();", "r", "input()", "input", "if (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\n\t\t\t\tbreak;\n\n\t\t\t}", "break;", "if (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "80 <= m + f", "80", "m + f", "m", "f", "{\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "65 <= m + f && m + f < 80", "65 <= m + f", "65", "m + f", "m", "f", "m + f < 80", "m + f", "m", "f", "80", "{\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "50 <= m + f && m + f < 65", "50 <= m + f", "50", "m + f", "m", "f", "m + f < 65", "m + f", "m", "f", "65", "{\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "30 <= m + f && m + f < 50", "30 <= m + f", "30", "m + f", "m", "f", "m + f < 50", "m + f", "m", "f", "50", "{\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t}", "if (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}", "50 <= r", "50", "r", "{\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "m + f < 30", "m + f", "m", "f", "30", "{\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "close()", "close", "String[] args", "args", "public static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}", "input", "{\n\n\t\treturn scanner.nextInt();\n\n\t}", "return scanner.nextInt();", "scanner.nextInt()", "scanner.nextInt", "scanner", "public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "close", "{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner != null", "scanner", "null", "{\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner.close()", "scanner.close", "scanner", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (true) {\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\twhile (true) {\n\n\t\t\tint m = input();\n\t\t\tint f = input();\n\t\t\tint r = input();\n\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif (m == -1 || f == -1) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t} else if (80 <= m + f) {\n\n\t\t\t\tSystem.out.println(\"A\");\n\n\t\t\t} else if (65 <= m + f && m + f < 80) {\n\n\t\t\t\tSystem.out.println(\"B\");\n\n\t\t\t} else if (50 <= m + f && m + f < 65) {\n\n\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t} else if (30 <= m + f && m + f < 50) {\n\n\t\t\t\tif (50 <= r ) {\n\n\t\t\t\t\tSystem.out.println(\"C\");\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.println(\"D\");\n\n\t\t\t\t}\n\t\t\t} else if (m + f < 30) {\n\n\t\t\t\tSystem.out.println(\"F\");\n\n\t\t\t}\n\t\t}\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn scanner.nextInt();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { while (true) { int m = input(); int f = input(); int r = input(); if (m == -1 && f == -1 && r == -1) { break; } if (m == -1 || f == -1) { System.out.println("F"); } else if (80 <= m + f) { System.out.println("A"); } else if (65 <= m + f && m + f < 80) { System.out.println("B"); } else if (50 <= m + f && m + f < 65) { System.out.println("C"); } else if (30 <= m + f && m + f < 50) { if (50 <= r ) { System.out.println("C"); } else { System.out.println("D"); } } else if (m + f < 30) { System.out.println("F"); } } close(); } public static int input() { return scanner.nextInt(); } public static void close() { if (scanner != null) { scanner.close(); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 11, 1, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 17, 2, 13, 13, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 17, 2, 13, 13, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 17, 2, 13, 13, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 12, 13, 30, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 9 ], [ 9, 10 ], [ 4, 11 ], [ 11, 12 ], [ 4, 13 ], [ 13, 14 ], [ 4, 15 ], [ 15, 16 ], [ 4, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 23, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 39, 54 ], [ 54, 55 ], [ 39, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 70, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 80, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 80, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 97, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 96, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 96, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 113, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 112, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 112, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 23, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 23, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 4, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 152, 156 ], [ 156, 157 ] ]
[ "import java.util.*;\n\nclass Main{\n\tScanner scan=new Scanner(System.in);\n\tint m;\n\tint f;\n\tint r;\n\tString han;\n\tpublic Main(){\n\t\tfor(;;){\n\t\t\tm=scan.nextInt();\n\t\t\tf=scan.nextInt();\n\t\t\tr=scan.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}\n\t\t\tSystem.out.println(han);\n\t }\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main();\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tScanner scan=new Scanner(System.in);\n\tint m;\n\tint f;\n\tint r;\n\tString han;\n\tpublic Main(){\n\t\tfor(;;){\n\t\t\tm=scan.nextInt();\n\t\t\tf=scan.nextInt();\n\t\t\tr=scan.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}\n\t\t\tSystem.out.println(han);\n\t }\n\t}\n\tpublic static void main(String[] args){\n\t\tnew Main();\n\t}\n}", "Main", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int m;", "m", "int f;", "f", "int r;", "r", "String han;", "han", "public Main(){\n\t\tfor(;;){\n\t\t\tm=scan.nextInt();\n\t\t\tf=scan.nextInt();\n\t\t\tr=scan.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}\n\t\t\tSystem.out.println(han);\n\t }\n\t}", "Main", "{\n\t\tfor(;;){\n\t\t\tm=scan.nextInt();\n\t\t\tf=scan.nextInt();\n\t\t\tr=scan.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}\n\t\t\tSystem.out.println(han);\n\t }\n\t}", "for(;;){\n\t\t\tm=scan.nextInt();\n\t\t\tf=scan.nextInt();\n\t\t\tr=scan.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}\n\t\t\tSystem.out.println(han);\n\t }", ";", "{\n\t\t\tm=scan.nextInt();\n\t\t\tf=scan.nextInt();\n\t\t\tr=scan.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}\n\t\t\tSystem.out.println(han);\n\t }", "{\n\t\t\tm=scan.nextInt();\n\t\t\tf=scan.nextInt();\n\t\t\tr=scan.nextInt();\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}\n\t\t\tSystem.out.println(han);\n\t }", "m=scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "f=scan.nextInt()", "f", "scan.nextInt()", "scan.nextInt", "scan", "r=scan.nextInt()", "r", "scan.nextInt()", "scan.nextInt", "scan", "if(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}else if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m==-1&&f==-1&&r==-1", "m==-1&&f==-1&&r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(m==-1||f==-1){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "han=\"F\"", "han", "\"F\"", "if(m+f>=80){\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m+f>=80", "m+f", "m", "f", "80", "{\n\t\t\t\than=\"A\";\n\t//\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "han=\"A\"", "han", "\"A\"", "if(65<=m+f&&m+f<80){\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "65<=m+f&&m+f<80", "65<=m+f", "65", "m+f", "m", "f", "m+f<80", "m+f", "m", "f", "80", "{\n\t\t\t\than=\"B\";\n\t//\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "han=\"B\"", "han", "\"B\"", "if(50<=m+f&&m+f<65){\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "50<=m+f&&m+f<65", "50<=m+f", "50", "m+f", "m", "f", "m+f<65", "m+f", "m", "f", "65", "{\n\t\t\t\than=\"C\";\n\t//\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "han=\"C\"", "han", "\"C\"", "if(30<=m+f&&m+f<50){\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}else if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "30<=m+f&&m+f<50", "30<=m+f", "30", "m+f", "m", "f", "m+f<50", "m+f", "m", "f", "50", "{\n\t\t\t\than=\"D\";\n\t//\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "han=\"D\"", "han", "\"D\"", "if(m+f<30){\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m+f<30", "m+f", "m", "f", "30", "{\n\t\t\t\than=\"F\";\n\t//\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "han=\"F\"", "han", "\"F\"", "if(r>=50){\n\t\t\t\than=\"C\";\n\t\t\t}", "r>=50", "r", "50", "{\n\t\t\t\than=\"C\";\n\t\t\t}", "han=\"C\"", "han", "\"C\"", "System.out.println(han)", "System.out.println", "System.out", "System", "System.out", "han", "public static void main(String[] args){\n\t\tnew Main();\n\t}", "main", "{\n\t\tnew Main();\n\t}", "new Main()", "String[] args", "args" ]
import java.util.*; class Main{ Scanner scan=new Scanner(System.in); int m; int f; int r; String han; public Main(){ for(;;){ m=scan.nextInt(); f=scan.nextInt(); r=scan.nextInt(); if(m==-1&&f==-1&&r==-1){ break; }else if(m==-1||f==-1){ han="F"; // System.out.println("F"); }else if(m+f>=80){ han="A"; // System.out.println("A"); }else if(65<=m+f&&m+f<80){ han="B"; // System.out.println("B"); }else if(50<=m+f&&m+f<65){ han="C"; // System.out.println("C"); }else if(30<=m+f&&m+f<50){ han="D"; // System.out.println("D"); }else if(m+f<30){ han="F"; // System.out.println("F"); } if(r>=50){ han="C"; } System.out.println(han); } } public static void main(String[] args){ new Main(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 13, 13, 40, 17, 3, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 9, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 145, 5 ], [ 145, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 37, 38 ], [ 39, 39 ], [ 39, 40 ], [ 39, 41 ], [ 39, 42 ], [ 37, 43 ], [ 43, 44 ], [ 36, 45 ], [ 20, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 20, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 51, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 61, 68 ], [ 20, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 20, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 20, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 20, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 116, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 20, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 6, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "while(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}", "true", "{\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "f = scan.nextInt()", "f", "scan.nextInt()", "scan.nextInt", "scan", "r = scan.nextInt()", "r", "scan.nextInt()", "scan.nextInt", "scan", "if(m+f+r==-3) break;", "m+f+r==-3", "m+f+r", "m+f+r", "m", "f", "r", "-3", "3", "break;", "int s = m+f;", "s", "m+f", "m", "f", "if(m==-1||f==-1) {System.out.println(\"F\"); continue;}", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{System.out.println(\"F\"); continue;}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "continue;", "if(s>=80) System.out.println(\"A\");", "s>=80", "s", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(s>=65&&s<80) System.out.println(\"B\");", "s>=65&&s<80", "s>=65", "s", "65", "s<80", "s", "80", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(s>=50&&s<65) System.out.println(\"C\");", "s>=50&&s<65", "s>=50", "s", "50", "s<65", "s", "65", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}", "s>=30&&s<50", "s>=30", "s", "30", "s<50", "s", "50", "{\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}", "if(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");", "r>=50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(s<30) System.out.println(\"F\");", "s<30", "s", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\tint m,f,r;\n\t\twhile(true){\n\t\t\tm = scan.nextInt();\n\t\t\tf = scan.nextInt();\n\t\t\tr = scan.nextInt();\n\t\t\tif(m+f+r==-3) break;\n\t\t\tint s = m+f;\n\t\t\tif(m==-1||f==-1) {System.out.println(\"F\"); continue;}\n\t\t\tif(s>=80) System.out.println(\"A\");\n\t\t\tif(s>=65&&s<80) System.out.println(\"B\");\n\t\t\tif(s>=50&&s<65) System.out.println(\"C\");\n\t\t\tif(s>=30&&s<50){\n\t\t\t\tif(r>=50) System.out.println(\"C\");\n\t\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\t\tif(s<30) System.out.println(\"F\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner scan = new Scanner(System.in); int m,f,r; while(true){ m = scan.nextInt(); f = scan.nextInt(); r = scan.nextInt(); if(m+f+r==-3) break; int s = m+f; if(m==-1||f==-1) {System.out.println("F"); continue;} if(s>=80) System.out.println("A"); if(s>=65&&s<80) System.out.println("B"); if(s>=50&&s<65) System.out.println("C"); if(s>=30&&s<50){ if(r>=50) System.out.println("C"); else System.out.println("D"); } if(s<30) System.out.println("F"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 151, 5 ], [ 151, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 35, 50 ], [ 50, 51 ], [ 14, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 52, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 80, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 95, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 115, 117 ], [ 110, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 119, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 110, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 6, 148 ], [ 148, 149 ], [ 0, 150 ], [ 150, 151 ], [ 150, 152 ] ]
[ "import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] arags){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] arags){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] arags){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int f = scan.nextInt();", "f", "scan.nextInt()", "scan.nextInt", "scan", "int r = scan.nextInt();", "r", "scan.nextInt()", "scan.nextInt", "scan", "int check = m+f;", "check", "m+f", "m", "f", "if(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}", "m==-1&&f==-1&&r==-1", "m==-1&&f==-1&&r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "check>=80", "check", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "check>=65&&check<80", "check>=65", "check", "65", "check<80", "check", "80", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "check>=50&&check<65", "check>=50", "check", "50", "check<65", "check", "65", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "check>=30&&check<50", "check>=30", "check", "30", "check<50", "check", "50", "{\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}", "if(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "r>=50", "r", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "check<30", "check", "30", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] arags", "arags", "public class Main{\n\tpublic static void main(String[] arags){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] arags){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\tint check = m+f;\n\n\t\t\tif(m==-1&&f==-1&&r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(m==-1||f==-1){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if(check>=80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if(check>=65&&check<80){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if(check>=50&&check<65){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if(check>=30&&check<50){\n\t\t\t\tif(r>=50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}else if(check<30){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] arags){ Scanner scan = new Scanner(System.in); while(true){ int m = scan.nextInt(); int f = scan.nextInt(); int r = scan.nextInt(); int check = m+f; if(m==-1&&f==-1&&r==-1){ break; } if(m==-1||f==-1){ System.out.println("F"); }else if(check>=80){ System.out.println("A"); }else if(check>=65&&check<80){ System.out.println("B"); }else if(check>=50&&check<65){ System.out.println("C"); }else if(check>=30&&check<50){ if(r>=50){ System.out.println("C"); }else{ System.out.println("D"); } }else if(check<30){ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 4, 18, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 159, 11 ], [ 159, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 29, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 26, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 26, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 26, 59 ], [ 59, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 61, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 59, 74 ], [ 74, 75 ], [ 26, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 76, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 76, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 90, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 100, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 110, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 127, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 120, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 26, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 143, 149 ], [ 14, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 12, 156 ], [ 156, 157 ], [ 0, 158 ], [ 158, 159 ], [ 158, 160 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString P = \"\";\n\n\t\twhile (true) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString P = \"\";\n\n\t\twhile (true) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString P = \"\";\n\n\t\twhile (true) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString P = \"\";\n\n\t\twhile (true) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String P = \"\";", "P", "\"\"", "while (true) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}", "true", "{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int m = Integer.parseInt(str[0]);", "m", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int f = Integer.parseInt(str[1]);", "f", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "int r = Integer.parseInt(str[2]);", "r", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "if (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tP = \"F\";\n\t\t\t}", "P = \"F\"", "P", "\"F\"", "if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tP = \"A\";\n\t\t\t}", "P = \"A\"", "P", "\"A\"", "if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\tP = \"B\";\n\t\t\t}", "P = \"B\"", "P", "\"B\"", "if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}", "m + f >= 50", "m + f", "m", "f", "50", "{\n\t\t\t\tP = \"C\";\n\t\t\t}", "P = \"C\"", "P", "\"C\"", "if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t}", "if (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\tP = \"C\";\n\t\t\t\t}", "P = \"C\"", "P", "\"C\"", "{\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}", "P = \"D\"", "P", "\"D\"", "{\n\t\t\t\tP = \"F\";\n\t\t\t}", "P = \"F\"", "P", "\"F\"", "sb.append(P).append(\"\\n\")", "sb.append(P).append", "sb.append(P)", "sb.append", "sb", "P", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString P = \"\";\n\n\t\twhile (true) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString P = \"\";\n\n\t\twhile (true) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tint m = Integer.parseInt(str[0]);\n\t\t\tint f = Integer.parseInt(str[1]);\n\t\t\tint r = Integer.parseInt(str[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tP = \"F\";\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tP = \"A\";\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tP = \"B\";\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tP = \"C\";\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tP = \"C\";\n\t\t\t\t} else {\n\t\t\t\t\tP = \"D\";\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tP = \"F\";\n\t\t\t}\n\t\t\tsb.append(P).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String P = ""; while (true) { String[] str = br.readLine().split(" "); int m = Integer.parseInt(str[0]); int f = Integer.parseInt(str[1]); int r = Integer.parseInt(str[2]); if (m == -1 && f == -1 && r == -1) { break; } if (m == -1 || f == -1) { P = "F"; } else if (m + f >= 80) { P = "A"; } else if (m + f >= 65) { P = "B"; } else if (m + f >= 50) { P = "C"; } else if (m + f >= 30) { if (r >= 50) { P = "C"; } else { P = "D"; } } else { P = "F"; } sb.append(P).append("\n"); } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 33, 48 ], [ 17, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 49, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 73, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 83, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 93, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 93, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 17, 116 ], [ 116, 117 ], [ 118, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 118, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 116, 131 ], [ 8, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 6, 138 ], [ 138, 139 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) str.append(\"F\\n\"); \n\t\t\telse if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t}\n\t\tSystem.out.print(str);\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) str.append(\"F\\n\"); \n\t\t\telse if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t}\n\t\tSystem.out.print(str);\n\t\t\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) str.append(\"F\\n\"); \n\t\t\telse if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t}\n\t\tSystem.out.print(str);\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) str.append(\"F\\n\"); \n\t\t\telse if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t}\n\t\tSystem.out.print(str);\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder str = new StringBuilder();", "str", "new StringBuilder()", "while(true){\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) str.append(\"F\\n\"); \n\t\t\telse if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t}", "true", "{\n\t\t\tint m = scan.nextInt();\n\t\t\tint f = scan.nextInt();\n\t\t\tint r = scan.nextInt();\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t\t\n\t\t\tif(m == -1 || f == -1) str.append(\"F\\n\"); \n\t\t\telse if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");\n\t\t\t\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\t}", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int f = scan.nextInt();", "f", "scan.nextInt()", "scan.nextInt", "scan", "int r = scan.nextInt();", "r", "scan.nextInt()", "scan.nextInt", "scan", "if(m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if(m == -1 || f == -1) str.append(\"F\\n\"); \n\t\t\telse if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "str.append(\"F\\n\")", "str.append", "str", "\"F\\n\"", "if(m+f >= 80) str.append(\"A\\n\");\n\t\t\telse if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");", "m+f >= 80", "m+f", "m", "f", "80", "str.append(\"A\\n\")", "str.append", "str", "\"A\\n\"", "if(m+f >= 65) str.append(\"B\\n\");\n\t\t\telse if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");", "m+f >= 65", "m+f", "m", "f", "65", "str.append(\"B\\n\")", "str.append", "str", "\"B\\n\"", "if(m+f >= 50) str.append(\"C\\n\");\n\t\t\telse if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");", "m+f >= 50", "m+f", "m", "f", "50", "str.append(\"C\\n\")", "str.append", "str", "\"C\\n\"", "if(m+f >= 30){\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}\n\t\t\telse str.append(\"F\\n\");", "m+f >= 30", "m+f", "m", "f", "30", "{\n\t\t\t\tif(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");\n\t\t\t}", "if(r >= 50) str.append(\"C\\n\");\n\t\t\t\telse str.append(\"D\\n\");", "r >= 50", "r", "50", "str.append(\"C\\n\")", "str.append", "str", "\"C\\n\"", "str.append(\"D\\n\")", "str.append", "str", "\"D\\n\"", "str.append(\"F\\n\")", "str.append", "str", "\"F\\n\"", "if(m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "System.out.print(str)", "System.out.print", "System.out", "System", "System.out", "str", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); StringBuilder str = new StringBuilder(); while(true){ int m = scan.nextInt(); int f = scan.nextInt(); int r = scan.nextInt(); if(m == -1 && f == -1 && r == -1) break; if(m == -1 || f == -1) str.append("F\n"); else if(m+f >= 80) str.append("A\n"); else if(m+f >= 65) str.append("B\n"); else if(m+f >= 50) str.append("C\n"); else if(m+f >= 30){ if(r >= 50) str.append("C\n"); else str.append("D\n"); } else str.append("F\n"); if(m == -1 && f == -1 && r == -1) break; } System.out.print(str); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 20, 14, 2, 2, 2, 18, 13, 17, 40, 17, 2, 18, 13, 17, 40, 17, 2, 18, 13, 17, 40, 17, 30, 3, 14, 2, 2, 18, 13, 17, 40, 17, 2, 18, 13, 17, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 18, 13, 17, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 18, 13, 17, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 18, 13, 17, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 18, 13, 17, 18, 13, 17, 17, 30, 14, 2, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 18, 13, 17, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 164, 5 ], [ 164, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 20, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 21, 25 ], [ 25, 26 ], [ 20, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 20, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 18, 39 ], [ 39, 40 ], [ 14, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 42, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 41, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 41, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 62, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 79, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 79, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 96, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 96, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 119, 121 ], [ 114, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 124, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 113, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 150, 152 ], [ 145, 153 ], [ 144, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 6, 161 ], [ 161, 162 ], [ 0, 163 ], [ 163, 164 ], [ 163, 165 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }", "true", "{\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }", "int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};", "s", "new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()}", "if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }", "s[0] == -1 && s[1] == -1 && s[2] == -1", "s[0] == -1 && s[1] == -1 && s[2] == -1", "s[0] == -1", "s[0]", "s", "0", "-1", "1", "s[1] == -1", "s[1]", "s", "1", "-1", "1", "s[2] == -1", "s[2]", "s", "2", "-1", "1", "{\n break;\n }", "break;", "if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }", "s[0] == -1 || s[1] == -1", "s[0] == -1", "s[0]", "s", "0", "-1", "1", "s[1] == -1", "s[1]", "s", "1", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }", "s[0] + s[1] >= 80", "s[0] + s[1]", "s[0]", "s", "0", "s[1]", "s", "1", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }", "s[0] + s[1] >= 65", "s[0] + s[1]", "s[0]", "s", "0", "s[1]", "s", "1", "65", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }", "s[0] + s[1] >= 50", "s[0] + s[1]", "s[0]", "s", "0", "s[1]", "s", "1", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }", "s[0] + s[1] >= 30", "s[0] + s[1]", "s[0]", "s", "0", "s[1]", "s", "1", "30", "{\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n }", "if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }", "s[2] >= 50", "s[2]", "s", "2", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }", "s[0] + s[1] < 30", "s[0] + s[1]", "s[0]", "s", "0", "s[1]", "s", "1", "30", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()};\n if (s[0] == -1 && s[1] == -1 && s[2] == -1) {\n break;\n }\n if (s[0] == -1 || s[1] == -1) {\n System.out.println(\"F\");\n } else if (s[0] + s[1] >= 80) {\n System.out.println(\"A\");\n } else if (s[0] + s[1] >= 65) {\n System.out.println(\"B\");\n } else if (s[0] + s[1] >= 50) {\n System.out.println(\"C\");\n } else if (s[0] + s[1] >= 30) {\n if (s[2] >= 50) {\n System.out.println(\"C\");\n } else {\n System.out.println(\"D\");\n }\n } else if (s[0] + s[1] < 30) {\n System.out.println(\"F\");\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int[] s = new int[]{sc.nextInt(), sc.nextInt(), sc.nextInt()}; if (s[0] == -1 && s[1] == -1 && s[2] == -1) { break; } if (s[0] == -1 || s[1] == -1) { System.out.println("F"); } else if (s[0] + s[1] >= 80) { System.out.println("A"); } else if (s[0] + s[1] >= 65) { System.out.println("B"); } else if (s[0] + s[1] >= 50) { System.out.println("C"); } else if (s[0] + s[1] >= 30) { if (s[2] >= 50) { System.out.println("C"); } else { System.out.println("D"); } } else if (s[0] + s[1] < 30) { System.out.println("F"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 2, 13, 13, 14, 2, 2, 13, 13, 40, 17, 3, 14, 2, 2, 2, 13, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 4, 18, 18, 13, 13, 8, 2, 17, 13, 17, 17, 14, 2, 2, 17, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 17, 13, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 160, 11 ], [ 160, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 20 ], [ 14, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 41, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 38, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 38, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 38, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 38, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 76, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 85, 91 ], [ 91, 92 ], [ 91, 93 ], [ 84, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 84, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 113, 118 ], [ 100, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 119, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 138, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 133, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 12, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint m,f,r,sum;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tfor(int i=0; i<255; i++)\n\t\t{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint m,f,r,sum;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tfor(int i=0; i<255; i++)\n\t\t{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException\n\t{\n\t\tint m,f,r,sum;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tfor(int i=0; i<255; i++)\n\t\t{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}\n\t}", "main", "{\n\t\tint m,f,r,sum;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tfor(int i=0; i<255; i++)\n\t\t{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}\n\t}", "int m", "m", "f", "f", "r", "r", "sum;", "sum", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );", "br", "new BufferedReader(new InputStreamReader(System.in) )", "for(int i=0; i<255; i++)\n\t\t{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<255", "i", "255", "i++", "i++", "i", "{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}", "{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}", "String[] mfr = br.readLine().split(\" \");", "mfr", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "m = Integer.parseInt(mfr[0])", "m", "Integer.parseInt(mfr[0])", "Integer.parseInt", "Integer", "mfr[0]", "mfr", "0", "f = Integer.parseInt(mfr[1])", "f", "Integer.parseInt(mfr[1])", "Integer.parseInt", "Integer", "mfr[1]", "mfr", "1", "r = Integer.parseInt(mfr[2])", "r", "Integer.parseInt(mfr[2])", "Integer.parseInt", "Integer", "mfr[2]", "mfr", "2", "sum = m+f", "sum", "m+f", "m", "f", "if(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");", "sum+r == -3", "sum+r", "sum", "r", "-3", "3", "break;", "if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");", "m*f < 0 || sum < 30", "m*f < 0", "m*f", "m", "f", "0", "sum < 30", "sum", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");", "30 <= sum && sum < 50", "30 <= sum", "30", "sum", "sum < 50", "sum", "50", "System.out.println( (50 <= r) ? 'C' : 'D')", "System.out.println", "System.out", "System", "System.out", "(50 <= r) ? 'C' : 'D'", "(50 <= r)", "50", "r", "'C'", "'D'", "if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");", "50 <= sum && sum < 65", "50 <= sum", "50", "sum", "sum < 65", "sum", "65", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");", "65 <= sum && sum < 80", "65 <= sum", "65", "sum", "sum < 80", "sum", "80", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(80 <= sum ) System.out.println(\"A\");", "80 <= sum", "80", "sum", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint m,f,r,sum;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tfor(int i=0; i<255; i++)\n\t\t{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}\n\t}\n}", "public class Main{\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint m,f,r,sum;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tfor(int i=0; i<255; i++)\n\t\t{\n\t\t\tString[] mfr = br.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(mfr[0]);\n\t\t\tf = Integer.parseInt(mfr[1]);\n\t\t\tr = Integer.parseInt(mfr[2]);\n\n\t\t\tsum = m+f;\n\n\t\t\tif(sum+r == -3) break;\n\n\t\t\telse if(m*f < 0 || sum < 30) System.out.println(\"F\");\n\n\t\t\telse if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D');\n\n\t\t\telse if(50 <= sum && sum < 65) System.out.println(\"C\");\n\n\t\t\telse if(65 <= sum && sum < 80) System.out.println(\"B\");\n\n\t\t\telse if(80 <= sum ) System.out.println(\"A\");\n\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) throws IOException { int m,f,r,sum; BufferedReader br = new BufferedReader(new InputStreamReader(System.in) ); for(int i=0; i<255; i++) { String[] mfr = br.readLine().split(" "); m = Integer.parseInt(mfr[0]); f = Integer.parseInt(mfr[1]); r = Integer.parseInt(mfr[2]); sum = m+f; if(sum+r == -3) break; else if(m*f < 0 || sum < 30) System.out.println("F"); else if(30 <= sum && sum < 50) System.out.println( (50 <= r) ? 'C' : 'D'); else if(50 <= sum && sum < 65) System.out.println("C"); else if(65 <= sum && sum < 80) System.out.println("B"); else if(80 <= sum ) System.out.println("A"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 166, 11 ], [ 166, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 39, 54 ], [ 54, 55 ], [ 23, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 23, 61 ], [ 61, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 63, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 61, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 61, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 81, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 90, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 103, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 125, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 14, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 139, 149 ], [ 149, 150 ], [ 150, 151 ], [ 139, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 12, 163 ], [ 163, 164 ], [ 0, 165 ], [ 165, 166 ], [ 165, 167 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tList<String> result = new ArrayList<>();\n\t\twhile (true) {\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tSystem.out.println(result.get(i));\n\t\t}\n\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tList<String> result = new ArrayList<>();\n\t\twhile (true) {\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tSystem.out.println(result.get(i));\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tList<String> result = new ArrayList<>();\n\t\twhile (true) {\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tSystem.out.println(result.get(i));\n\t\t}\n\n\t}", "main", "{\n\t\tScanner stdin = new Scanner(System.in);\n\t\tList<String> result = new ArrayList<>();\n\t\twhile (true) {\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tSystem.out.println(result.get(i));\n\t\t}\n\n\t}", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "List<String> result = new ArrayList<>();", "result", "new ArrayList<>()", "while (true) {\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int m = stdin.nextInt();", "m", "stdin.nextInt()", "stdin.nextInt", "stdin", "int f = stdin.nextInt();", "f", "stdin.nextInt()", "stdin.nextInt", "stdin", "int r = stdin.nextInt();", "r", "stdin.nextInt()", "stdin.nextInt", "stdin", "if (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "int grade = m+f;", "grade", "m+f", "m", "f", "if ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "grade < 30 || m == -1 || f == -1", "grade < 30 || m == -1 || f == -1", "grade < 30", "grade", "30", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tresult.add(\"F\");\n\t\t\t}", "result.add(\"F\")", "result.add", "result", "\"F\"", "{\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "if (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}", "grade >= 80", "grade", "80", "{\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t}", "result.add(\"A\")", "result.add", "result", "\"A\"", "if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}", "grade >= 65 && grade < 80", "grade >= 65", "grade", "65", "grade < 80", "grade", "80", "{\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t}", "result.add(\"B\")", "result.add", "result", "\"B\"", "if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}", "grade >= 50 && grade < 65", "grade >= 50", "grade", "50", "grade < 65", "grade", "65", "{\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t}", "result.add(\"C\")", "result.add", "result", "\"C\"", "if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}", "grade >= 30 && grade < 50", "grade >= 30", "grade", "30", "grade < 50", "grade", "50", "{\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}", "if( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}", "result.add(\"C\")", "result.add", "result", "\"C\"", "{\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}", "result.add(\"D\")", "result.add", "result", "\"D\"", "for (int i = 0; i < result.size(); i++) {\n\t\t\tSystem.out.println(result.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < result.size()", "i", "result.size()", "result.size", "result", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(result.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(result.get(i));\n\t\t}", "System.out.println(result.get(i))", "System.out.println", "System.out", "System", "System.out", "result.get(i)", "result.get", "result", "i", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tList<String> result = new ArrayList<>();\n\t\twhile (true) {\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tSystem.out.println(result.get(i));\n\t\t}\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tList<String> result = new ArrayList<>();\n\t\twhile (true) {\n\t\t\tint m = stdin.nextInt();\n\t\t\tint f = stdin.nextInt();\n\t\t\tint r = stdin.nextInt();\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint grade = m+f;\n\t\t\tif ( grade < 30 || m == -1 || f == -1 ) {\n\t\t\t\tresult.add(\"F\");\n\t\t\t} else {\n\n\t\t\t\tif (grade >= 80) {\n\t\t\t\t\tresult.add(\"A\");\n\t\t\t\t} else if (grade >= 65 && grade < 80) {\n\t\t\t\t\tresult.add(\"B\");\n\t\t\t\t} else if (grade >= 50 && grade < 65) {\n\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t} else if (grade >= 30 && grade < 50) {\n\t\t\t\t\tif( r >= 50 ) {\n\t\t\t\t\t\tresult.add(\"C\");\n\t\t\t\t\t}else {\n\t\t\t\t\t\tresult.add(\"D\");\n\t\t\t\t\t}\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < result.size(); i++) {\n\t\t\tSystem.out.println(result.get(i));\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); List<String> result = new ArrayList<>(); while (true) { int m = stdin.nextInt(); int f = stdin.nextInt(); int r = stdin.nextInt(); if (m == -1 && f == -1 && r == -1) { break; } int grade = m+f; if ( grade < 30 || m == -1 || f == -1 ) { result.add("F"); } else { if (grade >= 80) { result.add("A"); } else if (grade >= 65 && grade < 80) { result.add("B"); } else if (grade >= 50 && grade < 65) { result.add("C"); } else if (grade >= 30 && grade < 50) { if( r >= 50 ) { result.add("C"); }else { result.add("D"); } } } } for (int i = 0; i < result.size(); i++) { System.out.println(result.get(i)); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 8, 4, 18, 13, 20, 20, 41, 13, 20, 4, 13, 13, 13, 4, 18, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 11, 1, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 185, 11 ], [ 185, 12 ], [ 12, 13 ], [ 12, 14 ], [ 185, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 185, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 28, 32 ], [ 28, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 25, 37 ], [ 37, 38 ], [ 37, 39 ], [ 37, 40 ], [ 25, 41 ], [ 41, 42 ], [ 42, 43 ], [ 185, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 46, 51 ], [ 51, 52 ], [ 46, 53 ], [ 53, 54 ], [ 53, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 56, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 56, 72 ], [ 72, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 74, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 72, 87 ], [ 56, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 88, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 88, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 106, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 120, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 134, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 134, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 155, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 148, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 44, 180 ], [ 180, 181 ], [ 44, 182 ], [ 182, 183 ], [ 0, 184 ], [ 184, 185 ], [ 184, 186 ] ]
[ "import java.io.ByteArrayInputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\npublic class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int m,f,r;\n \n for (;;) {\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}\n", "import java.io.ByteArrayInputStream;", "ByteArrayInputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int m,f,r;\n \n for (;;) {\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}", "Main", "String INPUT = \"\";", "INPUT", "\"\"", "public static void main(String[] args) throws Exception {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }", "run", "{\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }", "Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));", "sc", "INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()))", "INPUT.isEmpty()", "INPUT.isEmpty", "INPUT", "new Scanner(System.in)", "new Scanner(new ByteArrayInputStream(INPUT.getBytes()))", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "solve(sc, out)", "solve", "sc", "out", "out.flush()", "out.flush", "out", "void solve(Scanner sc, PrintWriter out) {\n int m,f,r;\n \n for (;;) {\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }", "solve", "{\n int m,f,r;\n \n for (;;) {\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }", "int m", "m", "f", "f", "r;", "r", "for (;;) {\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", ";", "{\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "if (m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "m+f >= 80", "m+f", "m", "f", "80", "{\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "{\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "if (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "m+f >= 65", "m+f", "m", "f", "65", "{\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "{\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "m+f >= 50", "m+f", "m", "f", "50", "{\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "if (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}", "m+f >= 30", "m+f", "m", "f", "30", "{\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}", "if (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "Scanner sc", "sc", "PrintWriter out", "out", "public class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int m,f,r;\n \n for (;;) {\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}", "public class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int m,f,r;\n \n for (;;) {\n \tm = sc.nextInt();\n \tf = sc.nextInt();\n \tr = sc.nextInt();\n \tif (m == -1 && f == -1 && r == -1) break;\n \t\n \tif (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else {\n \t\tif (m+f >= 80) {\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t} else {\n \t\t\tif (m+f >= 65) {\n\t\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t\t} else {\n \t\t\t\tif (m+f >= 50) {\n\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t} else {\n \t\t\t\t\tif (m+f >= 30) {\n \t\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}", "Main" ]
import java.io.ByteArrayInputStream; import java.io.PrintWriter; import java.util.Scanner; public class Main { String INPUT = ""; public static void main(String[] args) throws Exception { new Main().run(); } void run() { Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes())); PrintWriter out = new PrintWriter(System.out); solve(sc, out); out.flush(); } void solve(Scanner sc, PrintWriter out) { int m,f,r; for (;;) { m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); if (m == -1 && f == -1 && r == -1) break; if (m == -1 || f == -1) { System.out.println("F"); } else { if (m+f >= 80) { System.out.println("A"); } else { if (m+f >= 65) { System.out.println("B"); } else { if (m+f >= 50) { System.out.println("C"); } else { if (m+f >= 30) { if (r >= 50) { System.out.println("C"); } else { System.out.println("D"); } } else { System.out.println("F"); } } } } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 4, 18, 13, 17, 17, 30, 4, 18, 4, 18, 13, 17, 17, 30, 4, 18, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 33, 48 ], [ 48, 49 ], [ 17, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 50, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 61, 67 ], [ 50, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 75, 81 ], [ 68, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 89, 95 ], [ 82, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 103, 109 ], [ 96, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 122, 128 ], [ 117, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 130, 136 ], [ 110, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 138, 144 ], [ 8, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 6, 151 ], [ 151, 152 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while(true) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n if (m == -1 && f == -1 && r == -1) {\n break;\n }\n if (m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n } else if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while(true) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n if (m == -1 && f == -1 && r == -1) {\n break;\n }\n if (m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n } else if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while(true) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n if (m == -1 && f == -1 && r == -1) {\n break;\n }\n if (m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n } else if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n while(true) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n if (m == -1 && f == -1 && r == -1) {\n break;\n }\n if (m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n } else if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }\n }\n System.out.print(sb);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "while(true) {\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n if (m == -1 && f == -1 && r == -1) {\n break;\n }\n if (m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n } else if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }\n }", "true", "{\n int m = scan.nextInt();\n int f = scan.nextInt();\n int r = scan.nextInt();\n if (m == -1 && f == -1 && r == -1) {\n break;\n }\n if (m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n } else if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }\n }", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int f = scan.nextInt();", "f", "scan.nextInt()", "scan.nextInt", "scan", "int r = scan.nextInt();", "r", "scan.nextInt()", "scan.nextInt", "scan", "if (m == -1 && f == -1 && r == -1) {\n break;\n }", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n break;\n }", "break;", "if (m == -1 || f == -1) {\n sb.append(\"F\").append(\"\\n\");\n } else if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n sb.append(\"F\").append(\"\\n\");\n }", "sb.append(\"F\").append(\"\\n\")", "sb.append(\"F\").append", "sb.append(\"F\")", "sb.append", "sb", "\"F\"", "\"\\n\"", "if(m + f >= 80) {\n sb.append(\"A\").append(\"\\n\");\n } else if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }", "m + f >= 80", "m + f", "m", "f", "80", "{\n sb.append(\"A\").append(\"\\n\");\n }", "sb.append(\"A\").append(\"\\n\")", "sb.append(\"A\").append", "sb.append(\"A\")", "sb.append", "sb", "\"A\"", "\"\\n\"", "if (m + f >= 65) {\n sb.append(\"B\").append(\"\\n\");\n } else if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }", "m + f >= 65", "m + f", "m", "f", "65", "{\n sb.append(\"B\").append(\"\\n\");\n }", "sb.append(\"B\").append(\"\\n\")", "sb.append(\"B\").append", "sb.append(\"B\")", "sb.append", "sb", "\"B\"", "\"\\n\"", "if (m + f >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }", "m + f >= 50", "m + f", "m", "f", "50", "{\n sb.append(\"C\").append(\"\\n\");\n }", "sb.append(\"C\").append(\"\\n\")", "sb.append(\"C\").append", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "\"\\n\"", "if (m + f >= 30) {\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n } else {\n sb.append(\"F\").append(\"\\n\");\n }", "m + f >= 30", "m + f", "m", "f", "30", "{\n if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }\n }", "if (r >= 50) {\n sb.append(\"C\").append(\"\\n\");\n } else {\n sb.append(\"D\").append(\"\\n\");\n }", "r >= 50", "r", "50", "{\n sb.append(\"C\").append(\"\\n\");\n }", "sb.append(\"C\").append(\"\\n\")", "sb.append(\"C\").append", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "\"\\n\"", "{\n sb.append(\"D\").append(\"\\n\");\n }", "sb.append(\"D\").append(\"\\n\")", "sb.append(\"D\").append", "sb.append(\"D\")", "sb.append", "sb", "\"D\"", "\"\\n\"", "{\n sb.append(\"F\").append(\"\\n\");\n }", "sb.append(\"F\").append(\"\\n\")", "sb.append(\"F\").append", "sb.append(\"F\")", "sb.append", "sb", "\"F\"", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); StringBuilder sb = new StringBuilder(); while(true) { int m = scan.nextInt(); int f = scan.nextInt(); int r = scan.nextInt(); if (m == -1 && f == -1 && r == -1) { break; } if (m == -1 || f == -1) { sb.append("F").append("\n"); } else if(m + f >= 80) { sb.append("A").append("\n"); } else if (m + f >= 65) { sb.append("B").append("\n"); } else if (m + f >= 50) { sb.append("C").append("\n"); } else if (m + f >= 30) { if (r >= 50) { sb.append("C").append("\n"); } else { sb.append("D").append("\n"); } } else { sb.append("F").append("\n"); } } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 11, 1, 0, 13, 17, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 40, 17, 30, 40, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 3, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 0, 13, 40, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 13, 14, 2, 2, 2, 13, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 40, 13, 14, 2, 13, 40, 17, 30, 40, 13, 3, 14, 2, 13, 17, 30, 0, 13, 17, 4, 18, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 241, 5 ], [ 241, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 31, 32 ], [ 25, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 59, 68 ], [ 68, 69 ], [ 69, 70 ], [ 53, 71 ], [ 71, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 73, 80 ], [ 80, 81 ], [ 80, 82 ], [ 71, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 71, 88 ], [ 88, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 94, 96 ], [ 90, 97 ], [ 97, 98 ], [ 97, 99 ], [ 88, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 88, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 105, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 53, 118 ], [ 118, 119 ], [ 118, 120 ], [ 53, 121 ], [ 121, 122 ], [ 123, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 123, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 121, 135 ], [ 135, 136 ], [ 136, 137 ], [ 34, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 138, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 34, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 34, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 8, 159 ], [ 159, 160 ], [ 160, 161 ], [ 8, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 162, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 176, 181 ], [ 175, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 175, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 191, 194 ], [ 190, 195 ], [ 189, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 197, 202 ], [ 189, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 205, 208 ], [ 204, 209 ], [ 203, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 211, 216 ], [ 203, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 219, 222 ], [ 218, 223 ], [ 217, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 217, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 6, 238 ], [ 238, 239 ], [ 0, 240 ], [ 240, 241 ], [ 240, 242 ] ]
[ "import java.util.*;\n\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> rc = new ArrayList<Integer>();\n\t\tint r,c,i,d,ck;\n\t\t\n\t\tfor(c=0;;c++){\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}\n\t\tsc.close();\n\t\tfor(i=0;i<=c;i++){\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> rc = new ArrayList<Integer>();\n\t\tint r,c,i,d,ck;\n\t\t\n\t\tfor(c=0;;c++){\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}\n\t\tsc.close();\n\t\tfor(i=0;i<=c;i++){\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> rc = new ArrayList<Integer>();\n\t\tint r,c,i,d,ck;\n\t\t\n\t\tfor(c=0;;c++){\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}\n\t\tsc.close();\n\t\tfor(i=0;i<=c;i++){\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> rc = new ArrayList<Integer>();\n\t\tint r,c,i,d,ck;\n\t\t\n\t\tfor(c=0;;c++){\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}\n\t\tsc.close();\n\t\tfor(i=0;i<=c;i++){\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "ArrayList<Integer> rc = new ArrayList<Integer>();", "rc", "new ArrayList<Integer>()", "int r", "r", "c", "c", "i", "i", "d", "d", "ck;", "ck", "for(c=0;;c++){\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}", "c=0;", "c=0", "c", "0", "c++", "c++", "c", "{\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}", "{\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}", "r=0", "r", "0", "ck=0", "ck", "0", "for(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}", "i=0;", "i=0", "i", "0", "i<3", "i", "3", "i++", "i++", "i", "{\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}", "d = sc.nextInt()", "d", "sc.nextInt()", "sc.nextInt", "sc", "if(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}", "i<2&&d == -1", "i<2", "i", "2", "d == -1", "d", "-1", "1", "{\n\t\t\t\t\tck++;\n\t\t\t\t}", "ck++", "ck", "if(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}", "i == 2 && r<50 && d >49", "i == 2 && r<50 && d >49", "i == 2", "i", "2", "r<50", "r", "50", "d >49", "d", "49", "{\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}", "r = 50", "r", "50", "break;", "if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}", "i == 2 && r<50 && d < 50", "i == 2 && r<50 && d < 50", "i == 2", "i", "2", "r<50", "r", "50", "d < 50", "d", "50", "{\n\t\t\t\t\td = -1;\n\t\t\t\t}", "d = -1", "d", "-1", "1", "if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}", "i == 2 && r>50", "i == 2", "i", "2", "r>50", "r", "50", "{\n\t\t\t\t\td = -1;\n\t\t\t\t}", "d = -1", "d", "-1", "1", "r += d", "r", "d", "if(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}", "i == 2 && d == -1 && r != -3", "i == 2 && d == -1 && r != -3", "i == 2", "i", "2", "d == -1", "d", "-1", "1", "r != -3", "r", "-3", "3", "{\n\t\t\t\t\tr++;\n\t\t\t\t}", "r++", "r", "if(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}", "r == -3", "r", "-3", "3", "{\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}", "c--", "c", "break;", "if(ck>0){\n\t\t\t\tr=0;\n\t\t\t}", "ck>0", "ck", "0", "{\n\t\t\t\tr=0;\n\t\t\t}", "r=0", "r", "0", "rc.add(r)", "rc.add", "rc", "r", "sc.close()", "sc.close", "sc", "for(i=0;i<=c;i++){\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<=c", "i", "c", "i++", "i++", "i", "{\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "{\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "if(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "rc.get(i)>79", "rc.get(i)", "rc.get", "rc", "i", "79", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "rc.get(i)>64", "rc.get(i)", "rc.get", "rc", "i", "64", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "rc.get(i)>49", "rc.get(i)", "rc.get", "rc", "i", "49", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "rc.get(i)>29", "rc.get(i)", "rc.get", "rc", "i", "29", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> rc = new ArrayList<Integer>();\n\t\tint r,c,i,d,ck;\n\t\t\n\t\tfor(c=0;;c++){\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}\n\t\tsc.close();\n\t\tfor(i=0;i<=c;i++){\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> rc = new ArrayList<Integer>();\n\t\tint r,c,i,d,ck;\n\t\t\n\t\tfor(c=0;;c++){\n\t\t\tr=0;\n\t\t\tck=0;\n\t\t\tfor(i=0;i<3;i++){\n\t\t\t\td = sc.nextInt();\n\t\t\t\tif(i<2&&d == -1){\n\t\t\t\t\tck++;\n\t\t\t\t}\n\t\t\t\tif(i == 2 && r<50 && d >49){\n\t\t\t\t\tr = 50;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r<50 && d < 50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\telse if(i == 2 && r>50){\n\t\t\t\t\td = -1;\n\t\t\t\t}\n\t\t\t\tr += d;\n\t\t\t\tif(i == 2 && d == -1 && r != -3){\n\t\t\t\t\tr++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif(r == -3){\n\t\t\t\tc--;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(ck>0){\n\t\t\t\tr=0;\n\t\t\t}\n\t\t\trc.add(r);\n\t\t}\n\t\tsc.close();\n\t\tfor(i=0;i<=c;i++){\n\t\t\tif(rc.get(i)>79){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>64){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>49){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\telse if(rc.get(i)>29){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); ArrayList<Integer> rc = new ArrayList<Integer>(); int r,c,i,d,ck; for(c=0;;c++){ r=0; ck=0; for(i=0;i<3;i++){ d = sc.nextInt(); if(i<2&&d == -1){ ck++; } if(i == 2 && r<50 && d >49){ r = 50; break; } else if(i == 2 && r<50 && d < 50){ d = -1; } else if(i == 2 && r>50){ d = -1; } r += d; if(i == 2 && d == -1 && r != -3){ r++; } } if(r == -3){ c--; break; } if(ck>0){ r=0; } rc.add(r); } sc.close(); for(i=0;i<=c;i++){ if(rc.get(i)>79){ System.out.println("A"); } else if(rc.get(i)>64){ System.out.println("B"); } else if(rc.get(i)>49){ System.out.println("C"); } else if(rc.get(i)>29){ System.out.println("D"); } else{ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 9, 41, 13, 2, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 151, 5 ], [ 151, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 56, 63 ], [ 14, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 14, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 79, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 93, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 116, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 107, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 151, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 142, 148 ], [ 148, 149 ], [ 0, 150 ], [ 150, 151 ], [ 150, 152 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\twhile(true){\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\n\t\tnew Main().run();\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\twhile(true){\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\n\t\tnew Main().run();\n\t\t\n\t}\n}", "Main", "void run(){\n\t\tScanner s = new Scanner(System.in);\n\t\twhile(true){\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}\n\t}", "run", "{\n\t\tScanner s = new Scanner(System.in);\n\t\twhile(true){\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "while(true){\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}", "true", "{\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}", "int f = s.nextInt();", "f", "s.nextInt()", "s.nextInt", "s", "int m = s.nextInt();", "m", "s.nextInt()", "s.nextInt", "s", "int r = s.nextInt();", "r", "s.nextInt()", "s.nextInt", "s", "if(m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "continue;", "int sum = m + f;", "sum", "m + f", "m", "f", "if(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");", "sum >= 80", "sum", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");", "sum >= 65 && sum < 80", "sum >= 65", "sum", "65", "sum < 80", "sum", "80", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");", "sum >= 50 && sum < 65", "sum >= 50", "sum", "50", "sum < 65", "sum", "65", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");", "sum >= 30 && sum < 50", "sum >= 30", "sum", "30", "sum < 50", "sum", "50", "{\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}", "if(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");", "r >= 50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if(sum < 30) System.out.println(\"F\");", "sum < 30", "sum", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "public static void main(String[] args) {\n\t\n\t\tnew Main().run();\n\t\t\n\t}", "main", "{\n\t\n\t\tnew Main().run();\n\t\t\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\twhile(true){\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\n\t\tnew Main().run();\n\t\t\n\t}\n}", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\twhile(true){\n\t\tint f = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint r = s.nextInt();\n\t\tif(m == -1 && f == -1 && r == -1) break;\n\t\tif(m == -1 || f == -1){\n\t\t\tSystem.out.println(\"F\");\n\t\t\tcontinue;\n\t\t}\n\t\tint sum = m + f; \n\t\tif(sum >= 80) System.out.println(\"A\");\n\t\telse if(sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if(sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if(sum >= 30 && sum < 50) {\n\t\t\tif(r >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t\t}\n\t\telse if(sum < 30) System.out.println(\"F\");\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\n\t\tnew Main().run();\n\t\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { void run(){ Scanner s = new Scanner(System.in); while(true){ int f = s.nextInt(); int m = s.nextInt(); int r = s.nextInt(); if(m == -1 && f == -1 && r == -1) break; if(m == -1 || f == -1){ System.out.println("F"); continue; } int sum = m + f; if(sum >= 80) System.out.println("A"); else if(sum >= 65 && sum < 80) System.out.println("B"); else if(sum >= 50 && sum < 65) System.out.println("C"); else if(sum >= 30 && sum < 50) { if(r >= 50) System.out.println("C"); else System.out.println("D"); } else if(sum < 30) System.out.println("F"); } } public static void main(String[] args) { new Main().run(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 11, 1, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 14, 2, 2, 2, 18, 13, 17, 40, 17, 2, 18, 13, 17, 40, 17, 2, 18, 13, 17, 40, 17, 30, 3, 14, 2, 2, 18, 13, 17, 40, 17, 2, 18, 13, 17, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 18, 13, 17, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 2, 18, 13, 17, 18, 13, 17, 2, 2, 18, 13, 17, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 17, 2, 18, 13, 17, 18, 13, 17, 2, 2, 18, 13, 17, 18, 13, 17, 17, 2, 2, 2, 17, 2, 18, 13, 17, 18, 13, 17, 2, 2, 18, 13, 17, 18, 13, 17, 17, 2, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 17, 2, 18, 13, 17, 18, 13, 17, 2, 2, 18, 13, 17, 18, 13, 17, 17, 2, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 240, 8 ], [ 240, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 19 ], [ 19, 20 ], [ 19, 21 ], [ 22, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 22, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 31, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 22, 56 ], [ 56, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 58, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 58, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 56, 77 ], [ 77, 78 ], [ 56, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 80, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 79, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 79, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 100, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 100, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 125, 127 ], [ 118, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 117, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 117, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 153, 154 ], [ 153, 155 ], [ 146, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 161, 163 ], [ 156, 164 ], [ 145, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 173, 175 ], [ 166, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 177, 181 ], [ 181, 182 ], [ 181, 183 ], [ 176, 184 ], [ 165, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 144, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 144, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 206, 207 ], [ 206, 208 ], [ 199, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 210, 214 ], [ 214, 215 ], [ 214, 216 ], [ 209, 217 ], [ 198, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 197, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 224, 229 ], [ 197, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 231, 236 ], [ 9, 237 ], [ 237, 238 ], [ 0, 239 ], [ 239, 240 ], [ 239, 241 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\t\n\t\tint[] points = new int[3];\n\t\t\n\t\tfor(;;)\n\t\t{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\t\n\t\tint[] points = new int[3];\n\t\t\n\t\tfor(;;)\n\t\t{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\t\n\t\tint[] points = new int[3];\n\t\t\n\t\tfor(;;)\n\t\t{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\t\n\t\tint[] points = new int[3];\n\t\t\n\t\tfor(;;)\n\t\t{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "BufferedReader input = new BufferedReader (new InputStreamReader (System.in));", "input", "new BufferedReader (new InputStreamReader (System.in))", "int[] points = new int[3];", "points", "new int[3]", "3", "for(;;)\n\t\t{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", ";", "{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "String[] pointsStr = input.readLine().split(\" \");", "pointsStr", "input.readLine().split(\" \")", "input.readLine().split", "input.readLine()", "input.readLine", "input", "\" \"", "for(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}", "int insert = 0;", "int insert = 0;", "insert", "0", "insert <points.length", "insert", "points.length", "points", "points.length", "insert++", "insert++", "insert", "{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}", "{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}", "points[insert] = Integer.parseInt(pointsStr[insert])", "points[insert]", "points", "insert", "Integer.parseInt(pointsStr[insert])", "Integer.parseInt", "Integer", "pointsStr[insert]", "pointsStr", "insert", "if((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "(points[0] == -1)&&(points[1] == -1)&&(points[2] == -1)", "(points[0] == -1)&&(points[1] == -1)&&(points[2] == -1)", "(points[0] == -1)", "points[0]", "points", "0", "-1", "1", "(points[1] == -1)", "points[1]", "points", "1", "-1", "1", "(points[2] == -1)", "points[2]", "points", "2", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "(points[0] == -1)||(points[1] == -1)", "(points[0] == -1)", "points[0]", "points", "0", "-1", "1", "(points[1] == -1)", "points[1]", "points", "1", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "points[0] + points[1] >= 80", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "(65 <= points[0] + points[1])&&(points[0] + points[1] <80)", "(65 <= points[0] + points[1])", "65", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "(points[0] + points[1] <80)", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "80", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50)))", "(50 <= points[0] + points[1])&&(points[0] + points[1] <65)", "(50 <= points[0] + points[1])", "50", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "(points[0] + points[1] <65)", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "65", "((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))", "(30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50)", "(30 <= points[0] + points[1])", "30", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "(points[0] + points[1] <50)", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "50", "(points[2] >=50)", "points[2]", "points", "2", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50)", "((30 <= points[0] + points[1])&&(points[0] + points[1] <50))", "(30 <= points[0] + points[1])", "30", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "(points[0] + points[1] <50)", "points[0] + points[1]", "points[0]", "points", "0", "points[1]", "points", "1", "50", "(points[2] <50)", "points[2]", "points", "2", "50", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\t\n\t\tint[] points = new int[3];\n\t\t\n\t\tfor(;;)\n\t\t{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\tBufferedReader input = new BufferedReader (new InputStreamReader (System.in));\n\t\t\n\t\tint[] points = new int[3];\n\t\t\n\t\tfor(;;)\n\t\t{\n\t\t\tString[] pointsStr = input.readLine().split(\" \");\n\t\t\t\n\t\t\tfor(int insert = 0; insert <points.length; insert++)\n\t\t\t{\n\t\t\t\tpoints[insert] = Integer.parseInt(pointsStr[insert]);\n\t\t\t}\n\t\t\t\n\t\t\tif((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1))\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\telse if((points[0] == -1)||(points[1] == -1))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(points[0] + points[1] >= 80)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}\n\t\t\t\n\t\t\telse if((65 <= points[0] + points[1])&&(points[0] + points[1] <80))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50))))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}\n\t\t\t\n\t\t\telse if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50))\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}\n\t\t\t\n\t\t\telse\n\t\t\t{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main (String[] args) throws java.lang.Exception { BufferedReader input = new BufferedReader (new InputStreamReader (System.in)); int[] points = new int[3]; for(;;) { String[] pointsStr = input.readLine().split(" "); for(int insert = 0; insert <points.length; insert++) { points[insert] = Integer.parseInt(pointsStr[insert]); } if((points[0] == -1)&&(points[1] == -1)&&(points[2] == -1)) { break; } else if((points[0] == -1)||(points[1] == -1)) { System.out.println("F"); } else if(points[0] + points[1] >= 80) { System.out.println("A"); } else if((65 <= points[0] + points[1])&&(points[0] + points[1] <80)) { System.out.println("B"); } else if(((50 <= points[0] + points[1])&&(points[0] + points[1] <65)||((30 <= points[0] + points[1])&&(points[0] + points[1] <50)&&(points[2] >=50)))) { System.out.println("C"); } else if(((30 <= points[0] + points[1])&&(points[0] + points[1] <50))&&(points[2] <50)) { System.out.println("D"); } else { System.out.println("F"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 13, 17, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 7, 12 ], [ 12, 13 ], [ 12, 14 ], [ 7, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 20, 45 ], [ 45, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 45, 60 ], [ 20, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 61, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 85, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 95, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 95, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 105, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 17, 127 ], [ 127, 128 ], [ 128, 129 ], [ 15, 130 ], [ 130, 131 ] ]
[ "import java.io.PrintWriter;\nimport java.util.Scanner;\n\nclass Main{\n private static final Scanner sc = new Scanner(System.in);\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args){\n while(true){\n final int m = Integer.parseInt(sc.next());\n final int f = Integer.parseInt(sc.next());\n final int r = Integer.parseInt(sc.next());\n if(m==-1&&f==-1&&r==-1) break;\n if(m==-1||f==-1) out.println('F');\n else if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');\n }\n out.flush();\n }\n}", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n private static final Scanner sc = new Scanner(System.in);\n private static final PrintWriter out = new PrintWriter(System.out);\n public static void main(String[] Args){\n while(true){\n final int m = Integer.parseInt(sc.next());\n final int f = Integer.parseInt(sc.next());\n final int r = Integer.parseInt(sc.next());\n if(m==-1&&f==-1&&r==-1) break;\n if(m==-1||f==-1) out.println('F');\n else if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');\n }\n out.flush();\n }\n}", "Main", "private static final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "private static final PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "public static void main(String[] Args){\n while(true){\n final int m = Integer.parseInt(sc.next());\n final int f = Integer.parseInt(sc.next());\n final int r = Integer.parseInt(sc.next());\n if(m==-1&&f==-1&&r==-1) break;\n if(m==-1||f==-1) out.println('F');\n else if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');\n }\n out.flush();\n }", "main", "{\n while(true){\n final int m = Integer.parseInt(sc.next());\n final int f = Integer.parseInt(sc.next());\n final int r = Integer.parseInt(sc.next());\n if(m==-1&&f==-1&&r==-1) break;\n if(m==-1||f==-1) out.println('F');\n else if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');\n }\n out.flush();\n }", "while(true){\n final int m = Integer.parseInt(sc.next());\n final int f = Integer.parseInt(sc.next());\n final int r = Integer.parseInt(sc.next());\n if(m==-1&&f==-1&&r==-1) break;\n if(m==-1||f==-1) out.println('F');\n else if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');\n }", "true", "{\n final int m = Integer.parseInt(sc.next());\n final int f = Integer.parseInt(sc.next());\n final int r = Integer.parseInt(sc.next());\n if(m==-1&&f==-1&&r==-1) break;\n if(m==-1||f==-1) out.println('F');\n else if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');\n }", "final int m = Integer.parseInt(sc.next());", "m", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "final int f = Integer.parseInt(sc.next());", "f", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "final int r = Integer.parseInt(sc.next());", "r", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "if(m==-1&&f==-1&&r==-1) break;", "m==-1&&f==-1&&r==-1", "m==-1&&f==-1&&r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "break;", "if(m==-1||f==-1) out.println('F');\n else if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "out.println('F')", "out.println", "out", "'F'", "if(m+f>=80) out.println('A');\n else if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');", "m+f>=80", "m+f", "m", "f", "80", "out.println('A')", "out.println", "out", "'A'", "if(m+f>=65) out.println('B');\n else if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');", "m+f>=65", "m+f", "m", "f", "65", "out.println('B')", "out.println", "out", "'B'", "if(m+f>=50) out.println('C');\n else if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');", "m+f>=50", "m+f", "m", "f", "50", "out.println('C')", "out.println", "out", "'C'", "if(m+f<30) out.println('F');\n else if(r>=50) out.println('C');\n else out.println('D');", "m+f<30", "m+f", "m", "f", "30", "out.println('F')", "out.println", "out", "'F'", "if(r>=50) out.println('C');\n else out.println('D');", "r>=50", "r", "50", "out.println('C')", "out.println", "out", "'C'", "out.println('D')", "out.println", "out", "'D'", "out.flush()", "out.flush", "out", "String[] Args", "Args" ]
import java.io.PrintWriter; import java.util.Scanner; class Main{ private static final Scanner sc = new Scanner(System.in); private static final PrintWriter out = new PrintWriter(System.out); public static void main(String[] Args){ while(true){ final int m = Integer.parseInt(sc.next()); final int f = Integer.parseInt(sc.next()); final int r = Integer.parseInt(sc.next()); if(m==-1&&f==-1&&r==-1) break; if(m==-1||f==-1) out.println('F'); else if(m+f>=80) out.println('A'); else if(m+f>=65) out.println('B'); else if(m+f>=50) out.println('C'); else if(m+f<30) out.println('F'); else if(r>=50) out.println('C'); else out.println('D'); } out.flush(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 132, 5 ], [ 132, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 30, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 46, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 62, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 74, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 86, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 104, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 98, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 8, 126 ], [ 126, 127 ], [ 127, 128 ], [ 6, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true){//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}", "true", "{//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}", "int tyuukan = scan.nextInt();", "tyuukan", "scan.nextInt()", "scan.nextInt", "scan", "int kimatu = scan.nextInt();", "kimatu", "scan.nextInt()", "scan.nextInt", "scan", "int tuishi = scan.nextInt();", "tuishi", "scan.nextInt()", "scan.nextInt", "scan", "if(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");", "tyuukan == -1 && kimatu == -1 && tuishi == -1", "tyuukan == -1 && kimatu == -1 && tuishi == -1", "tyuukan == -1", "tyuukan", "-1", "1", "kimatu == -1", "kimatu", "-1", "1", "tuishi == -1", "tuishi", "-1", "1", "break;", "if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");", "tyuukan == -1 || kimatu == -1", "tyuukan == -1", "tyuukan", "-1", "1", "kimatu == -1", "kimatu", "-1", "1", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");", "tyuukan + kimatu >= 80", "tyuukan + kimatu", "tyuukan", "kimatu", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");", "tyuukan + kimatu >= 65", "tyuukan + kimatu", "tyuukan", "kimatu", "65", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");", "tyuukan + kimatu >= 50", "tyuukan + kimatu", "tyuukan", "kimatu", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");", "tyuukan + kimatu >= 30", "tyuukan + kimatu", "tyuukan", "kimatu", "30", "if(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");", "tuishi >= 50", "tuishi", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true){//?????????????????????????????§??\\?????????????????°???????????????\n\t\t\tint tyuukan = scan.nextInt();//???????????????????????°\n\t\t\tint kimatu = scan.nextInt();//???????????????????????°\n\t\t\tint tuishi = scan.nextInt();//???????¨?????????°\n\n\t\t\tif(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\\????????¨???-1??????????????????\n\t\t\t\tbreak;\n\t\t\telse if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F???\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\telse if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\\????????´???????????????A???\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\telse if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B???\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\telse if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C???\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\telse if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D???\n\t\t\t\tif(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\\????????´???????????????C???\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\telse//????????¨?????????????¨???????30??????????????´???????????????D???\n\t\t\t\tSystem.out.println(\"F\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); while(true){//?????????????????????????????§??\?????????????????°??????????????? int tyuukan = scan.nextInt();//???????????????????????° int kimatu = scan.nextInt();//???????????????????????° int tuishi = scan.nextInt();//???????¨?????????° if(tyuukan == -1 && kimatu == -1 && tuishi == -1)//??\????????¨???-1?????????????????? break; else if(tyuukan == -1 || kimatu == -1)//??????????????????????????????????¬????????????´???????????????F??? System.out.println("F"); else if(tyuukan + kimatu >= 80)//????????¨?????????????¨???????80?????\????????´???????????????A??? System.out.println("A"); else if(tyuukan + kimatu >= 65)//????????¨?????????????¨???????65~79????????´???????????????B??? System.out.println("B"); else if(tyuukan + kimatu >= 50)//????????¨?????????????¨???????50~64????????´???????????????C??? System.out.println("C"); else if(tyuukan + kimatu >= 30)//????????¨?????????????¨???????30~49????????´???????????????D??? if(tuishi >= 50)//?????????D??????????????????????????????????????????????????°???50?????\????????´???????????????C??? System.out.println("C"); else System.out.println("D"); else//????????¨?????????????¨???????30??????????????´???????????????D??? System.out.println("F"); } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 2, 13, 13, 14, 2, 2, 13, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 142, 5 ], [ 142, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 44, 51 ], [ 14, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 52, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 80, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 95, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 110, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 121, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 6, 139 ], [ 139, 140 ], [ 0, 141 ], [ 141, 142 ], [ 141, 143 ] ]
[ "import java.util.*;\npublic class Main {\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nwhile(true){\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}\n}\n}", "import java.util.*;", "util.*", "java", "public class Main {\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nwhile(true){\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}\n}\n}", "Main", "public static void main(String[] args){\nScanner sc = new Scanner(System.in);\nwhile(true){\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}\n}", "main", "{\nScanner sc = new Scanner(System.in);\nwhile(true){\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}\n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}", "true", "{\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}", "int m=Integer.parseInt(sc.next());", "m", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int f=Integer.parseInt(sc.next());", "f", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int r=Integer.parseInt(sc.next());", "r", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int score=m+f;", "score", "m+f", "m", "f", "if(score+r==-3)break;", "score+r==-3", "score+r", "score", "r", "-3", "3", "break;", "if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}", "score>=80", "score", "80", "{System.out.println(\"A\");}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}", "score>=65&&score<80", "score>=65", "score", "65", "score<80", "score", "80", "{System.out.println(\"B\");}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}", "score>=50&&score<65", "score>=50", "score", "50", "score<65", "score", "65", "{System.out.println(\"C\");}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}", "score<30", "score", "30", "{System.out.println(\"F\");}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}", "r>=50", "r", "50", "{System.out.println(\"C\");}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{System.out.println(\"D\");}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "String[] args", "args", "public class Main {\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nwhile(true){\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}\n}\n}", "public class Main {\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nwhile(true){\nint m=Integer.parseInt(sc.next());\nint f=Integer.parseInt(sc.next());\nint r=Integer.parseInt(sc.next());\nint score=m+f;\nif(score+r==-3)break;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(score>=80){System.out.println(\"A\");}else if(score>=65&&score<80){System.out.println(\"B\");}\n else if(score>=50&&score<65){System.out.println(\"C\");}else if(score<30){System.out.println(\"F\");}\n else if(r>=50){System.out.println(\"C\");}else{System.out.println(\"D\");}\n}\n}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); while(true){ int m=Integer.parseInt(sc.next()); int f=Integer.parseInt(sc.next()); int r=Integer.parseInt(sc.next()); int score=m+f; if(score+r==-3)break; if(m==-1||f==-1){ System.out.println("F"); }else if(score>=80){System.out.println("A");}else if(score>=65&&score<80){System.out.println("B");} else if(score>=50&&score<65){System.out.println("C");}else if(score<30){System.out.println("F");} else if(r>=50){System.out.println("C");}else{System.out.println("D");} } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 17, 11, 1, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 194, 11 ], [ 194, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 15, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 22, 29 ], [ 29, 30 ], [ 29, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 32, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 32, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 32, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 32, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 32, 73 ], [ 73, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 75, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 73, 88 ], [ 88, 89 ], [ 73, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 90, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 90, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 107, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 118, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 138, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 133, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 153, 154 ], [ 153, 155 ], [ 148, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 157, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 169, 174 ], [ 148, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 32, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 12, 191 ], [ 191, 192 ], [ 0, 193 ], [ 193, 194 ], [ 193, 195 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String str = \"\";", "str", "\"\"", "for (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", ";", "{\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "{\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "String input = reader.readLine();", "input", "reader.readLine()", "reader.readLine", "reader", "String[] array = input.split(\" \");", "array", "input.split(\" \")", "input.split", "input", "\" \"", "int m = Integer.parseInt(array[0]);", "m", "Integer.parseInt(array[0])", "Integer.parseInt", "Integer", "array[0]", "array", "0", "int f = Integer.parseInt(array[1]);", "f", "Integer.parseInt(array[1])", "Integer.parseInt", "Integer", "array[1]", "array", "1", "int r = Integer.parseInt(array[2]);", "r", "Integer.parseInt(array[2])", "Integer.parseInt", "Integer", "array[2]", "array", "2", "int sum = m + f;", "sum", "m + f", "m", "f", "if (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "System.out.print(\"F\")", "System.out.print", "System.out", "System", "System.out", "\"F\"", "if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "sum >= 80", "sum", "80", "{\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t}", "System.out.print(\"A\")", "System.out.print", "System.out", "System", "System.out", "\"A\"", "if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "sum >= 65 && sum < 80", "sum >= 65", "sum", "65", "sum < 80", "sum", "80", "{\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t}", "System.out.print(\"B\")", "System.out.print", "System.out", "System", "System.out", "\"B\"", "if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "sum >= 50 && sum < 65", "sum >= 50", "sum", "50", "sum < 65", "sum", "65", "{\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t}", "System.out.print(\"C\")", "System.out.print", "System.out", "System", "System.out", "\"C\"", "if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "sum >= 30 && sum < 50", "sum >= 30", "sum", "30", "sum < 50", "sum", "50", "{\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}", "if (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t}", "System.out.print(\"C\")", "System.out.print", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}", "System.out.print(\"D\")", "System.out.print", "System.out", "System", "System.out", "\"D\"", "if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "sum < 30", "sum", "30", "{\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}", "System.out.print(\"F\")", "System.out.print", "System.out", "System", "System.out", "\"F\"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\tString str = \"\";\n\t\t\tfor (;;) {\n\t\t\t\tString input = reader.readLine();\n\t\t\t\tString[] array = input.split(\" \");\n\t\t\t\tint m = Integer.parseInt(array[0]);\n\t\t\t\tint f = Integer.parseInt(array[1]);\n\t\t\t\tint r = Integer.parseInt(array[2]);\n\t\t\t\tint sum = m + f;\n\t\t\t\n\t\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t} else if (sum >= 80 ) {\n\t\t\t\t\tSystem.out.print(\"A\");\n\t\t\t\t} else if (sum >= 65 && sum < 80) {\n\t\t\t\t\tSystem.out.print(\"B\");\n\t\t\t\t} else if (sum >= 50 && sum < 65) {\n\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t} else if (sum >= 30 && sum < 50) {\n\t\t\t\t\tif (r >= 50) {\n\t\t\t\t\t\tSystem.out.print(\"C\");\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.print(\"D\");\n\t\t\t\t\t}\n\t\t\t\t} else if (sum < 30) {\n\t\t\t\t\tSystem.out.print(\"F\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String str = ""; for (;;) { String input = reader.readLine(); String[] array = input.split(" "); int m = Integer.parseInt(array[0]); int f = Integer.parseInt(array[1]); int r = Integer.parseInt(array[2]); int sum = m + f; if (m == -1 && f == -1 && r == -1) { break; } else if (m == -1 || f == -1) { System.out.print("F"); } else if (sum >= 80 ) { System.out.print("A"); } else if (sum >= 65 && sum < 80) { System.out.print("B"); } else if (sum >= 50 && sum < 65) { System.out.print("C"); } else if (sum >= 30 && sum < 50) { if (r >= 50) { System.out.print("C"); } else { System.out.print("D"); } } else if (sum < 30) { System.out.print("F"); } System.out.println(); } } catch (IOException e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 0, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 171, 5 ], [ 171, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 22, 38 ], [ 38, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 38, 53 ], [ 22, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 22, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 59, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 85, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 99, 113 ], [ 113, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 119, 121 ], [ 115, 122 ], [ 122, 123 ], [ 122, 124 ], [ 113, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 113, 131 ], [ 131, 132 ], [ 133, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 137, 138 ], [ 137, 139 ], [ 133, 140 ], [ 140, 141 ], [ 140, 142 ], [ 131, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 131, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 149, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 8, 165 ], [ 165, 166 ], [ 166, 167 ], [ 6, 168 ], [ 168, 169 ], [ 0, 170 ], [ 170, 171 ], [ 170, 172 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,scoa;\n \n while(true){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,scoa;\n \n while(true){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,scoa;\n \n while(true){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int m,f,r,scoa;\n \n while(true){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int m", "m", "f", "f", "r", "r", "scoa;", "scoa", "while(true){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }", "true", "{\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m==-1&&f==-1&&r==-1)break;", "m==-1&&f==-1&&r==-1", "m==-1&&f==-1&&r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "break;", "scoa = m+f", "scoa", "m+f", "m", "f", "if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");", "scoa>=80", "scoa", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");", "scoa>=65&&scoa<80", "scoa>=65", "scoa", "65", "scoa<80", "scoa", "80", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");", "scoa>=50&&scoa<65", "scoa>=50", "scoa", "50", "scoa<65", "scoa", "65", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");", "scoa>=30&&scoa<50&&r>=50", "scoa>=30&&scoa<50&&r>=50", "scoa>=30", "scoa", "30", "scoa<50", "scoa", "50", "r>=50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");", "scoa>=30&&scoa<50&&r<50", "scoa>=30&&scoa<50&&r<50", "scoa>=30", "scoa", "30", "scoa<50", "scoa", "50", "r<50", "r", "50", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");", "scoa<=30", "scoa", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "System.out.println(\"E\")", "System.out.println", "System.out", "System", "System.out", "\"E\"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,scoa;\n \n while(true){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }\n sc.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,scoa;\n \n while(true){\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n if(m==-1&&f==-1&&r==-1)break;\n scoa = m+f;\n if(m==-1||f==-1)System.out.println(\"F\");\n else if (scoa>=80)System.out.println(\"A\");\n else if (scoa>=65&&scoa<80)System.out.println(\"B\");\n else if (scoa>=50&&scoa<65)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r>=50)System.out.println(\"C\");\n else if (scoa>=30&&scoa<50&&r<50)System.out.println(\"D\");\n else if (scoa<=30)System.out.println(\"F\");\n else System.out.println(\"E\");\n }\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int m,f,r,scoa; while(true){ m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); if(m==-1&&f==-1&&r==-1)break; scoa = m+f; if(m==-1||f==-1)System.out.println("F"); else if (scoa>=80)System.out.println("A"); else if (scoa>=65&&scoa<80)System.out.println("B"); else if (scoa>=50&&scoa<65)System.out.println("C"); else if (scoa>=30&&scoa<50&&r>=50)System.out.println("C"); else if (scoa>=30&&scoa<50&&r<50)System.out.println("D"); else if (scoa<=30)System.out.println("F"); else System.out.println("E"); } sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 28, 13, 13, 30, 30, 41, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 161, 11 ], [ 161, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 39, 54 ], [ 23, 55 ], [ 55, 56 ], [ 55, 57 ], [ 23, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 14, 62 ], [ 62, 63 ], [ 63, 64 ], [ 14, 65 ], [ 65, 66 ], [ 65, 67 ], [ 65, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 69, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 69, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 87, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 87, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 101, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 111, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 111, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 121, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 131, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 145, 147 ], [ 131, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 69, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 12, 158 ], [ 158, 159 ], [ 0, 160 ], [ 160, 161 ], [ 160, 162 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<int[]> mfrs = new ArrayList<>();\n\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}\n\t\tsc.close();\n\n\t\tfor (int[] mfr : mfrs) {\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<int[]> mfrs = new ArrayList<>();\n\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}\n\t\tsc.close();\n\n\t\tfor (int[] mfr : mfrs) {\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<int[]> mfrs = new ArrayList<>();\n\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}\n\t\tsc.close();\n\n\t\tfor (int[] mfr : mfrs) {\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<int[]> mfrs = new ArrayList<>();\n\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}\n\t\tsc.close();\n\n\t\tfor (int[] mfr : mfrs) {\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "List<int[]> mfrs = new ArrayList<>();", "mfrs", "new ArrayList<>()", "while(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}", "true", "{\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "int[] mfr = new int[] {m, f, r};", "mfr", "new int[] {m, f, r}", "mfrs.add(mfr)", "mfrs.add", "mfrs", "mfr", "sc.close()", "sc.close", "sc", "for (int[] mfr : mfrs) {\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}", "int[] mfr", "mfrs", "{\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}", "{\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}", "char result;", "result", "int m = mfr[0];", "m", "mfr[0]", "mfr", "0", "int f = mfr[1];", "f", "mfr[1]", "mfr", "1", "int r = mfr[2];", "r", "mfr[2]", "mfr", "2", "if (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tresult = 'F';\n\t\t\t}", "result = 'F'", "result", "'F'", "if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tresult = 'A';\n\t\t\t}", "result = 'A'", "result", "'A'", "if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\tresult = 'B';\n\t\t\t}", "result = 'B'", "result", "'B'", "if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}", "m + f >= 50", "m + f", "m", "f", "50", "{\n\t\t\t\tresult = 'C';\n\t\t\t}", "result = 'C'", "result", "'C'", "if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t}", "result = 'D'", "result", "'D'", "if(r >= 50) result = 'C';", "r >= 50", "r", "50", "result = 'C'", "result", "'C'", "{\n\t\t\t\tresult = 'F';\n\t\t\t}", "result = 'F'", "result", "'F'", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<int[]> mfrs = new ArrayList<>();\n\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}\n\t\tsc.close();\n\n\t\tfor (int[] mfr : mfrs) {\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<int[]> mfrs = new ArrayList<>();\n\n\t\twhile(true) {\n\t\t\tint m = sc.nextInt();\n\t\t\tint f = sc.nextInt();\n\t\t\tint r = sc.nextInt();\n\n\t\t\tif(m == -1 && f == -1 && r == -1) break;\n\n\t\t\tint[] mfr = new int[] {m, f, r};\n\t\t\tmfrs.add(mfr);\n\t\t}\n\t\tsc.close();\n\n\t\tfor (int[] mfr : mfrs) {\n\t\t\tchar result;\n\n\t\t\tint m = mfr[0];\n\t\t\tint f = mfr[1];\n\t\t\tint r = mfr[2];\n\n\t\t\tif (m == -1 || f == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tresult = 'A';\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tresult = 'B';\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tresult = 'C';\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tresult = 'D';\n\t\t\t\tif(r >= 50) result = 'C';\n\t\t\t} else {\n\t\t\t\tresult = 'F';\n\t\t\t}\n\t\t\tSystem.out.println(result);\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); List<int[]> mfrs = new ArrayList<>(); while(true) { int m = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); if(m == -1 && f == -1 && r == -1) break; int[] mfr = new int[] {m, f, r}; mfrs.add(mfr); } sc.close(); for (int[] mfr : mfrs) { char result; int m = mfr[0]; int f = mfr[1]; int r = mfr[2]; if (m == -1 || f == -1) { result = 'F'; } else if (m + f >= 80) { result = 'A'; } else if (m + f >= 65) { result = 'B'; } else if (m + f >= 50) { result = 'C'; } else if (m + f >= 30) { result = 'D'; if(r >= 50) result = 'C'; } else { result = 'F'; } System.out.println(result); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 132, 5 ], [ 132, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 22, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 22, 43 ], [ 43, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 45, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 43, 58 ], [ 22, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 59, 69 ], [ 69, 70 ], [ 69, 71 ], [ 59, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 72, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 87, 89 ], [ 79, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 98, 100 ], [ 90, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 117, 119 ], [ 101, 120 ], [ 120, 121 ], [ 120, 122 ], [ 22, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 6, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String args[]){\n\tScanner in =new Scanner(System.in);\n\n\tint m,f,r;\n\tString grade; \n\twhile(true){\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}\n\n }\n}\n\t\n\t", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String args[]){\n\tScanner in =new Scanner(System.in);\n\n\tint m,f,r;\n\tString grade; \n\twhile(true){\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}\n\n }\n}", "Main", "public static void main(String args[]){\n\tScanner in =new Scanner(System.in);\n\n\tint m,f,r;\n\tString grade; \n\twhile(true){\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}\n\n }", "main", "{\n\tScanner in =new Scanner(System.in);\n\n\tint m,f,r;\n\tString grade; \n\twhile(true){\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}\n\n }", "Scanner in =new Scanner(System.in);", "in", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "String grade;", "grade", "while(true){\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}", "true", "{\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}", "m = in.nextInt()", "m", "in.nextInt()", "in.nextInt", "in", "f = in.nextInt()", "f", "in.nextInt()", "in.nextInt", "in", "r = in.nextInt()", "r", "in.nextInt()", "in.nextInt", "in", "int score = m+f;", "score", "m+f", "m", "f", "if(m == -1 && f == -1 && r == -1)break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "grade = \"F\"", "grade", "\"F\"", "if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";", "score >= 80", "score", "80", "grade = \"A\"", "grade", "\"A\"", "if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";", "score >= 65 && score<80", "score >= 65", "score", "65", "score<80", "score", "80", "grade = \"B\"", "grade", "\"B\"", "if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";", "score >= 50 && score<65", "score >= 50", "score", "50", "score<65", "score", "65", "grade = \"C\"", "grade", "\"C\"", "if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";", "score>=30 && score <50", "score>=30", "score", "30", "score <50", "score", "50", "{\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }", "grade = \"D\"", "grade", "\"D\"", "if(r>=50)grade =\"C\";", "r>=50", "r", "50", "grade =\"C\"", "grade", "\"C\"", "grade = \"F\"", "grade", "\"F\"", "System.out.println(grade)", "System.out.println", "System.out", "System", "System.out", "grade", "String args[]", "args", "public class Main{\n public static void main(String args[]){\n\tScanner in =new Scanner(System.in);\n\n\tint m,f,r;\n\tString grade; \n\twhile(true){\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}\n\n }\n}", "public class Main{\n public static void main(String args[]){\n\tScanner in =new Scanner(System.in);\n\n\tint m,f,r;\n\tString grade; \n\twhile(true){\n\t m = in.nextInt();\n\t f = in.nextInt();\n\t r = in.nextInt();\n\n\t int score = m+f;\n\t if(m == -1 && f == -1 && r == -1)break;\n\n\t if(m == -1 || f == -1)grade = \"F\";\n\t else if(score >= 80)grade = \"A\";\n\t else if(score >= 65 && score<80)grade = \"B\";\n\t else if(score >= 50 && score<65)grade = \"C\";\n\t else if(score>=30 && score <50){\n\t\tgrade = \"D\";\n\t\tif(r>=50)grade =\"C\";\n\t }else grade = \"F\";\n\t System.out.println(grade);\n\t}\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner in =new Scanner(System.in); int m,f,r; String grade; while(true){ m = in.nextInt(); f = in.nextInt(); r = in.nextInt(); int score = m+f; if(m == -1 && f == -1 && r == -1)break; if(m == -1 || f == -1)grade = "F"; else if(score >= 80)grade = "A"; else if(score >= 65 && score<80)grade = "B"; else if(score >= 50 && score<65)grade = "C"; else if(score>=30 && score <50){ grade = "D"; if(r>=50)grade ="C"; }else grade = "F"; System.out.println(grade); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 17, 13, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 17, 13, 2, 13, 17, 2, 2, 13, 40, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 161, 5 ], [ 161, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 36, 51 ], [ 20, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 20, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 57, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 74, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 85, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 109, 111 ], [ 100, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 100, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 119, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 140, 142 ], [ 135, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 134, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 6, 158 ], [ 158, 159 ], [ 0, 160 ], [ 160, 161 ], [ 160, 162 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n int m,f,r;\n while(true){\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n int m,f,r;\n while(true){\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }\n }\n}", "Main", "public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n int m,f,r;\n while(true){\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n int m,f,r;\n while(true){\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "while(true){\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }", "true", "{\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }", "m=sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f=sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r=sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m==-1&&f==-1&&r==-1) break;", "m==-1&&f==-1&&r==-1", "m==-1&&f==-1&&r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "break;", "int s=m+f;", "s", "m+f", "m", "f", "if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }", "s>=80", "s", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }", "65<=s&&s<80", "65<=s", "65", "s", "s<80", "s", "80", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }", "(50<=s&&s<65)||r>=50", "(50<=s&&s<65)", "50<=s", "50", "s", "s<65", "s", "65", "r>=50", "r", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }", "30<=s&&s<50", "30<=s", "30", "s", "s<50", "s", "50", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }", "(0<s&&s<30)||(r>=-1&&r<50)", "(0<s&&s<30)", "0<s", "0", "s", "s<30", "s", "30", "(r>=-1&&r<50)", "r>=-1", "r", "-1", "1", "r<50", "r", "50", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String args[]", "args", "public class Main{\n public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n int m,f,r;\n while(true){\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }\n }\n}", "public class Main{\n public static void main(String args[]){\n Scanner sc=new Scanner(System.in);\n int m,f,r;\n while(true){\n m=sc.nextInt();\n f=sc.nextInt();\n r=sc.nextInt();\n if(m==-1&&f==-1&&r==-1) break;\n int s=m+f;\n if(m==-1||f==-1){\n System.out.println(\"F\");\n }else if(s>=80){\n System.out.println(\"A\");\n }else if(65<=s&&s<80){\n System.out.println(\"B\");\n }else if((50<=s&&s<65)||r>=50){\n System.out.println(\"C\");\n }else if(30<=s&&s<50){\n System.out.println(\"D\");\n }else if((0<s&&s<30)||(r>=-1&&r<50)){\n System.out.println(\"F\");\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int m,f,r; while(true){ m=sc.nextInt(); f=sc.nextInt(); r=sc.nextInt(); if(m==-1&&f==-1&&r==-1) break; int s=m+f; if(m==-1||f==-1){ System.out.println("F"); }else if(s>=80){ System.out.println("A"); }else if(65<=s&&s<80){ System.out.println("B"); }else if((50<=s&&s<65)||r>=50){ System.out.println("C"); }else if(30<=s&&s<50){ System.out.println("D"); }else if((0<s&&s<30)||(r>=-1&&r<50)){ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 13, 13, 2, 13, 13, 29, 4, 18, 18, 13, 13, 17, 9, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 22, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 38, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 49, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 48, 64 ], [ 22, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 65, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 77, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 89, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 108, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 101, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 6, 130 ], [ 130, 131 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int m,f,r;\n while (sc.hasNext()) {\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n \n if(m==-1||f==-1) {\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }\n \n if(m+f>=80)\n System.out.println(\"A\");\n else if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int m,f,r;\n while (sc.hasNext()) {\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n \n if(m==-1||f==-1) {\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }\n \n if(m+f>=80)\n System.out.println(\"A\");\n else if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");\n }\n }\n}", "Main", "public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int m,f,r;\n while (sc.hasNext()) {\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n \n if(m==-1||f==-1) {\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }\n \n if(m+f>=80)\n System.out.println(\"A\");\n else if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");\n }\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n int m,f,r;\n while (sc.hasNext()) {\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n \n if(m==-1||f==-1) {\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }\n \n if(m+f>=80)\n System.out.println(\"A\");\n else if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "while (sc.hasNext()) {\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n \n if(m==-1||f==-1) {\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }\n \n if(m+f>=80)\n System.out.println(\"A\");\n else if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");\n }", "sc.hasNext()", "sc.hasNext", "sc", "{\n m = sc.nextInt();\n f = sc.nextInt();\n r = sc.nextInt();\n \n if(m==-1||f==-1) {\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }\n \n if(m+f>=80)\n System.out.println(\"A\");\n else if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");\n }", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "f = sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r = sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "if(m==-1||f==-1) {\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }", "m==-1||f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");\n continue;\n }", "if(m==f&&f==r)\n return;\n else\n System.out.println(\"F\");", "m==f&&f==r", "m==f", "m", "f", "f==r", "f", "r", "return;", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "continue;", "if(m+f>=80)\n System.out.println(\"A\");\n else if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");", "m+f>=80", "m+f", "m", "f", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(m+f>=65)\n System.out.println(\"B\");\n else if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");", "m+f>=65", "m+f", "m", "f", "65", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(m+f>=50)\n System.out.println(\"C\");\n else if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");", "m+f>=50", "m+f", "m", "f", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(m+f>=30) {\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }else\n System.out.println(\"F\");", "m+f>=30", "m+f", "m", "f", "30", "{\n if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");\n }", "if(r>=50)\n System.out.println(\"C\");\n else\n System.out.println(\"D\");", "r>=50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int m,f,r; while (sc.hasNext()) { m = sc.nextInt(); f = sc.nextInt(); r = sc.nextInt(); if(m==-1||f==-1) { if(m==f&&f==r) return; else System.out.println("F"); continue; } if(m+f>=80) System.out.println("A"); else if(m+f>=65) System.out.println("B"); else if(m+f>=50) System.out.println("C"); else if(m+f>=30) { if(r>=50) System.out.println("C"); else System.out.println("D"); }else System.out.println("F"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 42, 2, 2, 2, 0, 13, 4, 18, 13, 40, 17, 2, 0, 13, 4, 18, 13, 40, 17, 2, 0, 13, 4, 18, 13, 40, 17, 30, 0, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 136, 5 ], [ 136, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 22, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 22, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 37, 38 ], [ 22, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 20, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 53, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 70, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 81, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 92, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 108, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 103, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 6, 133 ], [ 133, 134 ], [ 0, 135 ], [ 135, 136 ], [ 135, 137 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,sum;\n while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n }\n}\n", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,sum;\n while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,sum;\n while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int m,f,r,sum;\n while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int m", "m", "f", "f", "r", "r", "sum;", "sum", "while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }", "(m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1", "(m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1", "(m = sc.nextInt()) != -1", "(m = sc.nextInt())", "m", "sc.nextInt()", "sc.nextInt", "sc", "-1", "1", "(f = sc.nextInt()) != -1", "(f = sc.nextInt())", "f", "sc.nextInt()", "sc.nextInt", "sc", "-1", "1", "(r = sc.nextInt()) != -1", "(r = sc.nextInt())", "r", "sc.nextInt()", "sc.nextInt", "sc", "-1", "1", "{\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }", "sum = m + f", "sum", "m + f", "m", "f", "if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "sum >= 80", "sum", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "sum >= 65", "sum", "65", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "sum >= 50", "sum", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }", "sum >= 30", "sum", "30", "{\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }", "if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }", "r >= 50", "r", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,sum;\n while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int m,f,r,sum;\n while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){\n sum = m + f;\n if(m == -1 || f == -1){\n System.out.println(\"F\");\n }else if(sum >= 80){\n System.out.println(\"A\");\n }else if(sum >= 65){\n System.out.println(\"B\");\n }else if(sum >= 50){\n System.out.println(\"C\");\n }else if(sum >= 30){\n if(r >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }else{\n System.out.println(\"F\");\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int m,f,r,sum; while ((m = sc.nextInt()) != -1 | (f = sc.nextInt()) != -1 | (r = sc.nextInt()) != -1){ sum = m + f; if(m == -1 || f == -1){ System.out.println("F"); }else if(sum >= 80){ System.out.println("A"); }else if(sum >= 65){ System.out.println("B"); }else if(sum >= 50){ System.out.println("C"); }else if(sum >= 30){ if(r >= 50){ System.out.println("C"); }else{ System.out.println("D"); } }else{ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 42, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 162, 5 ], [ 162, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 33, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 65, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 76, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 87, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 103, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 98, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 49, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 48, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 48, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 48, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 162, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 150, 159 ], [ 159, 160 ], [ 0, 161 ], [ 161, 162 ], [ 161, 163 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tvoid grading(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint m,f,r;\n\t\tm = s.nextInt();\n\t\tf = s.nextInt();\n\t\tr = s.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.grading();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid grading(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint m,f,r;\n\t\tm = s.nextInt();\n\t\tf = s.nextInt();\n\t\tr = s.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.grading();\n\t}\n}", "Main", "void grading(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint m,f,r;\n\t\tm = s.nextInt();\n\t\tf = s.nextInt();\n\t\tr = s.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}\n\t}", "grading", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint m,f,r;\n\t\tm = s.nextInt();\n\t\tf = s.nextInt();\n\t\tr = s.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int m", "m", "f", "f", "r;", "r", "m = s.nextInt()", "m", "s.nextInt()", "s.nextInt", "s", "f = s.nextInt()", "f", "s.nextInt()", "s.nextInt", "s", "r = s.nextInt()", "r", "s.nextInt()", "s.nextInt", "s", "while(m != -1 || f != -1 || r != -1){\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}", "m != -1 || f != -1 || r != -1", "m != -1 || f != -1 || r != -1", "m != -1", "m", "-1", "1", "f != -1", "f", "-1", "1", "r != -1", "r", "-1", "1", "{\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}", "if(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m != -1 && f != -1", "m != -1", "m", "-1", "1", "f != -1", "f", "-1", "1", "{\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "int tmp = m + f;", "tmp", "m + f", "m", "f", "if(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "tmp >= 80", "tmp", "80", "{\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "tmp >= 65", "tmp", "65", "{\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "tmp >= 50", "tmp", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "tmp >= 30", "tmp", "30", "{\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}", "if(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "m = s.nextInt()", "m", "s.nextInt()", "s.nextInt", "s", "f = s.nextInt()", "f", "s.nextInt()", "s.nextInt", "s", "r = s.nextInt()", "r", "s.nextInt()", "s.nextInt", "s", "public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.grading();\n\t}", "main", "{\n\t\tMain m = new Main();\n\t\tm.grading();\n\t}", "Main m = new Main();", "m", "new Main()", "m.grading()", "m.grading", "m", "String args[]", "args", "public class Main {\n\tvoid grading(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint m,f,r;\n\t\tm = s.nextInt();\n\t\tf = s.nextInt();\n\t\tr = s.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.grading();\n\t}\n}", "public class Main {\n\tvoid grading(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint m,f,r;\n\t\tm = s.nextInt();\n\t\tf = s.nextInt();\n\t\tr = s.nextInt();\n\t\twhile(m != -1 || f != -1 || r != -1){\n\t\t\tif(m != -1 && f != -1){\n\t\t\t\tint tmp = m + f;\n\t\t\t\tif(tmp >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}else if(tmp >= 65){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}else if(tmp >= 50){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}else if(tmp >= 30){\n\t\t\t\t\tif(r >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tm = s.nextInt();\n\t\t\tf = s.nextInt();\n\t\t\tr = s.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.grading();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { void grading(){ Scanner s = new Scanner(System.in); int m,f,r; m = s.nextInt(); f = s.nextInt(); r = s.nextInt(); while(m != -1 || f != -1 || r != -1){ if(m != -1 && f != -1){ int tmp = m + f; if(tmp >= 80){ System.out.println("A"); }else if(tmp >= 65){ System.out.println("B"); }else if(tmp >= 50){ System.out.println("C"); }else if(tmp >= 30){ if(r >= 50){ System.out.println("C"); }else{ System.out.println("D"); } }else{ System.out.println("F"); } }else{ System.out.println("F"); } m = s.nextInt(); f = s.nextInt(); r = s.nextInt(); } } public static void main(String args[]){ Main m = new Main(); m.grading(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 224, 17 ], [ 224, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 30, 32 ], [ 20, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 38, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 35, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 35, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 35, 68 ], [ 68, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 70, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 68, 83 ], [ 83, 84 ], [ 35, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 35, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 35, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 20, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 20, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 114, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 114, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 114, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 133, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 133, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 150, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 150, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 163, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 177, 181 ], [ 176, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 176, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 189, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 196, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 189, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 215, 220 ], [ 18, 221 ], [ 221, 222 ], [ 0, 223 ], [ 223, 224 ], [ 223, 225 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> midTermExam = new ArrayList<Integer>();\n\t\tList<Integer> finalTermExam = new ArrayList<Integer>();\n\t\tList<Integer> reTest = new ArrayList<Integer>();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}\n\n\t\tint listSize = midTermExam.size();\n\t\tfor (int i = 0; i < listSize; i++) {\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> midTermExam = new ArrayList<Integer>();\n\t\tList<Integer> finalTermExam = new ArrayList<Integer>();\n\t\tList<Integer> reTest = new ArrayList<Integer>();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}\n\n\t\tint listSize = midTermExam.size();\n\t\tfor (int i = 0; i < listSize; i++) {\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tList<Integer> midTermExam = new ArrayList<Integer>();\n\t\tList<Integer> finalTermExam = new ArrayList<Integer>();\n\t\tList<Integer> reTest = new ArrayList<Integer>();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}\n\n\t\tint listSize = midTermExam.size();\n\t\tfor (int i = 0; i < listSize; i++) {\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tList<Integer> midTermExam = new ArrayList<Integer>();\n\t\tList<Integer> finalTermExam = new ArrayList<Integer>();\n\t\tList<Integer> reTest = new ArrayList<Integer>();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}\n\n\t\tint listSize = midTermExam.size();\n\t\tfor (int i = 0; i < listSize; i++) {\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "List<Integer> midTermExam = new ArrayList<Integer>();", "midTermExam", "new ArrayList<Integer>()", "List<Integer> finalTermExam = new ArrayList<Integer>();", "finalTermExam", "new ArrayList<Integer>()", "List<Integer> reTest = new ArrayList<Integer>();", "reTest", "new ArrayList<Integer>()", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while (true) {\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}", "true", "{\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}", "String[] examInfo = br.readLine().split(\" \");", "examInfo", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int midScore = Integer.parseInt(examInfo[0]);", "midScore", "Integer.parseInt(examInfo[0])", "Integer.parseInt", "Integer", "examInfo[0]", "examInfo", "0", "int finalScore = Integer.parseInt(examInfo[1]);", "finalScore", "Integer.parseInt(examInfo[1])", "Integer.parseInt", "Integer", "examInfo[1]", "examInfo", "1", "int reScore = Integer.parseInt(examInfo[2]);", "reScore", "Integer.parseInt(examInfo[2])", "Integer.parseInt", "Integer", "examInfo[2]", "examInfo", "2", "if (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}", "midScore == -1 && finalScore == -1 && reScore == -1", "midScore == -1 && finalScore == -1 && reScore == -1", "midScore == -1", "midScore", "-1", "1", "finalScore == -1", "finalScore", "-1", "1", "reScore == -1", "reScore", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "midTermExam.add(midScore)", "midTermExam.add", "midTermExam", "midScore", "finalTermExam.add(finalScore)", "finalTermExam.add", "finalTermExam", "finalScore", "reTest.add(reScore)", "reTest.add", "reTest", "reScore", "int listSize = midTermExam.size();", "listSize", "midTermExam.size()", "midTermExam.size", "midTermExam", "for (int i = 0; i < listSize; i++) {\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < listSize", "i", "listSize", "i++", "i++", "i", "{\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "{\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "int midScore = midTermExam.get(i);", "midScore", "midTermExam.get(i)", "midTermExam.get", "midTermExam", "i", "int finalScore = finalTermExam.get(i);", "finalScore", "finalTermExam.get(i)", "finalTermExam.get", "finalTermExam", "i", "int reScore = reTest.get(i);", "reScore", "reTest.get(i)", "reTest.get", "reTest", "i", "if (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "midScore == -1 || finalScore == -1", "midScore == -1", "midScore", "-1", "1", "finalScore == -1", "finalScore", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "(midScore + finalScore) >= 80", "(midScore + finalScore)", "midScore", "finalScore", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "(midScore + finalScore) >= 65", "(midScore + finalScore)", "midScore", "finalScore", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "(midScore + finalScore) >= 50", "(midScore + finalScore)", "midScore", "finalScore", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "(midScore + finalScore) >= 30", "(midScore + finalScore)", "midScore", "finalScore", "30", "{\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}", "if (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "reScore >= 50", "reScore", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> midTermExam = new ArrayList<Integer>();\n\t\tList<Integer> finalTermExam = new ArrayList<Integer>();\n\t\tList<Integer> reTest = new ArrayList<Integer>();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}\n\n\t\tint listSize = midTermExam.size();\n\t\tfor (int i = 0; i < listSize; i++) {\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tList<Integer> midTermExam = new ArrayList<Integer>();\n\t\tList<Integer> finalTermExam = new ArrayList<Integer>();\n\t\tList<Integer> reTest = new ArrayList<Integer>();\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n \t\t\tString[] examInfo = br.readLine().split(\" \");\n \t\t\tint midScore = Integer.parseInt(examInfo[0]);\n \t\t\tint finalScore = Integer.parseInt(examInfo[1]);\n \t\t\tint reScore = Integer.parseInt(examInfo[2]);\n\n\t\t\tif (midScore == -1 && finalScore == -1 && reScore == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmidTermExam.add(midScore);\n\t\t\tfinalTermExam.add(finalScore);\n\t\t\treTest.add(reScore);\n \t\t}\n\n\t\tint listSize = midTermExam.size();\n\t\tfor (int i = 0; i < listSize; i++) {\n\t\t\tint midScore = midTermExam.get(i);\n\t\t\tint finalScore = finalTermExam.get(i);\n\t\t\tint reScore = reTest.get(i);\n\n\t\t\tif (midScore == -1 || finalScore == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if ((midScore + finalScore) >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if ((midScore + finalScore) >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if ((midScore + finalScore) >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if ((midScore + finalScore) >= 30) {\n\t\t\t\tif (reScore >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) throws IOException { List<Integer> midTermExam = new ArrayList<Integer>(); List<Integer> finalTermExam = new ArrayList<Integer>(); List<Integer> reTest = new ArrayList<Integer>(); BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while (true) { String[] examInfo = br.readLine().split(" "); int midScore = Integer.parseInt(examInfo[0]); int finalScore = Integer.parseInt(examInfo[1]); int reScore = Integer.parseInt(examInfo[2]); if (midScore == -1 && finalScore == -1 && reScore == -1) { break; } midTermExam.add(midScore); finalTermExam.add(finalScore); reTest.add(reScore); } int listSize = midTermExam.size(); for (int i = 0; i < listSize; i++) { int midScore = midTermExam.get(i); int finalScore = finalTermExam.get(i); int reScore = reTest.get(i); if (midScore == -1 || finalScore == -1) { System.out.println("F"); } else if ((midScore + finalScore) >= 80) { System.out.println("A"); } else if ((midScore + finalScore) >= 65) { System.out.println("B"); } else if ((midScore + finalScore) >= 50) { System.out.println("C"); } else if ((midScore + finalScore) >= 30) { if (reScore >= 50) { System.out.println("C"); } else { System.out.println("D"); } } else { System.out.println("F"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 42, 17, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 13, 13, 13, 13, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 12, 13, 30, 29, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 8, 2, 13, 17, 17, 17, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 17, 29, 17, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 160, 8 ], [ 160, 9 ], [ 9, 10 ], [ 9, 11 ], [ 160, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 12, 18 ], [ 18, 19 ], [ 160, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 27, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 27, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 27, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 27, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 27, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 64, 68 ], [ 63, 69 ], [ 27, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 75, 78 ], [ 75, 79 ], [ 160, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 85, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 80, 98 ], [ 98, 99 ], [ 80, 100 ], [ 100, 101 ], [ 80, 102 ], [ 102, 103 ], [ 160, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 106, 112 ], [ 112, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 114, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 114, 123 ], [ 123, 124 ], [ 123, 125 ], [ 112, 126 ], [ 126, 127 ], [ 106, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 133, 138 ], [ 106, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 106, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 106, 151 ], [ 151, 152 ], [ 104, 153 ], [ 153, 154 ], [ 104, 155 ], [ 155, 156 ], [ 104, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "import java.util.Scanner;\nimport java.util.function.Function;\n\npublic class Main {\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n Scanner sc = new Scanner(System.in);\n\n void solve() {\n String str;\n while (true) {\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }\n }\n\n boolean isFin(int m, int f, int r) {\n return m == -1 && f == -1 && r == -1;\n }\n\n String judge(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1 || sum < 30) return \"F\";\n if (sum < 50) return r >= 50 ? \"C\" : \"D\";\n if (sum < 65) return \"C\";\n if (sum < 80) return \"B\";\n return \"A\";\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.function.Function;", "Function", "java.util.function", "public class Main {\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n Scanner sc = new Scanner(System.in);\n\n void solve() {\n String str;\n while (true) {\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }\n }\n\n boolean isFin(int m, int f, int r) {\n return m == -1 && f == -1 && r == -1;\n }\n\n String judge(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1 || sum < 30) return \"F\";\n if (sum < 50) return r >= 50 ? \"C\" : \"D\";\n if (sum < 65) return \"C\";\n if (sum < 80) return \"B\";\n return \"A\";\n }\n}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n new Main().solve();\n }", "main", "{\n new Main().solve();\n }", "new Main().solve()", "new Main().solve", "new Main()", "String[] args", "args", "void solve() {\n String str;\n while (true) {\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }\n }", "solve", "{\n String str;\n while (true) {\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }\n }", "String str;", "str", "while (true) {\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }", "true", "{\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }", "str = sc.nextLine()", "str", "sc.nextLine()", "sc.nextLine", "sc", "String[] sp = str.split(\" \");", "sp", "str.split(\" \")", "str.split", "str", "\" \"", "int m = Integer.parseInt(sp[0]);", "m", "Integer.parseInt(sp[0])", "Integer.parseInt", "Integer", "sp[0]", "sp", "0", "int f = Integer.parseInt(sp[1]);", "f", "Integer.parseInt(sp[1])", "Integer.parseInt", "Integer", "sp[1]", "sp", "1", "int r = Integer.parseInt(sp[2]);", "r", "Integer.parseInt(sp[2])", "Integer.parseInt", "Integer", "sp[2]", "sp", "2", "if(isFin(m,f,r))break;", "isFin(m,f,r)", "isFin", "m", "f", "r", "break;", "System.out.println(judge(m, f, r))", "System.out.println", "System.out", "System", "System.out", "judge(m, f, r)", "judge", "m", "f", "r", "boolean isFin(int m, int f, int r) {\n return m == -1 && f == -1 && r == -1;\n }", "isFin", "{\n return m == -1 && f == -1 && r == -1;\n }", "return m == -1 && f == -1 && r == -1;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "int m", "m", "int f", "f", "int r", "r", "String judge(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1 || sum < 30) return \"F\";\n if (sum < 50) return r >= 50 ? \"C\" : \"D\";\n if (sum < 65) return \"C\";\n if (sum < 80) return \"B\";\n return \"A\";\n }", "judge", "{\n int sum = m + f;\n if (m == -1 || f == -1 || sum < 30) return \"F\";\n if (sum < 50) return r >= 50 ? \"C\" : \"D\";\n if (sum < 65) return \"C\";\n if (sum < 80) return \"B\";\n return \"A\";\n }", "int sum = m + f;", "sum", "m + f", "m", "f", "if (m == -1 || f == -1 || sum < 30) return \"F\";", "m == -1 || f == -1 || sum < 30", "m == -1 || f == -1 || sum < 30", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "sum < 30", "sum", "30", "return \"F\";", "\"F\"", "if (sum < 50) return r >= 50 ? \"C\" : \"D\";", "sum < 50", "sum", "50", "return r >= 50 ? \"C\" : \"D\";", "r >= 50 ? \"C\" : \"D\"", "r >= 50", "r", "50", "\"C\"", "\"D\"", "if (sum < 65) return \"C\";", "sum < 65", "sum", "65", "return \"C\";", "\"C\"", "if (sum < 80) return \"B\";", "sum < 80", "sum", "80", "return \"B\";", "\"B\"", "return \"A\";", "\"A\"", "int m", "m", "int f", "f", "int r", "r", "public class Main {\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n Scanner sc = new Scanner(System.in);\n\n void solve() {\n String str;\n while (true) {\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }\n }\n\n boolean isFin(int m, int f, int r) {\n return m == -1 && f == -1 && r == -1;\n }\n\n String judge(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1 || sum < 30) return \"F\";\n if (sum < 50) return r >= 50 ? \"C\" : \"D\";\n if (sum < 65) return \"C\";\n if (sum < 80) return \"B\";\n return \"A\";\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n Scanner sc = new Scanner(System.in);\n\n void solve() {\n String str;\n while (true) {\n str = sc.nextLine();\n String[] sp = str.split(\" \");\n int m = Integer.parseInt(sp[0]);\n int f = Integer.parseInt(sp[1]);\n int r = Integer.parseInt(sp[2]);\n if(isFin(m,f,r))break;\n System.out.println(judge(m, f, r));\n }\n }\n\n boolean isFin(int m, int f, int r) {\n return m == -1 && f == -1 && r == -1;\n }\n\n String judge(int m, int f, int r) {\n int sum = m + f;\n if (m == -1 || f == -1 || sum < 30) return \"F\";\n if (sum < 50) return r >= 50 ? \"C\" : \"D\";\n if (sum < 65) return \"C\";\n if (sum < 80) return \"B\";\n return \"A\";\n }\n}", "Main" ]
import java.util.Scanner; import java.util.function.Function; public class Main { public static void main(String[] args) { new Main().solve(); } Scanner sc = new Scanner(System.in); void solve() { String str; while (true) { str = sc.nextLine(); String[] sp = str.split(" "); int m = Integer.parseInt(sp[0]); int f = Integer.parseInt(sp[1]); int r = Integer.parseInt(sp[2]); if(isFin(m,f,r))break; System.out.println(judge(m, f, r)); } } boolean isFin(int m, int f, int r) { return m == -1 && f == -1 && r == -1; } String judge(int m, int f, int r) { int sum = m + f; if (m == -1 || f == -1 || sum < 30) return "F"; if (sum < 50) return r >= 50 ? "C" : "D"; if (sum < 65) return "C"; if (sum < 80) return "B"; return "A"; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 155, 8 ], [ 155, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 17, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 17, 50 ], [ 50, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 52, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 50, 65 ], [ 65, 66 ], [ 50, 67 ], [ 67, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 69, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 67, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 67, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 90, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 104, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 103, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 103, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 123, 135 ], [ 135, 136 ], [ 135, 137 ], [ 122, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 122, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 9, 152 ], [ 152, 153 ], [ 0, 154 ], [ 154, 155 ], [ 154, 156 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }", "true", "{\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }", "String[] ar = br.readLine().split(\" \");", "ar", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(ar[0]);", "x", "Integer.parseInt(ar[0])", "Integer.parseInt", "Integer", "ar[0]", "ar", "0", "int y = Integer.parseInt(ar[1]);", "y", "Integer.parseInt(ar[1])", "Integer.parseInt", "Integer", "ar[1]", "ar", "1", "int z = Integer.parseInt(ar[2]);", "z", "Integer.parseInt(ar[2])", "Integer.parseInt", "Integer", "ar[2]", "ar", "2", "if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }", "x == -1 && y == -1 && z == -1", "x == -1 && y == -1 && z == -1", "x == -1", "x", "-1", "1", "y == -1", "y", "-1", "1", "z == -1", "z", "-1", "1", "{\n break;\n }", "break;", "if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }", "x == -1 || y == -1 || x+y < 30", "x == -1 || y == -1 || x+y < 30", "x == -1", "x", "-1", "1", "y == -1", "y", "-1", "1", "x+y < 30", "x+y", "x", "y", "30", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }", "x+y >= 80", "x+y", "x", "y", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }", "x+y >= 65 && x+y < 80", "x+y >= 65", "x+y", "x", "y", "65", "x+y < 80", "x+y", "x", "y", "80", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }", "x+y >= 50 && x+y < 65 || z >= 50", "x+y >= 50 && x+y < 65", "x+y >= 50", "x+y", "x", "y", "50", "x+y < 65", "x+y", "x", "y", "65", "z >= 50", "z", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] ar = br.readLine().split(\" \");\n int x = Integer.parseInt(ar[0]);\n int y = Integer.parseInt(ar[1]);\n int z = Integer.parseInt(ar[2]);\n if(x == -1 && y == -1 && z == -1){\n break;\n }else if(x == -1 || y == -1 || x+y < 30){\n System.out.println(\"F\");\n }else if(x+y >= 80){\n System.out.println(\"A\");\n }else if(x+y >= 65 && x+y < 80){\n System.out.println(\"B\");\n }else if(x+y >= 50 && x+y < 65 || z >= 50){\n System.out.println(\"C\");\n }else{\n System.out.println(\"D\");\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String[] ar = br.readLine().split(" "); int x = Integer.parseInt(ar[0]); int y = Integer.parseInt(ar[1]); int z = Integer.parseInt(ar[2]); if(x == -1 && y == -1 && z == -1){ break; }else if(x == -1 || y == -1 || x+y < 30){ System.out.println("F"); }else if(x+y >= 80){ System.out.println("A"); }else if(x+y >= 65 && x+y < 80){ System.out.println("B"); }else if(x+y >= 50 && x+y < 65 || z >= 50){ System.out.println("C"); }else{ System.out.println("D"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 14, 2, 2, 2, 13, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 152, 5 ], [ 152, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 14, 52 ], [ 52, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 54, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 52, 67 ], [ 14, 68 ], [ 68, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 70, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 68, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 68, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 89, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 100, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 124, 126 ], [ 115, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 115, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 139, 141 ], [ 134, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 6, 149 ], [ 149, 150 ], [ 0, 151 ], [ 151, 152 ], [ 151, 153 ] ]
[ "import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }\n }\n}", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }\n }\n}", "Main", "public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }", "true", "{\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int m = Integer.parseInt(str[0]);", "m", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int f = Integer.parseInt(str[1]);", "f", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "int r = Integer.parseInt(str[2]);", "r", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "int sum = m+f;", "sum", "m+f", "m", "f", "if(m==-1 && f==-1 && r ==-1)break;", "m==-1 && f==-1 && r ==-1", "m==-1 && f==-1 && r ==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r ==-1", "r", "-1", "1", "break;", "if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }", "sum<30 || m==-1 || f==-1", "sum<30 || m==-1 || f==-1", "sum<30", "sum", "30", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n System.out.println(\"F\");\n }", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }", "sum>=80", "sum", "80", "{\n System.out.println(\"A\");\n }", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }", "sum>=65 && sum<80", "sum>=65", "sum", "65", "sum<80", "sum", "80", "{\n System.out.println(\"B\");\n }", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }", "sum>=50 && sum<65 || r>=50", "sum>=50 && sum<65", "sum>=50", "sum", "50", "sum<65", "sum", "65", "r>=50", "r", "50", "{\n System.out.println(\"C\");\n }", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }", "sum>=30 && sum<50", "sum>=30", "sum", "30", "sum<50", "sum", "50", "{\n System.out.println(\"D\");\n }", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "String[]args", "args", "public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }\n }\n}", "public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n String[] str = br.readLine().split(\" \");\n int m = Integer.parseInt(str[0]);\n int f = Integer.parseInt(str[1]);\n int r = Integer.parseInt(str[2]);\n\n int sum = m+f;\n\n if(m==-1 && f==-1 && r ==-1)break;\n if(sum<30 || m==-1 || f==-1){\n System.out.println(\"F\");\n }else if(sum>=80){\n System.out.println(\"A\");\n }else if(sum>=65 && sum<80){\n System.out.println(\"B\");\n }else if(sum>=50 && sum<65 || r>=50){\n System.out.println(\"C\");\n }else if(sum>=30 && sum<50){\n System.out.println(\"D\");\n }\n }\n }\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[]args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String[] str = br.readLine().split(" "); int m = Integer.parseInt(str[0]); int f = Integer.parseInt(str[1]); int r = Integer.parseInt(str[2]); int sum = m+f; if(m==-1 && f==-1 && r ==-1)break; if(sum<30 || m==-1 || f==-1){ System.out.println("F"); }else if(sum>=80){ System.out.println("A"); }else if(sum>=65 && sum<80){ System.out.println("B"); }else if(sum>=50 && sum<65 || r>=50){ System.out.println("C"); }else if(sum>=30 && sum<50){ System.out.println("D"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 4, 18, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 252, 20 ], [ 252, 21 ], [ 21, 22 ], [ 252, 23 ], [ 23, 24 ], [ 252, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 40, 41 ], [ 41, 42 ], [ 25, 43 ], [ 43, 44 ], [ 252, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 52, 68 ], [ 68, 69 ], [ 68, 70 ], [ 52, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 52, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 76, 86 ], [ 86, 87 ], [ 87, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 89, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 87, 102 ], [ 102, 103 ], [ 76, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 112, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 52, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 252, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 148, 152 ], [ 152, 153 ], [ 148, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 154, 160 ], [ 160, 161 ], [ 148, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 165, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 164, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 183, 184 ], [ 148, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 189, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 188, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 187, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 202, 205 ], [ 205, 206 ], [ 206, 207 ], [ 148, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 211, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 210, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 148, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 231, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 230, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 245, 248 ], [ 248, 249 ], [ 249, 250 ], [ 0, 251 ], [ 251, 252 ], [ 251, 253 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "Main", "static InputReader in;", "in", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "main", "{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "in = new InputReader(System.in)", "in", "new InputReader(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "Solution solver = new Solution();", "solver", "new Solution()", "solver.solve()", "solver.solve", "solver", "out.close()", "out.close", "out", "String[] args", "args", "static class Solution {\n void solve() throws IOException {\n while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }\n \n// End solve()\n }\n// End Solution\n}", "Solution", "void solve() throws IOException {\n while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }\n \n// End solve()\n }", "solve", "{\n while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }\n \n// End solve()\n }", "while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }", "true", "{\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }", "int m = in.nextInt();", "m", "in.nextInt()", "in.nextInt", "in", "int f = in.nextInt();", "f", "in.nextInt()", "in.nextInt", "in", "int r = in.nextInt();", "r", "in.nextInt()", "in.nextInt", "in", "char grade = 'F';", "grade", "'F'", "int tmp = m + f;", "tmp", "m + f", "m", "f", "if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n }", "if (m == -1 && f == -1 && r == -1) {\n break;\n }", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n break;\n }", "break;", "if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n }", "tmp >= 80", "tmp", "80", "{\n grade = 'A';\n }", "grade = 'A'", "grade", "'A'", "if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n }", "tmp >= 65", "tmp", "65", "{\n grade = 'B';\n }", "grade = 'B'", "grade", "'B'", "if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n }", "tmp >= 50", "tmp", "50", "{\n grade = 'C';\n }", "grade = 'C'", "grade", "'C'", "if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n }", "tmp >= 30", "tmp", "30", "{\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n }", "grade = 'D'", "grade", "'D'", "if (r >= 50) {\n grade = 'C';\n }", "r >= 50", "r", "50", "{\n grade = 'C';\n }", "grade = 'C'", "grade", "'C'", "out.println(grade)", "out.println", "out", "grade", "static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream));\n }", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "nextInt", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "nextLong", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Long.parseLong(st.nextToken());", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "nextDouble", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Double.parseDouble(st.nextToken());", "Double.parseDouble(st.nextToken())", "Double.parseDouble", "Double", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int m = in.nextInt();\n int f = in.nextInt();\n int r = in.nextInt();\n char grade = 'F';\n int tmp = m + f;\n \n if (m == -1 || f == -1 ) {\n if (m == -1 && f == -1 && r == -1) {\n break;\n } \n } else if (tmp >= 80) {\n grade = 'A';\n } else if (tmp >= 65) {\n grade = 'B';\n } else if (tmp >= 50) {\n grade = 'C';\n } else if (tmp >= 30) {\n grade = 'D';\n \n if (r >= 50) {\n grade = 'C';\n } \n } \n \n \n \n out.println(grade);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static InputReader in; static PrintWriter out; static class Solution { void solve() throws IOException { while (true) { int m = in.nextInt(); int f = in.nextInt(); int r = in.nextInt(); char grade = 'F'; int tmp = m + f; if (m == -1 || f == -1 ) { if (m == -1 && f == -1 && r == -1) { break; } } else if (tmp >= 80) { grade = 'A'; } else if (tmp >= 65) { grade = 'B'; } else if (tmp >= 50) { grade = 'C'; } else if (tmp >= 30) { grade = 'D'; if (r >= 50) { grade = 'C'; } } out.println(grade); } // End solve() } // End Solution } public static void main(String[] args) throws IOException { in = new InputReader(System.in); out = new PrintWriter(System.out); Solution solver = new Solution(); solver.solve(); out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream)); } public int nextInt() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Integer.parseInt(st.nextToken()); } public long nextLong() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Long.parseLong(st.nextToken()); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } public double nextDouble() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Double.parseDouble(st.nextToken()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 42, 17, 30, 0, 13, 17, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 13, 13, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 0, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 162, 5 ], [ 162, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 35, 40 ], [ 29, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 29, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 29, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 29, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 29, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 29, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 116, 126 ], [ 126, 127 ], [ 126, 128 ], [ 29, 129 ], [ 129, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 131, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 131, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 129, 144 ], [ 29, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 29, 149 ], [ 149, 150 ], [ 150, 151 ], [ 149, 152 ], [ 8, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 6, 159 ], [ 159, 160 ], [ 0, 161 ], [ 161, 162 ], [ 161, 163 ] ]
[ "import java.io.*;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] strargs;\n\t\tString grade;\n\t\tint m, f, r, score;\n\n\t\tdo {\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t} while(true);\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] strargs;\n\t\tString grade;\n\t\tint m, f, r, score;\n\n\t\tdo {\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t} while(true);\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] strargs;\n\t\tString grade;\n\t\tint m, f, r, score;\n\n\t\tdo {\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t} while(true);\n\t\t\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] strargs;\n\t\tString grade;\n\t\tint m, f, r, score;\n\n\t\tdo {\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t} while(true);\n\t\t\n\t\tSystem.out.print(sb);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String[] strargs;", "strargs", "String grade;", "grade", "int m", "m", "f", "f", "r", "r", "score;", "score", "do {\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t} while(true);", "true", "{\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t}", "grade = null", "grade", "null", "strargs = br.readLine().split(\"\\\\s+\")", "strargs", "br.readLine().split(\"\\\\s+\")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\"\\\\s+\"", "m = Integer.parseInt(strargs[0])", "m", "Integer.parseInt(strargs[0])", "Integer.parseInt", "Integer", "strargs[0]", "strargs", "0", "f = Integer.parseInt(strargs[1])", "f", "Integer.parseInt(strargs[1])", "Integer.parseInt", "Integer", "strargs[1]", "strargs", "1", "r = Integer.parseInt(strargs[2])", "r", "Integer.parseInt(strargs[2])", "Integer.parseInt", "Integer", "strargs[2]", "strargs", "2", "score = Math.addExact(m, f)", "score", "Math.addExact(m, f)", "Math.addExact", "Math", "m", "f", "if (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}", "score >= 80", "score", "80", "{\tgrade = \"A\";\n\t\t\t}", "grade = \"A\"", "grade", "\"A\"", "if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}", "score >= 65", "score", "65", "{\tgrade = \"B\";\n\t\t\t}", "grade = \"B\"", "grade", "\"B\"", "if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}", "score >= 50", "score", "50", "{\tgrade = \"C\";\n\t\t\t}", "grade = \"C\"", "grade", "\"C\"", "if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}", "r >= 50", "r", "50", "{\tgrade = \"C\";\n\t\t\t}", "grade = \"C\"", "grade", "\"C\"", "if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}", "score >= 30", "score", "30", "{\tgrade = \"D\";\n\t\t\t}", "grade = \"D\"", "grade", "\"D\"", "{\tgrade = \"F\";\n\t\t\t}", "grade = \"F\"", "grade", "\"F\"", "if (m == -1 || f == -1) grade =\"F\";", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "grade =\"F\"", "grade", "\"F\"", "if (m == -1 && f == -1 && r == -1) break;", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "break;", "sb.append(grade)", "sb.append", "sb", "grade", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] strargs;\n\t\tString grade;\n\t\tint m, f, r, score;\n\n\t\tdo {\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t} while(true);\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] strargs;\n\t\tString grade;\n\t\tint m, f, r, score;\n\n\t\tdo {\n\t\t\tgrade = null;\n\t\t\tstrargs = br.readLine().split(\"\\\\s+\");\n\t\t\tm = Integer.parseInt(strargs[0]);\n\t\t\tf = Integer.parseInt(strargs[1]);\n\t\t\tr = Integer.parseInt(strargs[2]);\n\t\t\tscore = Math.addExact(m, f);\n\t\t\t\n\t\t\tif (score >= 80) \t\t{\tgrade = \"A\";\n\t\t\t} else if (score >= 65) {\tgrade = \"B\";\n\t\t\t} else if (score >= 50) {\tgrade = \"C\";\n\t\t\t} else if (r >= 50)\t \t{\tgrade = \"C\";\n\t\t\t} else if (score >= 30) {\tgrade = \"D\";\n\t\t\t} else\t\t\t\t\t{\tgrade = \"F\";\n\t\t\t}\n\t\t\tif (m == -1 || f == -1) grade =\"F\";\n\t\t\tif (m == -1 && f == -1 && r == -1) break;\n\t\t\tsb.append(grade);\n\t\t\tsb.append(\"\\n\");\n\t\t} while(true);\n\t\t\n\t\tSystem.out.print(sb);\n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String[] strargs; String grade; int m, f, r, score; do { grade = null; strargs = br.readLine().split("\\s+"); m = Integer.parseInt(strargs[0]); f = Integer.parseInt(strargs[1]); r = Integer.parseInt(strargs[2]); score = Math.addExact(m, f); if (score >= 80) { grade = "A"; } else if (score >= 65) { grade = "B"; } else if (score >= 50) { grade = "C"; } else if (r >= 50) { grade = "C"; } else if (score >= 30) { grade = "D"; } else { grade = "F"; } if (m == -1 || f == -1) grade ="F"; if (m == -1 && f == -1 && r == -1) break; sb.append(grade); sb.append("\n"); } while(true); System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 41, 13, 17, 42, 17, 30, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 14, 2, 2, 2, 18, 13, 13, 18, 13, 13, 18, 13, 13, 40, 17, 30, 3, 40, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 0, 13, 2, 18, 13, 13, 18, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 194, 5 ], [ 194, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 31, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 31, 53 ], [ 53, 54 ], [ 54, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 56, 63 ], [ 63, 64 ], [ 63, 65 ], [ 54, 66 ], [ 66, 67 ], [ 53, 68 ], [ 68, 69 ], [ 31, 70 ], [ 70, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 85, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 85, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 104, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 114, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 125, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 145, 147 ], [ 140, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 140, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 160, 162 ], [ 155, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 164, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 164, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 155, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 6, 191 ], [ 191, 192 ], [ 0, 193 ], [ 193, 194 ], [ 193, 195 ] ]
[ "import java.util.*;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] m = new int[100], f = new int[100], r = new int[100];\n\t\tint sum, cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] m = new int[100], f = new int[100], r = new int[100];\n\t\tint sum, cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] m = new int[100], f = new int[100], r = new int[100];\n\t\tint sum, cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] m = new int[100], f = new int[100], r = new int[100];\n\t\tint sum, cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[] m = new int[100]", "m", "new int[100]", "100", "f = new int[100]", "f", "new int[100]", "100", "r = new int[100];", "r", "new int[100]", "100", "int sum", "sum", "cnt = 0;", "cnt", "0", "while(true){\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}", "true", "{\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}", "m[cnt] = sc.nextInt()", "m[cnt]", "m", "cnt", "sc.nextInt()", "sc.nextInt", "sc", "f[cnt] = sc.nextInt()", "f[cnt]", "f", "cnt", "sc.nextInt()", "sc.nextInt", "sc", "r[cnt] = sc.nextInt()", "r[cnt]", "r", "cnt", "sc.nextInt()", "sc.nextInt", "sc", "if(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}", "m[cnt] + f[cnt] + r[cnt] == -3", "m[cnt] + f[cnt] + r[cnt]", "m[cnt] + f[cnt] + r[cnt]", "m[cnt]", "m", "cnt", "f[cnt]", "f", "cnt", "r[cnt]", "r", "cnt", "-3", "3", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "cnt ++", "cnt", "for(int i = 0; i < cnt; i++){\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < cnt", "i", "cnt", "i++", "i++", "i", "{\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "if(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "m[i] < 0 || f[i] < 0", "m[i] < 0", "m[i]", "m", "i", "0", "f[i] < 0", "f[i]", "f", "i", "0", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}", "sum = m[i] + f[i]", "sum", "m[i] + f[i]", "m[i]", "m", "i", "f[i]", "f", "i", "if(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "sum >= 80", "sum", "80", "{\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "65 <= sum && sum < 80", "65 <= sum", "65", "sum", "sum < 80", "sum", "80", "{\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "50 <= sum && sum < 65", "50 <= sum", "50", "sum", "sum < 65", "sum", "65", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "30 <= sum && sum < 50", "30 <= sum", "30", "sum", "sum < 50", "sum", "50", "{\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}", "if(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "r[i] >= 50", "r[i]", "r", "i", "50", "{\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String args[]", "args", "public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] m = new int[100], f = new int[100], r = new int[100];\n\t\tint sum, cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] m = new int[100], f = new int[100], r = new int[100];\n\t\tint sum, cnt = 0;\n\t\t\n\t\twhile(true){\n\t\t\tm[cnt] = sc.nextInt();\n\t\t\tf[cnt] = sc.nextInt();\n\t\t\tr[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(m[cnt] + f[cnt] + r[cnt] == -3){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tif(m[i] < 0 || f[i] < 0){\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsum = m[i] + f[i];\n\t\t\t\t\n\t\t\t\tif(sum >= 80){\n\t\t\t\t\tSystem.out.println(\"A\");\n\t\t\t\t}\n\t\t\t\telse if(65 <= sum && sum < 80){\n\t\t\t\t\tSystem.out.println(\"B\");\n\t\t\t\t}\n\t\t\t\telse if(50 <= sum && sum < 65){\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}\n\t\t\t\telse if(30 <= sum && sum < 50){\n\t\t\t\t\tif(r[i] >= 50){\n\t\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t\t}\n\t\t\t\t\telse{\n\t\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse{\n\t\t\t\t\tSystem.out.println(\"F\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int[] m = new int[100], f = new int[100], r = new int[100]; int sum, cnt = 0; while(true){ m[cnt] = sc.nextInt(); f[cnt] = sc.nextInt(); r[cnt] = sc.nextInt(); if(m[cnt] + f[cnt] + r[cnt] == -3){ break; } cnt ++; } for(int i = 0; i < cnt; i++){ if(m[i] < 0 || f[i] < 0){ System.out.println("F"); } else{ sum = m[i] + f[i]; if(sum >= 80){ System.out.println("A"); } else if(65 <= sum && sum < 80){ System.out.println("B"); } else if(50 <= sum && sum < 65){ System.out.println("C"); } else if(30 <= sum && sum < 50){ if(r[i] >= 50){ System.out.println("C"); } else{ System.out.println("D"); } } else{ System.out.println("F"); } } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 41, 13, 41, 13, 42, 2, 2, 2, 0, 13, 4, 13, 17, 2, 0, 13, 4, 13, 17, 2, 0, 13, 4, 13, 17, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 41, 13, 41, 13, 14, 2, 2, 2, 13, 17, 2, 13, 17, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 29, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 127, 5 ], [ 127, 6 ], [ 6, 7 ], [ 6, 8 ], [ 127, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 11, 18 ], [ 18, 19 ], [ 20, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 21, 26 ], [ 20, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 27, 32 ], [ 20, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 33, 38 ], [ 18, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 45, 48 ], [ 45, 49 ], [ 9, 50 ], [ 50, 51 ], [ 127, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 127, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 61, 66 ], [ 66, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 68, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 75, 81 ], [ 66, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 66, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 102, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 61, 118 ], [ 118, 119 ], [ 59, 120 ], [ 120, 121 ], [ 59, 122 ], [ 122, 123 ], [ 59, 124 ], [ 124, 125 ], [ 0, 126 ], [ 126, 127 ], [ 126, 128 ] ]
[ "import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int m, f, r;\n while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) {\n System.out.println(judge(m, f, r));\n }\n }\n \n private static int load() {\n return scn.nextInt();\n }\n \n private static String judge(int m, int f, int r) {\n String rslt;\n int sum;\n if(m < 0 || f < 0 || (sum = m + f) < 30) {\n rslt = \"F\";\n } else if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }\n return rslt;\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int m, f, r;\n while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) {\n System.out.println(judge(m, f, r));\n }\n }\n \n private static int load() {\n return scn.nextInt();\n }\n \n private static String judge(int m, int f, int r) {\n String rslt;\n int sum;\n if(m < 0 || f < 0 || (sum = m + f) < 30) {\n rslt = \"F\";\n } else if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }\n return rslt;\n }\n}", "Main", "private static final Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "public static void main(String[] args) {\n int m, f, r;\n while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) {\n System.out.println(judge(m, f, r));\n }\n }", "main", "{\n int m, f, r;\n while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) {\n System.out.println(judge(m, f, r));\n }\n }", "int m", "m", "f", "f", "r;", "r", "while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) {\n System.out.println(judge(m, f, r));\n }", "(m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0", "(m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0", "(m = load()) >= 0", "(m = load())", "m", "load()", "load", "0", "(f = load()) >= 0", "(f = load())", "f", "load()", "load", "0", "(r = load()) >= 0", "(r = load())", "r", "load()", "load", "0", "{\n System.out.println(judge(m, f, r));\n }", "System.out.println(judge(m, f, r))", "System.out.println", "System.out", "System", "System.out", "judge(m, f, r)", "judge", "m", "f", "r", "String[] args", "args", "private static int load() {\n return scn.nextInt();\n }", "load", "{\n return scn.nextInt();\n }", "return scn.nextInt();", "scn.nextInt()", "scn.nextInt", "scn", "private static String judge(int m, int f, int r) {\n String rslt;\n int sum;\n if(m < 0 || f < 0 || (sum = m + f) < 30) {\n rslt = \"F\";\n } else if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }\n return rslt;\n }", "judge", "{\n String rslt;\n int sum;\n if(m < 0 || f < 0 || (sum = m + f) < 30) {\n rslt = \"F\";\n } else if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }\n return rslt;\n }", "String rslt;", "rslt", "int sum;", "sum", "if(m < 0 || f < 0 || (sum = m + f) < 30) {\n rslt = \"F\";\n } else if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }", "m < 0 || f < 0 || (sum = m + f) < 30", "m < 0 || f < 0 || (sum = m + f) < 30", "m < 0", "m", "0", "f < 0", "f", "0", "(sum = m + f) < 30", "(sum = m + f)", "sum", "m + f", "m", "f", "30", "{\n rslt = \"F\";\n }", "rslt = \"F\"", "rslt", "\"F\"", "if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }", "sum > 79", "sum", "79", "{\n rslt = \"A\";\n }", "rslt = \"A\"", "rslt", "\"A\"", "if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }", "sum > 64", "sum", "64", "{\n rslt = \"B\";\n }", "rslt = \"B\"", "rslt", "\"B\"", "if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }", "sum > 49 || r > 49", "sum > 49", "sum", "49", "r > 49", "r", "49", "{\n rslt = \"C\";\n }", "rslt = \"C\"", "rslt", "\"C\"", "{\n rslt = \"D\";\n }", "rslt = \"D\"", "rslt", "\"D\"", "return rslt;", "rslt", "int m", "m", "int f", "f", "int r", "r", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int m, f, r;\n while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) {\n System.out.println(judge(m, f, r));\n }\n }\n \n private static int load() {\n return scn.nextInt();\n }\n \n private static String judge(int m, int f, int r) {\n String rslt;\n int sum;\n if(m < 0 || f < 0 || (sum = m + f) < 30) {\n rslt = \"F\";\n } else if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }\n return rslt;\n }\n}", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int m, f, r;\n while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) {\n System.out.println(judge(m, f, r));\n }\n }\n \n private static int load() {\n return scn.nextInt();\n }\n \n private static String judge(int m, int f, int r) {\n String rslt;\n int sum;\n if(m < 0 || f < 0 || (sum = m + f) < 30) {\n rslt = \"F\";\n } else if(sum > 79) {\n rslt = \"A\";\n } else if(sum > 64) {\n rslt = \"B\";\n } else if(sum > 49 || r > 49) {\n rslt = \"C\";\n } else {\n rslt = \"D\";\n }\n return rslt;\n }\n}", "Main" ]
import java.util.*; public class Main { private static final Scanner scn = new Scanner(System.in); public static void main(String[] args) { int m, f, r; while((m = load()) >= 0 | (f = load()) >= 0 | (r = load()) >= 0) { System.out.println(judge(m, f, r)); } } private static int load() { return scn.nextInt(); } private static String judge(int m, int f, int r) { String rslt; int sum; if(m < 0 || f < 0 || (sum = m + f) < 30) { rslt = "F"; } else if(sum > 79) { rslt = "A"; } else if(sum > 64) { rslt = "B"; } else if(sum > 49 || r > 49) { rslt = "C"; } else { rslt = "D"; } return rslt; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 17, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 17, 53 ], [ 53, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 55, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 53, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 53, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 72, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 88, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 98, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 108, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 123, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 118, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 72, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 8, 151 ], [ 151, 152 ], [ 152, 153 ], [ 6, 154 ], [ 154, 155 ] ]
[ "import java.io.*;\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n boolean i=true;\n while(i){\n String str=br.readLine();\n String[] data=str.split(\" \");\n int m=Integer.parseInt(data[0]);\n int f=Integer.parseInt(data[1]);\n int r=Integer.parseInt(data[2]);\n if(m==-1 && f==-1 && r==-1){\n i=false;\n }else if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");\n }\n br.close();\n}\n}", "import java.io.*;", "io.*", "java", "class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n boolean i=true;\n while(i){\n String str=br.readLine();\n String[] data=str.split(\" \");\n int m=Integer.parseInt(data[0]);\n int f=Integer.parseInt(data[1]);\n int r=Integer.parseInt(data[2]);\n if(m==-1 && f==-1 && r==-1){\n i=false;\n }else if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");\n }\n br.close();\n}\n}", "Main", "public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n boolean i=true;\n while(i){\n String str=br.readLine();\n String[] data=str.split(\" \");\n int m=Integer.parseInt(data[0]);\n int f=Integer.parseInt(data[1]);\n int r=Integer.parseInt(data[2]);\n if(m==-1 && f==-1 && r==-1){\n i=false;\n }else if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");\n }\n br.close();\n}", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n boolean i=true;\n while(i){\n String str=br.readLine();\n String[] data=str.split(\" \");\n int m=Integer.parseInt(data[0]);\n int f=Integer.parseInt(data[1]);\n int r=Integer.parseInt(data[2]);\n if(m==-1 && f==-1 && r==-1){\n i=false;\n }else if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");\n }\n br.close();\n}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "boolean i=true;", "i", "true", "while(i){\n String str=br.readLine();\n String[] data=str.split(\" \");\n int m=Integer.parseInt(data[0]);\n int f=Integer.parseInt(data[1]);\n int r=Integer.parseInt(data[2]);\n if(m==-1 && f==-1 && r==-1){\n i=false;\n }else if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");\n }", "i", "{\n String str=br.readLine();\n String[] data=str.split(\" \");\n int m=Integer.parseInt(data[0]);\n int f=Integer.parseInt(data[1]);\n int r=Integer.parseInt(data[2]);\n if(m==-1 && f==-1 && r==-1){\n i=false;\n }else if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");\n }", "String str=br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] data=str.split(\" \");", "data", "str.split(\" \")", "str.split", "str", "\" \"", "int m=Integer.parseInt(data[0]);", "m", "Integer.parseInt(data[0])", "Integer.parseInt", "Integer", "data[0]", "data", "0", "int f=Integer.parseInt(data[1]);", "f", "Integer.parseInt(data[1])", "Integer.parseInt", "Integer", "data[1]", "data", "1", "int r=Integer.parseInt(data[2]);", "r", "Integer.parseInt(data[2])", "Integer.parseInt", "Integer", "data[2]", "data", "2", "if(m==-1 && f==-1 && r==-1){\n i=false;\n }else if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");", "m==-1 && f==-1 && r==-1", "m==-1 && f==-1 && r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "{\n i=false;\n }", "i=false", "i", "false", "if(m!=-1 && f!=-1){\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }else System.out.println(\"F\");", "m!=-1 && f!=-1", "m!=-1", "m", "-1", "1", "f!=-1", "f", "-1", "1", "{\n int score= m + f;\n if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");\n }", "int score= m + f;", "score", "m + f", "m", "f", "if(score >=80) System.out.println(\"A\");\n else if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");", "score >=80", "score", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if(score >=65) System.out.println(\"B\");\n else if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");", "score >=65", "score", "65", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if(score >=50) System.out.println(\"C\");\n else if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");", "score >=50", "score", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if(score >=30){\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }else System.out.println(\"F\");", "score >=30", "score", "30", "{\n if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");\n }", "if(r >=50) System.out.println(\"C\");\n else System.out.println(\"D\");", "r >=50", "r", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "br.close()", "br.close", "br", "String[] args", "args" ]
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); boolean i=true; while(i){ String str=br.readLine(); String[] data=str.split(" "); int m=Integer.parseInt(data[0]); int f=Integer.parseInt(data[1]); int r=Integer.parseInt(data[2]); if(m==-1 && f==-1 && r==-1){ i=false; }else if(m!=-1 && f!=-1){ int score= m + f; if(score >=80) System.out.println("A"); else if(score >=65) System.out.println("B"); else if(score >=50) System.out.println("C"); else if(score >=30){ if(r >=50) System.out.println("C"); else System.out.println("D"); }else System.out.println("F"); }else System.out.println("F"); } br.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 42, 13, 30, 41, 13, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 175, 11 ], [ 175, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 28, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 28, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 28, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 28, 60 ], [ 60, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 62, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 60, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 60, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 79, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 79, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 96, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 109, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 122, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 135, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 142, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 135, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 28, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 12, 172 ], [ 172, 173 ], [ 0, 174 ], [ 174, 175 ], [ 174, 176 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tBoolean isnotEnd = true;\n\t\twhile (isnotEnd) {\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tBoolean isnotEnd = true;\n\t\twhile (isnotEnd) {\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tBoolean isnotEnd = true;\n\t\twhile (isnotEnd) {\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tBoolean isnotEnd = true;\n\t\twhile (isnotEnd) {\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "Boolean isnotEnd = true;", "isnotEnd", "true", "while (isnotEnd) {\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}", "isnotEnd", "{\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}", "String[] datasetstr = str.split(\" \", 3);", "datasetstr", "str.split(\" \", 3)", "str.split", "str", "\" \"", "3", "int m = Integer.parseInt(datasetstr[0]);", "m", "Integer.parseInt(datasetstr[0])", "Integer.parseInt", "Integer", "datasetstr[0]", "datasetstr", "0", "int f = Integer.parseInt(datasetstr[1]);", "f", "Integer.parseInt(datasetstr[1])", "Integer.parseInt", "Integer", "datasetstr[1]", "datasetstr", "1", "int r = Integer.parseInt(datasetstr[2]);", "r", "Integer.parseInt(datasetstr[2])", "Integer.parseInt", "Integer", "datasetstr[2]", "datasetstr", "2", "if (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n\t\t\t\tisnotEnd = false;\n\t\t\t}", "isnotEnd = false", "isnotEnd", "false", "if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 50", "m + f", "m", "f", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t}", "if (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "r >= 50", "r", "50", "{\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "{\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tBoolean isnotEnd = true;\n\t\twhile (isnotEnd) {\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tBoolean isnotEnd = true;\n\t\twhile (isnotEnd) {\n\t\t\tString[] datasetstr = str.split(\" \", 3);\n\t\t\tint m = Integer.parseInt(datasetstr[0]);\n\t\t\tint f = Integer.parseInt(datasetstr[1]);\n\t\t\tint r = Integer.parseInt(datasetstr[2]);\n\t\t\tif (m == -1 && f == -1 && r == -1) {\n\t\t\t\tisnotEnd = false;\n\t\t\t} else if (m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t} else if (m + f >= 80) {\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t} else if (m + f >= 65) {\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t} else if (m + f >= 50) {\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t} else if (m + f >= 30) {\n\t\t\t\tif (r >= 50) {\n\t\t\t\t\tSystem.out.println(\"C\");\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(\"D\");\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t\tstr = br.readLine();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str = br.readLine(); Boolean isnotEnd = true; while (isnotEnd) { String[] datasetstr = str.split(" ", 3); int m = Integer.parseInt(datasetstr[0]); int f = Integer.parseInt(datasetstr[1]); int r = Integer.parseInt(datasetstr[2]); if (m == -1 && f == -1 && r == -1) { isnotEnd = false; } else if (m == -1 || f == -1) { System.out.println("F"); } else if (m + f >= 80) { System.out.println("A"); } else if (m + f >= 65) { System.out.println("B"); } else if (m + f >= 50) { System.out.println("C"); } else if (m + f >= 30) { if (r >= 50) { System.out.println("C"); } else { System.out.println("D"); } } else { System.out.println("F"); } str = br.readLine(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 159, 8 ], [ 159, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 17, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 17, 53 ], [ 53, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 55, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 53, 68 ], [ 68, 69 ], [ 17, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 70, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 70, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 87, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 87, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 100, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 114, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 113, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 113, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 136, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 136, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 9, 156 ], [ 156, 157 ], [ 0, 158 ], [ 158, 159 ], [ 158, 160 ] ]
[ "import java.io.*;\nimport java.util.Arrays;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n\tpublic static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] spl = line.split(\" \");", "spl", "line.split(\" \")", "line.split", "line", "\" \"", "int m = Integer.parseInt(spl[0]);", "m", "Integer.parseInt(spl[0])", "Integer.parseInt", "Integer", "spl[0]", "spl", "0", "int f = Integer.parseInt(spl[1]);", "f", "Integer.parseInt(spl[1])", "Integer.parseInt", "Integer", "spl[1]", "spl", "1", "int r = Integer.parseInt(spl[2]);", "r", "Integer.parseInt(spl[2])", "Integer.parseInt", "Integer", "spl[2]", "spl", "2", "if ( m == -1 && f == -1 && r == -1) {break;}", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{break;}", "break;", "if ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 80", "m + f", "m", "f", "80", "{\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 65", "m + f", "m", "f", "65", "{\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 50 || ( m + f >=30) && r >= 50", "m + f >= 50", "m + f", "m", "f", "50", "( m + f >=30) && r >= 50", "( m + f >=30)", "m + f", "m", "f", "30", "r >= 50", "r", "50", "{\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "m + f >= 30", "m + f", "m", "f", "30", "{\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString line = br.readLine();\n\t\t\tString[] spl = line.split(\" \");\n\t\t\tint m = Integer.parseInt(spl[0]);\n\t\t\tint f = Integer.parseInt(spl[1]);\n\t\t\tint r = Integer.parseInt(spl[2]);\n\t\t\tif ( m == -1 && f == -1 && r == -1) {break;}\n\t\t\tif ( m == -1 || f == -1) {\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}else if( m + f >= 80){\n\t\t\t\tSystem.out.println(\"A\");\n\t\t\t}else if( m + f >= 65){\n\t\t\t\tSystem.out.println(\"B\");\n\t\t\t}else if( m + f >= 50 || ( m + f >=30) && r >= 50){\n\t\t\t\tSystem.out.println(\"C\");\n\t\t\t}else if( m + f >= 30){\n\t\t\t\tSystem.out.println(\"D\");\n\t\t\t}else{\n\t\t\t\tSystem.out.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; import java.util.Arrays; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true){ String line = br.readLine(); String[] spl = line.split(" "); int m = Integer.parseInt(spl[0]); int f = Integer.parseInt(spl[1]); int r = Integer.parseInt(spl[2]); if ( m == -1 && f == -1 && r == -1) {break;} if ( m == -1 || f == -1) { System.out.println("F"); }else if( m + f >= 80){ System.out.println("A"); }else if( m + f >= 65){ System.out.println("B"); }else if( m + f >= 50 || ( m + f >=30) && r >= 50){ System.out.println("C"); }else if( m + f >= 30){ System.out.println("D"); }else{ System.out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 41, 13, 41, 13, 17, 41, 13, 41, 13, 41, 13, 0, 13, 20, 17, 0, 13, 20, 17, 0, 13, 20, 17, 41, 13, 20, 42, 17, 30, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 14, 2, 2, 2, 18, 13, 13, 40, 17, 2, 18, 13, 13, 40, 17, 2, 18, 13, 13, 40, 17, 30, 3, 40, 13, 40, 13, 0, 13, 17, 42, 2, 13, 13, 30, 41, 13, 2, 18, 13, 13, 18, 13, 13, 14, 2, 2, 18, 13, 13, 40, 17, 2, 18, 13, 13, 40, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 40, 13, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 221, 5 ], [ 221, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 42, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 42, 64 ], [ 64, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 66, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 66, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 64, 85 ], [ 85, 86 ], [ 42, 87 ], [ 87, 88 ], [ 42, 89 ], [ 89, 90 ], [ 8, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 98, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 109, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 108, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 108, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 129, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 145, 147 ], [ 140, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 140, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 160, 162 ], [ 155, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 155, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 175, 177 ], [ 170, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 179, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 179, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 170, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 98, 210 ], [ 210, 211 ], [ 98, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 6, 218 ], [ 218, 219 ], [ 0, 220 ], [ 220, 221 ], [ 220, 222 ] ]
[ "import java.util.Scanner;\n\npublic class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n int c[];\n a = new int[100000];\n b = new int[100000];\n c = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n int c[];\n a = new int[100000];\n b = new int[100000];\n c = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }", "Main", "public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n int c[];\n a = new int[100000];\n b = new int[100000];\n c = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }", "main", "{\n int i=0,j,k,count=0;\n int a[];\n int b[];\n int c[];\n a = new int[100000];\n b = new int[100000];\n c = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }", "int i=0", "i", "0", "j", "j", "k", "k", "count=0;", "count", "0", "int a[];", "a", "int b[];", "b", "int c[];", "c", "a = new int[100000]", "a", "new int[100000]", "100000", "b = new int[100000]", "b", "new int[100000]", "100000", "c = new int[100000]", "c", "new int[100000]", "100000", "Scanner n = new Scanner(System.in);", "n", "new Scanner(System.in)", "while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }", "true", "{\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }", "a[i] = n.nextInt()", "a[i]", "a", "i", "n.nextInt()", "n.nextInt", "n", "b[i] = n.nextInt()", "b[i]", "b", "i", "n.nextInt()", "n.nextInt", "n", "c[i] = n.nextInt()", "c[i]", "c", "i", "n.nextInt()", "n.nextInt", "n", "if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }", "a[i]==-1 && b[i]==-1 && c[i]==-1", "a[i]==-1 && b[i]==-1 && c[i]==-1", "a[i]==-1", "a[i]", "a", "i", "-1", "1", "b[i]==-1", "b[i]", "b", "i", "-1", "1", "c[i]==-1", "c[i]", "c", "i", "-1", "1", "{\n break;\n }", "break;", "count++", "count", "i++", "i", "i=0", "i", "0", "while(count>i){\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }", "count>i", "count", "i", "{\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }", "int d = a[i]+b[i];", "d", "a[i]+b[i]", "a[i]", "a", "i", "b[i]", "b", "i", "if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }", "a[i]==-1 || b[i]==-1", "a[i]==-1", "a[i]", "a", "i", "-1", "1", "b[i]==-1", "b[i]", "b", "i", "-1", "1", "{\n System.out.printf(\"F\");\n }", "System.out.printf(\"F\")", "System.out.printf", "System.out", "System", "System.out", "\"F\"", "if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }", "d>=80", "d", "80", "{\n System.out.printf(\"A\");\n }", "System.out.printf(\"A\")", "System.out.printf", "System.out", "System", "System.out", "\"A\"", "if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }", "d>=65 && d<80", "d>=65", "d", "65", "d<80", "d", "80", "{\n System.out.printf(\"B\");\n }", "System.out.printf(\"B\")", "System.out.printf", "System.out", "System", "System.out", "\"B\"", "if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }", "d>=50 && d<65", "d>=50", "d", "50", "d<65", "d", "65", "{\n System.out.printf(\"C\");\n }", "System.out.printf(\"C\")", "System.out.printf", "System.out", "System", "System.out", "\"C\"", "if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }", "d>=30 && d<50", "d>=30", "d", "30", "d<50", "d", "50", "{\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }", "if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }", "c[i]>=50", "c[i]", "c", "i", "50", "{\n System.out.printf(\"C\");\n }", "System.out.printf(\"C\")", "System.out.printf", "System.out", "System", "System.out", "\"C\"", "{\n System.out.printf(\"D\");\n }", "System.out.printf(\"D\")", "System.out.printf", "System.out", "System", "System.out", "\"D\"", "if(d<30){\n System.out.printf(\"F\");\n }", "d<30", "d", "30", "{\n System.out.printf(\"F\");\n }", "System.out.printf(\"F\")", "System.out.printf", "System.out", "System", "System.out", "\"F\"", "i++", "i", "System.out.printf(\"\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"\\n\"", "String[] args", "args", "public class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n int c[];\n a = new int[100000];\n b = new int[100000];\n c = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }", "public class Main{ \n public static void main(String[] args){\n int i=0,j,k,count=0;\n int a[];\n int b[];\n int c[];\n a = new int[100000];\n b = new int[100000];\n c = new int[100000];\n Scanner n = new Scanner(System.in);\n while(true){\n a[i] = n.nextInt();\n b[i] = n.nextInt();\n c[i] = n.nextInt();\n if(a[i]==-1 && b[i]==-1 && c[i]==-1){\n break;\n }\n count++;\n i++;\n }\n i=0;\n while(count>i){\n int d = a[i]+b[i];\n if(a[i]==-1 || b[i]==-1){\n System.out.printf(\"F\");\n }else if(d>=80){\n System.out.printf(\"A\");\n }else if(d>=65 && d<80){\n System.out.printf(\"B\");\n }else if(d>=50 && d<65){\n System.out.printf(\"C\");\n }else if(d>=30 && d<50){\n if(c[i]>=50){\n System.out.printf(\"C\");\n }else{\n System.out.printf(\"D\");\n }\n }else if(d<30){\n System.out.printf(\"F\");\n }\n i++;\n System.out.printf(\"\\n\");\n }\n }\n }", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ int i=0,j,k,count=0; int a[]; int b[]; int c[]; a = new int[100000]; b = new int[100000]; c = new int[100000]; Scanner n = new Scanner(System.in); while(true){ a[i] = n.nextInt(); b[i] = n.nextInt(); c[i] = n.nextInt(); if(a[i]==-1 && b[i]==-1 && c[i]==-1){ break; } count++; i++; } i=0; while(count>i){ int d = a[i]+b[i]; if(a[i]==-1 || b[i]==-1){ System.out.printf("F"); }else if(d>=80){ System.out.printf("A"); }else if(d>=65 && d<80){ System.out.printf("B"); }else if(d>=50 && d<65){ System.out.printf("C"); }else if(d>=30 && d<50){ if(c[i]>=50){ System.out.printf("C"); }else{ System.out.printf("D"); } }else if(d<30){ System.out.printf("F"); } i++; System.out.printf("\n"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 3, 4, 13, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 157, 5 ], [ 157, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 30, 45 ], [ 14, 46 ], [ 46, 47 ], [ 46, 48 ], [ 46, 49 ], [ 46, 50 ], [ 6, 51 ], [ 51, 52 ], [ 157, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 61, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 77, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 87, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 101, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 124, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 115, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 53, 150 ], [ 150, 151 ], [ 53, 152 ], [ 152, 153 ], [ 53, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}\n\t}\n\n\tstatic void judge(int a, int b, int c){\n\t\tint sum = a + b;\n\t\tif(a == -1 || b == -1) System.out.println(\"F\");\n\t\telse if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}\n\t}\n\n\tstatic void judge(int a, int b, int c){\n\t\tint sum = a + b;\n\t\tif(a == -1 || b == -1) System.out.println(\"F\");\n\t\telse if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}", "true", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "if (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;", "a == -1 && b == -1 && c == -1", "a == -1 && b == -1 && c == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "c == -1", "c", "-1", "1", "break;", "judge(a, b, c)", "judge", "a", "b", "c", "String[] args", "args", "static void judge(int a, int b, int c){\n\t\tint sum = a + b;\n\t\tif(a == -1 || b == -1) System.out.println(\"F\");\n\t\telse if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");\n\t}", "judge", "{\n\t\tint sum = a + b;\n\t\tif(a == -1 || b == -1) System.out.println(\"F\");\n\t\telse if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");\n\t}", "int sum = a + b;", "sum", "a + b", "a", "b", "if(a == -1 || b == -1) System.out.println(\"F\");\n\t\telse if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");", "a == -1 || b == -1", "a == -1", "a", "-1", "1", "b == -1", "b", "-1", "1", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");", "sum >= 80", "sum", "80", "System.out.println(\"A\")", "System.out.println", "System.out", "System", "System.out", "\"A\"", "if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");", "sum >= 65 && sum < 80", "sum >= 65", "sum", "65", "sum < 80", "sum", "80", "System.out.println(\"B\")", "System.out.println", "System.out", "System", "System.out", "\"B\"", "if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");", "sum >= 50 && sum < 65", "sum >= 50", "sum", "50", "sum < 65", "sum", "65", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");", "sum >= 30 && sum < 50", "sum >= 30", "sum", "30", "sum < 50", "sum", "50", "{\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t}", "if (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");", "c >= 50", "c", "50", "System.out.println(\"C\")", "System.out.println", "System.out", "System", "System.out", "\"C\"", "System.out.println(\"D\")", "System.out.println", "System.out", "System", "System.out", "\"D\"", "if (sum < 30) System.out.println(\"F\");", "sum < 30", "sum", "30", "System.out.println(\"F\")", "System.out.println", "System.out", "System", "System.out", "\"F\"", "int a", "a", "int b", "b", "int c", "c", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}\n\t}\n\n\tstatic void judge(int a, int b, int c){\n\t\tint sum = a + b;\n\t\tif(a == -1 || b == -1) System.out.println(\"F\");\n\t\telse if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tint c = sc.nextInt();\n\t\t\tif (a == -1 && b == -1 && c == -1)\n\t\t\t\tbreak;\n\t\t\tjudge(a, b, c);\n\t\t}\n\t}\n\n\tstatic void judge(int a, int b, int c){\n\t\tint sum = a + b;\n\t\tif(a == -1 || b == -1) System.out.println(\"F\");\n\t\telse if (sum >= 80) System.out.println(\"A\");\n\t\telse if (sum >= 65 && sum < 80) System.out.println(\"B\");\n\t\telse if (sum >= 50 && sum < 65) System.out.println(\"C\");\n\t\telse if (sum >= 30 && sum < 50) {\n\t\t\tif (c >= 50) System.out.println(\"C\");\n\t\t\telse System.out.println(\"D\");\n\t\t} else if (sum < 30) System.out.println(\"F\");\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int a = sc.nextInt(); int b = sc.nextInt(); int c = sc.nextInt(); if (a == -1 && b == -1 && c == -1) break; judge(a, b, c); } } static void judge(int a, int b, int c){ int sum = a + b; if(a == -1 || b == -1) System.out.println("F"); else if (sum >= 80) System.out.println("A"); else if (sum >= 65 && sum < 80) System.out.println("B"); else if (sum >= 50 && sum < 65) System.out.println("C"); else if (sum >= 30 && sum < 50) { if (c >= 50) System.out.println("C"); else System.out.println("D"); } else if (sum < 30) System.out.println("F"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 18, 13, 13, 41, 13, 41, 13, 41, 13, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 17, 30, 4, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 155, 14 ], [ 155, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 17, 26 ], [ 26, 27 ], [ 17, 28 ], [ 28, 29 ], [ 17, 30 ], [ 30, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 37, 42 ], [ 34, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 34, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 34, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 34, 67 ], [ 67, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 69, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 67, 82 ], [ 82, 83 ], [ 34, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 84, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 84, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 99, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 110, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 128, 130 ], [ 121, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 121, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 136, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 136, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 15, 152 ], [ 152, 153 ], [ 0, 154 ], [ 154, 155 ], [ 154, 156 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintStream;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintStream out = System.out;\n\t\tint m, f, r;\n\t\twhile(true){\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintStream;", "PrintStream", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintStream out = System.out;\n\t\tint m, f, r;\n\t\twhile(true){\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintStream out = System.out;\n\t\tint m, f, r;\n\t\twhile(true){\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintStream out = System.out;\n\t\tint m, f, r;\n\t\twhile(true){\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "PrintStream out = System.out;", "out", "System.out", "System", "System.out", "int m", "m", "f", "f", "r;", "r", "while(true){\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}", "String[] score = in.readLine().split(\" \");", "score", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "m = Integer.parseInt(score[0])", "m", "Integer.parseInt(score[0])", "Integer.parseInt", "Integer", "score[0]", "score", "0", "f = Integer.parseInt(score[1])", "f", "Integer.parseInt(score[1])", "Integer.parseInt", "Integer", "score[1]", "score", "1", "r = Integer.parseInt(score[2])", "r", "Integer.parseInt(score[2])", "Integer.parseInt", "Integer", "score[2]", "score", "2", "if(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}", "m==-1 && f==-1 && r==-1", "m==-1 && f==-1 && r==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "r==-1", "r", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}", "m==-1 || f==-1", "m==-1", "m", "-1", "1", "f==-1", "f", "-1", "1", "{\n\t\t\t\tout.println(\"F\");\n\t\t\t}", "out.println(\"F\")", "out.println", "out", "\"F\"", "if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}", "m+f >= 80", "m+f", "m", "f", "80", "{\n\t\t\t\tout.println(\"A\");\n\t\t\t}", "out.println(\"A\")", "out.println", "out", "\"A\"", "if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}", "m+f >= 65", "m+f", "m", "f", "65", "{\n\t\t\t\tout.println(\"B\");\n\t\t\t}", "out.println(\"B\")", "out.println", "out", "\"B\"", "if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}", "m+f >= 50 || r>=50", "m+f >= 50", "m+f", "m", "f", "50", "r>=50", "r", "50", "{\n\t\t\t\tout.println(\"C\");\n\t\t\t}", "out.println(\"C\")", "out.println", "out", "\"C\"", "if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}", "m+f >= 30", "m+f", "m", "f", "30", "{\n\t\t\t\tout.println(\"D\");\n\t\t\t}", "out.println(\"D\")", "out.println", "out", "\"D\"", "{\n\t\t\t\tout.println(\"F\");\n\t\t\t}", "out.println(\"F\")", "out.println", "out", "\"F\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintStream out = System.out;\n\t\tint m, f, r;\n\t\twhile(true){\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tPrintStream out = System.out;\n\t\tint m, f, r;\n\t\twhile(true){\n\t\t\tString[] score = in.readLine().split(\" \");\n\t\t\tm = Integer.parseInt(score[0]);\n\t\t\tf = Integer.parseInt(score[1]);\n\t\t\tr = Integer.parseInt(score[2]);\n\t\t\tif(m==-1 && f==-1 && r==-1){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(m==-1 || f==-1){\n\t\t\t\tout.println(\"F\");\n\t\t\t}else if(m+f >= 80){\n\t\t\t\tout.println(\"A\");\n\t\t\t}else if(m+f >= 65){\n\t\t\t\tout.println(\"B\");\n\t\t\t}else if(m+f >= 50 || r>=50){\n\t\t\t\tout.println(\"C\");\n\t\t\t}else if(m+f >= 30){\n\t\t\t\tout.println(\"D\");\n\t\t\t}else {\n\t\t\t\tout.println(\"F\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintStream; public class Main { public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); PrintStream out = System.out; int m, f, r; while(true){ String[] score = in.readLine().split(" "); m = Integer.parseInt(score[0]); f = Integer.parseInt(score[1]); r = Integer.parseInt(score[2]); if(m==-1 && f==-1 && r==-1){ break; } if(m==-1 || f==-1){ out.println("F"); }else if(m+f >= 80){ out.println("A"); }else if(m+f >= 65){ out.println("B"); }else if(m+f >= 50 || r>=50){ out.println("C"); }else if(m+f >= 30){ out.println("D"); }else { out.println("F"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 3, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 30, 14, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 13, 40, 17, 30, 0, 13, 17, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 17, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 17, 50 ], [ 50, 51 ], [ 17, 52 ], [ 52, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 54, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 52, 67 ], [ 67, 68 ], [ 17, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 69, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 83, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 83, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 83, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 131, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 17, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 6, 158 ], [ 158, 159 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\twhile (true) {\n\t\t\tString[] buf = (br.readLine()).split(\" \");\n\t\t\tint mid_exam = Integer.parseInt(buf[0]);\n\t\t\tint final_exam = Integer.parseInt(buf[1]);\n\t\t\tint retest = Integer.parseInt(buf[2]);\n\t\t\tchar result;\n\t\t\t\n\t\t\tif (mid_exam == -1 && final_exam == -1 && retest == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (mid_exam == -1 || final_exam == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else {\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\twhile (true) {\n\t\t\tString[] buf = (br.readLine()).split(\" \");\n\t\t\tint mid_exam = Integer.parseInt(buf[0]);\n\t\t\tint final_exam = Integer.parseInt(buf[1]);\n\t\t\tint retest = Integer.parseInt(buf[2]);\n\t\t\tchar result;\n\t\t\t\n\t\t\tif (mid_exam == -1 && final_exam == -1 && retest == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (mid_exam == -1 || final_exam == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else {\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\twhile (true) {\n\t\t\tString[] buf = (br.readLine()).split(\" \");\n\t\t\tint mid_exam = Integer.parseInt(buf[0]);\n\t\t\tint final_exam = Integer.parseInt(buf[1]);\n\t\t\tint retest = Integer.parseInt(buf[2]);\n\t\t\tchar result;\n\t\t\t\n\t\t\tif (mid_exam == -1 && final_exam == -1 && retest == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (mid_exam == -1 || final_exam == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else {\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}", "main", "{\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\twhile (true) {\n\t\t\tString[] buf = (br.readLine()).split(\" \");\n\t\t\tint mid_exam = Integer.parseInt(buf[0]);\n\t\t\tint final_exam = Integer.parseInt(buf[1]);\n\t\t\tint retest = Integer.parseInt(buf[2]);\n\t\t\tchar result;\n\t\t\t\n\t\t\tif (mid_exam == -1 && final_exam == -1 && retest == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (mid_exam == -1 || final_exam == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else {\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}\n\t}", "InputStreamReader in = new InputStreamReader(System.in);", "in", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(in);", "br", "new BufferedReader(in)", "while (true) {\n\t\t\tString[] buf = (br.readLine()).split(\" \");\n\t\t\tint mid_exam = Integer.parseInt(buf[0]);\n\t\t\tint final_exam = Integer.parseInt(buf[1]);\n\t\t\tint retest = Integer.parseInt(buf[2]);\n\t\t\tchar result;\n\t\t\t\n\t\t\tif (mid_exam == -1 && final_exam == -1 && retest == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (mid_exam == -1 || final_exam == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else {\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}", "true", "{\n\t\t\tString[] buf = (br.readLine()).split(\" \");\n\t\t\tint mid_exam = Integer.parseInt(buf[0]);\n\t\t\tint final_exam = Integer.parseInt(buf[1]);\n\t\t\tint retest = Integer.parseInt(buf[2]);\n\t\t\tchar result;\n\t\t\t\n\t\t\tif (mid_exam == -1 && final_exam == -1 && retest == -1) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif (mid_exam == -1 || final_exam == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else {\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(result);\n\t\t}", "String[] buf = (br.readLine()).split(\" \");", "buf", "(br.readLine()).split(\" \")", "(br.readLine()).split", "(br.readLine())", "br.readLine", "br", "\" \"", "int mid_exam = Integer.parseInt(buf[0]);", "mid_exam", "Integer.parseInt(buf[0])", "Integer.parseInt", "Integer", "buf[0]", "buf", "0", "int final_exam = Integer.parseInt(buf[1]);", "final_exam", "Integer.parseInt(buf[1])", "Integer.parseInt", "Integer", "buf[1]", "buf", "1", "int retest = Integer.parseInt(buf[2]);", "retest", "Integer.parseInt(buf[2])", "Integer.parseInt", "Integer", "buf[2]", "buf", "2", "char result;", "result", "if (mid_exam == -1 && final_exam == -1 && retest == -1) {\n\t\t\t\tbreak;\n\t\t\t}", "mid_exam == -1 && final_exam == -1 && retest == -1", "mid_exam == -1 && final_exam == -1 && retest == -1", "mid_exam == -1", "mid_exam", "-1", "1", "final_exam == -1", "final_exam", "-1", "1", "retest == -1", "retest", "-1", "1", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "if (mid_exam == -1 || final_exam == -1) {\n\t\t\t\tresult = 'F';\n\t\t\t} else {\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}", "mid_exam == -1 || final_exam == -1", "mid_exam == -1", "mid_exam", "-1", "1", "final_exam == -1", "final_exam", "-1", "1", "{\n\t\t\t\tresult = 'F';\n\t\t\t}", "result = 'F'", "result", "'F'", "{\n\t\t\t\n\t\t\t\tif (mid_exam == -1) { mid_exam = 0; }\n\t\t\t\tif (final_exam == -1 ) { final_exam = 0; }\n\t\t\t\tint sum = mid_exam + final_exam;\n\t\t\t\t\n\t\t\t\tif (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }\n\t\t\t}", "if (mid_exam == -1) { mid_exam = 0; }", "mid_exam == -1", "mid_exam", "-1", "1", "{ mid_exam = 0; }", "mid_exam = 0", "mid_exam", "0", "if (final_exam == -1 ) { final_exam = 0; }", "final_exam == -1", "final_exam", "-1", "1", "{ final_exam = 0; }", "final_exam = 0", "final_exam", "0", "int sum = mid_exam + final_exam;", "sum", "mid_exam + final_exam", "mid_exam", "final_exam", "if (sum >= 80) { result = 'A'; }\n\t\t\t\telse if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }", "sum >= 80", "sum", "80", "{ result = 'A'; }", "result = 'A'", "result", "'A'", "if (sum >= 65) { result = 'B'; }\n\t\t\t\telse if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }", "sum >= 65", "sum", "65", "{ result = 'B'; }", "result = 'B'", "result", "'B'", "if (sum >= 50) { result = 'C'; }\n\t\t\t\telse if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }", "sum >= 50", "sum", "50", "{ result = 'C'; }", "result = 'C'", "result", "'C'", "if (sum >= 30) {\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }\n\t\t\t\telse { result = 'F'; }", "sum >= 30", "sum", "30", "{\n\t\t\t\t\tif (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; } }", "if (retest >= 50) { result = 'C'; }\n\t\t\t\t\telse { result = 'D'; }", "retest >= 50", "retest", "50", "{ result = 'C'; }", "result = 'C'", "result", "'C'", "{ result = 'D'; }", "result = 'D'", "result", "'D'", "{ result = 'F'; }", "result = 'F'", "result", "'F'", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) throws IOException { InputStreamReader in = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(in); while (true) { String[] buf = (br.readLine()).split(" "); int mid_exam = Integer.parseInt(buf[0]); int final_exam = Integer.parseInt(buf[1]); int retest = Integer.parseInt(buf[2]); char result; if (mid_exam == -1 && final_exam == -1 && retest == -1) { break; } if (mid_exam == -1 || final_exam == -1) { result = 'F'; } else { if (mid_exam == -1) { mid_exam = 0; } if (final_exam == -1 ) { final_exam = 0; } int sum = mid_exam + final_exam; if (sum >= 80) { result = 'A'; } else if (sum >= 65) { result = 'B'; } else if (sum >= 50) { result = 'C'; } else if (sum >= 30) { if (retest >= 50) { result = 'C'; } else { result = 'D'; } } else { result = 'F'; } } System.out.println(result); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 2, 13, 13, 41, 13, 17, 14, 2, 2, 2, 13, 40, 17, 2, 13, 40, 17, 2, 13, 40, 17, 30, 29, 14, 2, 2, 13, 40, 17, 2, 13, 40, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 2, 13, 17, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 120, 5 ], [ 120, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 16, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 16, 37 ], [ 37, 38 ], [ 37, 39 ], [ 16, 40 ], [ 40, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 40, 55 ], [ 55, 56 ], [ 40, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 57, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 87, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 87, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 16, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 6, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNextInt()) {\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNextInt()) {\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNextInt()) {\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }\n }", "main", "{\n Scanner s = new Scanner(System.in);\n while(s.hasNextInt()) {\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "while(s.hasNextInt()) {\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }", "s.hasNextInt()", "s.hasNextInt", "s", "{\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }", "int m = s.nextInt();", "m", "s.nextInt()", "s.nextInt", "s", "int f = s.nextInt();", "f", "s.nextInt()", "s.nextInt", "s", "int r = s.nextInt();", "r", "s.nextInt()", "s.nextInt", "s", "int sum = m + f;", "sum", "m + f", "m", "f", "char ret = 'F';", "ret", "'F'", "if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }", "m == -1 && f == -1 && r == -1", "m == -1 && f == -1 && r == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "r == -1", "r", "-1", "1", "{\n return;\n }", "return;", "if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }", "m == -1 || f == -1", "m == -1", "m", "-1", "1", "f == -1", "f", "-1", "1", "{\n ret = 'F';\n }", "ret = 'F'", "ret", "'F'", "if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }", "sum >= 80", "sum", "80", "{\n ret = 'A';\n }", "ret = 'A'", "ret", "'A'", "if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }", "sum >= 65", "sum", "65", "{\n ret = 'B';\n }", "ret = 'B'", "ret", "'B'", "if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }", "sum >= 50 || (sum >= 30 && r >= 50)", "sum >= 50", "sum", "50", "(sum >= 30 && r >= 50)", "sum >= 30", "sum", "30", "r >= 50", "r", "50", "{\n ret = 'C';\n }", "ret = 'C'", "ret", "'C'", "if(sum >= 30) {\n ret = 'D';\n }", "sum >= 30", "sum", "30", "{\n ret = 'D';\n }", "ret = 'D'", "ret", "'D'", "System.out.println(ret)", "System.out.println", "System.out", "System", "System.out", "ret", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNextInt()) {\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNextInt()) {\n int m = s.nextInt();\n int f = s.nextInt();\n int r = s.nextInt();\n int sum = m + f;\n char ret = 'F';\n if(m == -1 && f == -1 && r == -1) {\n return;\n } else if(m == -1 || f == -1) {\n ret = 'F';\n } else if(sum >= 80) {\n ret = 'A';\n } else if(sum >= 65) {\n ret = 'B';\n } else if(sum >= 50 || (sum >= 30 && r >= 50)) {\n ret = 'C';\n } else if(sum >= 30) {\n ret = 'D';\n }\n System.out.println(ret);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); while(s.hasNextInt()) { int m = s.nextInt(); int f = s.nextInt(); int r = s.nextInt(); int sum = m + f; char ret = 'F'; if(m == -1 && f == -1 && r == -1) { return; } else if(m == -1 || f == -1) { ret = 'F'; } else if(sum >= 80) { ret = 'A'; } else if(sum >= 65) { ret = 'B'; } else if(sum >= 50 || (sum >= 30 && r >= 50)) { ret = 'C'; } else if(sum >= 30) { ret = 'D'; } System.out.println(ret); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 13, 30, 3, 41, 13, 2, 2, 13, 13, 13, 14, 2, 2, 2, 2, 13, 13, 2, 13, 17, 2, 13, 13, 2, 13, 13, 30, 41, 13, 39, 13, 13, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 145, 14 ], [ 145, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 23, 44 ], [ 44, 45 ], [ 44, 46 ], [ 23, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 60, 67 ], [ 67, 68 ], [ 67, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 60, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 81, 82 ], [ 74, 83 ], [ 83, 84 ], [ 83, 85 ], [ 86, 86 ], [ 86, 87 ], [ 86, 88 ], [ 86, 89 ], [ 74, 90 ], [ 90, 91 ], [ 93, 92 ], [ 100, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 97, 99 ], [ 100, 100 ], [ 100, 101 ], [ 100, 102 ], [ 93, 103 ], [ 103, 104 ], [ 103, 105 ], [ 90, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 109, 112 ], [ 106, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 106, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 106, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 123, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 23, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 139, 140 ], [ 140, 141 ], [ 15, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n\n while (true) {\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }\n }\n\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n\n while (true) {\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }\n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n\n while (true) {\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }\n }", "main", "{\n Scanner stdin = new Scanner(System.in);\n\n while (true) {\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }\n }", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "while (true) {\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }", "true", "{\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }", "int n = stdin.nextInt();", "n", "stdin.nextInt()", "stdin.nextInt", "stdin", "int x = stdin.nextInt();", "x", "stdin.nextInt()", "stdin.nextInt", "stdin", "if (n == 0 && x == 0) {\n break;\n }", "n == 0 && x == 0", "n == 0", "n", "0", "x == 0", "x", "0", "{\n break;\n }", "break;", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }", "{\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }", "for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }", "int j = i + 1;", "int j = i + 1;", "j", "i + 1", "i", "1", "j <= n", "j", "n", "j++", "j++", "j", "{\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }", "{\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }", "if (i + j >= x) {\n break;\n }", "i + j >= x", "i + j", "i", "j", "x", "{\n break;\n }", "break;", "int k = x - i - j;", "k", "x - i - j", "x - i - j", "x", "i", "j", "if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }", "k <= n && k > 0 && k != i && k != j", "k != i", "k <= n && k > 0 && k != i && k != j", "k <= n", "k", "n", "k > 0", "k", "0", "k != i", "k", "i", "k != j", "k", "j", "{\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }", "int[] arr = { i, j, k };", "arr", "{ i, j, k }", "i", "j", "k", "Arrays.sort(arr)", "Arrays.sort", "Arrays", "arr", "String s = Arrays.toString(arr);", "s", "Arrays.toString(arr)", "Arrays.toString", "Arrays", "arr", "if (!list.contains(s)) {\n list.add(s);\n }", "!list.contains(s)", "list.contains(s)", "list.contains", "list", "s", "{\n list.add(s);\n }", "list.add(s)", "list.add", "list", "s", "System.out.println(list.size())", "System.out.println", "System.out", "System", "System.out", "list.size()", "list.size", "list", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n\n while (true) {\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n\n while (true) {\n int n = stdin.nextInt();\n int x = stdin.nextInt();\n if (n == 0 && x == 0) {\n break;\n }\n\n List<String> list = new ArrayList<String>();\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n if (i + j >= x) {\n break;\n }\n\n int k = x - i - j;\n if (k <= n && k > 0 && k != i && k != j) {\n int[] arr = { i, j, k };\n Arrays.sort(arr);\n String s = Arrays.toString(arr);\n if (!list.contains(s)) {\n list.add(s);\n }\n }\n }\n }\n\n System.out.println(list.size());\n }\n }\n\n}", "Main" ]
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); while (true) { int n = stdin.nextInt(); int x = stdin.nextInt(); if (n == 0 && x == 0) { break; } List<String> list = new ArrayList<String>(); for (int i = 1; i <= n; i++) { for (int j = i + 1; j <= n; j++) { if (i + j >= x) { break; } int k = x - i - j; if (k <= n && k > 0 && k != i && k != j) { int[] arr = { i, j, k }; Arrays.sort(arr); String s = Arrays.toString(arr); if (!list.contains(s)) { list.add(s); } } } } System.out.println(list.size()); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 20, 17, 0, 13, 20, 41, 13, 17, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 11, 1, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 30, 3, 40, 13, 0, 13, 17, 11, 1, 30, 30, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 30, 3, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 13, 40, 13, 0, 13, 17, 11, 1, 30, 30, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 17, 30, 3, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 18, 13, 13, 18, 13, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 30, 0, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 219, 5 ], [ 219, 6 ], [ 6, 7 ], [ 219, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 15 ], [ 15, 16 ], [ 15, 17 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 10, 22 ], [ 22, 23 ], [ 22, 24 ], [ 10, 25 ], [ 25, 26 ], [ 25, 27 ], [ 10, 29 ], [ 29, 30 ], [ 29, 31 ], [ 10, 32 ], [ 32, 33 ], [ 32, 34 ], [ 10, 35 ], [ 35, 36 ], [ 35, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 38, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 53, 65 ], [ 65, 66 ], [ 38, 67 ], [ 67, 68 ], [ 10, 69 ], [ 69, 70 ], [ 69, 71 ], [ 10, 72 ], [ 72, 73 ], [ 72, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 76, 88 ], [ 88, 89 ], [ 75, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 90, 100 ], [ 100, 101 ], [ 101, 102 ], [ 90, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 75, 110 ], [ 110, 111 ], [ 10, 112 ], [ 112, 113 ], [ 112, 114 ], [ 10, 115 ], [ 115, 116 ], [ 115, 117 ], [ 118, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 119, 131 ], [ 131, 132 ], [ 118, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 133, 143 ], [ 143, 144 ], [ 144, 145 ], [ 133, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 152, 154 ], [ 148, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 157, 159 ], [ 148, 160 ], [ 160, 161 ], [ 161, 162 ], [ 148, 163 ], [ 164, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 165, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 174, 176 ], [ 165, 177 ], [ 177, 178 ], [ 178, 179 ], [ 165, 180 ], [ 181, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 185, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 189, 191 ], [ 185, 192 ], [ 192, 193 ], [ 192, 194 ], [ 181, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 195, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 118, 205 ], [ 205, 206 ], [ 118, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 118, 213 ], [ 213, 214 ], [ 213, 215 ], [ 8, 216 ], [ 216, 217 ], [ 0, 218 ], [ 218, 219 ], [ 218, 220 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\t//宣言\n\t\tint n[]= new int[101];\n\t\tint x[]= new int[300];\n\t\tsc = new Scanner(System.in);\n\t\tint i=1;\n\t\tint s[]= new int[101];\n\t\tint sum=0;\n\t\tint count=0;\n\t\t//入力\n\t\t//System.out.println(\"Please input n and x below:\");\n\t\tfor(;;) {\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t//出力\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\t//宣言\n\t\tint n[]= new int[101];\n\t\tint x[]= new int[300];\n\t\tsc = new Scanner(System.in);\n\t\tint i=1;\n\t\tint s[]= new int[101];\n\t\tint sum=0;\n\t\tint count=0;\n\t\t//入力\n\t\t//System.out.println(\"Please input n and x below:\");\n\t\tfor(;;) {\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t//出力\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}\n\t}\n}", "Main", "public static Scanner sc;", "sc", "public static void main(String[] args) {\n\t\t//宣言\n\t\tint n[]= new int[101];\n\t\tint x[]= new int[300];\n\t\tsc = new Scanner(System.in);\n\t\tint i=1;\n\t\tint s[]= new int[101];\n\t\tint sum=0;\n\t\tint count=0;\n\t\t//入力\n\t\t//System.out.println(\"Please input n and x below:\");\n\t\tfor(;;) {\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t//出力\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}\n\t}", "main", "{\n\t\t//宣言\n\t\tint n[]= new int[101];\n\t\tint x[]= new int[300];\n\t\tsc = new Scanner(System.in);\n\t\tint i=1;\n\t\tint s[]= new int[101];\n\t\tint sum=0;\n\t\tint count=0;\n\t\t//入力\n\t\t//System.out.println(\"Please input n and x below:\");\n\t\tfor(;;) {\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t//出力\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}\n\t}", "int n[]= new int[101];", "n", "new int[101]", "101", "int x[]= new int[300];", "x", "new int[300]", "300", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "int i=1;", "i", "1", "int s[]= new int[101];", "s", "new int[101]", "101", "int sum=0;", "sum", "0", "int count=0;", "count", "0", "for(;;) {\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}", ";", "{\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}", "{\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}", "n[i]=sc.nextInt()", "n[i]", "n", "i", "sc.nextInt()", "sc.nextInt", "sc", "x[i]=sc.nextInt()", "x[i]", "x", "i", "sc.nextInt()", "sc.nextInt", "sc", "if(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}", "n[i]==0 && x[i]==0", "n[i]==0", "n[i]", "n", "i", "0", "x[i]==0", "x[i]", "x", "i", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "i++", "i", "i=1", "i", "1", "for(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}", ";", "{\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}", "{\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}", "if(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}", "n[i]==0 && x[i]==0", "n[i]==0", "n[i]", "n", "i", "0", "x[i]==0", "x[i]", "x", "i", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "for(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}", "int j=1;", "int j=1;", "j", "1", "j<=n[i]", "j", "n[i]", "n", "i", "j++", "j++", "j", "{//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}", "{//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}", "s[j]=j", "s[j]", "s", "j", "j", "i++", "i", "i=1", "i", "1", "for(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}", ";", "{\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}", "{\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}", "if(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}", "n[i]==0 && x[i]==0", "n[i]==0", "n[i]", "n", "i", "0", "x[i]==0", "x[i]", "x", "i", "0", "{\n\t\t\t\tbreak;\n\t\t\t\t}", "break;", "for(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int l=1;", "int l=1;", "l", "1", "l<=n[i]", "l", "n[i]", "n", "i", "l++", "l++", "l", "{\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "int m=l+1;", "int m=l+1;", "m", "l+1", "l", "1", "m<=n[i]", "m", "n[i]", "n", "i", "m++", "m++", "m", "{\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "for(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "int p=m+1;", "int p=m+1;", "p", "m+1", "m", "1", "p<=n[i]", "p", "n[i]", "n", "i", "p++", "p++", "p", "{\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "{\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "sum=s[l]+s[m]+s[p]", "sum", "s[l]+s[m]+s[p]", "s[l]+s[m]+s[p]", "s[l]", "s", "l", "s[m]", "s", "m", "s[p]", "s", "p", "if(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}", "x[i]==sum", "x[i]", "x", "i", "sum", "{\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}", "count+=1", "count", "1", "i++", "i", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "count=0", "count", "0", "String[] args", "args", "public class Main {\n\tpublic static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\t//宣言\n\t\tint n[]= new int[101];\n\t\tint x[]= new int[300];\n\t\tsc = new Scanner(System.in);\n\t\tint i=1;\n\t\tint s[]= new int[101];\n\t\tint sum=0;\n\t\tint count=0;\n\t\t//入力\n\t\t//System.out.println(\"Please input n and x below:\");\n\t\tfor(;;) {\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t//出力\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static Scanner sc;\n\t\n\tpublic static void main(String[] args) {\n\t\t//宣言\n\t\tint n[]= new int[101];\n\t\tint x[]= new int[300];\n\t\tsc = new Scanner(System.in);\n\t\tint i=1;\n\t\tint s[]= new int[101];\n\t\tint sum=0;\n\t\tint count=0;\n\t\t//入力\n\t\t//System.out.println(\"Please input n and x below:\");\n\t\tfor(;;) {\n\t\t\tn[i]=sc.nextInt();\n\t\t\tx[i]=sc.nextInt();\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用\n\t\t\t\ts[j]=j;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\t//出力\n\t\ti=1;\n\t\tfor(;;) {\n\t\t\tif(n[i]==0 && x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\tfor(int l=1;l<=n[i];l++) {\n\t\t\t\tfor(int m=l+1;m<=n[i];m++) {\n\t\t\t\t\tfor(int p=m+1;p<=n[i];p++) {\t\t\t\t\t\t\t\n\t\t\t\t\t\tsum=s[l]+s[m]+s[p];\n\t\t\t\t\t\tif(x[i]==sum) {\n\t\t\t\t\t\t\tcount+=1;\n\t\t\t\t\t\t\t//System.out.println(s[l]+\" \"+s[m]+\" \"+s[p]);\t\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t\tSystem.out.println(count);\n\t\t\tcount=0;\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static Scanner sc; public static void main(String[] args) { //宣言 int n[]= new int[101]; int x[]= new int[300]; sc = new Scanner(System.in); int i=1; int s[]= new int[101]; int sum=0; int count=0; //入力 //System.out.println("Please input n and x below:"); for(;;) { n[i]=sc.nextInt(); x[i]=sc.nextInt(); if(n[i]==0 && x[i]==0) { break; } i++; } i=1; for(;;) { if(n[i]==0 && x[i]==0) { break; } for(int j=1;j<=n[i];j++) {//s[j]=jとしてループで利用 s[j]=j; } i++; } //出力 i=1; for(;;) { if(n[i]==0 && x[i]==0) { break; } for(int l=1;l<=n[i];l++) { for(int m=l+1;m<=n[i];m++) { for(int p=m+1;p<=n[i];p++) { sum=s[l]+s[m]+s[p]; if(x[i]==sum) { count+=1; //System.out.println(s[l]+" "+s[m]+" "+s[p]); } } } } i++; System.out.println(count); count=0; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 3, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 2, 13, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 98, 5 ], [ 98, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 20 ], [ 19, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 14, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 14, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 41, 51 ], [ 51, 52 ], [ 52, 53 ], [ 41, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 56, 63 ], [ 63, 64 ], [ 63, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 56, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 74, 74 ], [ 74, 75 ], [ 74, 76 ], [ 74, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 14, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 6, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }\n }\n}", "Main", "public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n while(true){\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(true){\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }", "true", "{\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }", "int n", "n", "x", "x", "a=0;", "a", "0", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "if(n==0&&x==0)break;", "n==0&&x==0", "n==0", "n", "0", "x==0", "x", "0", "break;", "for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }", "{\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }", "for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }", "int j=i+1;", "int j=i+1;", "j", "i+1", "i", "1", "j<n", "j", "n", "j++", "j++", "j", "{\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }", "{\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }", "int c = x - i - j;", "c", "x - i - j", "x - i - j", "x", "i", "j", "if(c>j&&c<=n){\n a++;\n }", "c>j&&c<=n", "c>j", "c", "j", "c<=n", "c", "n", "{\n a++;\n }", "a++", "a", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[]args", "args", "public class Main {\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }\n }\n}", "public class Main {\n public static void main(String[]args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n,x,a=0;\n n = sc.nextInt();\n x = sc.nextInt();\n if(n==0&&x==0)break;\n for(int i=1;i<n-1;i++){\n for(int j=i+1;j<n;j++){\n int c = x - i - j;\n if(c>j&&c<=n){\n a++;\n }\n }\n }\n System.out.println(a);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[]args){ Scanner sc = new Scanner(System.in); while(true){ int n,x,a=0; n = sc.nextInt(); x = sc.nextInt(); if(n==0&&x==0)break; for(int i=1;i<n-1;i++){ for(int j=i+1;j<n;j++){ int c = x - i - j; if(c>j&&c<=n){ a++; } } } System.out.println(a); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 18, 13, 13, 18, 13, 13, 18, 13, 13, 14, 2, 13, 13, 40, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 20, 42, 4, 18, 13, 30, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 187, 14 ], [ 187, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 25 ], [ 25, 26 ], [ 25, 27 ], [ 17, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 28, 38 ], [ 38, 39 ], [ 39, 40 ], [ 28, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 17, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 50, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 63, 70 ], [ 70, 71 ], [ 70, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 63, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 78, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 78, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 103, 105 ], [ 92, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 17, 112 ], [ 112, 113 ], [ 15, 114 ], [ 114, 115 ], [ 15, 116 ], [ 116, 117 ], [ 187, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 124, 126 ], [ 120, 127 ], [ 127, 128 ], [ 127, 129 ], [ 120, 130 ], [ 130, 131 ], [ 120, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 133, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 144, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 155, 156 ], [ 148, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 163, 164 ], [ 140, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 170, 171 ], [ 170, 172 ], [ 165, 173 ], [ 173, 174 ], [ 140, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 180, 183 ], [ 118, 184 ], [ 184, 185 ], [ 0, 186 ], [ 186, 187 ], [ 186, 188 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n/**\n *\n * @author k16069kk\n */\npublic class Main {\n\n private static int Culc(int num, int sum) {\n int number[] = new int[num];\n int ans = 0;\n int count = 0;\n \n for (int i = 0; i < number.length; i++) {\n number[i] = i+1;\n }\n \n for (int i = 0; i < num; i++) {\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }\n return count;\n }\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n\n int num = 0;\n int sum = 0;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }\n }\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n private static int Culc(int num, int sum) {\n int number[] = new int[num];\n int ans = 0;\n int count = 0;\n \n for (int i = 0; i < number.length; i++) {\n number[i] = i+1;\n }\n \n for (int i = 0; i < num; i++) {\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }\n return count;\n }\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n\n int num = 0;\n int sum = 0;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }\n }\n}", "Main", "private static int Culc(int num, int sum) {\n int number[] = new int[num];\n int ans = 0;\n int count = 0;\n \n for (int i = 0; i < number.length; i++) {\n number[i] = i+1;\n }\n \n for (int i = 0; i < num; i++) {\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }\n return count;\n }", "Culc", "{\n int number[] = new int[num];\n int ans = 0;\n int count = 0;\n \n for (int i = 0; i < number.length; i++) {\n number[i] = i+1;\n }\n \n for (int i = 0; i < num; i++) {\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }\n return count;\n }", "int number[] = new int[num];", "number", "new int[num]", "num", "int ans = 0;", "ans", "0", "int count = 0;", "count", "0", "for (int i = 0; i < number.length; i++) {\n number[i] = i+1;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < number.length", "i", "number.length", "number", "number.length", "i++", "i++", "i", "{\n number[i] = i+1;\n }", "{\n number[i] = i+1;\n }", "number[i] = i+1", "number[i]", "number", "i", "i+1", "i", "1", "for (int i = 0; i < num; i++) {\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }", "{\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }", "for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }", "int j = i+1;", "int j = i+1;", "j", "i+1", "i", "1", "j < num", "j", "num", "j++", "j++", "j", "{\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }", "{\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }", "for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }", "int k = j+1;", "int k = j+1;", "k", "j+1", "j", "1", "k < num", "k", "num", "k++", "k++", "k", "{\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }", "{\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }", "ans = (number[i] + number[j] + number[k])", "ans", "(number[i] + number[j] + number[k])", "number[i] + number[j] + number[k]", "number[i]", "number", "i", "number[j]", "number", "j", "number[k]", "number", "k", "if (ans == sum) count++;", "ans == sum", "ans", "sum", "count++", "count", "return count;", "count", "int num", "num", "int sum", "sum", "/**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n\n int num = 0;\n int sum = 0;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }\n }", "main", "{\n\n int num = 0;\n int sum = 0;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }\n }", "int num = 0;", "num", "0", "int sum = 0;", "sum", "0", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }", "(line = br.readLine()) != null", "(line = br.readLine())", "line", "br.readLine()", "br.readLine", "br", "null", "{\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }", "java.util.StringTokenizer st = new StringTokenizer(line, \" \");", "st", "new StringTokenizer(line, \" \")", "while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }", "num = Integer.parseInt(st.nextToken())", "num", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "sum = Integer.parseInt(st.nextToken())", "sum", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "if (num == 0 && sum == 0) {\n break;\n }", "num == 0 && sum == 0", "num == 0", "num", "0", "sum == 0", "sum", "0", "{\n break;\n }", "break;", "System.out.println(Culc(num, sum))", "System.out.println", "System.out", "System", "System.out", "Culc(num, sum)", "Culc", "num", "sum", "String[] args", "args", "public class Main {\n\n private static int Culc(int num, int sum) {\n int number[] = new int[num];\n int ans = 0;\n int count = 0;\n \n for (int i = 0; i < number.length; i++) {\n number[i] = i+1;\n }\n \n for (int i = 0; i < num; i++) {\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }\n return count;\n }\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n\n int num = 0;\n int sum = 0;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }\n }\n}", "public class Main {\n\n private static int Culc(int num, int sum) {\n int number[] = new int[num];\n int ans = 0;\n int count = 0;\n \n for (int i = 0; i < number.length; i++) {\n number[i] = i+1;\n }\n \n for (int i = 0; i < num; i++) {\n for (int j = i+1; j < num; j++) {\n for (int k = j+1; k < num; k++) {\n ans = (number[i] + number[j] + number[k]);\n if (ans == sum) count++;\n }\n }\n }\n return count;\n }\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n\n int num = 0;\n int sum = 0;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n while (st.hasMoreTokens()) {\n num = Integer.parseInt(st.nextToken());\n sum = Integer.parseInt(st.nextToken());\n }\n if (num == 0 && sum == 0) {\n break;\n }\n System.out.println(Culc(num, sum));\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * * @author k16069kk */ public class Main { private static int Culc(int num, int sum) { int number[] = new int[num]; int ans = 0; int count = 0; for (int i = 0; i < number.length; i++) { number[i] = i+1; } for (int i = 0; i < num; i++) { for (int j = i+1; j < num; j++) { for (int k = j+1; k < num; k++) { ans = (number[i] + number[j] + number[k]); if (ans == sum) count++; } } } return count; } /** * @param args the command line arguments */ public static void main(String[] args) throws IOException { int num = 0; int sum = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; while ((line = br.readLine()) != null) { java.util.StringTokenizer st = new StringTokenizer(line, " "); while (st.hasMoreTokens()) { num = Integer.parseInt(st.nextToken()); sum = Integer.parseInt(st.nextToken()); } if (num == 0 && sum == 0) { break; } System.out.println(Culc(num, sum)); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 3, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 2, 2, 13, 13, 13, 40, 13, 4, 18, 18, 13, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 6, 15 ], [ 15, 16 ], [ 108, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 25, 45 ], [ 45, 46 ], [ 45, 47 ], [ 25, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 61, 68 ], [ 68, 69 ], [ 68, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 61, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 76, 83 ], [ 83, 84 ], [ 83, 85 ], [ 76, 86 ], [ 86, 87 ], [ 87, 88 ], [ 76, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 95, 95 ], [ 95, 96 ], [ 95, 97 ], [ 95, 98 ], [ 91, 99 ], [ 99, 100 ], [ 25, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n while (true) {\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n while (true) {\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }\n }\n}", "Main", "public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }", "main", "{\n Main main = new Main();\n main.solv();\n }", "Main main = new Main();", "main", "new Main()", "main.solv()", "main.solv", "main", "String[] args", "args", "private void solv() {\n Scanner input = new Scanner(System.in);\n while (true) {\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }\n }", "solv", "{\n Scanner input = new Scanner(System.in);\n while (true) {\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "while (true) {\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }", "true", "{\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }", "int n = input.nextInt();", "n", "input.nextInt()", "input.nextInt", "input", "int x = input.nextInt();", "x", "input.nextInt()", "input.nextInt", "input", "if (n == 0 && x == 0) break;", "n == 0 && x == 0", "n == 0", "n", "0", "x == 0", "x", "0", "break;", "int count = 0;", "count", "0", "for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }", "{\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }", "for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }", "int j = i + 1;", "int j = i + 1;", "j", "i + 1", "i", "1", "j <= n", "j", "n", "j++", "j++", "j", "{\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }", "{\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }", "for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }", "int k = j + 1;", "int k = j + 1;", "k", "j + 1", "j", "1", "k <= n", "k", "n", "k++", "k++", "k", "{\n if (x == i + j + k) count++;\n }", "{\n if (x == i + j + k) count++;\n }", "if (x == i + j + k) count++;", "x == i + j + k", "x", "i + j + k", "i + j + k", "i", "j", "k", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n while (true) {\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n while (true) {\n int n = input.nextInt();\n int x = input.nextInt();\n if (n == 0 && x == 0) break;\n \n int count = 0;\n for (int i = 1; i <= n; i++) {\n for (int j = i + 1; j <= n; j++) {\n for (int k = j + 1; k <= n; k++) {\n if (x == i + j + k) count++;\n }\n }\n }\n System.out.println(count);\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Main main = new Main(); main.solv(); } private void solv() { Scanner input = new Scanner(System.in); while (true) { int n = input.nextInt(); int x = input.nextInt(); if (n == 0 && x == 0) break; int count = 0; for (int i = 1; i <= n; i++) { for (int j = i + 1; j <= n; j++) { for (int k = j + 1; k <= n; k++) { if (x == i + j + k) count++; } } } System.out.println(count); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 17, 42, 2, 2, 13, 13, 17, 30, 0, 13, 17, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 57, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 57, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 72, 79 ], [ 79, 80 ], [ 79, 81 ], [ 72, 82 ], [ 82, 83 ], [ 83, 84 ], [ 72, 85 ], [ 86, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 40, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 40, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 40, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 9, 114 ], [ 114, 115 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n = 0, x = 0;\n\n\t\tn = scane.nextInt();\n\t\tx = scane.nextInt();\n\n\t\tint count =0;\n\n\n\t\twhile ((n+x) != 0) {\n\n\t\t\tcount =0;\n\n\t\t\tfor(int i= n; i>0; --i ){\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\n\n\n\t\t\tn = scane.nextInt();\n\t\t\tx = scane.nextInt();\n\n\t\t}\n\n\n\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n = 0, x = 0;\n\n\t\tn = scane.nextInt();\n\t\tx = scane.nextInt();\n\n\t\tint count =0;\n\n\n\t\twhile ((n+x) != 0) {\n\n\t\t\tcount =0;\n\n\t\t\tfor(int i= n; i>0; --i ){\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\n\n\n\t\t\tn = scane.nextInt();\n\t\t\tx = scane.nextInt();\n\n\t\t}\n\n\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n = 0, x = 0;\n\n\t\tn = scane.nextInt();\n\t\tx = scane.nextInt();\n\n\t\tint count =0;\n\n\n\t\twhile ((n+x) != 0) {\n\n\t\t\tcount =0;\n\n\t\t\tfor(int i= n; i>0; --i ){\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\n\n\n\t\t\tn = scane.nextInt();\n\t\t\tx = scane.nextInt();\n\n\t\t}\n\n\n\n\t}", "main", "{\n\n\t\tScanner scane = new Scanner(System.in);\n\n\t\tint n = 0, x = 0;\n\n\t\tn = scane.nextInt();\n\t\tx = scane.nextInt();\n\n\t\tint count =0;\n\n\n\t\twhile ((n+x) != 0) {\n\n\t\t\tcount =0;\n\n\t\t\tfor(int i= n; i>0; --i ){\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\n\n\n\t\t\tn = scane.nextInt();\n\t\t\tx = scane.nextInt();\n\n\t\t}\n\n\n\n\t}", "Scanner scane = new Scanner(System.in);", "scane", "new Scanner(System.in)", "int n = 0", "n", "0", "x = 0;", "x", "0", "n = scane.nextInt()", "n", "scane.nextInt()", "scane.nextInt", "scane", "x = scane.nextInt()", "x", "scane.nextInt()", "scane.nextInt", "scane", "int count =0;", "count", "0", "while ((n+x) != 0) {\n\n\t\t\tcount =0;\n\n\t\t\tfor(int i= n; i>0; --i ){\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\n\n\n\t\t\tn = scane.nextInt();\n\t\t\tx = scane.nextInt();\n\n\t\t}", "(n+x) != 0", "(n+x)", "n", "x", "0", "{\n\n\t\t\tcount =0;\n\n\t\t\tfor(int i= n; i>0; --i ){\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tSystem.out.println(count);\n\n\n\n\t\t\tn = scane.nextInt();\n\t\t\tx = scane.nextInt();\n\n\t\t}", "count =0", "count", "0", "for(int i= n; i>0; --i ){\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i= n;", "int i= n;", "i", "n", "i>0", "i", "0", "--i", "--i", "i", "{\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for(int j = i-1; j>0; --j){\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}", "int j = i-1;", "int j = i-1;", "j", "i-1", "i", "1", "j>0", "j", "0", "--j", "--j", "j", "{\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tfor(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}\n\t\t\t\t}", "for(int t =j-1; t>0; --t){\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}", "int t =j-1;", "int t =j-1;", "t", "j-1", "j", "1", "t>0", "t", "0", "--t", "--t", "t", "{\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}", "{\n\n\t\t\t\t\t\tif((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t}", "if((i+j+t) == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}", "(i+j+t) == x", "(i+j+t)", "i+j+t", "i", "j", "t", "x", "{\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "n = scane.nextInt()", "n", "scane.nextInt()", "scane.nextInt", "scane", "x = scane.nextInt()", "x", "scane.nextInt()", "scane.nextInt", "scane", "String[] args", "args" ]
import java.io.IOException; import java.util.Scanner; class Main { public static void main(String[] args) throws IOException { Scanner scane = new Scanner(System.in); int n = 0, x = 0; n = scane.nextInt(); x = scane.nextInt(); int count =0; while ((n+x) != 0) { count =0; for(int i= n; i>0; --i ){ for(int j = i-1; j>0; --j){ for(int t =j-1; t>0; --t){ if((i+j+t) == x){ count++; } } } } System.out.println(count); n = scane.nextInt(); x = scane.nextInt(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 3, 4, 18, 18, 13, 13, 4, 13, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 17, 1, 40, 13, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 2, 2, 2, 13, 13, 13, 13, 40, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 141, 11 ], [ 141, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 20, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 20, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 73, 75 ], [ 12, 76 ], [ 76, 77 ], [ 141, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 96, 103 ], [ 103, 104 ], [ 103, 105 ], [ 96, 106 ], [ 106, 107 ], [ 107, 108 ], [ 96, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 110, 117 ], [ 117, 118 ], [ 117, 119 ], [ 110, 120 ], [ 120, 121 ], [ 121, 122 ], [ 110, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 127, 127 ], [ 127, 128 ], [ 127, 129 ], [ 127, 130 ], [ 125, 131 ], [ 124, 132 ], [ 132, 133 ], [ 80, 134 ], [ 134, 135 ], [ 78, 136 ], [ 136, 137 ], [ 78, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n \npublic class Main {\n public static void main(String[] args) throws Exception {\n //n は 3 以上 100 以下とします。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }\n }\n static int combination(int a,int b) {\n int count=0;\n for(int i=a;i>=1;i--)\n for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;\n return count;\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n //n は 3 以上 100 以下とします。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }\n }\n static int combination(int a,int b) {\n int count=0;\n for(int i=a;i>=1;i--)\n for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;\n return count;\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n //n は 3 以上 100 以下とします。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }\n }", "main", "{\n //n は 3 以上 100 以下とします。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }", "true", "{\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] line2 = line.split(\" \");", "line2", "line.split(\" \")", "line.split", "line", "\" \"", "int i1=Integer.parseInt(line2[0]);", "i1", "Integer.parseInt(line2[0])", "Integer.parseInt", "Integer", "line2[0]", "line2", "0", "int i2=Integer.parseInt(line2[1]);", "i2", "Integer.parseInt(line2[1])", "Integer.parseInt", "Integer", "line2[1]", "line2", "1", "if(i1==0 && i2==0)break;", "i1==0 && i2==0", "i1==0", "i1", "0", "i2==0", "i2", "0", "break;", "System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) )", "System.out.println", "System.out", "System", "System.out", "combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) )", "combination", "Integer.parseInt(line2[0])", "Integer.parseInt", "Integer", "line2[0]", "line2", "0", "Integer.parseInt(line2[1])", "Integer.parseInt", "Integer", "line2[1]", "line2", "1", "String[] args", "args", "static int combination(int a,int b) {\n int count=0;\n for(int i=a;i>=1;i--)\n for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;\n return count;\n }", "combination", "{\n int count=0;\n for(int i=a;i>=1;i--)\n for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;\n return count;\n }", "int count=0;", "count", "0", "for(int i=a;i>=1;i--)\n for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;", "int i=a;", "int i=a;", "i", "a", "i>=1", "i", "1", "i--", "i--", "i", "for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;", "for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;", "int j=i-1;", "int j=i-1;", "j", "i-1", "i", "1", "j>=1", "j", "1", "j--", "j--", "j", "for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;", "for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;", "int k=j-1;", "int k=j-1;", "k", "j-1", "j", "1", "k>=1", "k", "1", "k--", "k--", "k", "if(i+j+k==b)count++;", "if(i+j+k==b)count++;", "i+j+k==b", "i+j+k", "i+j+k", "i", "j", "k", "b", "count++", "count", "return count;", "count", "int a", "a", "int b", "b", "public class Main {\n public static void main(String[] args) throws Exception {\n //n は 3 以上 100 以下とします。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }\n }\n static int combination(int a,int b) {\n int count=0;\n for(int i=a;i>=1;i--)\n for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;\n return count;\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n //n は 3 以上 100 以下とします。\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true) {\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int i1=Integer.parseInt(line2[0]);\n int i2=Integer.parseInt(line2[1]);\n if(i1==0 && i2==0)break;\n System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) );\n }\n }\n static int combination(int a,int b) {\n int count=0;\n for(int i=a;i>=1;i--)\n for(int j=i-1;j>=1;j--)\n for(int k=j-1;k>=1;k--) \n if(i+j+k==b)count++;\n return count;\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; public class Main { public static void main(String[] args) throws Exception { //n は 3 以上 100 以下とします。 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); while(true) { String line = br.readLine(); String[] line2 = line.split(" "); int i1=Integer.parseInt(line2[0]); int i2=Integer.parseInt(line2[1]); if(i1==0 && i2==0)break; System.out.println(combination(Integer.parseInt(line2[0]),Integer.parseInt(line2[1]) ) ); } } static int combination(int a,int b) { int count=0; for(int i=a;i>=1;i--) for(int j=i-1;j>=1;j--) for(int k=j-1;k>=1;k--) if(i+j+k==b)count++; return count; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 3, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 14, 2, 2, 2, 13, 13, 13, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 104, 5 ], [ 104, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 27, 29 ], [ 16, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 16, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 39, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 53, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 53, 65 ], [ 65, 66 ], [ 66, 67 ], [ 53, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 69, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 69, 81 ], [ 81, 82 ], [ 82, 83 ], [ 69, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 88, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 86, 92 ], [ 85, 93 ], [ 93, 94 ], [ 16, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 6, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while(sc.hasNext()) {\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int COUNT = 0;", "COUNT", "0", "if(n == 0 && x == 0)\n\t\t\t\tbreak;", "n == 0 && x == 0", "n == 0", "n", "0", "x == 0", "x", "0", "break;", "for(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;", "int a = 1;", "int a = 1;", "a", "1", "a < n+1", "a", "n+1", "n", "1", "a++", "a++", "a", "for(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;", "for(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;", "int b = a+1;", "int b = a+1;", "b", "a+1", "a", "1", "b < n+1", "b", "n+1", "n", "1", "b++", "b++", "b", "for(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;", "for(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;", "int c = b+1;", "int c = b+1;", "c", "b+1", "b", "1", "c < n+1", "c", "n+1", "n", "1", "c++", "c++", "c", "if (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;", "if (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;", "a+b+c == x", "a+b+c", "a+b+c", "a", "b", "c", "x", "COUNT++", "COUNT", "System.out.println(COUNT)", "System.out.println", "System.out", "System", "System.out", "COUNT", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(sc.hasNext()) {\n\t\tint n = sc.nextInt();\n\t\tint x = sc.nextInt();\n\t\tint COUNT = 0;\n\t\t\n\t\tif(n == 0 && x == 0)\n\t\t\t\tbreak;\n\n\t\tfor(int a = 1; a < n+1; a++)\n\t\t\tfor(int b = a+1; b < n+1; b++)\n\t\t\t\tfor(int c = b+1; c < n+1; c++)\n\t\t\t\t\tif (a+b+c == x)\n\t\t\t\t\t\tCOUNT++;\n\n\t\tSystem.out.println(COUNT);\n\t\t\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while(sc.hasNext()) { int n = sc.nextInt(); int x = sc.nextInt(); int COUNT = 0; if(n == 0 && x == 0) break; for(int a = 1; a < n+1; a++) for(int b = a+1; b < n+1; b++) for(int c = b+1; c < n+1; c++) if (a+b+c == x) COUNT++; System.out.println(COUNT); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 17, 3, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 2, 13, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 92, 5 ], [ 92, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 14, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 33, 43 ], [ 43, 44 ], [ 44, 45 ], [ 33, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 48, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 48, 60 ], [ 60, 61 ], [ 61, 62 ], [ 48, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 68, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 14, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 6, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}\n\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while(true) {\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}", "true", "{\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "if(n == 0) break;", "n == 0", "n", "0", "break;", "int count = 0;", "count", "0", "for(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n - 2", "i", "n - 2", "n", "2", "i++", "i++", "i", "{\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}", "int j = i + 1;", "int j = i + 1;", "j", "i + 1", "i", "1", "j <= n - 1", "j", "n - 1", "n", "1", "j++", "j++", "j", "{\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}", "int check_number = x - i - j;", "check_number", "x - i - j", "x - i - j", "x", "i", "j", "if(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}", "check_number <= n && check_number > j", "check_number <= n", "check_number", "n", "check_number > j", "check_number", "j", "{\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true) {\n\t\t\tint n = scan.nextInt();\n\t\t\tint x = scan.nextInt();\n\t\t\t\n\t\t\tif(n == 0) break;\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n - 2; i++) {\n\t\t\t\tfor(int j = i + 1; j <= n - 1; j++) {\n\t\t\t\t\tint check_number = x - i - j;\n\t\t\t\t\tif(check_number <= n && check_number > j) {\n\t\t\t\t\t\tcount++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(count);\n\t\t}\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scan = new Scanner(System.in); while(true) { int n = scan.nextInt(); int x = scan.nextInt(); if(n == 0) break; int count = 0; for(int i = 1; i <= n - 2; i++) { for(int j = i + 1; j <= n - 1; j++) { int check_number = x - i - j; if(check_number <= n && check_number > j) { count++; } } } System.out.println(count); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 110, 14 ], [ 110, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 23, 44 ], [ 44, 45 ], [ 44, 46 ], [ 23, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 60, 67 ], [ 67, 68 ], [ 67, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 60, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 75, 82 ], [ 82, 83 ], [ 82, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 75, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 93, 93 ], [ 93, 94 ], [ 93, 95 ], [ 93, 96 ], [ 91, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 23, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 15, 107 ], [ 107, 108 ], [ 0, 109 ], [ 109, 110 ], [ 109, 111 ] ]
[ "import java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}", "true", "{\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}", "final int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "final int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "if(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}", "n == 0 && x == 0", "n == 0", "n", "0", "x == 0", "x", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "int count = 0;", "count", "0", "for(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "int j = i + 1;", "int j = i + 1;", "j", "i + 1", "i", "1", "j <= n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}", "for(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "int k = j + 1;", "int k = j + 1;", "k", "j + 1", "j", "1", "k <= n", "k", "n", "k++", "k++", "k", "{\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}", "i + j + k == x", "i + j + k", "i + j + k", "i", "j", "k", "x", "{\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "String args[]", "args", "public class Main {\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int n = sc.nextInt();\n\t\t\tfinal int x = sc.nextInt();\n\t\t\t\n\t\t\tif(n == 0 && x == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tint count = 0;\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tfor(int j = i + 1; j <= n; j++){\n\t\t\t\t\tfor(int k = j + 1; k <= n; k++){\n\t\t\t\t\t\tif(i + j + k == x){\n\t\t\t\t\t\t\tcount++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(count);\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); while (true) { final int n = sc.nextInt(); final int x = sc.nextInt(); if(n == 0 && x == 0){ break; } int count = 0; for(int i = 1; i <= n; i++){ for(int j = i + 1; j <= n; j++){ for(int k = j + 1; k <= n; k++){ if(i + j + k == x){ count++; } } } } System.out.println(count); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 2, 2, 13, 13, 13, 13, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 123, 5 ], [ 123, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 14, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 81, 92 ], [ 93, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 98, 98 ], [ 98, 99 ], [ 98, 100 ], [ 98, 101 ], [ 96, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 94, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 14, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 6, 120 ], [ 120, 121 ], [ 0, 122 ], [ 122, 123 ], [ 122, 124 ] ]
[ "import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "while(true){\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}", "true", "{\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] i=str.split(\" \");", "i", "str.split(\" \")", "str.split", "str", "\" \"", "int n=Integer.parseInt(i[0])", "n", "Integer.parseInt(i[0])", "Integer.parseInt", "Integer", "i[0]", "i", "0", "x=Integer.parseInt(i[1])", "x", "Integer.parseInt(i[1])", "Integer.parseInt", "Integer", "i[1]", "i", "1", "count=0;", "count", "0", "if(n==0&&x==0){break;}", "n==0&&x==0", "n==0", "n", "0", "x==0", "x", "0", "{break;}", "break;", "for (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int a=1;", "int a=1;", "a", "1", "a<=n", "a", "n", "a++", "a++", "a", "{\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}", "int b=2;", "int b=2;", "b", "2", "b<=n", "b", "n", "b++", "b++", "b", "{\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}", "for(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}", "int c=3;", "int c=3;", "c", "3", "c<=n", "c", "n", "c++", "c++", "c", "{\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}", "{\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}", "if(a+b+c==x&&(a<b&&b<c)){count+=1;}", "a+b+c==x&&(a<b&&b<c)", "a+b+c==x", "a+b+c", "a+b+c", "a", "b", "c", "x", "(a<b&&b<c)", "a<b", "a", "b", "b<c", "b", "c", "{count+=1;}", "count+=1", "count", "1", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString str = br.readLine();\n\t\tString[] i=str.split(\" \");\n\t\tint n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0;\n\t\tif(n==0&&x==0){break;}\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tfor (int b=2;b<=n;b++){\n\t\t\t\tfor(int c=3;c<=n;c++){\n\t\t\t\t\tif(a+b+c==x&&(a<b&&b<c)){count+=1;}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args)throws IOException { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); while(true){ String str = br.readLine(); String[] i=str.split(" "); int n=Integer.parseInt(i[0]),x=Integer.parseInt(i[1]),count=0; if(n==0&&x==0){break;} for (int a=1;a<=n;a++){ for (int b=2;b<=n;b++){ for(int c=3;c<=n;c++){ if(a+b+c==x&&(a<b&&b<c)){count+=1;} } } } System.out.println(count); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 42, 17, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 3, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 2, 13, 13, 13, 14, 2, 2, 13, 13, 2, 13, 13, 40, 13, 4, 18, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 133, 11 ], [ 133, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 14, 22 ], [ 22, 23 ], [ 14, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 31, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 31, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 31, 65 ], [ 65, 66 ], [ 65, 67 ], [ 31, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 68, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 83, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 83, 95 ], [ 95, 96 ], [ 96, 97 ], [ 83, 98 ], [ 99, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 103, 103 ], [ 103, 104 ], [ 103, 105 ], [ 103, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 31, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 117, 123 ], [ 14, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 12, 130 ], [ 130, 131 ], [ 0, 132 ], [ 132, 133 ], [ 132, 134 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[];\n int n,x,count;\n StringBuilder sb = new StringBuilder();\n while(true){\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[];\n int n,x,count;\n StringBuilder sb = new StringBuilder();\n while(true){\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[];\n int n,x,count;\n StringBuilder sb = new StringBuilder();\n while(true){\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }\n System.out.print(sb);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[];\n int n,x,count;\n StringBuilder sb = new StringBuilder();\n while(true){\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }\n System.out.print(sb);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str[];", "str", "int n", "n", "x", "x", "count;", "count", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "while(true){\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }", "true", "{\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }", "str = br.readLine().split(\" \")", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "n = Integer.parseInt(str[0])", "n", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "x = Integer.parseInt(str[1])", "x", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "if(n==0 && x==0) break;", "n==0 && x==0", "n==0", "n", "0", "x==0", "x", "0", "break;", "count = 0", "count", "0", "for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<=n-2", "i", "n-2", "n", "2", "i++", "i++", "i", "{\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }", "{\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }", "for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }", "int j=i+1;", "int j=i+1;", "j", "i+1", "i", "1", "j<=n-1", "j", "n-1", "n", "1", "j++", "j++", "j", "{\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }", "{\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }", "int k = x - i - j;", "k", "x - i - j", "x - i - j", "x", "i", "j", "if(j < k && k <= n) count++;", "j < k && k <= n", "j < k", "j", "k", "k <= n", "k", "n", "count++", "count", "sb.append(count).append(\"\\n\")", "sb.append(count).append", "sb.append(count)", "sb.append", "sb", "count", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[];\n int n,x,count;\n StringBuilder sb = new StringBuilder();\n while(true){\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[];\n int n,x,count;\n StringBuilder sb = new StringBuilder();\n while(true){\n str = br.readLine().split(\" \");\n n = Integer.parseInt(str[0]);\n x = Integer.parseInt(str[1]);\n if(n==0 && x==0) break;\n count = 0;\n for(int i=1;i<=n-2;i++){\n for(int j=i+1;j<=n-1;j++){\n int k = x - i - j;\n if(j < k && k <= n) count++;\n }\n }\n sb.append(count).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str[]; int n,x,count; StringBuilder sb = new StringBuilder(); while(true){ str = br.readLine().split(" "); n = Integer.parseInt(str[0]); x = Integer.parseInt(str[1]); if(n==0 && x==0) break; count = 0; for(int i=1;i<=n-2;i++){ for(int j=i+1;j<=n-1;j++){ int k = x - i - j; if(j < k && k <= n) count++; } } sb.append(count).append("\n"); } System.out.print(sb); } }