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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
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
],
[
50,
11
],
[
50,
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
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
14,
44
],
[
44,
45
],
[
45,
46
],
[
12,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.PrintWriter;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String S = br.readLine();\n \n if(S.equals(\"ABC\")) {\n pw.println(\"ARC\");\n } else {\n pw.println(\"ABC\");\n }\n\n br.close();\n pw.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String S = br.readLine();\n \n if(S.equals(\"ABC\")) {\n pw.println(\"ARC\");\n } else {\n pw.println(\"ABC\");\n }\n\n br.close();\n pw.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String S = br.readLine();\n \n if(S.equals(\"ABC\")) {\n pw.println(\"ARC\");\n } else {\n pw.println(\"ABC\");\n }\n\n br.close();\n pw.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String S = br.readLine();\n \n if(S.equals(\"ABC\")) {\n pw.println(\"ARC\");\n } else {\n pw.println(\"ABC\");\n }\n\n br.close();\n pw.close();\n }",
"BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));",
"br",
"new BufferedReader(new java.io.InputStreamReader(System.in))",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String S = br.readLine();",
"S",
"br.readLine()",
"br.readLine",
"br",
"if(S.equals(\"ABC\")) {\n pw.println(\"ARC\");\n } else {\n pw.println(\"ABC\");\n }",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n pw.println(\"ARC\");\n }",
"pw.println(\"ARC\")",
"pw.println",
"pw",
"\"ARC\"",
"{\n pw.println(\"ABC\");\n }",
"pw.println(\"ABC\")",
"pw.println",
"pw",
"\"ABC\"",
"br.close()",
"br.close",
"br",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String S = br.readLine();\n \n if(S.equals(\"ABC\")) {\n pw.println(\"ARC\");\n } else {\n pw.println(\"ABC\");\n }\n\n br.close();\n pw.close();\n }\n}",
"public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n \n String S = br.readLine();\n \n if(S.equals(\"ABC\")) {\n pw.println(\"ARC\");\n } else {\n pw.println(\"ABC\");\n }\n\n br.close();\n pw.close();\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.PrintWriter;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));
PrintWriter pw = new PrintWriter(System.out);
String S = br.readLine();
if(S.equals("ABC")) {
pw.println("ARC");
} else {
pw.println("ABC");
}
br.close();
pw.close();
}
}
|
[
7,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
8,
4,
18,
4,
18,
20,
17,
17,
17,
23,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
7,
8
],
[
8,
9
],
[
8,
10
],
[
6,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
12,
17
],
[
11,
18
],
[
11,
19
],
[
3,
20
],
[
20,
21
]
] |
[
"class Main{public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().equals(\"ABC\")?\"ARC\":\"ABC\");}}",
"class Main{public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().equals(\"ABC\")?\"ARC\":\"ABC\");}}",
"Main",
"public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().equals(\"ABC\")?\"ARC\":\"ABC\");}",
"main",
"{System.out.print(new java.util.Scanner(System.in).next().equals(\"ABC\")?\"ARC\":\"ABC\");}",
"System.out.print(new java.util.Scanner(System.in).next().equals(\"ABC\")?\"ARC\":\"ABC\")",
"System.out.print",
"System.out",
"System",
"System.out",
"new java.util.Scanner(System.in).next().equals(\"ABC\")?\"ARC\":\"ABC\"",
"new java.util.Scanner(System.in).next().equals(\"ABC\")",
"new java.util.Scanner(System.in).next().equals",
"new java.util.Scanner(System.in).next()",
"new java.util.Scanner(System.in).next",
"new java.util.Scanner(System.in)",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"String[]a",
"a"
] |
class Main{public static void main(String[]a){System.out.print(new java.util.Scanner(System.in).next().equals("ABC")?"ARC":"ABC");}}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
39,
5
],
[
39,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String n = input.next();\n if (n.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String n = input.next();\n if (n.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String n = input.next();\n if (n.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n String n = input.next();\n if (n.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"String n = input.next();",
"n",
"input.next()",
"input.next",
"input",
"if (n.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }",
"n.equals(\"ABC\")",
"n.equals",
"n",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String n = input.next();\n if (n.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n String n = input.next();\n if (n.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n\n }\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String n = input.next();
if (n.equals("ABC")) {
System.out.println("ARC");
} else {
System.out.println("ABC");
}
}
}
|
[
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,
4,
18,
13,
14,
4,
18,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
18,
48
],
[
48,
49
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n if(N.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\"); \n }\n\n\n\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.stream.Collectors;",
"Collectors",
"java.util.stream",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n if(N.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\"); \n }\n\n\n\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n if(N.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\"); \n }\n\n\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String N=sc.next();\n if(N.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\"); \n }\n\n\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String N=sc.next();",
"N",
"sc.next()",
"sc.next",
"sc",
"if(N.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\"); \n }",
"N.equals(\"ABC\")",
"N.equals",
"N",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\"); \n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args"
] |
import java.util.Scanner;
import java.util.Arrays;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String N=sc.next();
if(N.equals("ABC")){
System.out.println("ARC");
}else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
39,
5
],
[
39,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\n\t\tif (S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\n\t\tif (S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\n\t\tif (S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\n\t\tif (S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"if (S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"S.contentEquals(\"ABC\")",
"S.contentEquals",
"S",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\n\t\tif (S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString S = scan.next();\n\n\t\tif (S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String S = scan.next();
if (S.contentEquals("ABC")) {
System.out.println("ARC");
} else {
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
12,
45
],
[
45,
46
]
] |
[
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\ttry {\n\t\t Scanner sc=new Scanner(System.in);\n\t\t String s=sc.next();\n\t\t if(s.equals(\"ARC\"))\n\t\t System.out.println(\"ABC\");\n\t\t else\n\t\t System.out.println(\"ARC\");\n\t\t} catch(Exception e) {\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\ttry {\n\t\t Scanner sc=new Scanner(System.in);\n\t\t String s=sc.next();\n\t\t if(s.equals(\"ARC\"))\n\t\t System.out.println(\"ABC\");\n\t\t else\n\t\t System.out.println(\"ARC\");\n\t\t} catch(Exception e) {\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\ttry {\n\t\t Scanner sc=new Scanner(System.in);\n\t\t String s=sc.next();\n\t\t if(s.equals(\"ARC\"))\n\t\t System.out.println(\"ABC\");\n\t\t else\n\t\t System.out.println(\"ARC\");\n\t\t} catch(Exception e) {\n\t\t}\n\t}",
"main",
"{\n\t\t// your code goes here\n\t\ttry {\n\t\t Scanner sc=new Scanner(System.in);\n\t\t String s=sc.next();\n\t\t if(s.equals(\"ARC\"))\n\t\t System.out.println(\"ABC\");\n\t\t else\n\t\t System.out.println(\"ARC\");\n\t\t} catch(Exception e) {\n\t\t}\n\t}",
"try {\n\t\t Scanner sc=new Scanner(System.in);\n\t\t String s=sc.next();\n\t\t if(s.equals(\"ARC\"))\n\t\t System.out.println(\"ABC\");\n\t\t else\n\t\t System.out.println(\"ARC\");\n\t\t} catch(Exception e) {\n\t\t}",
"catch(Exception e) {\n\t\t}",
"Exception e",
"{\n\t\t}",
"{\n\t\t Scanner sc=new Scanner(System.in);\n\t\t String s=sc.next();\n\t\t if(s.equals(\"ARC\"))\n\t\t System.out.println(\"ABC\");\n\t\t else\n\t\t System.out.println(\"ARC\");\n\t\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s=sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"if(s.equals(\"ARC\"))\n\t\t System.out.println(\"ABC\");\n\t\t else\n\t\t System.out.println(\"ARC\");",
"s.equals(\"ARC\")",
"s.equals",
"s",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"String[] args",
"args"
] |
import java.util.*;
import java.lang.*;
import java.io.*;
/* Name of the class has to be "Main" only if the class is public. */
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
// your code goes here
try {
Scanner sc=new Scanner(System.in);
String s=sc.next();
if(s.equals("ARC"))
System.out.println("ABC");
else
System.out.println("ARC");
} catch(Exception e) {
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
14,
2,
18,
13,
17,
17,
30,
0,
18,
13,
17,
17,
30,
0,
18,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
19,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.*;\n\npublic class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] arr = sc.next().toCharArray();\n\t\tif (arr[1] == 'R') {\n\t\t arr[1] = 'B';\n\t\t} else {\n\t\t arr[1] = 'R';\n\t\t}\n\t\tSystem.out.println(arr);\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\tchar[] arr = sc.next().toCharArray();\n\t\tif (arr[1] == 'R') {\n\t\t arr[1] = 'B';\n\t\t} else {\n\t\t arr[1] = 'R';\n\t\t}\n\t\tSystem.out.println(arr);\n\t}\n}",
"Main",
"public static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] arr = sc.next().toCharArray();\n\t\tif (arr[1] == 'R') {\n\t\t arr[1] = 'B';\n\t\t} else {\n\t\t arr[1] = 'R';\n\t\t}\n\t\tSystem.out.println(arr);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] arr = sc.next().toCharArray();\n\t\tif (arr[1] == 'R') {\n\t\t arr[1] = 'B';\n\t\t} else {\n\t\t arr[1] = 'R';\n\t\t}\n\t\tSystem.out.println(arr);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char[] arr = sc.next().toCharArray();",
"arr",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"if (arr[1] == 'R') {\n\t\t arr[1] = 'B';\n\t\t} else {\n\t\t arr[1] = 'R';\n\t\t}",
"arr[1] == 'R'",
"arr[1]",
"arr",
"1",
"'R'",
"{\n\t\t arr[1] = 'B';\n\t\t}",
"arr[1] = 'B'",
"arr[1]",
"arr",
"1",
"'B'",
"{\n\t\t arr[1] = 'R';\n\t\t}",
"arr[1] = 'R'",
"arr[1]",
"arr",
"1",
"'R'",
"System.out.println(arr)",
"System.out.println",
"System.out",
"System",
"System.out",
"arr",
"String[] args",
"args",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] arr = sc.next().toCharArray();\n\t\tif (arr[1] == 'R') {\n\t\t arr[1] = 'B';\n\t\t} else {\n\t\t arr[1] = 'R';\n\t\t}\n\t\tSystem.out.println(arr);\n\t}\n}",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tchar[] arr = sc.next().toCharArray();\n\t\tif (arr[1] == 'R') {\n\t\t arr[1] = 'B';\n\t\t} else {\n\t\t arr[1] = 'R';\n\t\t}\n\t\tSystem.out.println(arr);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
char[] arr = sc.next().toCharArray();
if (arr[1] == 'R') {
arr[1] = 'B';
} else {
arr[1] = 'R';
}
System.out.println(arr);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
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
],
[
41,
5
],
[
41,
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
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
18,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner kbd =new Scanner(System.in);\n String n=kbd.next();\n \n if(n.compareTo(\"ABC\")==0){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner kbd =new Scanner(System.in);\n String n=kbd.next();\n \n if(n.compareTo(\"ABC\")==0){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n}\n}",
"Main",
"public static void main(String[] args) {\n Scanner kbd =new Scanner(System.in);\n String n=kbd.next();\n \n if(n.compareTo(\"ABC\")==0){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n}",
"main",
"{\n Scanner kbd =new Scanner(System.in);\n String n=kbd.next();\n \n if(n.compareTo(\"ABC\")==0){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n}",
"Scanner kbd =new Scanner(System.in);",
"kbd",
"new Scanner(System.in)",
"String n=kbd.next();",
"n",
"kbd.next()",
"kbd.next",
"kbd",
"if(n.compareTo(\"ABC\")==0){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }",
"n.compareTo(\"ABC\")==0",
"n.compareTo(\"ABC\")",
"n.compareTo",
"n",
"\"ABC\"",
"0",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner kbd =new Scanner(System.in);\n String n=kbd.next();\n \n if(n.compareTo(\"ABC\")==0){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n}\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner kbd =new Scanner(System.in);\n String n=kbd.next();\n \n if(n.compareTo(\"ABC\")==0){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner kbd =new Scanner(System.in);
String n=kbd.next();
if(n.compareTo("ABC")==0){
System.out.println("ARC");
}else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
4,
18,
13,
17,
17,
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
],
[
38,
11
],
[
38,
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
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
28,
34
],
[
12,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
]
] |
[
"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\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\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\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\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\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str=br.readLine();\n\t\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\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",
"System.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"(str.equals(\"ABC\"))? \"ARC\":\"ABC\"",
"(str.equals(\"ABC\"))",
"str.equals",
"str",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"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\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\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\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\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();
System.out.println((str.equals("ABC"))? "ARC":"ABC");
}
}
|
[
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,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
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
],
[
143,
17
],
[
143,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
34,
55
],
[
55,
56
],
[
56,
57
],
[
34,
58
],
[
58,
59
],
[
59,
60
],
[
18,
61
],
[
61,
62
],
[
143,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
63,
67
],
[
67,
68
],
[
63,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
63,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
78,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
88,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
77,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
63,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
63,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
63,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
127,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
123,
140
],
[
140,
141
],
[
0,
142
],
[
142,
143
],
[
142,
144
]
] |
[
"import java.io.BufferedWriter;\nimport java.io.OutputStreamWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n \npublic class Main {\n public static void main(String[] args) {\n FastReader reader = new FastReader();\n BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));\n try {\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n \tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return str;\n }\n}\n}",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastReader reader = new FastReader();\n BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));\n try {\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n \tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return str;\n }\n}\n}",
"Main",
"public static void main(String[] args) {\n FastReader reader = new FastReader();\n BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));\n try {\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n FastReader reader = new FastReader();\n BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));\n try {\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"FastReader reader = new FastReader();",
"reader",
"new FastReader()",
"BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));",
"log",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"try {\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n }",
"String s = reader.nextLine();",
"s",
"reader.nextLine()",
"reader.nextLine",
"reader",
"if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }",
"s.equals(\"ARC\")",
"s.equals",
"s",
"\"ARC\"",
"{\n log.write(\"ABC\");\n }",
"log.write(\"ABC\")",
"log.write",
"log",
"\"ABC\"",
"{\n log.write(\"ARC\");\n }",
"log.write(\"ARC\")",
"log.write",
"log",
"\"ARC\"",
"log.flush()",
"log.flush",
"log",
"log.close()",
"log.close",
"log",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return str;\n }\n}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\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 int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }",
"catch (Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n public static void main(String[] args) {\n FastReader reader = new FastReader();\n BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));\n try {\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n \tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return str;\n }\n}\n}",
"public class Main {\n public static void main(String[] args) {\n FastReader reader = new FastReader();\n BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));\n try {\n String s = reader.nextLine();\n if (s.equals(\"ARC\")) {\n log.write(\"ABC\");\n } else {\n log.write(\"ARC\");\n }\n log.flush();\n log.close();\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n \tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (Exception e) {\n e.printStackTrace();\n }\n return str;\n }\n}\n}",
"Main"
] |
import java.io.BufferedWriter;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastReader reader = new FastReader();
BufferedWriter log = new BufferedWriter(new OutputStreamWriter(System.out));
try {
String s = reader.nextLine();
if (s.equals("ARC")) {
log.write("ABC");
} else {
log.write("ARC");
}
log.flush();
log.close();
} catch (Exception e) {
e.printStackTrace();
}
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
public String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
e.printStackTrace();
}
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
public String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (Exception e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
8,
4,
18,
13,
17,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
35,
5
],
[
35,
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
],
[
21,
22
],
[
20,
23
],
[
19,
24
],
[
19,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
6,
32
],
[
32,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String n = scan.nextLine();\n\n String anser = n.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n\n System.out.println(anser);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String n = scan.nextLine();\n\n String anser = n.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n\n System.out.println(anser);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String n = scan.nextLine();\n\n String anser = n.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n\n System.out.println(anser);\n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n\n String n = scan.nextLine();\n\n String anser = n.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n\n System.out.println(anser);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String n = scan.nextLine();",
"n",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String anser = n.equals(\"ABC\") ? \"ARC\" : \"ABC\";",
"anser",
"n.equals(\"ABC\") ? \"ARC\" : \"ABC\"",
"n.equals(\"ABC\")",
"n.equals",
"n",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"System.out.println(anser)",
"System.out.println",
"System.out",
"System",
"System.out",
"anser",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String n = scan.nextLine();\n\n String anser = n.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n\n System.out.println(anser);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n\n String n = scan.nextLine();\n\n String anser = n.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n\n System.out.println(anser);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String n = scan.nextLine();
String anser = n.equals("ABC") ? "ARC" : "ABC";
System.out.println(anser);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
4,
18,
13,
14,
4,
18,
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
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
]
] |
[
"\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n String sr;\n Scanner scan = new Scanner(System.in);\n sr = scan.nextLine();\n scan.close();\n\n if(sr.equals(\"ABC\")){\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n String sr;\n Scanner scan = new Scanner(System.in);\n sr = scan.nextLine();\n scan.close();\n\n if(sr.equals(\"ABC\")){\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n String sr;\n Scanner scan = new Scanner(System.in);\n sr = scan.nextLine();\n scan.close();\n\n if(sr.equals(\"ABC\")){\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n String sr;\n Scanner scan = new Scanner(System.in);\n sr = scan.nextLine();\n scan.close();\n\n if(sr.equals(\"ABC\")){\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }",
"String sr;",
"sr",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"sr = scan.nextLine()",
"sr",
"scan.nextLine()",
"scan.nextLine",
"scan",
"scan.close()",
"scan.close",
"scan",
"if(sr.equals(\"ABC\")){\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }",
"sr.equals(\"ABC\")",
"sr.equals",
"sr",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String[] args) {
String sr;
Scanner scan = new Scanner(System.in);
sr = scan.nextLine();
scan.close();
if(sr.equals("ABC")){
System.out.println("ARC");
} else {
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
39,
5
],
[
39,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\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\tString s = scan.next();\n\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"if(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString s = scan.next();\n\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\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\tString s = scan.next();\n\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String s = scan.next();
if(s.equals("ABC")) {
System.out.println("ARC");
}else {
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
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
],
[
406,
11
],
[
406,
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
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
12,
40
],
[
40,
41
],
[
406,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
42,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
42,
54
],
[
54,
55
],
[
42,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
56,
64
],
[
64,
65
],
[
42,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
69,
74
],
[
74,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
80,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
68,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
42,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
111,
125
],
[
125,
126
],
[
125,
127
],
[
111,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
132,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
111,
141
],
[
141,
142
],
[
141,
143
],
[
111,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
155,
157
],
[
150,
158
],
[
158,
159
],
[
149,
160
],
[
160,
161
],
[
160,
162
],
[
149,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
149,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
111,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
42,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
178,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
178,
192
],
[
192,
193
],
[
192,
194
],
[
178,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
199,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
178,
208
],
[
208,
209
],
[
208,
210
],
[
178,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
222,
224
],
[
217,
225
],
[
225,
226
],
[
216,
227
],
[
227,
228
],
[
227,
229
],
[
216,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
232,
234
],
[
216,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
178,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
42,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
250,
255
],
[
255,
256
],
[
255,
257
],
[
250,
258
],
[
258,
259
],
[
259,
260
],
[
250,
261
],
[
262,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
245,
269
],
[
269,
270
],
[
243,
271
],
[
271,
272
],
[
42,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
275,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
275,
289
],
[
289,
290
],
[
289,
291
],
[
275,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
292,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
298,
301
],
[
297,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
275,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
42,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
312,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
317,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
312,
325
],
[
325,
326
],
[
325,
327
],
[
312,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
328,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
334,
337
],
[
333,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
312,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
42,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
354,
357
],
[
348,
358
],
[
358,
359
],
[
362,
360
],
[
372,
361
],
[
369,
362
],
[
362,
363
],
[
363,
364
],
[
363,
365
],
[
362,
366
],
[
366,
367
],
[
366,
368
],
[
369,
369
],
[
369,
370
],
[
369,
371
],
[
372,
372
],
[
372,
373
],
[
372,
374
],
[
362,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
346,
379
],
[
379,
380
],
[
42,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
386,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
386,
390
],
[
390,
391
],
[
390,
392
],
[
386,
393
],
[
393,
394
],
[
393,
395
],
[
395,
396
],
[
381,
397
],
[
397,
398
],
[
42,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
0,
405
],
[
405,
406
],
[
405,
407
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.InputMismatchException;\n\npublic class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n String s = in.readString();\n\n if (s.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n String s = in.readString();\n\n if (s.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n String s = in.readString();\n\n if (s.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n\n String s = in.readString();\n\n if (s.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"String s = in.readString();",
"s",
"in.readString()",
"in.readString",
"in",
"if (s.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"private SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }",
"snext",
"{\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1) throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0) return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9') throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n }",
"if (c < '0' || c > '9') throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"int a[] = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) c = snext();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if (filter != null) return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n String s = in.readString();\n\n if (s.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n\n String s = in.readString();\n\n if (s.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1) throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c)) c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.util.InputMismatchException;
public class Main {
public static void main(String[] args) {
InputReader in = new InputReader(System.in);
String s = in.readString();
if (s.equals("ABC")) System.out.println("ARC");
else System.out.println("ABC");
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int snext() {
if (snumChars == -1) throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0) return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
int res = 0;
do {
if (c < '0' || c > '9') throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
long res = 0;
do {
if (c < '0' || c > '9') throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int a[] = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public String readString() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = snext();
while (isSpaceChar(c)) c = snext();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isEndOfLine(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if (filter != null) return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
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
],
[
134,
14
],
[
134,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
15,
43
],
[
43,
44
],
[
134,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
45,
49
],
[
49,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
45,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
60,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
70,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
59,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
45,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
45,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
45,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
45,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
118,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
114,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastReader s = new FastReader();\n\t\tString inp = s.next();\n\t\tif(inp.equals(\"ABC\")) System.out.println(\"ARC\");\n\t\telse System.out.println(\"ABC\");\n\t}\n\t\n\tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n \n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n long nextLong()\n {\n return Long.parseLong(next());\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\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.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastReader s = new FastReader();\n\t\tString inp = s.next();\n\t\tif(inp.equals(\"ABC\")) System.out.println(\"ARC\");\n\t\telse System.out.println(\"ABC\");\n\t}\n\t\n\tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n \n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n long nextLong()\n {\n return Long.parseLong(next());\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastReader s = new FastReader();\n\t\tString inp = s.next();\n\t\tif(inp.equals(\"ABC\")) System.out.println(\"ARC\");\n\t\telse System.out.println(\"ABC\");\n\t}",
"main",
"{\n\t\tFastReader s = new FastReader();\n\t\tString inp = s.next();\n\t\tif(inp.equals(\"ABC\")) System.out.println(\"ARC\");\n\t\telse System.out.println(\"ABC\");\n\t}",
"FastReader s = new FastReader();",
"s",
"new FastReader()",
"String inp = s.next();",
"inp",
"s.next()",
"s.next",
"s",
"if(inp.equals(\"ABC\")) System.out.println(\"ARC\");\n\t\telse System.out.println(\"ABC\");",
"inp.equals(\"ABC\")",
"inp.equals",
"inp",
"\"ABC\"",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n \n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n long nextLong()\n {\n return Long.parseLong(next());\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n\t}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\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",
"int nextInt()\n {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong()\n {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble()\n {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastReader s = new FastReader();\n\t\tString inp = s.next();\n\t\tif(inp.equals(\"ABC\")) System.out.println(\"ARC\");\n\t\telse System.out.println(\"ABC\");\n\t}\n\t\n\tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n \n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n long nextLong()\n {\n return Long.parseLong(next());\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastReader s = new FastReader();\n\t\tString inp = s.next();\n\t\tif(inp.equals(\"ABC\")) System.out.println(\"ARC\");\n\t\telse System.out.println(\"ABC\");\n\t}\n\t\n\tstatic class FastReader {\n BufferedReader br;\n StringTokenizer st;\n \n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n \n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt()\n {\n return Integer.parseInt(next());\n }\n \n long nextLong()\n {\n return Long.parseLong(next());\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n String nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastReader s = new FastReader();
String inp = s.next();
if(inp.equals("ABC")) System.out.println("ARC");
else System.out.println("ABC");
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
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
],
[
51,
11
],
[
51,
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
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
35,
47
],
[
12,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"\nimport java.util.*;\nimport java.io.*;\n\nimport static java.lang.Character.isUpperCase;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n if(str.equals(\"ABC\"))\n {\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}\n }\n\n\n\n\n }\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Character.isUpperCase;",
"import static java.lang.Character.isUpperCase;",
"import static java.lang.Character.isUpperCase;",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n if(str.equals(\"ABC\"))\n {\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}\n }\n\n\n\n\n }",
"Main",
"public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n if(str.equals(\"ABC\"))\n {\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}\n }",
"main",
"{\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n if(str.equals(\"ABC\"))\n {\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String str = in.next();",
"str",
"in.next()",
"in.next",
"in",
"if(str.equals(\"ABC\"))\n {\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}",
"str.equals(\"ABC\")",
"str.equals",
"str",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}",
"str.equals(\"ARC\")",
"str.equals",
"str",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"{}",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n if(str.equals(\"ABC\"))\n {\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}\n }\n\n\n\n\n }",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner in = new Scanner(System.in);\n\n String str = in.next();\n\n\n\n if(str.equals(\"ABC\"))\n {\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\"))\n {\n System.out.println(\"ABC\");\n }\n \n \n else{}\n }\n\n\n\n\n }",
"Main"
] |
import java.util.*;
import java.io.*;
import static java.lang.Character.isUpperCase;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String str = in.next();
if(str.equals("ABC"))
{
System.out.println("ARC");
}
else if(str.equals("ARC"))
{
System.out.println("ABC");
}
else{}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
39,
5
],
[
39,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next();\n\t\tif(N.equals(\"ABC\")) {\n\t\tN=\"ARC\";\n\t\t}else {\n\t\t\tN=\"ABC\";\n\t\t}\n\t\tSystem.out.println(N);\n\t}\n}",
"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\tString N = scan.next();\n\t\tif(N.equals(\"ABC\")) {\n\t\tN=\"ARC\";\n\t\t}else {\n\t\t\tN=\"ABC\";\n\t\t}\n\t\tSystem.out.println(N);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next();\n\t\tif(N.equals(\"ABC\")) {\n\t\tN=\"ARC\";\n\t\t}else {\n\t\t\tN=\"ABC\";\n\t\t}\n\t\tSystem.out.println(N);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next();\n\t\tif(N.equals(\"ABC\")) {\n\t\tN=\"ARC\";\n\t\t}else {\n\t\t\tN=\"ABC\";\n\t\t}\n\t\tSystem.out.println(N);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String N = scan.next();",
"N",
"scan.next()",
"scan.next",
"scan",
"if(N.equals(\"ABC\")) {\n\t\tN=\"ARC\";\n\t\t}else {\n\t\t\tN=\"ABC\";\n\t\t}",
"N.equals(\"ABC\")",
"N.equals",
"N",
"\"ABC\"",
"{\n\t\tN=\"ARC\";\n\t\t}",
"N=\"ARC\"",
"N",
"\"ARC\"",
"{\n\t\t\tN=\"ABC\";\n\t\t}",
"N=\"ABC\"",
"N",
"\"ABC\"",
"System.out.println(N)",
"System.out.println",
"System.out",
"System",
"System.out",
"N",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next();\n\t\tif(N.equals(\"ABC\")) {\n\t\tN=\"ARC\";\n\t\t}else {\n\t\t\tN=\"ABC\";\n\t\t}\n\t\tSystem.out.println(N);\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString N = scan.next();\n\t\tif(N.equals(\"ABC\")) {\n\t\tN=\"ARC\";\n\t\t}else {\n\t\t\tN=\"ABC\";\n\t\t}\n\t\tSystem.out.println(N);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
String N = scan.next();
if(N.equals("ABC")) {
N="ARC";
}else {
N="ABC";
}
System.out.println(N);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
4,
18,
13,
17,
17,
17,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
4,
13,
12,
13,
30,
4,
13,
13,
23,
13,
12,
13,
30,
14,
2,
40,
13,
2,
4,
18,
13,
17,
17,
30,
4,
13,
30,
4,
13,
17,
23,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
170,
8
],
[
170,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
18,
21
],
[
11,
22
],
[
22,
23
],
[
23,
24
],
[
9,
25
],
[
25,
26
],
[
170,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
40,
46
],
[
27,
47
],
[
47,
48
],
[
27,
49
],
[
49,
50
],
[
170,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
51,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
51,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
70,
90
],
[
90,
91
],
[
51,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
51,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
98,
112
],
[
112,
113
],
[
51,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
117,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
127,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
116,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
51,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
51,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
51,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
167,
168
],
[
0,
169
],
[
169,
170
],
[
169,
171
]
] |
[
"import java.io.*;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out, true);\n// int t = in.nextInt();\n// while (t-- > 0)\n solve(in, out);\n out.close();\n }\n\n public static void solve(FastScanner in, PrintWriter out) {\n String str = in.nextToken();\n System.out.println(str.equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n init();\n }\n\n public FastScanner(String name) {\n init(name);\n }\n\n public FastScanner(boolean isOnlineJudge) {\n if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }\n }\n\n private void init() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private void init(String name) {\n try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n\n }\n\n}\n\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out, true);\n// int t = in.nextInt();\n// while (t-- > 0)\n solve(in, out);\n out.close();\n }\n\n public static void solve(FastScanner in, PrintWriter out) {\n String str = in.nextToken();\n System.out.println(str.equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n init();\n }\n\n public FastScanner(String name) {\n init(name);\n }\n\n public FastScanner(boolean isOnlineJudge) {\n if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }\n }\n\n private void init() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private void init(String name) {\n try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out, true);\n// int t = in.nextInt();\n// while (t-- > 0)\n solve(in, out);\n out.close();\n }",
"main",
"{\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out, true);\n// int t = in.nextInt();\n// while (t-- > 0)\n solve(in, out);\n out.close();\n }",
"FastScanner in = new FastScanner();",
"in",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out, true);",
"out",
"new PrintWriter(System.out, true)",
"solve(in, out)",
"solve",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static void solve(FastScanner in, PrintWriter out) {\n String str = in.nextToken();\n System.out.println(str.equals(\"ABC\")?\"ARC\":\"ABC\");\n }",
"solve",
"{\n String str = in.nextToken();\n System.out.println(str.equals(\"ABC\")?\"ARC\":\"ABC\");\n }",
"String str = in.nextToken();",
"str",
"in.nextToken()",
"in.nextToken",
"in",
"System.out.println(str.equals(\"ABC\")?\"ARC\":\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"str.equals(\"ABC\")?\"ARC\":\"ABC\"",
"str.equals(\"ABC\")",
"str.equals",
"str",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"FastScanner in",
"in",
"PrintWriter out",
"out",
"static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n init();\n }\n\n public FastScanner(String name) {\n init(name);\n }\n\n public FastScanner(boolean isOnlineJudge) {\n if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }\n }\n\n private void init() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private void init(String name) {\n try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n\n }",
"FastScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastScanner() {\n init();\n }",
"FastScanner",
"{\n init();\n }",
"init()",
"init",
"public FastScanner(String name) {\n init(name);\n }",
"FastScanner",
"{\n init(name);\n }",
"init(name)",
"init",
"name",
"String name",
"name",
"public FastScanner(boolean isOnlineJudge) {\n if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }\n }",
"FastScanner",
"{\n if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }\n }",
"if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }",
"!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null",
"!isOnlineJudge",
"isOnlineJudge",
"System.getProperty(\"ONLINE_JUDGE\") != null",
"System.getProperty(\"ONLINE_JUDGE\")",
"System.getProperty",
"System",
"\"ONLINE_JUDGE\"",
"null",
"{\n init();\n }",
"init()",
"init",
"{\n init(\"input.txt\");\n }",
"init(\"input.txt\")",
"init",
"\"input.txt\"",
"boolean isOnlineJudge",
"isOnlineJudge",
"private void init() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"init",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"private void init(String name) {\n try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }",
"init",
"{\n try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }",
"try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"FileNotFoundException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n br = new BufferedReader(new FileReader(name));\n }",
"br = new BufferedReader(new FileReader(name))",
"br",
"new BufferedReader(new FileReader(name))",
"String name",
"name",
"public String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\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 int nextInt() {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"public long nextLong() {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"public double nextDouble() {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out, true);\n// int t = in.nextInt();\n// while (t-- > 0)\n solve(in, out);\n out.close();\n }\n\n public static void solve(FastScanner in, PrintWriter out) {\n String str = in.nextToken();\n System.out.println(str.equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n init();\n }\n\n public FastScanner(String name) {\n init(name);\n }\n\n public FastScanner(boolean isOnlineJudge) {\n if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }\n }\n\n private void init() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private void init(String name) {\n try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner in = new FastScanner();\n PrintWriter out = new PrintWriter(System.out, true);\n// int t = in.nextInt();\n// while (t-- > 0)\n solve(in, out);\n out.close();\n }\n\n public static void solve(FastScanner in, PrintWriter out) {\n String str = in.nextToken();\n System.out.println(str.equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n\n\n static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner() {\n init();\n }\n\n public FastScanner(String name) {\n init(name);\n }\n\n public FastScanner(boolean isOnlineJudge) {\n if (!isOnlineJudge || System.getProperty(\"ONLINE_JUDGE\") != null) {\n init();\n } else {\n init(\"input.txt\");\n }\n }\n\n private void init() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n private void init(String name) {\n try {\n br = new BufferedReader(new FileReader(name));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n\n public long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n public double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n\n }\n\n}",
"Main"
] |
import java.io.*;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner in = new FastScanner();
PrintWriter out = new PrintWriter(System.out, true);
// int t = in.nextInt();
// while (t-- > 0)
solve(in, out);
out.close();
}
public static void solve(FastScanner in, PrintWriter out) {
String str = in.nextToken();
System.out.println(str.equals("ABC")?"ARC":"ABC");
}
static class FastScanner {
BufferedReader br;
StringTokenizer st;
public FastScanner() {
init();
}
public FastScanner(String name) {
init(name);
}
public FastScanner(boolean isOnlineJudge) {
if (!isOnlineJudge || System.getProperty("ONLINE_JUDGE") != null) {
init();
} else {
init("input.txt");
}
}
private void init() {
br = new BufferedReader(new InputStreamReader(System.in));
}
private void init(String name) {
try {
br = new BufferedReader(new FileReader(name));
} catch (FileNotFoundException e) {
e.printStackTrace();
}
}
public String nextToken() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(nextToken());
}
public long nextLong() {
return Long.parseLong(nextToken());
}
public double nextDouble() {
return Double.parseDouble(nextToken());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
39,
5
],
[
39,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n String S=sc.nextLine();\n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\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 String S=sc.nextLine();\n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n String S=sc.nextLine();\n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n String S=sc.nextLine();\n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S=sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n String S=sc.nextLine();\n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n String S=sc.nextLine();\n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String S=sc.nextLine();
if(S.equals("ABC")){
System.out.println("ARC");
}else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String s = stdIn.nextLine();\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String s = stdIn.nextLine();\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String s = stdIn.nextLine();\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n String s = stdIn.nextLine();\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"String s = stdIn.nextLine();",
"s",
"stdIn.nextLine()",
"stdIn.nextLine",
"stdIn",
"if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }",
"s.equals(\"ARC\")",
"s.equals",
"s",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String s = stdIn.nextLine();\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner stdIn = new Scanner(System.in);\n String s = stdIn.nextLine();\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else if(s.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
String s = stdIn.nextLine();
if(s.equals("ABC")){
System.out.println("ARC");
}else if(s.equals("ARC")){
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
14,
4,
18,
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
],
[
48,
5
],
[
48,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
48,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"import java.util.*;\npublic class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n if(S.equals(\"ARC\"))System.out.println(\"ABC\");\n else if(S.equals(\"ABC\"))System.out.println(\"ARC\");\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n if(S.equals(\"ARC\"))System.out.println(\"ABC\");\n else if(S.equals(\"ABC\"))System.out.println(\"ARC\");\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"Main",
"public void solve() {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n if(S.equals(\"ARC\"))System.out.println(\"ABC\");\n else if(S.equals(\"ABC\"))System.out.println(\"ARC\");\n }",
"solve",
"{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n if(S.equals(\"ARC\"))System.out.println(\"ABC\");\n else if(S.equals(\"ABC\"))System.out.println(\"ARC\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"if(S.equals(\"ARC\"))System.out.println(\"ABC\");\n else if(S.equals(\"ABC\"))System.out.println(\"ARC\");",
"S.equals(\"ARC\")",
"S.equals",
"S",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"if(S.equals(\"ABC\"))System.out.println(\"ARC\");",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"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",
"public class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n if(S.equals(\"ARC\"))System.out.println(\"ABC\");\n else if(S.equals(\"ABC\"))System.out.println(\"ARC\");\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"public class Main {\n public void solve() {\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n if(S.equals(\"ARC\"))System.out.println(\"ABC\");\n else if(S.equals(\"ABC\"))System.out.println(\"ARC\");\n }\n\n public static void main(String[] args) {\n new Main().solve();\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public void solve() {
Scanner scan = new Scanner(System.in);
String S = scan.next();
if(S.equals("ARC"))System.out.println("ABC");
else if(S.equals("ABC"))System.out.println("ARC");
}
public static void main(String[] args) {
new Main().solve();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
6
],
[
6,
7
],
[
6,
8
],
[
45,
9
],
[
9,
10
],
[
9,
11
],
[
45,
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
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
12,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic final String s1 = \"ABC\";\n\tstatic final String s2 = \"ARC\";\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tif (s.equals(s1)) {\n\t\t\tSystem.out.println(s2);\n\t\t} else {\n\t\t\tSystem.out.println(s1);\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic final String s1 = \"ABC\";\n\tstatic final String s2 = \"ARC\";\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tif (s.equals(s1)) {\n\t\t\tSystem.out.println(s2);\n\t\t} else {\n\t\t\tSystem.out.println(s1);\n\t\t}\n\n\t}\n\n}",
"Main",
"static final String s1 = \"ABC\";",
"s1",
"\"ABC\"",
"static final String s2 = \"ARC\";",
"s2",
"\"ARC\"",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tif (s.equals(s1)) {\n\t\t\tSystem.out.println(s2);\n\t\t} else {\n\t\t\tSystem.out.println(s1);\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tif (s.equals(s1)) {\n\t\t\tSystem.out.println(s2);\n\t\t} else {\n\t\t\tSystem.out.println(s1);\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"if (s.equals(s1)) {\n\t\t\tSystem.out.println(s2);\n\t\t} else {\n\t\t\tSystem.out.println(s1);\n\t\t}",
"s.equals(s1)",
"s.equals",
"s",
"s1",
"{\n\t\t\tSystem.out.println(s2);\n\t\t}",
"System.out.println(s2)",
"System.out.println",
"System.out",
"System",
"System.out",
"s2",
"{\n\t\t\tSystem.out.println(s1);\n\t\t}",
"System.out.println(s1)",
"System.out.println",
"System.out",
"System",
"System.out",
"s1",
"String[] args",
"args",
"public class Main {\n\n\tstatic final String s1 = \"ABC\";\n\tstatic final String s2 = \"ARC\";\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tif (s.equals(s1)) {\n\t\t\tSystem.out.println(s2);\n\t\t} else {\n\t\t\tSystem.out.println(s1);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tstatic final String s1 = \"ABC\";\n\tstatic final String s2 = \"ARC\";\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString s = sc.next();\n\t\tif (s.equals(s1)) {\n\t\t\tSystem.out.println(s2);\n\t\t} else {\n\t\t\tSystem.out.println(s1);\n\t\t}\n\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
static final String s1 = "ABC";
static final String s2 = "ARC";
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
if (s.equals(s1)) {
System.out.println(s2);
} else {
System.out.println(s1);
}
}
}
|
[
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,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
211,
17
],
[
211,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
18,
48
],
[
48,
49
],
[
211,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
58,
67
],
[
67,
68
],
[
50,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
72,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
71,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
50,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
99,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
109,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
98,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
50,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
50,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
50,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
50,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
159,
167
],
[
167,
168
],
[
168,
169
],
[
159,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
175,
176
],
[
154,
177
],
[
177,
178
],
[
152,
179
],
[
179,
180
],
[
50,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
188,
193
],
[
193,
194
],
[
193,
195
],
[
188,
196
],
[
196,
197
],
[
197,
198
],
[
188,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
183,
206
],
[
206,
207
],
[
181,
208
],
[
208,
209
],
[
0,
210
],
[
210,
211
],
[
210,
212
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tString s = sc.next();\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\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.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tString s = sc.next();\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tString s = sc.next();\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tString s = sc.next();\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"if(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"FastScanner",
"{\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"next",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"nextLine",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t return reader.readLine();\n\t }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public long nextLong() {\n\t return Long.parseLong(next());\n\t }",
"nextLong",
"{\n\t return Long.parseLong(next());\n\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public int nextInt() {\n\t return Integer.parseInt(next());\n\t }",
"nextInt",
"{\n\t return Integer.parseInt(next());\n\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }",
"nextDouble",
"{\n\t return Double.parseDouble(next());\n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"nextIntArray",
"{\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"nextLongArray",
"{\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t a[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tString s = sc.next();\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tString s = sc.next();\n\t\tif(s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
String s = sc.next();
if(s.equals("ABC")) {
System.out.println("ARC");
}else {
System.out.println("ABC");
}
}
static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
9,
41
],
[
41,
42
]
] |
[
"import java.util.ArrayList;\nimport java.util.Scanner;\n class Main\n{\n\tpublic static void main (String[] args)\n\t {\n\t\tScanner sc=new Scanner(System.in); \n\t\tint t,i;\n\t\tString s=sc.next();\n\t\tif(s.equals(\"ABC\"))\n\t\t\tSystem.out.println(\"ARC\");\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t\t\t\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main (String[] args)\n\t {\n\t\tScanner sc=new Scanner(System.in); \n\t\tint t,i;\n\t\tString s=sc.next();\n\t\tif(s.equals(\"ABC\"))\n\t\t\tSystem.out.println(\"ARC\");\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t\t\t\n\t}\n}",
"Main",
"public static void main (String[] args)\n\t {\n\t\tScanner sc=new Scanner(System.in); \n\t\tint t,i;\n\t\tString s=sc.next();\n\t\tif(s.equals(\"ABC\"))\n\t\t\tSystem.out.println(\"ARC\");\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t\t\t\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in); \n\t\tint t,i;\n\t\tString s=sc.next();\n\t\tif(s.equals(\"ABC\"))\n\t\t\tSystem.out.println(\"ARC\");\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int t",
"t",
"i;",
"i",
"String s=sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"if(s.equals(\"ABC\"))\n\t\t\tSystem.out.println(\"ARC\");\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args"
] |
import java.util.ArrayList;
import java.util.Scanner;
class Main
{
public static void main (String[] args)
{
Scanner sc=new Scanner(System.in);
int t,i;
String s=sc.next();
if(s.equals("ABC"))
System.out.println("ARC");
else
System.out.println("ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
4,
18,
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
],
[
42,
5
],
[
42,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String Ans = null;\n if(S.equals(\"ABC\")){\n Ans = \"ARC\";\n } else {\n Ans = \"ABC\";\n }\n \n System.out.println(Ans);\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String Ans = null;\n if(S.equals(\"ABC\")){\n Ans = \"ARC\";\n } else {\n Ans = \"ABC\";\n }\n \n System.out.println(Ans);\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String Ans = null;\n if(S.equals(\"ABC\")){\n Ans = \"ARC\";\n } else {\n Ans = \"ABC\";\n }\n \n System.out.println(Ans);\n \n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String Ans = null;\n if(S.equals(\"ABC\")){\n Ans = \"ARC\";\n } else {\n Ans = \"ABC\";\n }\n \n System.out.println(Ans);\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String Ans = null;",
"Ans",
"null",
"if(S.equals(\"ABC\")){\n Ans = \"ARC\";\n } else {\n Ans = \"ABC\";\n }",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n Ans = \"ARC\";\n }",
"Ans = \"ARC\"",
"Ans",
"\"ARC\"",
"{\n Ans = \"ABC\";\n }",
"Ans = \"ABC\"",
"Ans",
"\"ABC\"",
"System.out.println(Ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"Ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String Ans = null;\n if(S.equals(\"ABC\")){\n Ans = \"ARC\";\n } else {\n Ans = \"ABC\";\n }\n \n System.out.println(Ans);\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n String Ans = null;\n if(S.equals(\"ABC\")){\n Ans = \"ARC\";\n } else {\n Ans = \"ABC\";\n }\n \n System.out.println(Ans);\n \n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
String S = sc.next();
String Ans = null;
if(S.equals("ABC")){
Ans = "ARC";
} else {
Ans = "ABC";
}
System.out.println(Ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
40,
4,
18,
13,
17,
40,
4,
18,
13,
17,
29,
41,
13,
4,
18,
13,
14,
2,
18,
13,
17,
17,
30,
0,
18,
13,
17,
17,
14,
2,
18,
13,
17,
17,
30,
0,
18,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
29,
41
],
[
23,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
23,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
47,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
23,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] |
[
"import java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args) {\n\t Scanner stdIn = new Scanner(System.in);\n\t try {\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t } finally {\n\t\t stdIn.close();\n\t }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\t Scanner stdIn = new Scanner(System.in);\n\t try {\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t } finally {\n\t\t stdIn.close();\n\t }\n }\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner stdIn = new Scanner(System.in);\n\t try {\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t } finally {\n\t\t stdIn.close();\n\t }\n }",
"main",
"{\n\t Scanner stdIn = new Scanner(System.in);\n\t try {\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t } finally {\n\t\t stdIn.close();\n\t }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"try {\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t } finally {\n\t\t stdIn.close();\n\t }",
"catch (Exception e) {\n\t\t e.printStackTrace();\n\t }",
"Exception e",
"{\n\t\t e.printStackTrace();\n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t stdIn.close();\n\t }",
"stdIn.close()",
"stdIn.close",
"stdIn",
"{\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t }",
"String preContestName = stdIn.next();",
"preContestName",
"stdIn.next()",
"stdIn.next",
"stdIn",
"if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;",
"!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")",
"!preContestName.equals(\"ABC\")",
"preContestName.equals(\"ABC\")",
"preContestName.equals",
"preContestName",
"\"ABC\"",
"!preContestName.equals(\"ARC\")",
"preContestName.equals(\"ARC\")",
"preContestName.equals",
"preContestName",
"\"ARC\"",
"return;",
"char[] postContestName = preContestName.toCharArray();",
"postContestName",
"preContestName.toCharArray()",
"preContestName.toCharArray",
"preContestName",
"if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }",
"postContestName[1] == 'B'",
"postContestName[1]",
"postContestName",
"1",
"'B'",
"{\n\t\t\t postContestName[1] = 'R';\n\t\t }",
"postContestName[1] = 'R'",
"postContestName[1]",
"postContestName",
"1",
"'R'",
"if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }",
"postContestName[1] == 'R'",
"postContestName[1]",
"postContestName",
"1",
"'R'",
"{\n\t\t\t postContestName[1] = 'B';\n\t\t }",
"postContestName[1] = 'B'",
"postContestName[1]",
"postContestName",
"1",
"'B'",
"System.out.println(postContestName)",
"System.out.println",
"System.out",
"System",
"System.out",
"postContestName",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\t Scanner stdIn = new Scanner(System.in);\n\t try {\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t } finally {\n\t\t stdIn.close();\n\t }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\t Scanner stdIn = new Scanner(System.in);\n\t try {\n\t\t String preContestName = stdIn.next();\n\t\t if (!preContestName.equals(\"ABC\") && !preContestName.equals(\"ARC\")) return;\n\t\t char[] postContestName = preContestName.toCharArray();\n\t\t if (postContestName[1] == 'B') {\n\t\t\t postContestName[1] = 'R';\n\t\t } else if (postContestName[1] == 'R') {\n\t\t\t postContestName[1] = 'B';\n\t\t }\n\t\t System.out.println(postContestName);\n\t } catch (Exception e) {\n\t\t e.printStackTrace();\n\t } finally {\n\t\t stdIn.close();\n\t }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
try {
String preContestName = stdIn.next();
if (!preContestName.equals("ABC") && !preContestName.equals("ARC")) return;
char[] postContestName = preContestName.toCharArray();
if (postContestName[1] == 'B') {
postContestName[1] = 'R';
} else if (postContestName[1] == 'R') {
postContestName[1] = 'B';
}
System.out.println(postContestName);
} catch (Exception e) {
e.printStackTrace();
} finally {
stdIn.close();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
17,
41,
13,
39,
39,
17,
17,
39,
17,
40,
17,
39,
17,
17,
39,
40,
17,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
13,
17,
30,
4,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
17,
41,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
42,
2,
13,
13,
30,
4,
13,
13,
13,
13,
40,
13,
40,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
18,
13,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
17,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
3,
40,
13,
14,
2,
13,
17,
30,
29,
17,
41,
13,
2,
18,
13,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
13,
3,
4,
13,
13,
13,
13,
4,
13,
13,
2,
13,
17,
2,
18,
13,
13,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
13,
17,
29,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
13,
17,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
29,
4,
13,
13,
13,
14,
2,
2,
13,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
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
],
[
453,
14
],
[
453,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
17,
21
],
[
453,
22
],
[
22,
23
],
[
22,
24
],
[
453,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
453,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
44,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
53,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
42,
66
],
[
66,
67
],
[
453,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
70,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
70,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
70,
96
],
[
96,
97
],
[
68,
98
],
[
98,
99
],
[
68,
100
],
[
100,
101
],
[
453,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
104,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
114,
116
],
[
104,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
102,
122
],
[
122,
123
],
[
102,
124
],
[
124,
125
],
[
102,
126
],
[
126,
127
],
[
453,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
136,
139
],
[
136,
140
],
[
135,
141
],
[
141,
142
],
[
135,
143
],
[
143,
144
],
[
128,
145
],
[
145,
146
],
[
128,
147
],
[
147,
148
],
[
128,
149
],
[
149,
150
],
[
453,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
154,
160
],
[
160,
161
],
[
161,
162
],
[
153,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
153,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
175,
185
],
[
185,
186
],
[
174,
187
],
[
187,
188
],
[
153,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
194,
195
],
[
153,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
153,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
203,
212
],
[
212,
213
],
[
212,
214
],
[
203,
215
],
[
215,
216
],
[
216,
217
],
[
203,
218
],
[
219,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
225,
226
],
[
225,
227
],
[
220,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
153,
233
],
[
233,
234
],
[
233,
235
],
[
233,
236
],
[
233,
237
],
[
153,
238
],
[
238,
239
],
[
238,
240
],
[
238,
241
],
[
241,
242
],
[
241,
243
],
[
238,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
153,
249
],
[
249,
250
],
[
151,
251
],
[
251,
252
],
[
453,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
260,
265
],
[
265,
266
],
[
265,
267
],
[
260,
268
],
[
268,
269
],
[
269,
270
],
[
260,
271
],
[
272,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
273,
277
],
[
277,
278
],
[
277,
279
],
[
255,
280
],
[
280,
281
],
[
253,
282
],
[
282,
283
],
[
453,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
287,
292
],
[
284,
293
],
[
293,
294
],
[
453,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
298,
301
],
[
302,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
303,
308
],
[
308,
309
],
[
308,
310
],
[
297,
311
],
[
311,
312
],
[
311,
313
],
[
295,
314
],
[
314,
315
],
[
453,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
321,
324
],
[
320,
325
],
[
325,
326
],
[
326,
327
],
[
325,
328
],
[
316,
329
],
[
329,
330
],
[
453,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
340,
343
],
[
333,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
345,
349
],
[
344,
350
],
[
350,
351
],
[
351,
352
],
[
333,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
354,
357
],
[
357,
358
],
[
357,
359
],
[
331,
360
],
[
360,
361
],
[
331,
362
],
[
362,
363
],
[
453,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
364,
368
],
[
368,
369
],
[
364,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
364,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
380,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
379,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
389,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
378,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
364,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
408,
411
],
[
411,
412
],
[
364,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
417,
420
],
[
420,
421
],
[
364,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
426,
429
],
[
429,
430
],
[
364,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
434,
435
],
[
434,
436
],
[
433,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
437,
444
],
[
444,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
448,
449
],
[
433,
450
],
[
450,
451
],
[
0,
452
],
[
452,
453
],
[
452,
454
]
] |
[
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n if (str.equals(\"ABC\")) {\n print(\"ARC\");\n } else {\n print(\"ABC\");\n }\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\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.*;",
"util.*",
"java",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n if (str.equals(\"ABC\")) {\n print(\"ARC\");\n } else {\n print(\"ABC\");\n }\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"private static final int MOD = (int) Math.pow(10, 9);",
"MOD",
"(int) Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"private static final long EIGHT = (long) 1e18;",
"EIGHT",
"(long) 1e18",
"private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};",
"DIRS",
"{{0, 1}, {0, -1}, {1, 0}, {-1, 0}}",
"{0, 1}",
"0",
"1",
"{0, -1}",
"0",
"-1",
"1",
"{1, 0}",
"1",
"0",
"{-1, 0}",
"-1",
"1",
"0",
"public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n if (str.equals(\"ABC\")) {\n print(\"ARC\");\n } else {\n print(\"ABC\");\n }\n }",
"main",
"{\n FastReader sc = new FastReader();\n String str = sc.next();\n if (str.equals(\"ABC\")) {\n print(\"ARC\");\n } else {\n print(\"ABC\");\n }\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"if (str.equals(\"ABC\")) {\n print(\"ARC\");\n } else {\n print(\"ABC\");\n }",
"str.equals(\"ABC\")",
"str.equals",
"str",
"\"ABC\"",
"{\n print(\"ARC\");\n }",
"print(\"ARC\")",
"print",
"\"ARC\"",
"{\n print(\"ABC\");\n }",
"print(\"ABC\")",
"print",
"\"ABC\"",
"String[] args",
"args",
"/*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }",
"isOverflowByMul",
"{\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }",
"if (a == 0 || b == 0) {\n return false;\n }",
"a == 0 || b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n return false;\n }",
"return false;",
"false",
"long result = a * b;",
"result",
"a * b",
"a",
"b",
"if (a == result / b) {\n return false;\n }",
"a == result / b",
"a",
"result / b",
"result",
"b",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"long a",
"a",
"long b",
"b",
"static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"swap",
"{\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }",
"int tmp = nums[x];",
"tmp",
"nums[x]",
"nums",
"x",
"nums[x] = nums[y]",
"nums[x]",
"nums",
"x",
"nums[y]",
"nums",
"y",
"nums[y] = tmp",
"nums[y]",
"nums",
"y",
"tmp",
"int[] nums",
"nums",
"int x",
"x",
"int y",
"y",
"static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"reverse",
"{\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }",
"while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }",
"left < right",
"left",
"right",
"{\n swap(nums, left, right);\n left++;\n right--;\n }",
"swap(nums, left, right)",
"swap",
"nums",
"left",
"right",
"left++",
"left",
"right--",
"right",
"int[] nums",
"nums",
"int left",
"left",
"int right",
"right",
"static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"findNextPermutation",
"{\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }",
"if (nums.length <= 1) {\n return false;\n }",
"nums.length <= 1",
"nums.length",
"nums",
"nums.length",
"1",
"{\n return false;\n }",
"return false;",
"false",
"int last = nums.length - 2;",
"last",
"nums.length - 2",
"nums.length",
"nums",
"nums.length",
"2",
"while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"last >= 0",
"last",
"0",
"{\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }",
"if (nums[last] < nums[last + 1]){\n break;\n }",
"nums[last] < nums[last + 1]",
"nums[last]",
"nums",
"last",
"nums[last + 1]",
"nums",
"last + 1",
"last",
"1",
"{\n break;\n }",
"break;",
"last--",
"last",
"if (last < 0) { return false; }",
"last < 0",
"last",
"0",
"{ return false; }",
"return false;",
"false",
"int nextGenerater = nums.length - 1;",
"nextGenerater",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"int i = nums.length - 1;",
"int i = nums.length - 1;",
"i",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"i > last",
"i",
"last",
"i--",
"i--",
"i",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"{\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }",
"if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }",
"nums[i] > nums[last]",
"nums[i]",
"nums",
"i",
"nums[last]",
"nums",
"last",
"{\n nextGenerater = i;\n break;\n }",
"nextGenerater = i",
"nextGenerater",
"i",
"break;",
"swap(nums, nextGenerater, last)",
"swap",
"nums",
"nextGenerater",
"last",
"reverse(nums, last + 1, nums.length - 1)",
"reverse",
"nums",
"last + 1",
"last",
"1",
"nums.length - 1",
"nums.length",
"nums",
"nums.length",
"1",
"return true;",
"true",
"int[] nums",
"nums",
"static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"generateNArray",
"{\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = i + 1;\n }",
"{\n res[i] = i + 1;\n }",
"res[i] = i + 1",
"res[i]",
"res",
"i",
"i + 1",
"i",
"1",
"return res;",
"res",
"int n",
"n",
"static private void print(String s) {\n System.out.println(s);\n }",
"print",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"printArray",
"{\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }",
"for (int s: e) {\n System.out.print(s + \" \");\n }",
"int s",
"e",
"{\n System.out.print(s + \" \");\n }",
"{\n System.out.print(s + \" \");\n }",
"System.out.print(s + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"s + \" \"",
"s",
"\" \"",
"print(\"\")",
"print",
"\"\"",
"int[] e",
"e",
"static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }",
"log2",
"{\n return (int)(Math.log(x) / Math.log(2));\n }",
"return (int)(Math.log(x) / Math.log(2));",
"(int)(Math.log(x) / Math.log(2))",
"Math.log(x)",
"Math.log",
"Math",
"x",
"Math.log(2)",
"Math.log",
"Math",
"2",
"int x",
"x",
"static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"gcd",
"{\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }",
"if (m < n) { return gcd(n, m); }",
"m < n",
"m",
"n",
"{ return gcd(n, m); }",
"return gcd(n, m);",
"gcd(n, m)",
"gcd",
"n",
"m",
"if (m % n == 0) { return n; }",
"m % n == 0",
"m % n",
"m",
"n",
"0",
"{ return n; }",
"return n;",
"n",
"return gcd(n, m%n);",
"gcd(n, m%n)",
"gcd",
"n",
"m%n",
"m",
"n",
"long m",
"m",
"long n",
"n",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\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",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n if (str.equals(\"ABC\")) {\n print(\"ARC\");\n } else {\n print(\"ABC\");\n }\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n private static final int MOD = (int) Math.pow(10, 9);\n private static final long EIGHT = (long) 1e18;\n private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n String str = sc.next();\n if (str.equals(\"ABC\")) {\n print(\"ARC\");\n } else {\n print(\"ABC\");\n }\n }\n\n /*\n * Check if a * b is overflow or not\n */\n static Boolean isOverflowByMul(long a, long b) {\n if (a == 0 || b == 0) {\n return false;\n }\n\n long result = a * b;\n if (a == result / b) {\n return false;\n }\n return true;\n }\n\n static private void swap(int[] nums, int x, int y) {\n int tmp = nums[x];\n nums[x] = nums[y];\n nums[y] = tmp;\n }\n\n static private void reverse(int[] nums, int left, int right) {\n while (left < right) {\n swap(nums, left, right);\n left++;\n right--;\n }\n }\n\n static private boolean findNextPermutation(int[] nums) {\n if (nums.length <= 1) {\n return false;\n }\n\n int last = nums.length - 2;\n\n while (last >= 0) {\n if (nums[last] < nums[last + 1]){\n break;\n }\n last--;\n }\n\n if (last < 0) { return false; }\n int nextGenerater = nums.length - 1;\n\n for (int i = nums.length - 1; i > last; i--) {\n if (nums[i] > nums[last]) {\n nextGenerater = i;\n break;\n }\n }\n\n swap(nums, nextGenerater, last);\n reverse(nums, last + 1, nums.length - 1);\n return true;\n }\n\n static private int[] generateNArray(int n) {\n int[] res = new int[n];\n\n for (int i = 0; i < n; i++) {\n res[i] = i + 1;\n }\n\n return res;\n }\n\n static private void print(String s) {\n System.out.println(s);\n }\n\n static private void printArray(int[] e) {\n for (int s: e) {\n System.out.print(s + \" \");\n }\n print(\"\");\n }\n\n static private int log2(int x) {\n return (int)(Math.log(x) / Math.log(2));\n }\n\n static private long gcd(long m, long n) {\n if (m < n) { return gcd(n, m); }\n if (m % n == 0) { return n; }\n return gcd(n, m%n);\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
private static final int MOD = (int) Math.pow(10, 9);
private static final long EIGHT = (long) 1e18;
private static final int[][] DIRS = {{0, 1}, {0, -1}, {1, 0}, {-1, 0}};
public static void main(String[] args) {
FastReader sc = new FastReader();
String str = sc.next();
if (str.equals("ABC")) {
print("ARC");
} else {
print("ABC");
}
}
/*
* Check if a * b is overflow or not
*/
static Boolean isOverflowByMul(long a, long b) {
if (a == 0 || b == 0) {
return false;
}
long result = a * b;
if (a == result / b) {
return false;
}
return true;
}
static private void swap(int[] nums, int x, int y) {
int tmp = nums[x];
nums[x] = nums[y];
nums[y] = tmp;
}
static private void reverse(int[] nums, int left, int right) {
while (left < right) {
swap(nums, left, right);
left++;
right--;
}
}
static private boolean findNextPermutation(int[] nums) {
if (nums.length <= 1) {
return false;
}
int last = nums.length - 2;
while (last >= 0) {
if (nums[last] < nums[last + 1]){
break;
}
last--;
}
if (last < 0) { return false; }
int nextGenerater = nums.length - 1;
for (int i = nums.length - 1; i > last; i--) {
if (nums[i] > nums[last]) {
nextGenerater = i;
break;
}
}
swap(nums, nextGenerater, last);
reverse(nums, last + 1, nums.length - 1);
return true;
}
static private int[] generateNArray(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = i + 1;
}
return res;
}
static private void print(String s) {
System.out.println(s);
}
static private void printArray(int[] e) {
for (int s: e) {
System.out.print(s + " ");
}
print("");
}
static private int log2(int x) {
return (int)(Math.log(x) / Math.log(2));
}
static private long gcd(long m, long n) {
if (m < n) { return gcd(n, m); }
if (m % n == 0) { return n; }
return gcd(n, m%n);
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try{
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"//package atcoder;\n \nimport java.util.*;\n \npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif(S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\tif(S.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\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\tString S = sc.next();\n\t\tif(S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\tif(S.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif(S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\tif(S.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif(S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\tif(S.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"if(S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"S.contentEquals(\"ABC\")",
"S.contentEquals",
"S",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"if(S.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"S.equals(\"ARC\")",
"S.equals",
"S",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif(S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\tif(S.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\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\tString S = sc.next();\n\t\tif(S.contentEquals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\tif(S.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n}",
"Main"
] |
//package atcoder;
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
if(S.contentEquals("ABC")) {
System.out.println("ARC");
}
if(S.equals("ARC")) {
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
17,
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
],
[
48,
11
],
[
48,
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
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
27,
32
],
[
26,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
12,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"/*\nIf you want to aim high, aim high\nDon't let that studying and grades consume you\nJust live life young\n******************************\nIf I'm the sun, you're the moon\nBecause when I go up, you go down\n*******************************\nI'm working for the day I will surpass you\nhttps://www.a2oj.com/Ladder16.html\n*/\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\n public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n StringTokenizer st = new StringTokenizer(infile.readLine());\n String lol = st.nextToken();\n if(lol.charAt(1) == 'B')\n System.out.println(\"ARC\");\n else\n System.out.println(\"ABC\");\n }\n }",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n StringTokenizer st = new StringTokenizer(infile.readLine());\n String lol = st.nextToken();\n if(lol.charAt(1) == 'B')\n System.out.println(\"ARC\");\n else\n System.out.println(\"ABC\");\n }\n }",
"Main",
"public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n StringTokenizer st = new StringTokenizer(infile.readLine());\n String lol = st.nextToken();\n if(lol.charAt(1) == 'B')\n System.out.println(\"ARC\");\n else\n System.out.println(\"ABC\");\n }",
"main",
"{\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n StringTokenizer st = new StringTokenizer(infile.readLine());\n String lol = st.nextToken();\n if(lol.charAt(1) == 'B')\n System.out.println(\"ARC\");\n else\n System.out.println(\"ABC\");\n }",
"BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));",
"infile",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(infile.readLine());",
"st",
"new StringTokenizer(infile.readLine())",
"String lol = st.nextToken();",
"lol",
"st.nextToken()",
"st.nextToken",
"st",
"if(lol.charAt(1) == 'B')\n System.out.println(\"ARC\");\n else\n System.out.println(\"ABC\");",
"lol.charAt(1) == 'B'",
"lol.charAt(1)",
"lol.charAt",
"lol",
"1",
"'B'",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String omkar[]",
"omkar",
"public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n StringTokenizer st = new StringTokenizer(infile.readLine());\n String lol = st.nextToken();\n if(lol.charAt(1) == 'B')\n System.out.println(\"ARC\");\n else\n System.out.println(\"ABC\");\n }\n }",
"public class Main\n {\n public static void main(String omkar[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in)); \n StringTokenizer st = new StringTokenizer(infile.readLine());\n String lol = st.nextToken();\n if(lol.charAt(1) == 'B')\n System.out.println(\"ARC\");\n else\n System.out.println(\"ABC\");\n }\n }",
"Main"
] |
/*
If you want to aim high, aim high
Don't let that studying and grades consume you
Just live life young
******************************
If I'm the sun, you're the moon
Because when I go up, you go down
*******************************
I'm working for the day I will surpass you
https://www.a2oj.com/Ladder16.html
*/
import java.util.*;
import java.io.*;
import java.math.*;
public class Main
{
public static void main(String omkar[]) throws Exception
{
BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(infile.readLine());
String lol = st.nextToken();
if(lol.charAt(1) == 'B')
System.out.println("ARC");
else
System.out.println("ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString abc =\"ABC\";\n\t\tString arc =\"ARC\";\n\t\t\n\t\tif(S.equals(abc)) {\n\t\t\tSystem.out.println(arc);\n\t\t}else {\n\t\t\tSystem.out.println(abc);\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 scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString abc =\"ABC\";\n\t\tString arc =\"ARC\";\n\t\t\n\t\tif(S.equals(abc)) {\n\t\t\tSystem.out.println(arc);\n\t\t}else {\n\t\t\tSystem.out.println(abc);\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString abc =\"ABC\";\n\t\tString arc =\"ARC\";\n\t\t\n\t\tif(S.equals(abc)) {\n\t\t\tSystem.out.println(arc);\n\t\t}else {\n\t\t\tSystem.out.println(abc);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString abc =\"ABC\";\n\t\tString arc =\"ARC\";\n\t\t\n\t\tif(S.equals(abc)) {\n\t\t\tSystem.out.println(arc);\n\t\t}else {\n\t\t\tSystem.out.println(abc);\n\t\t}\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.nextLine();",
"S",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String abc =\"ABC\";",
"abc",
"\"ABC\"",
"String arc =\"ARC\";",
"arc",
"\"ARC\"",
"if(S.equals(abc)) {\n\t\t\tSystem.out.println(arc);\n\t\t}else {\n\t\t\tSystem.out.println(abc);\n\t\t}",
"S.equals(abc)",
"S.equals",
"S",
"abc",
"{\n\t\t\tSystem.out.println(arc);\n\t\t}",
"System.out.println(arc)",
"System.out.println",
"System.out",
"System",
"System.out",
"arc",
"{\n\t\t\tSystem.out.println(abc);\n\t\t}",
"System.out.println(abc)",
"System.out.println",
"System.out",
"System",
"System.out",
"abc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString abc =\"ABC\";\n\t\tString arc =\"ARC\";\n\t\t\n\t\tif(S.equals(abc)) {\n\t\t\tSystem.out.println(arc);\n\t\t}else {\n\t\t\tSystem.out.println(abc);\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n\t\tString abc =\"ABC\";\n\t\tString arc =\"ARC\";\n\t\t\n\t\tif(S.equals(abc)) {\n\t\t\tSystem.out.println(arc);\n\t\t}else {\n\t\t\tSystem.out.println(abc);\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String S = scan.nextLine();
String abc ="ABC";
String arc ="ARC";
if(S.equals(abc)) {
System.out.println(arc);
}else {
System.out.println(abc);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
14,
4,
18,
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
],
[
42,
5
],
[
42,
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
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n// String t = sc.next();\n sc.close();\n// System.out.println(\"input: \"+ s);\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\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 String s = sc.nextLine();\n// String t = sc.next();\n sc.close();\n// System.out.println(\"input: \"+ s);\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n// String t = sc.next();\n sc.close();\n// System.out.println(\"input: \"+ s);\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n// String t = sc.next();\n sc.close();\n// System.out.println(\"input: \"+ s);\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.nextLine();",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"sc.close()",
"sc.close",
"sc",
"if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n// String t = sc.next();\n sc.close();\n// System.out.println(\"input: \"+ s);\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.nextLine();\n// String t = sc.next();\n sc.close();\n// System.out.println(\"input: \"+ s);\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n// String[] arr1 = s.split(\"\");\n// String[] arr2 = t.split(\"\");\n//// List<String> list1 = Arrays.asList(s.split(\"\"));\n// List list1 = new LinkedList(Arrays.asList(s.split(\"\")));\n//// List<String> list2 = Arrays.asList(t.split(\"\"));\n// List list2 = new LinkedList(Arrays.asList(t.split(\"\")));\n//// int num = Integer.parseInt(arr[arr.length - 1]);\n// list2.remove(arr2.length - 1);\n//// System.out.println(list1);\n//// System.out.println(list2);\n// if(list1.toString().contentEquals(list2.toString())){\n// System.out.println(\"Yes\");\n// }else{\n// System.out.println(\"No\");\n// }\n// switch(num){\n// case 3:\n// System.out.println(\"bon\");\n// break;\n// case 0:\n// case 1:\n// case 6:\n// case 8:\n// System.out.println(\"pon\");\n// break;\n// default:\n// System.out.println(\"hon\");\n// break;\n// }\n// String[] array = str.split(\" \");\n// int sum = 0;\n// for(int i=0; i<array.length; i++) {\n// int num = Integer.parseInt(array[i]);\n// sum += num;\n// }\n// System.out.println(15-sum);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
// String t = sc.next();
sc.close();
// System.out.println("input: "+ s);
if(s.equals("ABC")){
System.out.println("ARC");
}else{
System.out.println("ABC");
}
// String[] arr1 = s.split("");
// String[] arr2 = t.split("");
//// List<String> list1 = Arrays.asList(s.split(""));
// List list1 = new LinkedList(Arrays.asList(s.split("")));
//// List<String> list2 = Arrays.asList(t.split(""));
// List list2 = new LinkedList(Arrays.asList(t.split("")));
//// int num = Integer.parseInt(arr[arr.length - 1]);
// list2.remove(arr2.length - 1);
//// System.out.println(list1);
//// System.out.println(list2);
// if(list1.toString().contentEquals(list2.toString())){
// System.out.println("Yes");
// }else{
// System.out.println("No");
// }
// switch(num){
// case 3:
// System.out.println("bon");
// break;
// case 0:
// case 1:
// case 6:
// case 8:
// System.out.println("pon");
// break;
// default:
// System.out.println("hon");
// break;
// }
// String[] array = str.split(" ");
// int sum = 0;
// for(int i=0; i<array.length; i++) {
// int num = Integer.parseInt(array[i]);
// sum += num;
// }
// System.out.println(15-sum);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
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
],
[
177,
11
],
[
177,
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
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
12,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
44,
55
],
[
55,
56
],
[
55,
57
],
[
44,
58
],
[
58,
59
],
[
58,
60
],
[
44,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
64,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
71,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
63,
96
],
[
96,
97
],
[
44,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
44,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
112,
123
],
[
123,
124
],
[
44,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
128,
138
],
[
138,
139
],
[
127,
140
],
[
140,
141
],
[
141,
142
],
[
44,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
146,
150
],
[
150,
151
],
[
145,
152
],
[
152,
153
],
[
152,
154
],
[
145,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
145,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
145,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
0,
176
],
[
176,
177
],
[
176,
178
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n String A = sc.next();\n if(A.equals(\"ABC\")) {\n \tSystem.out.print(\"ARC\");\n } else {\n \tSystem.out.print(\"ABC\");\n }\n }\n}\n\nclass FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n String A = sc.next();\n if(A.equals(\"ABC\")) {\n \tSystem.out.print(\"ARC\");\n } else {\n \tSystem.out.print(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n String A = sc.next();\n if(A.equals(\"ABC\")) {\n \tSystem.out.print(\"ARC\");\n } else {\n \tSystem.out.print(\"ABC\");\n }\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n\n String A = sc.next();\n if(A.equals(\"ABC\")) {\n \tSystem.out.print(\"ARC\");\n } else {\n \tSystem.out.print(\"ABC\");\n }\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"String A = sc.next();",
"A",
"sc.next()",
"sc.next",
"sc",
"if(A.equals(\"ABC\")) {\n \tSystem.out.print(\"ARC\");\n } else {\n \tSystem.out.print(\"ABC\");\n }",
"A.equals(\"ABC\")",
"A.equals",
"A",
"\"ABC\"",
"{\n \tSystem.out.print(\"ARC\");\n }",
"System.out.print(\"ARC\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n \tSystem.out.print(\"ABC\");\n }",
"System.out.print(\"ABC\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"hasNext",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n String A = sc.next();\n if(A.equals(\"ABC\")) {\n \tSystem.out.print(\"ARC\");\n } else {\n \tSystem.out.print(\"ABC\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n\n String A = sc.next();\n if(A.equals(\"ABC\")) {\n \tSystem.out.print(\"ARC\");\n } else {\n \tSystem.out.print(\"ABC\");\n }\n }\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
String A = sc.next();
if(A.equals("ABC")) {
System.out.print("ARC");
} else {
System.out.print("ABC");
}
}
}
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
}else{
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while(isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
2,
17,
17,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
4,
18,
13,
17,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
13,
17,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
18,
13,
13,
12,
13,
30,
0,
13,
17,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
18,
13,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
4,
18,
13,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
29,
13,
23,
13,
12,
13,
30,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
20,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
13,
17,
29,
2,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
14,
2,
13,
17,
29,
13,
41,
13,
17,
41,
13,
41,
13,
0,
13,
8,
2,
13,
13,
13,
13,
0,
13,
8,
2,
13,
13,
13,
13,
0,
13,
13,
42,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
13,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
2,
13,
17,
41,
13,
2,
13,
2,
13,
17,
29,
2,
2,
17,
13,
13,
12,
13,
30,
41,
13,
13,
29,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
17,
13,
17,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
2,
13,
2,
13,
17,
41,
13,
2,
13,
2,
13,
17,
29,
2,
2,
17,
13,
13,
12,
13,
30,
41,
13,
13,
29,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
17,
13,
17,
13,
17,
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
],
[
540,
17
],
[
540,
18
],
[
18,
19
],
[
18,
20
],
[
540,
21
],
[
21,
22
],
[
21,
23
],
[
540,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
540,
29
],
[
29,
30
],
[
29,
31
],
[
540,
32
],
[
32,
33
],
[
540,
34
],
[
34,
35
],
[
34,
36
],
[
540,
37
],
[
37,
38
],
[
37,
39
],
[
540,
40
],
[
40,
41
],
[
540,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
49,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
44,
64
],
[
64,
65
],
[
65,
66
],
[
44,
67
],
[
67,
68
],
[
68,
69
],
[
42,
70
],
[
70,
71
],
[
540,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
80,
85
],
[
74,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
540,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
99,
104
],
[
93,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
540,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
112,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
540,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
129,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
540,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
146,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
540,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
163,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
540,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
185,
186
],
[
184,
187
],
[
175,
188
],
[
188,
189
],
[
540,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
203,
205
],
[
200,
206
],
[
206,
207
],
[
192,
208
],
[
208,
209
],
[
190,
210
],
[
210,
211
],
[
540,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
219,
224
],
[
224,
225
],
[
224,
226
],
[
219,
227
],
[
227,
228
],
[
228,
229
],
[
219,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
212,
236
],
[
236,
237
],
[
540,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
241,
246
],
[
238,
247
],
[
247,
248
],
[
238,
249
],
[
249,
250
],
[
540,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
259,
260
],
[
260,
261
],
[
259,
262
],
[
251,
263
],
[
263,
264
],
[
540,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
273,
275
],
[
267,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
281,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
280,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
296,
300
],
[
280,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
303,
305
],
[
267,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
265,
310
],
[
310,
311
],
[
265,
312
],
[
312,
313
],
[
265,
314
],
[
314,
315
],
[
540,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
323,
324
],
[
318,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
329
],
[
329,
330
],
[
318,
331
],
[
331,
332
],
[
331,
333
],
[
318,
334
],
[
334,
335
],
[
318,
336
],
[
336,
337
],
[
318,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
340,
344
],
[
340,
345
],
[
318,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
348,
352
],
[
348,
353
],
[
318,
354
],
[
354,
355
],
[
354,
356
],
[
318,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
358,
362
],
[
357,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
366,
368
],
[
363,
369
],
[
369,
370
],
[
369,
371
],
[
363,
372
],
[
372,
373
],
[
372,
374
],
[
318,
375
],
[
375,
376
],
[
316,
377
],
[
377,
378
],
[
316,
379
],
[
379,
380
],
[
540,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
381,
385
],
[
385,
386
],
[
381,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
390,
394
],
[
389,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
395,
399
],
[
387,
400
],
[
400,
401
],
[
387,
402
],
[
402,
403
],
[
381,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
411,
413
],
[
406,
414
],
[
414,
415
],
[
414,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
418,
420
],
[
406,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
422,
426
],
[
381,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
430,
432
],
[
429,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
437,
438
],
[
437,
439
],
[
434,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
442,
444
],
[
427,
445
],
[
445,
446
],
[
381,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
450,
451
],
[
454,
452
],
[
452,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
453,
457
],
[
452,
458
],
[
454,
459
],
[
540,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
460,
464
],
[
464,
465
],
[
460,
466
],
[
466,
467
],
[
466,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
469,
473
],
[
468,
474
],
[
474,
475
],
[
475,
476
],
[
475,
477
],
[
474,
478
],
[
466,
479
],
[
479,
480
],
[
466,
481
],
[
481,
482
],
[
460,
483
],
[
483,
484
],
[
483,
485
],
[
485,
486
],
[
486,
487
],
[
486,
488
],
[
488,
489
],
[
488,
490
],
[
490,
491
],
[
490,
492
],
[
485,
493
],
[
493,
494
],
[
493,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
497,
499
],
[
485,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
501,
505
],
[
460,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
509,
511
],
[
508,
512
],
[
512,
513
],
[
513,
514
],
[
514,
515
],
[
514,
516
],
[
516,
517
],
[
516,
518
],
[
513,
519
],
[
519,
520
],
[
519,
521
],
[
521,
522
],
[
521,
523
],
[
506,
524
],
[
524,
525
],
[
460,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
529,
530
],
[
533,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
533,
535
],
[
532,
536
],
[
531,
537
],
[
533,
538
],
[
0,
539
],
[
539,
540
],
[
539,
541
]
] |
[
"/*****Author: Satyajeet Singh, Delhi Technological University************************************/\n import java.io.*;\n import java.util.*;\n import java.text.*; \n import java.lang.*;\n import java.math.*;\npublic class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n String str=ps();\n if(str.charAt(1)=='R')out.println(\"ABC\");\n else out.println(\"ARC\");\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n String str=ps();\n if(str.charAt(1)=='R')out.println(\"ABC\");\n else out.println(\"ARC\");\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"Main",
"/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"static long mod=(long)1e9+7;",
"mod",
"(long)1e9+7",
"(long)1e9",
"7",
"static long mod1=998244353;",
"mod1",
"998244353",
"static ArrayList<Integer> graph[];",
"graph",
"static int pptr=0",
"pptr",
"0",
"pptrmax=0;",
"pptrmax",
"0",
"static String st[];",
"st",
"/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n String str=ps();\n if(str.charAt(1)=='R')out.println(\"ABC\");\n else out.println(\"ARC\");\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }",
"main",
"{\n String str=ps();\n if(str.charAt(1)=='R')out.println(\"ABC\");\n else out.println(\"ARC\");\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }",
"String str=ps();",
"str",
"ps()",
"ps",
"if(str.charAt(1)=='R')out.println(\"ABC\");\n else out.println(\"ARC\");",
"str.charAt(1)=='R'",
"str.charAt(1)",
"str.charAt",
"str",
"1",
"'R'",
"out.println(\"ABC\")",
"out.println",
"out",
"\"ABC\"",
"out.println(\"ARC\")",
"out.println",
"out",
"\"ARC\"",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }",
"nl",
"{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }",
"pptr=0",
"pptr",
"0",
"st=br.readLine().split(\" \")",
"st",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"pptrmax=st.length",
"pptrmax",
"st.length",
"st",
"st.length",
"static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }",
"nls",
"{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }",
"pptr=0",
"pptr",
"0",
"st=br.readLine().split(\"\")",
"st",
"br.readLine().split(\"\")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\"\"",
"pptrmax=st.length",
"pptrmax",
"st.length",
"st",
"st.length",
"static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }",
"pi",
"{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return Integer.parseInt(st[pptr++]);",
"Integer.parseInt(st[pptr++])",
"Integer.parseInt",
"Integer",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }",
"pl",
"{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return Long.parseLong(st[pptr++]);",
"Long.parseLong(st[pptr++])",
"Long.parseLong",
"Long",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }",
"pd",
"{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return Double.parseDouble(st[pptr++]);",
"Double.parseDouble(st[pptr++])",
"Double.parseDouble",
"Double",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }",
"ps",
"{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }",
"if(pptr==pptrmax)\n nl();",
"pptr==pptrmax",
"pptr",
"pptrmax",
"nl()",
"nl",
"return st[pptr++];",
"st[pptr++]",
"st",
"pptr++",
"pptr",
"/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }",
"printPrecision",
"{\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }",
"DecimalFormat ft = new DecimalFormat(\"0.000000000000\");",
"ft",
"new DecimalFormat(\"0.000000000000\")",
"out.print(ft.format(d))",
"out.print",
"out",
"ft.format(d)",
"ft.format",
"ft",
"d",
"double d",
"d",
"/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }",
"countBit",
"{\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }",
"int ans=0;",
"ans",
"0",
"while(mask!=0){\n mask&=(mask-1);\n ans++;\n }",
"mask!=0",
"mask",
"0",
"{\n mask&=(mask-1);\n ans++;\n }",
"mask&=(mask-1)",
"mask",
"(mask-1)",
"mask",
"1",
"ans++",
"ans",
"return ans;",
"ans",
"long mask",
"mask",
"/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }",
"Makegraph",
"{\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }",
"graph=new ArrayList[n]",
"graph",
"new ArrayList[n]",
"n",
"for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"graph[i]=new ArrayList<>();",
"graph[i]=new ArrayList<>()",
"graph[i]",
"graph",
"i",
"new ArrayList<>()",
"int n",
"n",
"static void addEdge(int a,int b){\n graph[a].add(b);\n }",
"addEdge",
"{\n graph[a].add(b);\n }",
"graph[a].add(b)",
"graph[a].add",
"graph[a]",
"graph",
"a",
"b",
"int a",
"a",
"int b",
"b",
"/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }",
"debug",
"{\n System.out.println(Arrays.deepToString(o));\n }",
"System.out.println(Arrays.deepToString(o))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(o)",
"Arrays.deepToString",
"Arrays",
"o",
"Object... o",
"o",
"/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }",
"modulo",
"{\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }",
"long x=1",
"x",
"1",
"y=a%c;",
"y",
"a%c",
"a",
"c",
"while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }",
"b > 0",
"b",
"0",
"{\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }",
"if(b%2 == 1)\n x=(x*y)%c;",
"b%2 == 1",
"b%2",
"b",
"2",
"1",
"x=(x*y)%c",
"x",
"(x*y)%c",
"(x*y)",
"x",
"y",
"c",
"y = (y*y)%c",
"y",
"(y*y)%c",
"(y*y)",
"y",
"y",
"c",
"b = b>>1",
"b",
"b>>1",
"b",
"1",
"return x%c;",
"x%c",
"x",
"c",
"long a",
"a",
"long b",
"b",
"long c",
"c",
"/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }",
"gcd",
"{\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }",
"if(x==0)\n return y;",
"x==0",
"x",
"0",
"return y;",
"y",
"if(y==0)\n return x;",
"y==0",
"y",
"0",
"return x;",
"x",
"long r=0",
"r",
"0",
"a",
"a",
"b;",
"b",
"a = (x > y) ? x : y",
"a",
"(x > y) ? x : y",
"(x > y)",
"x",
"y",
"x",
"y",
"b = (x < y) ? x : y",
"b",
"(x < y) ? x : y",
"(x < y)",
"x",
"y",
"x",
"y",
"r = b",
"r",
"b",
"while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }",
"a % b != 0",
"a % b",
"a",
"b",
"0",
"{\n r = a % b;\n a = b;\n b = r;\n }",
"r = a % b",
"r",
"a % b",
"a",
"b",
"a = b",
"a",
"b",
"b = r",
"b",
"r",
"return r;",
"r",
"long x",
"x",
"long y",
"y",
" static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }",
"Pair",
"int u;",
"u",
"int v;",
"v",
"public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }",
"Pair",
"{\n this.u = u;\n this.v = v;\n }",
"this.u = u",
"this.u",
"this",
"this.u",
"u",
"this.v = v",
"this.v",
"this",
"this.v",
"v",
"int u",
"u",
"int v",
"v",
"public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"hashCode",
"{\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"int hu = (int) (u ^ (u >>> 32));",
"hu",
"(int) (u ^ (u >>> 32))",
"u",
"(u >>> 32)",
"u",
"32",
"int hv = (int) (v ^ (v >>> 32));",
"hv",
"(int) (v ^ (v >>> 32))",
"v",
"(v >>> 32)",
"v",
"32",
"return 31 * hu + hv;",
"31 * hu + hv",
"31 * hu",
"31",
"hu",
"hv",
"public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }",
"equals",
"{\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }",
"Pair other = (Pair) o;",
"other",
"(Pair) o",
"return u == other.u && v == other.v;",
"u == other.u && v == other.v",
"u == other.u",
"u",
"other.u",
"other",
"other.u",
"v == other.v",
"v",
"other.v",
"other",
"other.v",
"Object o",
"o",
"public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"toString",
"{\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"return \"[u=\" + u + \", v=\" + v + \"]\";",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"v",
"\", v=\"",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"\"[u=\"",
"u",
"\", v=\"",
"v",
"\"]\"",
" static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }",
"Pairl",
"long u;",
"u",
"long v;",
"v",
"public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }",
"Pairl",
"{\n this.u = u;\n this.v = v;\n }",
"this.u = u",
"this.u",
"this",
"this.u",
"u",
"this.v = v",
"this.v",
"this",
"this.v",
"v",
"long u",
"u",
"long v",
"v",
"public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"hashCode",
"{\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }",
"int hu = (int) (u ^ (u >>> 32));",
"hu",
"(int) (u ^ (u >>> 32))",
"u",
"(u >>> 32)",
"u",
"32",
"int hv = (int) (v ^ (v >>> 32));",
"hv",
"(int) (v ^ (v >>> 32))",
"v",
"(v >>> 32)",
"v",
"32",
"return 31 * hu + hv;",
"31 * hu + hv",
"31 * hu",
"31",
"hu",
"hv",
"public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }",
"equals",
"{\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }",
"Pairl other = (Pairl) o;",
"other",
"(Pairl) o",
"return u == other.u && v == other.v;",
"u == other.u && v == other.v",
"u == other.u",
"u",
"other.u",
"other",
"other.u",
"v == other.v",
"v",
"other.v",
"other",
"other.v",
"Object o",
"o",
"public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"toString",
"{\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }",
"return \"[u=\" + u + \", v=\" + v + \"]\";",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"v",
"\", v=\"",
"\"[u=\" + u + \", v=\" + v + \"]\"",
"\"[u=\"",
"u",
"\", v=\"",
"v",
"\"]\"",
"public class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n String str=ps();\n if(str.charAt(1)=='R')out.println(\"ABC\");\n else out.println(\"ARC\");\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"public class Main{\n/*********************************************Constants******************************************/\n static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out)); \n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n static long mod=(long)1e9+7;\n static long mod1=998244353;\n static ArrayList<Integer> graph[];\n static int pptr=0,pptrmax=0;\n static String st[];\n/*****************************************Solution Begins***************************************/\n public static void main(String args[]) throws Exception{\n String str=ps();\n if(str.charAt(1)=='R')out.println(\"ABC\");\n else out.println(\"ARC\");\n/****************************************Solution Ends**************************************************/\n out.flush();\n out.close();\n }\n/****************************************Template Begins************************************************/\n static void nl() throws Exception{\n pptr=0;\n st=br.readLine().split(\" \");\n pptrmax=st.length;\n }\n static void nls() throws Exception{\n pptr=0;\n st=br.readLine().split(\"\");\n pptrmax=st.length;\n }\n static int pi() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Integer.parseInt(st[pptr++]);\n }\n static long pl() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Long.parseLong(st[pptr++]);\n }\n static double pd() throws Exception{\n if(pptr==pptrmax)\n nl();\n return Double.parseDouble(st[pptr++]);\n }\n static String ps() throws Exception{\n if(pptr==pptrmax)\n nl();\n return st[pptr++];\n }\n/***************************************Precision Printing**********************************************/\n static void printPrecision(double d){\n DecimalFormat ft = new DecimalFormat(\"0.000000000000\"); \n out.print(ft.format(d));\n }\n/**************************************Bit Manipulation**************************************************/\n static int countBit(long mask){\n int ans=0;\n while(mask!=0){\n mask&=(mask-1);\n ans++;\n }\n return ans;\n }\n/******************************************Graph*********************************************************/\n static void Makegraph(int n){\n graph=new ArrayList[n];\n for(int i=0;i<n;i++)\n graph[i]=new ArrayList<>();\n }\n static void addEdge(int a,int b){\n graph[a].add(b);\n }\n // static void addEdge(int a,int b,int c){\n // graph[a].add(new Pair(b,c));\n // } \n/*********************************************PAIR********************************************************/\n static class Pair{\n int u;\n int v;\n public Pair(int u, int v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pair other = (Pair) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/******************************************Long Pair*******************************************************/\n static class Pairl{\n long u;\n long v;\n public Pairl(long u, long v) {\n this.u = u;\n this.v = v;\n }\n public int hashCode() {\n int hu = (int) (u ^ (u >>> 32));\n int hv = (int) (v ^ (v >>> 32));\n return 31 * hu + hv;\n }\n public boolean equals(Object o) {\n Pairl other = (Pairl) o;\n return u == other.u && v == other.v;\n }\n public String toString() {\n return \"[u=\" + u + \", v=\" + v + \"]\";\n }\n }\n/*****************************************DEBUG***********************************************************/\n public static void debug(Object... o){\n System.out.println(Arrays.deepToString(o));\n }\n/************************************MODULAR EXPONENTIATION***********************************************/\n static long modulo(long a,long b,long c){\n long x=1,y=a%c;\n while(b > 0){\n if(b%2 == 1)\n x=(x*y)%c;\n y = (y*y)%c;\n b = b>>1;\n }\n return x%c;\n }\n/********************************************GCD**********************************************************/\n static long gcd(long x, long y){\n if(x==0)\n return y;\n if(y==0)\n return x;\n long r=0, a, b;\n a = (x > y) ? x : y; \n b = (x < y) ? x : y;\n r = b;\n while(a % b != 0){\n r = a % b;\n a = b;\n b = r;\n }\n return r;\n }\n}",
"Main"
] |
/*****Author: Satyajeet Singh, Delhi Technological University************************************/
import java.io.*;
import java.util.*;
import java.text.*;
import java.lang.*;
import java.math.*;
public class Main{
/*********************************************Constants******************************************/
static PrintWriter out=new PrintWriter(new OutputStreamWriter(System.out));
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
static long mod=(long)1e9+7;
static long mod1=998244353;
static ArrayList<Integer> graph[];
static int pptr=0,pptrmax=0;
static String st[];
/*****************************************Solution Begins***************************************/
public static void main(String args[]) throws Exception{
String str=ps();
if(str.charAt(1)=='R')out.println("ABC");
else out.println("ARC");
/****************************************Solution Ends**************************************************/
out.flush();
out.close();
}
/****************************************Template Begins************************************************/
static void nl() throws Exception{
pptr=0;
st=br.readLine().split(" ");
pptrmax=st.length;
}
static void nls() throws Exception{
pptr=0;
st=br.readLine().split("");
pptrmax=st.length;
}
static int pi() throws Exception{
if(pptr==pptrmax)
nl();
return Integer.parseInt(st[pptr++]);
}
static long pl() throws Exception{
if(pptr==pptrmax)
nl();
return Long.parseLong(st[pptr++]);
}
static double pd() throws Exception{
if(pptr==pptrmax)
nl();
return Double.parseDouble(st[pptr++]);
}
static String ps() throws Exception{
if(pptr==pptrmax)
nl();
return st[pptr++];
}
/***************************************Precision Printing**********************************************/
static void printPrecision(double d){
DecimalFormat ft = new DecimalFormat("0.000000000000");
out.print(ft.format(d));
}
/**************************************Bit Manipulation**************************************************/
static int countBit(long mask){
int ans=0;
while(mask!=0){
mask&=(mask-1);
ans++;
}
return ans;
}
/******************************************Graph*********************************************************/
static void Makegraph(int n){
graph=new ArrayList[n];
for(int i=0;i<n;i++)
graph[i]=new ArrayList<>();
}
static void addEdge(int a,int b){
graph[a].add(b);
}
// static void addEdge(int a,int b,int c){
// graph[a].add(new Pair(b,c));
// }
/*********************************************PAIR********************************************************/
static class Pair{
int u;
int v;
public Pair(int u, int v) {
this.u = u;
this.v = v;
}
public int hashCode() {
int hu = (int) (u ^ (u >>> 32));
int hv = (int) (v ^ (v >>> 32));
return 31 * hu + hv;
}
public boolean equals(Object o) {
Pair other = (Pair) o;
return u == other.u && v == other.v;
}
public String toString() {
return "[u=" + u + ", v=" + v + "]";
}
}
/******************************************Long Pair*******************************************************/
static class Pairl{
long u;
long v;
public Pairl(long u, long v) {
this.u = u;
this.v = v;
}
public int hashCode() {
int hu = (int) (u ^ (u >>> 32));
int hv = (int) (v ^ (v >>> 32));
return 31 * hu + hv;
}
public boolean equals(Object o) {
Pairl other = (Pairl) o;
return u == other.u && v == other.v;
}
public String toString() {
return "[u=" + u + ", v=" + v + "]";
}
}
/*****************************************DEBUG***********************************************************/
public static void debug(Object... o){
System.out.println(Arrays.deepToString(o));
}
/************************************MODULAR EXPONENTIATION***********************************************/
static long modulo(long a,long b,long c){
long x=1,y=a%c;
while(b > 0){
if(b%2 == 1)
x=(x*y)%c;
y = (y*y)%c;
b = b>>1;
}
return x%c;
}
/********************************************GCD**********************************************************/
static long gcd(long x, long y){
if(x==0)
return y;
if(y==0)
return x;
long r=0, a, b;
a = (x > y) ? x : y;
b = (x < y) ? x : y;
r = b;
while(a % b != 0){
r = a % b;
a = b;
b = r;
}
return r;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n /** constance */\n String conABC = \"ABC\";\n String conARC = \"ARC\";\n \n /** Scanner */\n Scanner sc = new Scanner(System.in);\n \n /** input */\n String lastHolded = sc.next();\n\n if(lastHolded.equals(conABC)){\n System.out.println(conARC);\n } else {\n System.out.println(conABC);\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n /** constance */\n String conABC = \"ABC\";\n String conARC = \"ARC\";\n \n /** Scanner */\n Scanner sc = new Scanner(System.in);\n \n /** input */\n String lastHolded = sc.next();\n\n if(lastHolded.equals(conABC)){\n System.out.println(conARC);\n } else {\n System.out.println(conABC);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n /** constance */\n String conABC = \"ABC\";\n String conARC = \"ARC\";\n \n /** Scanner */\n Scanner sc = new Scanner(System.in);\n \n /** input */\n String lastHolded = sc.next();\n\n if(lastHolded.equals(conABC)){\n System.out.println(conARC);\n } else {\n System.out.println(conABC);\n }\n\n }",
"main",
"{\n /** constance */\n String conABC = \"ABC\";\n String conARC = \"ARC\";\n \n /** Scanner */\n Scanner sc = new Scanner(System.in);\n \n /** input */\n String lastHolded = sc.next();\n\n if(lastHolded.equals(conABC)){\n System.out.println(conARC);\n } else {\n System.out.println(conABC);\n }\n\n }",
"String conABC = \"ABC\";",
"conABC",
"\"ABC\"",
"String conARC = \"ARC\";",
"conARC",
"\"ARC\"",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String lastHolded = sc.next();",
"lastHolded",
"sc.next()",
"sc.next",
"sc",
"if(lastHolded.equals(conABC)){\n System.out.println(conARC);\n } else {\n System.out.println(conABC);\n }",
"lastHolded.equals(conABC)",
"lastHolded.equals",
"lastHolded",
"conABC",
"{\n System.out.println(conARC);\n }",
"System.out.println(conARC)",
"System.out.println",
"System.out",
"System",
"System.out",
"conARC",
"{\n System.out.println(conABC);\n }",
"System.out.println(conABC)",
"System.out.println",
"System.out",
"System",
"System.out",
"conABC",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n /** constance */\n String conABC = \"ABC\";\n String conARC = \"ARC\";\n \n /** Scanner */\n Scanner sc = new Scanner(System.in);\n \n /** input */\n String lastHolded = sc.next();\n\n if(lastHolded.equals(conABC)){\n System.out.println(conARC);\n } else {\n System.out.println(conABC);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n /** constance */\n String conABC = \"ABC\";\n String conARC = \"ARC\";\n \n /** Scanner */\n Scanner sc = new Scanner(System.in);\n \n /** input */\n String lastHolded = sc.next();\n\n if(lastHolded.equals(conABC)){\n System.out.println(conARC);\n } else {\n System.out.println(conABC);\n }\n\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
/** constance */
String conABC = "ABC";
String conARC = "ARC";
/** Scanner */
Scanner sc = new Scanner(System.in);
/** input */
String lastHolded = sc.next();
if(lastHolded.equals(conABC)){
System.out.println(conARC);
} else {
System.out.println(conABC);
}
}
}
|
[
7,
15,
13,
17,
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,
4,
18,
13,
14,
4,
18,
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
],
[
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
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
21,
51
],
[
51,
52
]
] |
[
"import java.util.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Map;\nimport java.util.TreeMap;\nimport java.util.HashMap;\n\nclass Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.TreeMap;",
"TreeMap",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"class Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n \n String s = sc.next();\n\n if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"if(s.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args"
] |
import java.util.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Map;
import java.util.TreeMap;
import java.util.HashMap;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String s = sc.next();
if(s.equals("ABC")){
System.out.println("ARC");
}
else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
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
],
[
41,
5
],
[
41,
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
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
18,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String s=scan.next();\n if(s.charAt(1)=='B'){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String s=scan.next();\n if(s.charAt(1)=='B'){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String s=scan.next();\n if(s.charAt(1)=='B'){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String s=scan.next();\n if(s.charAt(1)=='B'){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s=scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"if(s.charAt(1)=='B'){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }",
"s.charAt(1)=='B'",
"s.charAt(1)",
"s.charAt",
"s",
"1",
"'B'",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String s=scan.next();\n if(s.charAt(1)=='B'){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n String s=scan.next();\n if(s.charAt(1)=='B'){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner scan = new Scanner(System.in);
String s=scan.next();
if(s.charAt(1)=='B'){
System.out.println("ARC");
}
else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
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
],
[
53,
5
],
[
53,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tString a=sc.next();\n\t\tString ABC=\"ABC\";\n\t\tString ARC=\"ARC\";\n\n\t\tif(a.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}\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 sc=new Scanner(System.in);\n\t\t\n\t\tString a=sc.next();\n\t\tString ABC=\"ABC\";\n\t\tString ARC=\"ARC\";\n\n\t\tif(a.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tString a=sc.next();\n\t\tString ABC=\"ABC\";\n\t\tString ARC=\"ARC\";\n\n\t\tif(a.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tString a=sc.next();\n\t\tString ABC=\"ABC\";\n\t\tString ARC=\"ARC\";\n\n\t\tif(a.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String a=sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"String ABC=\"ABC\";",
"ABC",
"\"ABC\"",
"String ARC=\"ARC\";",
"ARC",
"\"ARC\"",
"if(a.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"a.equals(\"ABC\")",
"a.equals",
"a",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"a.equals(\"ARC\")",
"a.equals",
"a",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tString a=sc.next();\n\t\tString ABC=\"ABC\";\n\t\tString ARC=\"ARC\";\n\n\t\tif(a.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tString a=sc.next();\n\t\tString ABC=\"ABC\";\n\t\tString ARC=\"ARC\";\n\n\t\tif(a.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else if(a.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc=new Scanner(System.in);
String a=sc.next();
String ABC="ABC";
String ARC="ARC";
if(a.equals("ABC")) {
System.out.println("ARC");
}else if(a.equals("ARC")) {
System.out.println("ABC");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
42,
8
],
[
42,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
9,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n if (s.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n if (s.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n if (s.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n if (s.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"if (s.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n if (s.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n if (s.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else {\n System.out.println(\"ABC\");\n }\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
if (s.equals("ABC")) {
System.out.println("ARC");
} else {
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
4,
18,
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
],
[
42,
5
],
[
42,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.*;\npublic class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString ans = \" \";\n\t\tif(S.equals(\"ABC\")){\n\t\t\tans = \"ARC\";\n\t\t}else{\n\t\t\tans = \"ABC\";\n\t\t}\n\t\tSystem.out.println(ans);\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\tString S = sc.next();\n\t\tString ans = \" \";\n\t\tif(S.equals(\"ABC\")){\n\t\t\tans = \"ARC\";\n\t\t}else{\n\t\t\tans = \"ABC\";\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString ans = \" \";\n\t\tif(S.equals(\"ABC\")){\n\t\t\tans = \"ARC\";\n\t\t}else{\n\t\t\tans = \"ABC\";\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString ans = \" \";\n\t\tif(S.equals(\"ABC\")){\n\t\t\tans = \"ARC\";\n\t\t}else{\n\t\t\tans = \"ABC\";\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"String ans = \" \";",
"ans",
"\" \"",
"if(S.equals(\"ABC\")){\n\t\t\tans = \"ARC\";\n\t\t}else{\n\t\t\tans = \"ABC\";\n\t\t}",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n\t\t\tans = \"ARC\";\n\t\t}",
"ans = \"ARC\"",
"ans",
"\"ARC\"",
"{\n\t\t\tans = \"ABC\";\n\t\t}",
"ans = \"ABC\"",
"ans",
"\"ABC\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString ans = \" \";\n\t\tif(S.equals(\"ABC\")){\n\t\t\tans = \"ARC\";\n\t\t}else{\n\t\t\tans = \"ABC\";\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tString ans = \" \";\n\t\tif(S.equals(\"ABC\")){\n\t\t\tans = \"ARC\";\n\t\t}else{\n\t\t\tans = \"ABC\";\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
String S = sc.next();
String ans = " ";
if(S.equals("ABC")){
ans = "ARC";
}else{
ans = "ABC";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
4,
18,
13,
17,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
32,
5
],
[
32,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
22,
28
],
[
6,
29
],
[
29,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n System.out.println(s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\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 String s = sc.next();\n System.out.println(s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n System.out.println(s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n System.out.println(s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"System.out.println(s.equals(\"ABC\") ? \"ARC\" : \"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"s.equals(\"ABC\") ? \"ARC\" : \"ABC\"",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n System.out.println(s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n System.out.println(s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String s = sc.next();
System.out.println(s.equals("ABC") ? "ARC" : "ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
8,
4,
18,
13,
17,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
6,
28
],
[
28,
29
],
[
44,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
34,
40
],
[
30,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n\n System.out.println(solve(S));\n\n sc.close();\n }\n\n static String solve(String S) {\n return S.equals(\"ABC\") ? \"ARC\" : \"ABC\";\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 String S = sc.next();\n\n System.out.println(solve(S));\n\n sc.close();\n }\n\n static String solve(String S) {\n return S.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n\n System.out.println(solve(S));\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n\n System.out.println(solve(S));\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"System.out.println(solve(S))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(S)",
"solve",
"S",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"static String solve(String S) {\n return S.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n }",
"solve",
"{\n return S.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n }",
"return S.equals(\"ABC\") ? \"ARC\" : \"ABC\";",
"S.equals(\"ABC\") ? \"ARC\" : \"ABC\"",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"String S",
"S",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n\n System.out.println(solve(S));\n\n sc.close();\n }\n\n static String solve(String S) {\n return S.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n String S = sc.next();\n\n System.out.println(solve(S));\n\n sc.close();\n }\n\n static String solve(String S) {\n return S.equals(\"ABC\") ? \"ARC\" : \"ABC\";\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
System.out.println(solve(S));
sc.close();
}
static String solve(String S) {
return S.equals("ABC") ? "ARC" : "ABC";
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
20,
12,
13,
30,
0,
13,
20,
41,
13,
18,
4,
13,
17,
14,
4,
18,
13,
18,
13,
17,
30,
4,
13,
18,
13,
17,
14,
4,
18,
13,
18,
13,
17,
30,
4,
13,
18,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
18,
13,
13,
30,
29,
13,
29,
40,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
4,
18,
13,
13,
29,
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,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
20,
30,
29,
4,
18,
4,
18,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
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,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
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,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
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,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
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
],
[
398,
14
],
[
398,
15
],
[
15,
16
],
[
398,
17
],
[
17,
18
],
[
17,
19
],
[
398,
20
],
[
20,
21
],
[
20,
22
],
[
398,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
25,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
23,
61
],
[
61,
62
],
[
398,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
66,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
81,
88
],
[
88,
89
],
[
89,
90
],
[
65,
91
],
[
91,
92
],
[
92,
93
],
[
63,
94
],
[
94,
95
],
[
63,
96
],
[
96,
97
],
[
398,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
100,
110
],
[
110,
111
],
[
98,
112
],
[
112,
113
],
[
398,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
120,
121
],
[
120,
122
],
[
116,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
123,
133
],
[
133,
134
],
[
134,
135
],
[
123,
136
],
[
137,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
142,
144
],
[
116,
145
],
[
145,
146
],
[
114,
147
],
[
147,
148
],
[
398,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
155,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
158,
168
],
[
168,
169
],
[
169,
170
],
[
158,
171
],
[
172,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
151,
181
],
[
181,
182
],
[
149,
183
],
[
183,
184
],
[
398,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
191,
195
],
[
195,
196
],
[
188,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
199,
204
],
[
398,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
211,
215
],
[
215,
216
],
[
208,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
217,
222
],
[
222,
223
],
[
222,
224
],
[
225,
226
],
[
225,
227
],
[
217,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
235,
237
],
[
228,
238
],
[
238,
239
],
[
239,
240
],
[
228,
241
],
[
242,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
248,
249
],
[
247,
250
],
[
250,
251
],
[
250,
252
],
[
217,
253
],
[
253,
254
],
[
398,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
261,
265
],
[
265,
266
],
[
258,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
267,
272
],
[
272,
273
],
[
272,
274
],
[
275,
276
],
[
275,
277
],
[
267,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
278,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
285,
287
],
[
278,
288
],
[
288,
289
],
[
289,
290
],
[
278,
291
],
[
292,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
298,
299
],
[
297,
300
],
[
300,
301
],
[
300,
302
],
[
267,
303
],
[
303,
304
],
[
398,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
311,
315
],
[
315,
316
],
[
308,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
317,
322
],
[
322,
323
],
[
322,
324
],
[
325,
326
],
[
325,
327
],
[
317,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
328,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
335,
337
],
[
328,
338
],
[
338,
339
],
[
339,
340
],
[
328,
341
],
[
342,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
347
],
[
347,
348
],
[
348,
349
],
[
347,
350
],
[
350,
351
],
[
350,
352
],
[
317,
353
],
[
353,
354
],
[
398,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
358,
363
],
[
355,
364
],
[
364,
365
],
[
398,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
398,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
379,
384
],
[
374,
385
],
[
385,
386
],
[
398,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
0,
397
],
[
397,
398
],
[
397,
399
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\tfinal static String[] c = new String[]{\"ABC\",\"ARC\"};\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tString S = readLine()[0];\n\t\tif(S.equals(c[0])) {print(c[1]);}\n\t\tif(S.equals(c[1])) {print(c[0]);}\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\tfinal static String[] c = new String[]{\"ABC\",\"ARC\"};\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tString S = readLine()[0];\n\t\tif(S.equals(c[0])) {print(c[1]);}\n\t\tif(S.equals(c[1])) {print(c[0]);}\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"Main",
"static BufferedReader reader;",
"reader",
"final static boolean MODE_DEBUG = false;",
"MODE_DEBUG",
"false",
"//static field here\n\tfinal static String[] c = new String[]{\"ABC\",\"ARC\"};",
"c",
"new String[]{\"ABC\",\"ARC\"}",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tString S = readLine()[0];\n\t\tif(S.equals(c[0])) {print(c[1]);}\n\t\tif(S.equals(c[1])) {print(c[0]);}\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tString S = readLine()[0];\n\t\tif(S.equals(c[0])) {print(c[1]);}\n\t\tif(S.equals(c[1])) {print(c[0]);}\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String S = readLine()[0];",
"S",
"readLine()[0]",
"readLine()",
"readLine",
"0",
"if(S.equals(c[0])) {print(c[1]);}",
"S.equals(c[0])",
"S.equals",
"S",
"c[0]",
"c",
"0",
"{print(c[1]);}",
"print(c[1])",
"print",
"c[1]",
"c",
"1",
"if(S.equals(c[1])) {print(c[0]);}",
"S.equals(c[1])",
"S.equals",
"S",
"c[1]",
"c",
"1",
"{print(c[0]);}",
"print(c[0])",
"print",
"c[0]",
"c",
"0",
"String[] args",
"args",
"private static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"arraySearch",
"{\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"for(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<heystack.length",
"i",
"heystack.length",
"heystack",
"heystack.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"if(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}",
"needle.equals(heystack[i])",
"needle.equals",
"needle",
"heystack[i]",
"heystack",
"i",
"{\n\t\t\t\treturn i;\n\t\t\t}",
"return i;",
"i",
"return -1;",
"-1",
"1",
"T needle",
"needle",
"T[] heystack",
"heystack",
"private static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"sort",
"{\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"int[] copy = array_copy(base);",
"copy",
"array_copy(base)",
"array_copy",
"base",
"Arrays.sort(copy)",
"Arrays.sort",
"Arrays",
"copy",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"array_copy",
"{\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"int[] copy = new int[base.length];",
"copy",
"new int[base.length]",
"base.length",
"base",
"base.length",
"for(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<base.length",
"i",
"base.length",
"base",
"base.length",
"i++",
"i++",
"i",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"copy[i] = base[i]",
"copy[i]",
"copy",
"i",
"base[i]",
"base",
"i",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"asArray",
"{\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"int[] intlist = new int[ints.size()];",
"intlist",
"new int[ints.size()]",
"ints.size()",
"ints.size",
"ints",
"for(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<intlist.length",
"i",
"intlist.length",
"intlist",
"intlist.length",
"i++",
"i++",
"i",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"intlist[i] = ints.get(i)",
"intlist[i]",
"intlist",
"i",
"ints.get(i)",
"ints.get",
"ints",
"i",
"return intlist;",
"intlist",
"ArrayList<Integer> ints",
"ints",
"private static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"readLine",
"{\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"try{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return new String[]{e.getMessage()};",
"new String[]{e.getMessage()}",
"{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}",
"return reader.readLine().split(\" \");",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"private static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineInt",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"int[] ints = new int[s.length];",
"ints",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ints.length",
"i",
"ints.length",
"ints",
"ints.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"ints[i] = Integer.parseInt(s[i])",
"ints[i]",
"ints",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return ints;",
"ints",
"private static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineByte",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"byte[] bytes = new byte[s.length];",
"bytes",
"new byte[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<bytes.length",
"i",
"bytes.length",
"bytes",
"bytes.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"bytes[i] = Byte.parseByte(s[i])",
"bytes[i]",
"bytes",
"i",
"Byte.parseByte(s[i])",
"Byte.parseByte",
"Byte",
"s[i]",
"s",
"i",
"return bytes;",
"bytes",
"private static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineChar",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"char[] chars = new char[s.length];",
"chars",
"new char[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<chars.length",
"i",
"chars.length",
"chars",
"chars.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"chars[i] = (char)Integer.parseInt(s[i])",
"chars[i]",
"chars",
"i",
"(char)Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return chars;",
"chars",
"private static void print(Object o){\n\t\tSystem.out.println(o);\n\t}",
"print",
"{\n\t\tSystem.out.println(o);\n\t}",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"private static void print(){\n\t\tSystem.out.println();\n\t}",
"print",
"{\n\t\tSystem.out.println();\n\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"private static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"if(MODE_DEBUG)System.err.println(o);",
"MODE_DEBUG",
"System.err.println(o)",
"System.err.println",
"System.err",
"System",
"System.err",
"o",
"Object o",
"o",
"private static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"if(MODE_DEBUG)System.err.println();",
"MODE_DEBUG",
"System.err.println()",
"System.err.println",
"System.err",
"System",
"System.err",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\tfinal static String[] c = new String[]{\"ABC\",\"ARC\"};\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tString S = readLine()[0];\n\t\tif(S.equals(c[0])) {print(c[1]);}\n\t\tif(S.equals(c[1])) {print(c[0]);}\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\tfinal static String[] c = new String[]{\"ABC\",\"ARC\"};\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tString S = readLine()[0];\n\t\tif(S.equals(c[0])) {print(c[1]);}\n\t\tif(S.equals(c[1])) {print(c[0]);}\n\t\t//String[] s = readLine();\n\t\t//print(num);\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
public class Main {
static BufferedReader reader;
final static boolean MODE_DEBUG = false;
//static field here
final static String[] c = new String[]{"ABC","ARC"};
public static void main(String[] args) {
// TODO Auto-generated method stub
reader = new BufferedReader(new InputStreamReader(System.in));
//code here
String S = readLine()[0];
if(S.equals(c[0])) {print(c[1]);}
if(S.equals(c[1])) {print(c[0]);}
//String[] s = readLine();
//print(num);
}
//functions here
//note that all methods should be STATIC
private static <T> int arraySearch(T needle, T[] heystack) {
for(int i=0;i<heystack.length;i++) {
if(needle.equals(heystack[i])) {
return i;
}
}
return -1;
}
private static int[] sort(int[] base) {
int[] copy = array_copy(base);
Arrays.sort(copy);
return copy;
}
private static int[] array_copy(int[] base) {
int[] copy = new int[base.length];
for(int i=0;i<base.length;i++) {
copy[i] = base[i];
}
return copy;
}
private static int[] asArray(ArrayList<Integer> ints) {
int[] intlist = new int[ints.size()];
for(int i=0;i<intlist.length;i++) {
intlist[i] = ints.get(i);
}
return intlist;
}
private static String[] readLine(){
try{
return reader.readLine().split(" ");
}catch(Exception e){
e.printStackTrace();
return new String[]{e.getMessage()};
}
}
private static int[] readLineInt(){
try{
String[] s = readLine();
int[] ints = new int[s.length];
for(int i=0;i<ints.length;i++) {
ints[i] = Integer.parseInt(s[i]);
}
return ints;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static byte[] readLineByte(){
try{
String[] s = readLine();
byte[] bytes = new byte[s.length];
for(int i=0;i<bytes.length;i++) {
bytes[i] = Byte.parseByte(s[i]);
}
return bytes;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static char[] readLineChar(){
try{
String[] s = readLine();
char[] chars = new char[s.length];
for(int i=0;i<chars.length;i++) {
chars[i] = (char)Integer.parseInt(s[i]);
}
return chars;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static void print(Object o){
System.out.println(o);
}
private static void print(){
System.out.println();
}
private static void printd(Object o){
if(MODE_DEBUG)System.err.println(o);
}
private static void printd(){
if(MODE_DEBUG)System.err.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
17,
13,
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
],
[
42,
5
],
[
42,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
8,
36
],
[
36,
37
],
[
37,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tString n = in.nextLine();\n\t\tif(\"ARC\".equals(n)) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\t\n\t\t\n\t\tin.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tString n = in.nextLine();\n\t\tif(\"ARC\".equals(n)) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\t\n\t\t\n\t\tin.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tString n = in.nextLine();\n\t\tif(\"ARC\".equals(n)) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\t\n\t\t\n\t\tin.close();\n\t}",
"main",
"{\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tString n = in.nextLine();\n\t\tif(\"ARC\".equals(n)) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\t\n\t\t\n\t\tin.close();\n\t}",
"Scanner in = new java.util.Scanner(System.in);",
"in",
"new java.util.Scanner(System.in)",
"String n = in.nextLine();",
"n",
"in.nextLine()",
"in.nextLine",
"in",
"if(\"ARC\".equals(n)) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"\"ARC\".equals(n)",
"\"ARC\".equals",
"\"ARC\"",
"n",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tString n = in.nextLine();\n\t\tif(\"ARC\".equals(n)) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\t\n\t\t\n\t\tin.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner in = new java.util.Scanner(System.in);\n\t\tString n = in.nextLine();\n\t\tif(\"ARC\".equals(n)) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\t\n\t\t\n\t\tin.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner in = new java.util.Scanner(System.in);
String n = in.nextLine();
if("ARC".equals(n)) {
System.out.println("ABC");
}else {
System.out.println("ARC");
}
in.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
14,
2,
18,
13,
17,
17,
30,
0,
18,
13,
17,
17,
30,
0,
18,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
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
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] |
[
"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\t\tString string = sc.nextLine();\n\t\tchar[] str_char = new char[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}\n\n\t\tif (str_char[1] == 'B') {\n\t\t\tstr_char[1] = 'R';\n\t\t} else {\n\t\t\tstr_char[1] = 'B';\n\t\t}\n\n\t\tSystem.out.println(str_char);\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\t\tString string = sc.nextLine();\n\t\tchar[] str_char = new char[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}\n\n\t\tif (str_char[1] == 'B') {\n\t\t\tstr_char[1] = 'R';\n\t\t} else {\n\t\t\tstr_char[1] = 'B';\n\t\t}\n\n\t\tSystem.out.println(str_char);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString string = sc.nextLine();\n\t\tchar[] str_char = new char[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}\n\n\t\tif (str_char[1] == 'B') {\n\t\t\tstr_char[1] = 'R';\n\t\t} else {\n\t\t\tstr_char[1] = 'B';\n\t\t}\n\n\t\tSystem.out.println(str_char);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString string = sc.nextLine();\n\t\tchar[] str_char = new char[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}\n\n\t\tif (str_char[1] == 'B') {\n\t\t\tstr_char[1] = 'R';\n\t\t} else {\n\t\t\tstr_char[1] = 'B';\n\t\t}\n\n\t\tSystem.out.println(str_char);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String string = sc.nextLine();",
"string",
"sc.nextLine()",
"sc.nextLine",
"sc",
"char[] str_char = new char[3];",
"str_char",
"new char[3]",
"3",
"for (int i = 0; i < 3; i++) {\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3",
"i",
"3",
"i++",
"i++",
"i",
"{\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}",
"{\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}",
"str_char[i] = string.charAt(i)",
"str_char[i]",
"str_char",
"i",
"string.charAt(i)",
"string.charAt",
"string",
"i",
"if (str_char[1] == 'B') {\n\t\t\tstr_char[1] = 'R';\n\t\t} else {\n\t\t\tstr_char[1] = 'B';\n\t\t}",
"str_char[1] == 'B'",
"str_char[1]",
"str_char",
"1",
"'B'",
"{\n\t\t\tstr_char[1] = 'R';\n\t\t}",
"str_char[1] = 'R'",
"str_char[1]",
"str_char",
"1",
"'R'",
"{\n\t\t\tstr_char[1] = 'B';\n\t\t}",
"str_char[1] = 'B'",
"str_char[1]",
"str_char",
"1",
"'B'",
"System.out.println(str_char)",
"System.out.println",
"System.out",
"System",
"System.out",
"str_char",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString string = sc.nextLine();\n\t\tchar[] str_char = new char[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}\n\n\t\tif (str_char[1] == 'B') {\n\t\t\tstr_char[1] = 'R';\n\t\t} else {\n\t\t\tstr_char[1] = 'B';\n\t\t}\n\n\t\tSystem.out.println(str_char);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString string = sc.nextLine();\n\t\tchar[] str_char = new char[3];\n\t\tfor (int i = 0; i < 3; i++) {\n\t\t\tstr_char[i] = string.charAt(i);\n\t\t}\n\n\t\tif (str_char[1] == 'B') {\n\t\t\tstr_char[1] = 'R';\n\t\t} else {\n\t\t\tstr_char[1] = 'B';\n\t\t}\n\n\t\tSystem.out.println(str_char);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String string = sc.nextLine();
char[] str_char = new char[3];
for (int i = 0; i < 3; i++) {
str_char[i] = string.charAt(i);
}
if (str_char[1] == 'B') {
str_char[1] = 'R';
} else {
str_char[1] = 'B';
}
System.out.println(str_char);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
45,
8
],
[
45,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.math.BigDecimal;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif (S.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n \tsc.close();\n }\n\t\t\n\t\t\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif (S.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n \tsc.close();\n }\n\t\t\n\t\t\n}",
"Main",
"public static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif (S.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n \tsc.close();\n }",
"main",
"{\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif (S.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n \tsc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"if (S.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif (S.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n \tsc.close();\n }\n\t\t\n\t\t\n}",
"public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tString S = sc.next();\n\t\tif (S.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n \tsc.close();\n }\n\t\t\n\t\t\n}",
"Main"
] |
import java.math.BigDecimal;
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String S = sc.next();
if (S.equals("ABC")) {
System.out.println("ARC");
} else {
System.out.println("ABC");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
8,
4,
18,
13,
13,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
25,
30
],
[
25,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
6,
35
],
[
35,
36
],
[
49,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
37,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tfinal String abc = \"ABC\";\n\t\tfinal String arc = \"ARC\";\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.nextLine();\n\n\t\tString answer = s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc;\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tfinal String abc = \"ABC\";\n\t\tfinal String arc = \"ARC\";\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.nextLine();\n\n\t\tString answer = s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc;\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tfinal String abc = \"ABC\";\n\t\tfinal String arc = \"ARC\";\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.nextLine();\n\n\t\tString answer = s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc;\n\n\t\tprintln(answer);\n\t}",
"main",
"{\n\n\t\tfinal String abc = \"ABC\";\n\t\tfinal String arc = \"ARC\";\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.nextLine();\n\n\t\tString answer = s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc;\n\n\t\tprintln(answer);\n\t}",
"final String abc = \"ABC\";",
"abc",
"\"ABC\"",
"final String arc = \"ARC\";",
"arc",
"\"ARC\"",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.nextLine();",
"s",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String answer = s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc;",
"answer",
"s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc",
"s.equals(abc)",
"s.equals",
"s",
"abc",
"arc",
"abc",
"println(answer)",
"println",
"answer",
"String[] args",
"args",
"public static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}",
"println",
"{\n\t\tSystem.out.println(target);\n\t}",
"System.out.println(target)",
"System.out.println",
"System.out",
"System",
"System.out",
"target",
"Object target",
"target",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tfinal String abc = \"ABC\";\n\t\tfinal String arc = \"ARC\";\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.nextLine();\n\n\t\tString answer = s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc;\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tfinal String abc = \"ABC\";\n\t\tfinal String arc = \"ARC\";\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tString s = scan.nextLine();\n\n\t\tString answer = s.equals(abc)\n\t\t\t\t? arc\n\t\t\t\t: abc;\n\n\t\tprintln(answer);\n\t}\n\n\tpublic static void println(Object target) {\n\t\tSystem.out.println(target);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
final String abc = "ABC";
final String arc = "ARC";
Scanner scan = new Scanner(System.in);
String s = scan.nextLine();
String answer = s.equals(abc)
? arc
: abc;
println(answer);
}
public static void println(Object target) {
System.out.println(target);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
37,
5
],
[
37,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
6,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
] |
[
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n String a=yomi.next();\n if (a.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n String a=yomi.next();\n if (a.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n String a=yomi.next();\n if (a.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }",
"main",
"{\n Scanner yomi = new Scanner(System.in);\n String a=yomi.next();\n if (a.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }",
"Scanner yomi = new Scanner(System.in);",
"yomi",
"new Scanner(System.in)",
"String a=yomi.next();",
"a",
"yomi.next()",
"yomi.next",
"yomi",
"if (a.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");",
"a.equals(\"ABC\")",
"a.equals",
"a",
"\"ABC\"",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n String a=yomi.next();\n if (a.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner yomi = new Scanner(System.in);\n String a=yomi.next();\n if (a.equals(\"ABC\")) System.out.println(\"ARC\");\n else System.out.println(\"ABC\");\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner yomi = new Scanner(System.in);
String a=yomi.next();
if (a.equals("ABC")) System.out.println("ARC");
else System.out.println("ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
8,
4,
18,
13,
17,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
19,
24
],
[
19,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
6,
32
],
[
32,
33
]
] |
[
"import java.util.*;\n\nclass Main {\n public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n String s = inp.nextLine();\n String ans = (s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n String s = inp.nextLine();\n String ans = (s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner inp = new Scanner(System.in);\n String s = inp.nextLine();\n String ans = (s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n System.out.println(ans);\n }",
"main",
"{\n Scanner inp = new Scanner(System.in);\n String s = inp.nextLine();\n String ans = (s.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n System.out.println(ans);\n }",
"Scanner inp = new Scanner(System.in);",
"inp",
"new Scanner(System.in)",
"String s = inp.nextLine();",
"s",
"inp.nextLine()",
"inp.nextLine",
"inp",
"String ans = (s.equals(\"ABC\") ? \"ARC\" : \"ABC\");",
"ans",
"(s.equals(\"ABC\") ? \"ARC\" : \"ABC\")",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String args[]",
"args"
] |
import java.util.*;
class Main {
public static void main(String args[]) {
Scanner inp = new Scanner(System.in);
String s = inp.nextLine();
String ans = (s.equals("ABC") ? "ARC" : "ABC");
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
4,
18,
13,
13,
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
],
[
41,
5
],
[
41,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.*;\n\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString w1 = scan.nextLine();\n\t\tString w2=\"ABC\";\n\t\tif(w1.equals(w2))\n\t\t{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString w1 = scan.nextLine();\n\t\tString w2=\"ABC\";\n\t\tif(w1.equals(w2))\n\t\t{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t}\n}",
"Main",
"public static void main(String args[])\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString w1 = scan.nextLine();\n\t\tString w2=\"ABC\";\n\t\tif(w1.equals(w2))\n\t\t{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString w1 = scan.nextLine();\n\t\tString w2=\"ABC\";\n\t\tif(w1.equals(w2))\n\t\t{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String w1 = scan.nextLine();",
"w1",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String w2=\"ABC\";",
"w2",
"\"ABC\"",
"if(w1.equals(w2))\n\t\t{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");",
"w1.equals(w2)",
"w1.equals",
"w1",
"w2",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString w1 = scan.nextLine();\n\t\tString w2=\"ABC\";\n\t\tif(w1.equals(w2))\n\t\t{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString w1 = scan.nextLine();\n\t\tString w2=\"ABC\";\n\t\tif(w1.equals(w2))\n\t\t{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t\telse\n\t\t\tSystem.out.println(\"ABC\");\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main
{
public static void main(String args[])
{
Scanner scan = new Scanner(System.in);
String w1 = scan.nextLine();
String w2="ABC";
if(w1.equals(w2))
{
System.out.println("ARC");
}
else
System.out.println("ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
44,
5
],
[
44,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if(S.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\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 String S = sc.nextLine();\n if(S.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if(S.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if(S.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.nextLine();",
"S",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if(S.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\n }",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\n }",
"S.equals(\"ARC\")",
"S.equals",
"S",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if(S.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.nextLine();\n if(S.equals(\"ABC\")) {\n System.out.println(\"ARC\");\n } else if(S.equals(\"ARC\")) {\n System.out.println(\"ABC\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.nextLine();
if(S.equals("ABC")) {
System.out.println("ARC");
} else if(S.equals("ARC")) {
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
2,
18,
13,
13,
17,
41,
13,
2,
18,
13,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
18,
4,
18,
4,
13,
17,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
243,
8
],
[
243,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
243,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
243,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
243,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
28,
49
],
[
49,
50
],
[
28,
51
],
[
51,
52
],
[
243,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
55,
66
],
[
66,
67
],
[
67,
68
],
[
53,
69
],
[
69,
70
],
[
243,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
71,
75
],
[
75,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
77,
86
],
[
86,
87
],
[
71,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
91,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
101,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
90,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
71,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
71,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
71,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
71,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
146,
151
],
[
71,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
159,
167
],
[
167,
168
],
[
168,
169
],
[
159,
170
],
[
171,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
154,
178
],
[
178,
179
],
[
152,
180
],
[
180,
181
],
[
71,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
184,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
189,
194
],
[
194,
195
],
[
194,
196
],
[
189,
197
],
[
197,
198
],
[
198,
199
],
[
189,
200
],
[
201,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
206,
207
],
[
184,
208
],
[
208,
209
],
[
182,
210
],
[
210,
211
],
[
71,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
219,
224
],
[
224,
225
],
[
224,
226
],
[
219,
227
],
[
227,
228
],
[
228,
229
],
[
219,
230
],
[
231,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
214,
238
],
[
238,
239
],
[
212,
240
],
[
240,
241
],
[
0,
242
],
[
242,
243
],
[
242,
244
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n String s = in.ns();\n if(s.equals(\"ABC\"))out.println(\"ARC\");\n else out.println(\"ABC\");\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n String s = in.ns();\n if(s.equals(\"ABC\"))out.println(\"ARC\");\n else out.println(\"ABC\");\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"Main",
"public static final long mod = (long)1e9+7;",
"mod",
"(long)1e9+7",
"(long)1e9",
"7",
"public static final long INF = Long.MAX_VALUE/2;",
"INF",
"Long.MAX_VALUE/2",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"2",
"public static final int inf = Integer.MAX_VALUE/2;",
"inf",
"Integer.MAX_VALUE/2",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"2",
"static void solve(InputReader in, PrintWriter out){\n String s = in.ns();\n if(s.equals(\"ABC\"))out.println(\"ARC\");\n else out.println(\"ABC\");\n }",
"solve",
"{\n String s = in.ns();\n if(s.equals(\"ABC\"))out.println(\"ARC\");\n else out.println(\"ABC\");\n }",
"String s = in.ns();",
"s",
"in.ns()",
"in.ns",
"in",
"if(s.equals(\"ABC\"))out.println(\"ARC\");\n else out.println(\"ABC\");",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"out.println(\"ARC\")",
"out.println",
"out",
"\"ARC\"",
"out.println(\"ABC\")",
"out.println",
"out",
"\"ABC\"",
"InputReader in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"solve(in, out)",
"solve",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }",
"InputReader",
"private BufferedReader br;",
"br",
"private StringTokenizer st;",
"st",
"public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }",
"br = new BufferedReader(new InputStreamReader(is))",
"br",
"new BufferedReader(new InputStreamReader(is))",
"st = null",
"st",
"null",
"InputStream is",
"is",
"public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"ns",
"{\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }",
"try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }",
"catch (Exception e){\n throw new RuntimeException(e);\n }",
"Exception e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\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 int ni(){\n return Integer.parseInt(ns());\n }",
"ni",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"public long nl(){\n return Long.parseLong(ns());\n }",
"nl",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"public double nd(){\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"public char nc(){\n return ns().toCharArray()[0];\n }",
"nc",
"{\n return ns().toCharArray()[0];\n }",
"return ns().toCharArray()[0];",
"ns().toCharArray()[0]",
"ns().toCharArray()",
"ns().toCharArray",
"ns()",
"ns",
"0",
"public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"ni",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = ni();\n }",
"{\n a[i] = ni();\n }",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }",
"nl",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nl();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nl();\n }",
"{\n a[i] = nl();\n }",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }",
"nd",
"{\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }",
"double[] a = new double[n];",
"a",
"new double[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nd();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nd();\n }",
"{\n a[i] = nd();\n }",
"a[i] = nd()",
"a[i]",
"a",
"i",
"nd()",
"nd",
"return a;",
"a",
"int n",
"n",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n String s = in.ns();\n if(s.equals(\"ABC\"))out.println(\"ARC\");\n else out.println(\"ABC\");\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n String s = in.ns();\n if(s.equals(\"ABC\"))out.println(\"ARC\");\n else out.println(\"ABC\");\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static final long mod = (long)1e9+7;
public static final long INF = Long.MAX_VALUE/2;
public static final int inf = Integer.MAX_VALUE/2;
static void solve(InputReader in, PrintWriter out){
String s = in.ns();
if(s.equals("ABC"))out.println("ARC");
else out.println("ABC");
}
public static void main(String[] args){
InputReader in = new InputReader(System.in);
PrintWriter out = new PrintWriter(System.out);
solve(in, out);
out.close();
}
public static class InputReader{
private BufferedReader br;
private StringTokenizer st;
public InputReader(InputStream is){
br = new BufferedReader(new InputStreamReader(is));
st = null;
}
public String ns(){
if(st == null || !st.hasMoreTokens()){
try{
st = new StringTokenizer(br.readLine());
}catch (Exception e){
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public int ni(){
return Integer.parseInt(ns());
}
public long nl(){
return Long.parseLong(ns());
}
public double nd(){
return Double.parseDouble(ns());
}
public char nc(){
return ns().toCharArray()[0];
}
public int[] ni(int n){
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = ni();
}
return a;
}
public long[] nl(int n){
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = nl();
}
return a;
}
public double[] nd(int n){
double[] a = new double[n];
for (int i = 0; i < n; i++) {
a[i] = nd();
}
return a;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
51,
14
],
[
51,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
29,
33
],
[
17,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
17,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
15,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
] |
[
"import java.util.Map.Entry;\nimport java.util.*;\nimport java.math.*;\nimport org.w3c.dom.css.Counter;\n\n/*\n問題文\nAtCoder 社は、毎週土曜日にコンテストを開催しています。\nコンテストには ABC と ARC の 2 つの種類があり、毎週どちらか一方が開催されます。\nABC が開催された次の週には ARC が開催され、ARC が行われた次の週には ABC が開催されます。\n\n先週開催されたコンテストを表す文字列 S が与えられるので、今週開催されるコンテストを表す文字列を出力してください。\n\n制約\nS は ABC または ARC\n*/\npublic class Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n\n HashMap<String, String> map = new HashMap<>();\n\n map.put(\"ARC\", \"ABC\");\n map.put(\"ABC\", \"ARC\");\n\n System.out.println(map.get(s));\n }\n}",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import org.w3c.dom.css.Counter;",
"Counter",
"org.w3c.dom.css",
"public class Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n\n HashMap<String, String> map = new HashMap<>();\n\n map.put(\"ARC\", \"ABC\");\n map.put(\"ABC\", \"ARC\");\n\n System.out.println(map.get(s));\n }\n}",
"Main",
"public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n\n HashMap<String, String> map = new HashMap<>();\n\n map.put(\"ARC\", \"ABC\");\n map.put(\"ABC\", \"ARC\");\n\n System.out.println(map.get(s));\n }",
"main",
"{\n \n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n\n HashMap<String, String> map = new HashMap<>();\n\n map.put(\"ARC\", \"ABC\");\n map.put(\"ABC\", \"ARC\");\n\n System.out.println(map.get(s));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"HashMap<String, String> map = new HashMap<>();",
"map",
"new HashMap<>()",
"map.put(\"ARC\", \"ABC\")",
"map.put",
"map",
"\"ARC\"",
"\"ABC\"",
"map.put(\"ABC\", \"ARC\")",
"map.put",
"map",
"\"ABC\"",
"\"ARC\"",
"System.out.println(map.get(s))",
"System.out.println",
"System.out",
"System",
"System.out",
"map.get(s)",
"map.get",
"map",
"s",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n\n HashMap<String, String> map = new HashMap<>();\n\n map.put(\"ARC\", \"ABC\");\n map.put(\"ABC\", \"ARC\");\n\n System.out.println(map.get(s));\n }\n}",
"public class Main{\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n String s = sc.next();\n\n HashMap<String, String> map = new HashMap<>();\n\n map.put(\"ARC\", \"ABC\");\n map.put(\"ABC\", \"ARC\");\n\n System.out.println(map.get(s));\n }\n}",
"Main"
] |
import java.util.Map.Entry;
import java.util.*;
import java.math.*;
import org.w3c.dom.css.Counter;
/*
問題文
AtCoder 社は、毎週土曜日にコンテストを開催しています。
コンテストには ABC と ARC の 2 つの種類があり、毎週どちらか一方が開催されます。
ABC が開催された次の週には ARC が開催され、ARC が行われた次の週には ABC が開催されます。
先週開催されたコンテストを表す文字列 S が与えられるので、今週開催されるコンテストを表す文字列を出力してください。
制約
S は ABC または ARC
*/
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String s = sc.next();
HashMap<String, String> map = new HashMap<>();
map.put("ARC", "ABC");
map.put("ABC", "ARC");
System.out.println(map.get(s));
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
13,
14,
4,
18,
13,
17,
30,
4,
18,
13,
17,
30,
4,
18,
13,
17,
12,
13,
30,
29,
4,
13,
4,
13,
12,
13,
30,
29,
4,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
13,
17,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
122,
26
],
[
122,
27
],
[
27,
28
],
[
122,
29
],
[
29,
30
],
[
122,
31
],
[
31,
32
],
[
122,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
122,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
122,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
122,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
74,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
73,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
122,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
97,
101
],
[
101,
102
],
[
101,
103
],
[
94,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
104,
111
],
[
111,
112
],
[
104,
113
],
[
113,
114
],
[
114,
115
],
[
104,
116
],
[
116,
117
],
[
117,
118
],
[
91,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
] |
[
"import static java.lang.Integer.*;\nimport static java.lang.Long.*;\nimport static java.lang.System.*;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n static void solve() throws Exception {\n String S = scanString();\n if (S.equals(\"ABC\")) {\n out.print(\"ARC\");\n } else {\n out.print(\"ABC\");\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"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\n static void solve() throws Exception {\n String S = scanString();\n if (S.equals(\"ABC\")) {\n out.print(\"ARC\");\n } else {\n out.print(\"ABC\");\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"Main",
"static BufferedReader in;",
"in",
"static PrintWriter out;",
"out",
"static StringTokenizer tok;",
"tok",
"static void solve() throws Exception {\n String S = scanString();\n if (S.equals(\"ABC\")) {\n out.print(\"ARC\");\n } else {\n out.print(\"ABC\");\n }\n }",
"solve",
"{\n String S = scanString();\n if (S.equals(\"ABC\")) {\n out.print(\"ARC\");\n } else {\n out.print(\"ABC\");\n }\n }",
"String S = scanString();",
"S",
"scanString()",
"scanString",
"if (S.equals(\"ABC\")) {\n out.print(\"ARC\");\n } else {\n out.print(\"ABC\");\n }",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n out.print(\"ARC\");\n }",
"out.print(\"ARC\")",
"out.print",
"out",
"\"ARC\"",
"{\n out.print(\"ABC\");\n }",
"out.print(\"ABC\")",
"out.print",
"out",
"\"ABC\"",
"static int scanInt() throws IOException {\n return parseInt(scanString());\n }",
"scanInt",
"{\n return parseInt(scanString());\n }",
"return parseInt(scanString());",
"parseInt(scanString())",
"parseInt",
"scanString()",
"scanString",
"static long scanLong() throws IOException {\n return parseLong(scanString());\n }",
"scanLong",
"{\n return parseLong(scanString());\n }",
"return parseLong(scanString());",
"parseLong(scanString())",
"parseLong",
"scanString()",
"scanString",
"static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }",
"scanString",
"{\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }",
"while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }",
"tok == null || !tok.hasMoreTokens()",
"tok == null",
"tok",
"null",
"!tok.hasMoreTokens()",
"tok.hasMoreTokens()",
"tok.hasMoreTokens",
"tok",
"{\n tok = new StringTokenizer(in.readLine());\n }",
"tok = new StringTokenizer(in.readLine())",
"tok",
"new StringTokenizer(in.readLine())",
"return tok.nextToken();",
"tok.nextToken()",
"tok.nextToken",
"tok",
"public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }",
"main",
"{\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }",
"try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }",
"catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }",
"Throwable e",
"{\n e.printStackTrace();\n exit(1);\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"exit(1)",
"exit",
"1",
"{\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }",
"in = new BufferedReader(new InputStreamReader(System.in))",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n\n static void solve() throws Exception {\n String S = scanString();\n if (S.equals(\"ABC\")) {\n out.print(\"ARC\");\n } else {\n out.print(\"ABC\");\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"public class Main {\n\n static void solve() throws Exception {\n String S = scanString();\n if (S.equals(\"ABC\")) {\n out.print(\"ARC\");\n } else {\n out.print(\"ABC\");\n }\n }\n\n static int scanInt() throws IOException {\n return parseInt(scanString());\n }\n\n static long scanLong() throws IOException {\n return parseLong(scanString());\n }\n\n static String scanString() throws IOException {\n while (tok == null || !tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine());\n }\n return tok.nextToken();\n }\n\n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n\n public static void main(String[] args) {\n try {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n in.close();\n out.close();\n }\n catch (Throwable e) {\n e.printStackTrace();\n exit(1);\n }\n }\n}",
"Main"
] |
import static java.lang.Integer.*;
import static java.lang.Long.*;
import static java.lang.System.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;
public class Main {
static void solve() throws Exception {
String S = scanString();
if (S.equals("ABC")) {
out.print("ARC");
} else {
out.print("ABC");
}
}
static int scanInt() throws IOException {
return parseInt(scanString());
}
static long scanLong() throws IOException {
return parseLong(scanString());
}
static String scanString() throws IOException {
while (tok == null || !tok.hasMoreTokens()) {
tok = new StringTokenizer(in.readLine());
}
return tok.nextToken();
}
static BufferedReader in;
static PrintWriter out;
static StringTokenizer tok;
public static void main(String[] args) {
try {
in = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
solve();
in.close();
out.close();
}
catch (Throwable e) {
e.printStackTrace();
exit(1);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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,
4,
18,
13,
4,
18,
13,
8,
4,
18,
13,
17,
17,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
30,
29,
18,
13,
40,
13,
30,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
30,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
30,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
30,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
310,
23
],
[
310,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
41,
47
],
[
26,
48
],
[
48,
49
],
[
49,
50
],
[
24,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
53,
64
],
[
64,
65
],
[
64,
66
],
[
53,
67
],
[
67,
68
],
[
67,
69
],
[
53,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
73,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
84,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
80,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
72,
105
],
[
105,
106
],
[
53,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
110,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
53,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
131,
133
],
[
123,
134
],
[
134,
135
],
[
53,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
139,
149
],
[
149,
150
],
[
150,
151
],
[
138,
152
],
[
152,
153
],
[
153,
154
],
[
53,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
157,
165
],
[
165,
166
],
[
165,
167
],
[
157,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
157,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
176,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
157,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
53,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
192,
196
],
[
196,
197
],
[
197,
198
],
[
191,
199
],
[
199,
200
],
[
199,
201
],
[
191,
202
],
[
202,
203
],
[
202,
204
],
[
191,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
191,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
191,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
221,
229
],
[
229,
230
],
[
230,
231
],
[
191,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
236,
240
],
[
240,
241
],
[
240,
242
],
[
235,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
249,
251
],
[
235,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
253,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
252,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
264,
268
],
[
252,
269
],
[
269,
270
],
[
270,
271
],
[
234,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
53,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
278,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
287,
289
],
[
284,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
292,
294
],
[
283,
295
],
[
295,
296
],
[
296,
297
],
[
278,
298
],
[
298,
299
],
[
53,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
304,
307
],
[
307,
308
],
[
0,
309
],
[
309,
310
],
[
309,
311
]
] |
[
"\n\nimport java.text.DecimalFormat;\nimport java.util.function.BiFunction;\nimport java.util.function.Function;\nimport java.util.stream.LongStream;\nimport java.util.stream.IntStream;\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n \n final String S = sc.next();\n \n \n \n out.println(S.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n\n out.flush();\n }\n\n}\n\n// https://qiita.com/p_shiki37/items/a0f6aac33bf60f5f65e4\nclass FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"import java.text.DecimalFormat;",
"DecimalFormat",
"java.text",
"import java.util.function.BiFunction;",
"BiFunction",
"java.util.function",
"import java.util.function.Function;",
"Function",
"java.util.function",
"import java.util.stream.LongStream;",
"LongStream",
"java.util.stream",
"import java.util.stream.IntStream;",
"IntStream",
"java.util.stream",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n \n final String S = sc.next();\n \n \n \n out.println(S.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n\n out.flush();\n }\n\n}",
"Main",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n \n final String S = sc.next();\n \n \n \n out.println(S.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n\n out.flush();\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n \n final String S = sc.next();\n \n \n \n out.println(S.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n\n out.flush();\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"final String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"out.println(S.equals(\"ABC\") ? \"ARC\" : \"ABC\")",
"out.println",
"out",
"S.equals(\"ABC\") ? \"ARC\" : \"ABC\"",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"class FastScanner {\n\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"readByte",
"{\n if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }\n }",
"if (hasNextByte()) {\n return buffer[ptr++];\n } else {\n return -1;\n }",
"hasNextByte()",
"hasNextByte",
"{\n return buffer[ptr++];\n }",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) {\n ptr++;\n }",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"{\n ptr++;\n }",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext()) {\n throw new NoSuchElementException();\n }\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext()) {\n throw new NoSuchElementException();\n }",
"!hasNext()",
"hasNext()",
"hasNext",
"{\n throw new NoSuchElementException();\n }",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {\n throw new NumberFormatException();\n }",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n \n final String S = sc.next();\n \n \n \n out.println(S.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n\n out.flush();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n PrintWriter out = new PrintWriter(System.out);\n \n final String S = sc.next();\n \n \n \n out.println(S.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n\n out.flush();\n }\n\n}",
"Main"
] |
import java.text.DecimalFormat;
import java.util.function.BiFunction;
import java.util.function.Function;
import java.util.stream.LongStream;
import java.util.stream.IntStream;
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
PrintWriter out = new PrintWriter(System.out);
final String S = sc.next();
out.println(S.equals("ABC") ? "ARC" : "ABC");
out.flush();
}
}
// https://qiita.com/p_shiki37/items/a0f6aac33bf60f5f65e4
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) {
return buffer[ptr++];
} else {
return -1;
}
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) {
ptr++;
}
return hasNextByte();
}
public String next() {
if (!hasNext()) {
throw new NoSuchElementException();
}
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) {
throw new NoSuchElementException();
}
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) {
throw new NumberFormatException();
}
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
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
],
[
62,
5
],
[
62,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
6,
23
],
[
23,
24
],
[
62,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
28,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
25,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] |
[
"import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str = scan.nextLine();\n \n checker(str);\n scan.close();\n }\n \npublic static void checker(String title){\n if(title.equals(\"ARC\")){\n System.out.println(\"ABC\");\n // return;\n }else if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str = scan.nextLine();\n \n checker(str);\n scan.close();\n }\n \npublic static void checker(String title){\n if(title.equals(\"ARC\")){\n System.out.println(\"ABC\");\n // return;\n }else if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }\n}\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str = scan.nextLine();\n \n checker(str);\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String str = scan.nextLine();\n \n checker(str);\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.nextLine();",
"str",
"scan.nextLine()",
"scan.nextLine",
"scan",
"checker(str)",
"checker",
"str",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public static void checker(String title){\n if(title.equals(\"ARC\")){\n System.out.println(\"ABC\");\n // return;\n }else if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }\n}",
"checker",
"{\n if(title.equals(\"ARC\")){\n System.out.println(\"ABC\");\n // return;\n }else if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }\n}",
"if(title.equals(\"ARC\")){\n System.out.println(\"ABC\");\n // return;\n }else if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }",
"title.equals(\"ARC\")",
"title.equals",
"title",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n // return;\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }",
"title.equals(\"ABC\")",
"title.equals",
"title",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n // return;\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }",
"System.err.println(\"コンテスト名が正しくありません。\")",
"System.err.println",
"System.err",
"System",
"System.err",
"\"コンテスト名が正しくありません。\"",
"String title",
"title",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str = scan.nextLine();\n \n checker(str);\n scan.close();\n }\n \npublic static void checker(String title){\n if(title.equals(\"ARC\")){\n System.out.println(\"ABC\");\n // return;\n }else if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }\n}\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String str = scan.nextLine();\n \n checker(str);\n scan.close();\n }\n \npublic static void checker(String title){\n if(title.equals(\"ARC\")){\n System.out.println(\"ABC\");\n // return;\n }else if(title.equals(\"ABC\")){\n System.out.println(\"ARC\");\n // return;\n } else{\n System.err.println(\"コンテスト名が正しくありません。\");\n // return;\n }\n}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String str = scan.nextLine();
checker(str);
scan.close();
}
public static void checker(String title){
if(title.equals("ARC")){
System.out.println("ABC");
// return;
}else if(title.equals("ABC")){
System.out.println("ARC");
// return;
} else{
System.err.println("コンテスト名が正しくありません。");
// return;
}
}
}
|
[
7,
6,
13,
12,
13,
30,
41,
13,
4,
18,
20,
35,
13,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
36,
2
],
[
36,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
15,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
25,
32
],
[
3,
33
],
[
33,
34
],
[
0,
35
],
[
35,
36
],
[
35,
37
]
] |
[
"public class Main {\n public static void main(String[] args) {\n String S = new java.util.Scanner(System.in).nextLine();\n switch (S) {\n case \"ABC\":\n System.out.println(\"ARC\");\n break;\n case \"ARC\":\n System.out.println(\"ABC\");\n break;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n String S = new java.util.Scanner(System.in).nextLine();\n switch (S) {\n case \"ABC\":\n System.out.println(\"ARC\");\n break;\n case \"ARC\":\n System.out.println(\"ABC\");\n break;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n String S = new java.util.Scanner(System.in).nextLine();\n switch (S) {\n case \"ABC\":\n System.out.println(\"ARC\");\n break;\n case \"ARC\":\n System.out.println(\"ABC\");\n break;\n }\n }",
"main",
"{\n String S = new java.util.Scanner(System.in).nextLine();\n switch (S) {\n case \"ABC\":\n System.out.println(\"ARC\");\n break;\n case \"ARC\":\n System.out.println(\"ABC\");\n break;\n }\n }",
"String S = new java.util.Scanner(System.in).nextLine();",
"S",
"new java.util.Scanner(System.in).nextLine()",
"new java.util.Scanner(System.in).nextLine",
"new java.util.Scanner(System.in)",
"switch (S) {\n case \"ABC\":\n System.out.println(\"ARC\");\n break;\n case \"ARC\":\n System.out.println(\"ABC\");\n break;\n }",
"S",
"case \"ABC\":",
"\"ABC\"",
"case \"ABC\":",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"break;",
"case \"ARC\":",
"\"ARC\"",
"case \"ARC\":",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n String S = new java.util.Scanner(System.in).nextLine();\n switch (S) {\n case \"ABC\":\n System.out.println(\"ARC\");\n break;\n case \"ARC\":\n System.out.println(\"ABC\");\n break;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n String S = new java.util.Scanner(System.in).nextLine();\n switch (S) {\n case \"ABC\":\n System.out.println(\"ARC\");\n break;\n case \"ARC\":\n System.out.println(\"ABC\");\n break;\n }\n }\n}",
"Main"
] |
public class Main {
public static void main(String[] args) {
String S = new java.util.Scanner(System.in).nextLine();
switch (S) {
case "ABC":
System.out.println("ARC");
break;
case "ARC":
System.out.println("ABC");
break;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
4,
18,
17,
13,
17,
17,
29,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
33,
5
],
[
33,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
22,
28
],
[
8,
29
],
[
6,
30
],
[
30,
31
],
[
0,
32
],
[
32,
33
],
[
32,
34
]
] |
[
"import java.io.*;\n\npublic class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String S = reader.readLine();\n System.out.println (\"ARC\".equals (S) ? \"ABC\" : \"ARC\");\n return;\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String S = reader.readLine();\n System.out.println (\"ARC\".equals (S) ? \"ABC\" : \"ARC\");\n return;\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String S = reader.readLine();\n System.out.println (\"ARC\".equals (S) ? \"ABC\" : \"ARC\");\n return;\n }",
"main",
"{\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String S = reader.readLine();\n System.out.println (\"ARC\".equals (S) ? \"ABC\" : \"ARC\");\n return;\n }",
"BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));",
"reader",
"new BufferedReader (new InputStreamReader (System.in))",
"String S = reader.readLine();",
"S",
"reader.readLine()",
"reader.readLine",
"reader",
"System.out.println (\"ARC\".equals (S) ? \"ABC\" : \"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\".equals (S) ? \"ABC\" : \"ARC\"",
"\"ARC\".equals (S)",
"\"ARC\".equals",
"\"ARC\"",
"S",
"\"ABC\"",
"\"ARC\"",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String S = reader.readLine();\n System.out.println (\"ARC\".equals (S) ? \"ABC\" : \"ARC\");\n return;\n }\n}",
"public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n String S = reader.readLine();\n System.out.println (\"ARC\".equals (S) ? \"ABC\" : \"ARC\");\n return;\n }\n}",
"Main"
] |
import java.io.*;
public class Main {
public static void main (String[] args) throws Exception {
BufferedReader reader =
new BufferedReader (new InputStreamReader (System.in));
String S = reader.readLine();
System.out.println ("ARC".equals (S) ? "ABC" : "ARC");
return;
}
}
|
[
7,
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,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
8,
4,
18,
13,
17,
17,
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
],
[
67,
14
],
[
67,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
17,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
17,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
57,
63
],
[
15,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] |
[
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String s = mylist.get(0);\n System.out.println(s.equals(\"ARC\") ? \"ABC\" : \"ARC\");\n\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"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 public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String s = mylist.get(0);\n System.out.println(s.equals(\"ARC\") ? \"ABC\" : \"ARC\");\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String s = mylist.get(0);\n System.out.println(s.equals(\"ARC\") ? \"ABC\" : \"ARC\");\n\n }",
"main",
"{\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String s = mylist.get(0);\n System.out.println(s.equals(\"ARC\") ? \"ABC\" : \"ARC\");\n\n }",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader reader = new BufferedReader(is);",
"reader",
"new BufferedReader(is)",
"List<String> mylist = new ArrayList<>();",
"mylist",
"new ArrayList<>()",
"String strinput = reader.readLine();",
"strinput",
"reader.readLine()",
"reader.readLine",
"reader",
"while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }",
"strinput != null",
"strinput",
"null",
"{\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }",
"mylist.add(strinput)",
"mylist.add",
"mylist",
"strinput",
"strinput = reader.readLine()",
"strinput",
"reader.readLine()",
"reader.readLine",
"reader",
"String s = mylist.get(0);",
"s",
"mylist.get(0)",
"mylist.get",
"mylist",
"0",
"System.out.println(s.equals(\"ARC\") ? \"ABC\" : \"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"s.equals(\"ARC\") ? \"ABC\" : \"ARC\"",
"s.equals(\"ARC\")",
"s.equals",
"s",
"\"ARC\"",
"\"ABC\"",
"\"ARC\"",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String s = mylist.get(0);\n System.out.println(s.equals(\"ARC\") ? \"ABC\" : \"ARC\");\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String s = mylist.get(0);\n System.out.println(s.equals(\"ARC\") ? \"ABC\" : \"ARC\");\n\n }\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;
public class Main {
public static void main(String[] args) throws Exception {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader reader = new BufferedReader(is);
List<String> mylist = new ArrayList<>();
// 標準入力からの値を変数strinputに代入
String strinput = reader.readLine();
while (strinput != null) {
mylist.add(strinput);
strinput = reader.readLine();
}
String s = mylist.get(0);
System.out.println(s.equals("ARC") ? "ABC" : "ARC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
39,
5
],
[
39,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n \n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n \n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n \n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n \n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n \n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.nextLine();",
"S",
"scan.nextLine()",
"scan.nextLine",
"scan",
"if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n \n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner scan = new Scanner(System.in);\n\t\tString S = scan.nextLine();\n \n if(S.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n \n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner scan = new Scanner(System.in);
String S = scan.nextLine();
if(S.equals("ABC")){
System.out.println("ARC");
}else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
4,
18,
20,
23,
13,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
8,
4,
18,
4,
18,
13,
17,
17,
17,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
39,
5
],
[
39,
6
],
[
6,
7
],
[
39,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
39,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
30,
35
],
[
29,
36
],
[
29,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"\nimport java.util.*;\n\npublic class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n new ABC166A().main();\n }\n static class ABC166A {\n public void main()\n {\n System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n new ABC166A().main();\n }\n static class ABC166A {\n public void main()\n {\n System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n }\n}",
"Main",
"static Scanner scanner;",
"scanner",
"public static void main(String[] args) {\n scanner = new Scanner(System.in);\n new ABC166A().main();\n }",
"main",
"{\n scanner = new Scanner(System.in);\n new ABC166A().main();\n }",
"scanner = new Scanner(System.in)",
"scanner",
"new Scanner(System.in)",
"new ABC166A().main()",
"new ABC166A().main",
"new ABC166A()",
"String[] args",
"args",
"static class ABC166A {\n public void main()\n {\n System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n }",
"ABC166A",
"public void main()\n {\n System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\");\n }",
"main",
"{\n System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\");\n }",
"System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\"",
"scanner.next().equals(\"ABC\")",
"scanner.next().equals",
"scanner.next()",
"scanner.next",
"scanner",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"public class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n new ABC166A().main();\n }\n static class ABC166A {\n public void main()\n {\n System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n }\n}",
"public class Main {\n static Scanner scanner;\n public static void main(String[] args) {\n scanner = new Scanner(System.in);\n new ABC166A().main();\n }\n static class ABC166A {\n public void main()\n {\n System.out.println(scanner.next().equals(\"ABC\")?\"ARC\":\"ABC\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
static Scanner scanner;
public static void main(String[] args) {
scanner = new Scanner(System.in);
new ABC166A().main();
}
static class ABC166A {
public void main()
{
System.out.println(scanner.next().equals("ABC")?"ARC":"ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
4,
18,
18,
13,
13,
17,
14,
4,
18,
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
],
[
48,
11
],
[
48,
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
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
12,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
] |
[
"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 s = br.readLine();\n if (s.equals(\"ABC\"))\n System.out.println(\"ARC\");\n else\n if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");\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 s = br.readLine();\n if (s.equals(\"ABC\"))\n System.out.println(\"ARC\");\n else\n if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");\n }\n}",
"Main",
"public static void main(String []args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n if (s.equals(\"ABC\"))\n System.out.println(\"ARC\");\n else\n if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String s = br.readLine();\n if (s.equals(\"ABC\"))\n System.out.println(\"ARC\");\n else\n if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"if (s.equals(\"ABC\"))\n System.out.println(\"ARC\");\n else\n if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");",
"s.equals(\"ARC\")",
"s.equals",
"s",
"\"ARC\"",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"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 s = br.readLine();\n if (s.equals(\"ABC\"))\n System.out.println(\"ARC\");\n else\n if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");\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 s = br.readLine();\n if (s.equals(\"ABC\"))\n System.out.println(\"ARC\");\n else\n if(s.equals(\"ARC\"))\n System.out.println(\"ABC\");\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 s = br.readLine();
if (s.equals("ABC"))
System.out.println("ARC");
else
if(s.equals("ARC"))
System.out.println("ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
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
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
]
] |
[
"import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n\n String str =sc.next();\n\n if(str.equals(\"ABC\") ){\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n\n String str =sc.next();\n\n if(str.equals(\"ABC\") ){\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n\n String str =sc.next();\n\n if(str.equals(\"ABC\") ){\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n String str =sc.next();\n\n if(str.equals(\"ABC\") ){\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String str =sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"if(str.equals(\"ABC\") ){\n System.out.println(\"ARC\");\n }\n else if(str.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }",
"str.equals(\"ABC\")",
"str.equals",
"str",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"if(str.equals(\"ARC\")){\n System.out.println(\"ABC\");\n }",
"str.equals(\"ARC\")",
"str.equals",
"str",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
String str =sc.next();
if(str.equals("ABC") ){
System.out.println("ARC");
}
else if(str.equals("ARC")){
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
4,
18,
13,
17,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
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
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
19,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
9,
48
],
[
48,
49
]
] |
[
"import java.util.*;\nimport java.math.*;\n \nclass Main{\n public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n String str = sc.next();\n\n String ans = \"\";\n if(str.equals(\"ABC\")) ans = \"ARC\";\n else ans = \"ABC\";\n \n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main{\n public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n String str = sc.next();\n\n String ans = \"\";\n if(str.equals(\"ABC\")) ans = \"ARC\";\n else ans = \"ABC\";\n \n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }\n}",
"Main",
"public static void main(String[] args) {\n \n try(Scanner sc = new Scanner(System.in)){\n\n String str = sc.next();\n\n String ans = \"\";\n if(str.equals(\"ABC\")) ans = \"ARC\";\n else ans = \"ABC\";\n \n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }",
"main",
"{\n \n try(Scanner sc = new Scanner(System.in)){\n\n String str = sc.next();\n\n String ans = \"\";\n if(str.equals(\"ABC\")) ans = \"ARC\";\n else ans = \"ABC\";\n \n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n } \n }",
"try(Scanner sc = new Scanner(System.in)){\n\n String str = sc.next();\n\n String ans = \"\";\n if(str.equals(\"ABC\")) ans = \"ARC\";\n else ans = \"ABC\";\n \n System.out.println(ans);\n\n }catch(Exception e){\n e.printStackTrace();\n }",
"catch(Exception e){\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\n String str = sc.next();\n\n String ans = \"\";\n if(str.equals(\"ABC\")) ans = \"ARC\";\n else ans = \"ABC\";\n \n System.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String str = sc.next();",
"str",
"sc.next()",
"sc.next",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"if(str.equals(\"ABC\")) ans = \"ARC\";\n else ans = \"ABC\";",
"str.equals(\"ABC\")",
"str.equals",
"str",
"\"ABC\"",
"ans = \"ARC\"",
"ans",
"\"ARC\"",
"ans = \"ABC\"",
"ans",
"\"ABC\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] |
import java.util.*;
import java.math.*;
class Main{
public static void main(String[] args) {
try(Scanner sc = new Scanner(System.in)){
String str = sc.next();
String ans = "";
if(str.equals("ABC")) ans = "ARC";
else ans = "ABC";
System.out.println(ans);
}catch(Exception e){
e.printStackTrace();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
4,
18,
13,
17,
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
],
[
44,
5
],
[
44,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
21,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[]org){\n \t\n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n String result = \"\";\n if(s.charAt(1)=='B'){\n\t\tresult = \"ARC\";\n }\n else{\n result =\"ABC\";\n }\n System.out.println(result);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[]org){\n \t\n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n String result = \"\";\n if(s.charAt(1)=='B'){\n\t\tresult = \"ARC\";\n }\n else{\n result =\"ABC\";\n }\n System.out.println(result);\n\t}\n}",
"Main",
"public static void main(String[]org){\n \t\n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n String result = \"\";\n if(s.charAt(1)=='B'){\n\t\tresult = \"ARC\";\n }\n else{\n result =\"ABC\";\n }\n System.out.println(result);\n\t}",
"main",
"{\n \t\n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n String result = \"\";\n if(s.charAt(1)=='B'){\n\t\tresult = \"ARC\";\n }\n else{\n result =\"ABC\";\n }\n System.out.println(result);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.nextLine();",
"s",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String result = \"\";",
"result",
"\"\"",
"if(s.charAt(1)=='B'){\n\t\tresult = \"ARC\";\n }\n else{\n result =\"ABC\";\n }",
"s.charAt(1)=='B'",
"s.charAt(1)",
"s.charAt",
"s",
"1",
"'B'",
"{\n\t\tresult = \"ARC\";\n }",
"result = \"ARC\"",
"result",
"\"ARC\"",
"{\n result =\"ABC\";\n }",
"result =\"ABC\"",
"result",
"\"ABC\"",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[]org",
"org",
"public class Main{\n\tpublic static void main(String[]org){\n \t\n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n String result = \"\";\n if(s.charAt(1)=='B'){\n\t\tresult = \"ARC\";\n }\n else{\n result =\"ABC\";\n }\n System.out.println(result);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[]org){\n \t\n Scanner scan = new Scanner(System.in);\n String s = scan.nextLine();\n String result = \"\";\n if(s.charAt(1)=='B'){\n\t\tresult = \"ARC\";\n }\n else{\n result =\"ABC\";\n }\n System.out.println(result);\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[]org){
Scanner scan = new Scanner(System.in);
String s = scan.nextLine();
String result = "";
if(s.charAt(1)=='B'){
result = "ARC";
}
else{
result ="ABC";
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
17,
13,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
9,
39
],
[
39,
40
]
] |
[
"import java.util.Scanner;\nimport java.util.Arrays;\nclass Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n \nString S = scan.next();\n\n if (\"ABC\".equals(S)){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n \nString S = scan.next();\n\n if (\"ABC\".equals(S)){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\nScanner scan = new Scanner(System.in);\n \nString S = scan.next();\n\n if (\"ABC\".equals(S)){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\nScanner scan = new Scanner(System.in);\n \nString S = scan.next();\n\n if (\"ABC\".equals(S)){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"if (\"ABC\".equals(S)){\n System.out.println(\"ARC\");\n }\n else{\n System.out.println(\"ABC\");\n }",
"\"ABC\".equals(S)",
"\"ABC\".equals",
"\"ABC\"",
"S",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args"
] |
import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String S = scan.next();
if ("ABC".equals(S)){
System.out.println("ARC");
}
else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
2,
17,
17,
41,
13,
20,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
12,
13,
30,
29,
2,
18,
36,
13,
18,
13,
13,
23,
13,
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
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
120,
23
],
[
120,
24
],
[
24,
25
],
[
120,
26
],
[
26,
27
],
[
120,
28
],
[
28,
29
],
[
28,
30
],
[
120,
31
],
[
31,
32
],
[
31,
33
],
[
34,
35
],
[
34,
36
],
[
120,
37
],
[
37,
38
],
[
37,
39
],
[
120,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
63,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
40,
81
],
[
81,
82
],
[
120,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
83,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
89,
98
],
[
98,
99
],
[
89,
100
],
[
100,
101
],
[
83,
102
],
[
102,
103
],
[
102,
104
],
[
83,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
105,
116
],
[
116,
117
],
[
83,
118
],
[
0,
119
],
[
119,
120
],
[
119,
121
]
] |
[
"\nimport java.io.DataInputStream;\nimport java.io.FileInputStream;\nimport java.io.IOException;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.PriorityQueue;\nimport java.util.*;\n\npublic class Main {\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n\n\t\tpair(int x, int y) {\n\n\t\t\tid = x;\n\t\t\tans = y;\n\n\t\t}\n\n\t\tpublic pair() {\n\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n\n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n\n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic long ar[];\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n\n\t//static long dp[];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;// sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}\n\n\t}\n}",
"import java.io.DataInputStream;",
"DataInputStream",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.PriorityQueue;",
"PriorityQueue",
"java.util",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n\n\t\tpair(int x, int y) {\n\n\t\t\tid = x;\n\t\t\tans = y;\n\n\t\t}\n\n\t\tpublic pair() {\n\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n\n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n\n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic long ar[];\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n\n\t//static long dp[];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;// sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}\n\n\t}\n}",
"Main",
"//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];",
"gr",
"static long ar[];",
"ar",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static int pri[] = new int[(int) 1e6 + 5];",
"pri",
"new int[(int) 1e6 + 5]",
"(int) 1e6 + 5",
"(int) 1e6",
"5",
"static StringBuilder out = new StringBuilder();",
"out",
"new StringBuilder()",
"public static void main(String[] args) throws IOException {\n\t\tint t =1;// sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}\n\n\t}",
"main",
"{\n\t\tint t =1;// sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}\n\n\t}",
"int t =1;",
"t",
"1",
"while (t-- > 0) {\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}",
"t-- > 0",
"t--",
"t",
"0",
"{\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}",
"String s1=\"ABC\";",
"s1",
"\"ABC\"",
"String s2=\"ARC\";",
"s2",
"\"ARC\"",
"String s=sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"if(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);",
"s.equals(s1)",
"s.equals",
"s",
"s1",
"{\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}",
"System.out.println(s2)",
"System.out.println",
"System.out",
"System",
"System.out",
"s2",
"System.out.println(s1)",
"System.out.println",
"System.out",
"System",
"System.out",
"s1",
"String[] args",
"args",
"public static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n\n\t\tpair(int x, int y) {\n\n\t\t\tid = x;\n\t\t\tans = y;\n\n\t\t}\n\n\t\tpublic pair() {\n\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n\n\t\t\treturn this.id - o.id;\n\t\t}\n\t}",
"pair",
"int id;",
"id",
"int ans;",
"ans",
"pair(int x, int y) {\n\n\t\t\tid = x;\n\t\t\tans = y;\n\n\t\t}",
"pair",
"{\n\n\t\t\tid = x;\n\t\t\tans = y;\n\n\t\t}",
"id = x",
"id",
"x",
"ans = y",
"ans",
"y",
"int x",
"x",
"int y",
"y",
"public pair() {\n\n\t\t}",
"pair",
"{\n\n\t\t}",
"public int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n\n\t\t\treturn this.id - o.id;\n\t\t}",
"compareTo",
"{\n\t\t\t// TODO Auto-generated method stub\n\n\t\t\treturn this.id - o.id;\n\t\t}",
"return this.id - o.id;",
"this.id - o.id",
"this.id",
"this",
"this.id",
"o.id",
"o",
"o.id",
"pair o",
"o",
"Comparable",
"public class Main {\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n\n\t\tpair(int x, int y) {\n\n\t\t\tid = x;\n\t\t\tans = y;\n\n\t\t}\n\n\t\tpublic pair() {\n\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n\n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n\n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic long ar[];\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n\n\t//static long dp[];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;// sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}\n\n\t}\n}",
"public class Main {\n\tpublic static class pair implements Comparable<pair> {\n\t\tint id;\n\t\tint ans;\n\n\t\tpair(int x, int y) {\n\n\t\t\tid = x;\n\t\t\tans = y;\n\n\t\t}\n\n\t\tpublic pair() {\n\n\t\t}\n\n\t\tpublic int compareTo(pair o) {\n\t\t\t// TODO Auto-generated method stub\n\n\t\t\treturn this.id - o.id;\n\t\t}\n\t}\n\n//\tstatic int mod = (int) 998244353.;\n\tstatic ArrayList<Integer> gr[];\n\tstatic long ar[];\n\tstatic Scanner sc = new Scanner(System.in);\n\tstatic int pri[] = new int[(int) 1e6 + 5];\n\tstatic StringBuilder out = new StringBuilder();\n\n\t//static long dp[];\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tint t =1;// sc.nextInt();\n\t\t\n\t\twhile (t-- > 0) {\n\n\t\t\tString s1=\"ABC\";\n\t\t\tString s2=\"ARC\";\n\t\t\tString s=sc.next();\n\t\t\tif(s.equals(s1)) {\n\t\t\t\tSystem.out.println(s2);\n\t\t\t}\n\t\t\telse System.out.println(s1);\n\t\t}\n\n\t}\n}",
"Main"
] |
import java.io.DataInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.PriorityQueue;
import java.util.*;
public class Main {
public static class pair implements Comparable<pair> {
int id;
int ans;
pair(int x, int y) {
id = x;
ans = y;
}
public pair() {
}
public int compareTo(pair o) {
// TODO Auto-generated method stub
return this.id - o.id;
}
}
// static int mod = (int) 998244353.;
static ArrayList<Integer> gr[];
static long ar[];
static Scanner sc = new Scanner(System.in);
static int pri[] = new int[(int) 1e6 + 5];
static StringBuilder out = new StringBuilder();
//static long dp[];
public static void main(String[] args) throws IOException {
int t =1;// sc.nextInt();
while (t-- > 0) {
String s1="ABC";
String s2="ARC";
String s=sc.next();
if(s.equals(s1)) {
System.out.println(s2);
}
else System.out.println(s1);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
39,
5
],
[
39,
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
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
6,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
]
] |
[
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n String x = stdIn.next();\n if(x.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n String x = stdIn.next();\n if(x.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n String x = stdIn.next();\n if(x.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }",
"main",
"{\n Scanner stdIn= new Scanner(System.in);\n String x = stdIn.next();\n if(x.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }",
"Scanner stdIn= new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"String x = stdIn.next();",
"x",
"stdIn.next()",
"stdIn.next",
"stdIn",
"if(x.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }",
"x.equals(\"ABC\")",
"x.equals",
"x",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n String x = stdIn.next();\n if(x.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner stdIn= new Scanner(System.in);\n String x = stdIn.next();\n if(x.equals(\"ABC\")){\n System.out.println(\"ARC\");\n }else{\n System.out.println(\"ABC\");\n }\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner stdIn= new Scanner(System.in);
String x = stdIn.next();
if(x.equals("ABC")){
System.out.println("ARC");
}else{
System.out.println("ABC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
4,
18,
13,
17,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
32,
5
],
[
32,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
22,
28
],
[
6,
29
],
[
29,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\tScanner scanner = new Scanner(System.in);\n\t\tString str=scanner.nextLine();\n\t\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\tScanner scanner = new Scanner(System.in);\n\t\tString str=scanner.nextLine();\n\t\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\tScanner scanner = new Scanner(System.in);\n\t\tString str=scanner.nextLine();\n\t\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\n\t}",
"main",
"{\n\tScanner scanner = new Scanner(System.in);\n\t\tString str=scanner.nextLine();\n\t\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String str=scanner.nextLine();",
"str",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"System.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"(str.equals(\"ABC\"))? \"ARC\":\"ABC\"",
"(str.equals(\"ABC\"))",
"str.equals",
"str",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\tScanner scanner = new Scanner(System.in);\n\t\tString str=scanner.nextLine();\n\t\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\tScanner scanner = new Scanner(System.in);\n\t\tString str=scanner.nextLine();\n\t\tSystem.out.println((str.equals(\"ABC\"))? \"ARC\":\"ABC\");\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String str=scanner.nextLine();
System.out.println((str.equals("ABC"))? "ARC":"ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
4,
18,
13,
17,
30,
0,
13,
17,
14,
4,
18,
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
],
[
47,
5
],
[
47,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
20,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String ans = \"\";\n \n if(S.equals(\"ABC\")){\n ans = \"ARC\";\n }else if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }\n \n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String ans = \"\";\n \n if(S.equals(\"ABC\")){\n ans = \"ARC\";\n }else if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }\n \n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String ans = \"\";\n \n if(S.equals(\"ABC\")){\n ans = \"ARC\";\n }else if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }\n \n System.out.println(ans);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String ans = \"\";\n \n if(S.equals(\"ABC\")){\n ans = \"ARC\";\n }else if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }\n \n System.out.println(ans);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String S = scan.next();",
"S",
"scan.next()",
"scan.next",
"scan",
"String ans = \"\";",
"ans",
"\"\"",
"if(S.equals(\"ABC\")){\n ans = \"ARC\";\n }else if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }",
"S.equals(\"ABC\")",
"S.equals",
"S",
"\"ABC\"",
"{\n ans = \"ARC\";\n }",
"ans = \"ARC\"",
"ans",
"\"ARC\"",
"if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }",
"S.equals(\"ARC\")",
"S.equals",
"S",
"\"ARC\"",
"{\n ans = \"ABC\";\n }",
"ans = \"ABC\"",
"ans",
"\"ABC\"",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String ans = \"\";\n \n if(S.equals(\"ABC\")){\n ans = \"ARC\";\n }else if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }\n \n System.out.println(ans);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String S = scan.next();\n String ans = \"\";\n \n if(S.equals(\"ABC\")){\n ans = \"ARC\";\n }else if(S.equals(\"ARC\")){\n ans = \"ABC\";\n }\n \n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
String S = scan.next();
String ans = "";
if(S.equals("ABC")){
ans = "ARC";
}else if(S.equals("ARC")){
ans = "ABC";
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
4,
18,
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
],
[
47,
8
],
[
47,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
9,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
] |
[
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n String s = scan.next();\n\t\tif (s.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n String s = scan.next();\n\t\tif (s.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n String s = scan.next();\n\t\tif (s.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n String s = scan.next();\n\t\tif (s.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"if (s.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"s.equals(\"ARC\")",
"s.equals",
"s",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n String s = scan.next();\n\t\tif (s.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\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 String s = scan.next();\n\t\tif (s.equals(\"ARC\")) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else if (s.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
String s = scan.next();
if (s.equals("ARC")) {
System.out.println("ABC");
} else if (s.equals("ABC")) {
System.out.println("ARC");
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
0,
18,
36,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
40,
2,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
2,
2,
2,
13,
17,
13,
17,
0,
13,
4,
13,
29,
8,
13,
40,
13,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
2,
2,
2,
13,
17,
13,
17,
0,
13,
4,
13,
29,
8,
13,
40,
13,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
4,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
456,
20
],
[
456,
21
],
[
21,
22
],
[
21,
23
],
[
456,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
26,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
24,
57
],
[
57,
58
],
[
456,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
59,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
59,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
73,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
71,
88
],
[
88,
89
],
[
59,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
101,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
97,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
92,
120
],
[
120,
121
],
[
59,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
125,
133
],
[
133,
134
],
[
134,
135
],
[
59,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
145,
147
],
[
136,
148
],
[
148,
149
],
[
59,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
153,
162
],
[
162,
163
],
[
59,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
169,
170
],
[
170,
171
],
[
59,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
175,
179
],
[
179,
180
],
[
174,
181
],
[
181,
182
],
[
181,
183
],
[
174,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
174,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
194,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
174,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
59,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
209,
213
],
[
213,
214
],
[
208,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
208,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
208,
227
],
[
227,
228
],
[
227,
229
],
[
208,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
208,
242
],
[
242,
243
],
[
242,
244
],
[
208,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
245,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
256,
258
],
[
251,
259
],
[
259,
260
],
[
250,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
263,
269
],
[
250,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
208,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
275,
279
],
[
59,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
283,
287
],
[
287,
288
],
[
282,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
282,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
282,
301
],
[
301,
302
],
[
301,
303
],
[
282,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
308,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
282,
316
],
[
316,
317
],
[
316,
318
],
[
282,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
319,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
330,
331
],
[
330,
332
],
[
325,
333
],
[
333,
334
],
[
324,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
337,
343
],
[
324,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
282,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
349,
353
],
[
59,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
358,
361
],
[
361,
362
],
[
59,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
370,
375
],
[
375,
376
],
[
375,
377
],
[
370,
378
],
[
378,
379
],
[
379,
380
],
[
370,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
383,
385
],
[
382,
386
],
[
386,
387
],
[
365,
388
],
[
388,
389
],
[
363,
390
],
[
390,
391
],
[
59,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
394,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
399,
404
],
[
404,
405
],
[
404,
406
],
[
399,
407
],
[
407,
408
],
[
408,
409
],
[
399,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
411,
415
],
[
415,
416
],
[
394,
417
],
[
417,
418
],
[
392,
419
],
[
419,
420
],
[
59,
421
],
[
421,
422
],
[
421,
423
],
[
423,
424
],
[
424,
425
],
[
424,
426
],
[
423,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
431,
433
],
[
429,
434
],
[
434,
435
],
[
434,
436
],
[
429,
437
],
[
437,
438
],
[
438,
439
],
[
429,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
441,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
423,
449
],
[
449,
450
],
[
421,
451
],
[
451,
452
],
[
421,
453
],
[
453,
454
],
[
0,
455
],
[
455,
456
],
[
455,
457
]
] |
[
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.*;\n\n\npublic class Main {\n\tstatic int max=0;\n\tpublic static void main(String[] args){\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tInputReader sc=new InputReader(System.in);\n\t\tString string=sc.next();\n\t\tif (string.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\t\n\tstatic class InputReader { \n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n \n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n \n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n \n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n \n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n \n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tstatic int max=0;\n\tpublic static void main(String[] args){\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tInputReader sc=new InputReader(System.in);\n\t\tString string=sc.next();\n\t\tif (string.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\t\n\tstatic class InputReader { \n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n \n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n \n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n \n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n \n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n \n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n}",
"Main",
"static int max=0;",
"max",
"0",
"public static void main(String[] args){\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tInputReader sc=new InputReader(System.in);\n\t\tString string=sc.next();\n\t\tif (string.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}",
"main",
"{\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tInputReader sc=new InputReader(System.in);\n\t\tString string=sc.next();\n\t\tif (string.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"InputReader sc=new InputReader(System.in);",
"sc",
"new InputReader(System.in)",
"String string=sc.next();",
"string",
"sc.next()",
"sc.next",
"sc",
"if (string.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"string.equals(\"ABC\")",
"string.equals",
"string",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"String[] args",
"args",
"static class InputReader { \n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n \n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n \n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n \n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n \n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n \n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}",
"InputReader",
"private InputStream in;",
"in",
"private byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int curbuf;",
"curbuf",
"private int lenbuf;",
"lenbuf",
"public InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}",
"InputReader",
"{\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}",
"this.in = in",
"this.in",
"this",
"this.in",
"in",
"this.curbuf = this.lenbuf = 0",
"this.curbuf",
"this",
"this.curbuf",
"this.lenbuf = 0",
"this.lenbuf",
"this",
"this.lenbuf",
"0",
"InputStream in",
"in",
"public boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}",
"hasNextByte",
"{\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}",
"if (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}",
"curbuf >= lenbuf",
"curbuf",
"lenbuf",
"{\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}",
"curbuf = 0",
"curbuf",
"0",
"try {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t}",
"lenbuf = in.read(buffer)",
"lenbuf",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (lenbuf <= 0)\n\t\t\t\t\treturn false;",
"lenbuf <= 0",
"lenbuf",
"0",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}",
"readByte",
"{\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}",
"if (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[curbuf++];",
"buffer[curbuf++]",
"buffer",
"curbuf++",
"curbuf",
"return -1;",
"-1",
"1",
"private boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}",
"isSpaceChar",
"{\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}",
"return !(c >= 33 && c <= 126);",
"!(c >= 33 && c <= 126)",
"(c >= 33 && c <= 126)",
"c >= 33",
"c",
"33",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}",
"skip",
"{\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}",
"while (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;",
"hasNextByte() && isSpaceChar(buffer[curbuf])",
"hasNextByte()",
"hasNextByte",
"isSpaceChar(buffer[curbuf])",
"isSpaceChar",
"buffer[curbuf]",
"buffer",
"curbuf",
"curbuf++",
"curbuf",
"public boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}",
"hasNext",
"{\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}",
"skip()",
"skip",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}",
"next",
"{\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}",
"if (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}",
"!isSpaceChar(b)",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"{\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"nextInt",
"{\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"if (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"int c = readByte();",
"c",
"readByte()",
"readByte",
"while (isSpaceChar(c))\n\t\t\t\tc = readByte();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = readByte()",
"c",
"readByte()",
"readByte",
"boolean minus = false;",
"minus",
"false",
"if (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"minus = true",
"minus",
"true",
"c = readByte()",
"c",
"readByte()",
"readByte",
"int res = 0;",
"res",
"0",
"do {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t}",
"if (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res = res * 10 + c - '0'",
"res",
"res * 10 + c - '0'",
"res * 10 + c",
"res * 10",
"res",
"10",
"c",
"'0'",
"c = readByte()",
"c",
"readByte()",
"readByte",
"return (minus) ? -res : res;",
"(minus) ? -res : res",
"(minus)",
"-res",
"res",
"res",
"public long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"nextLong",
"{\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}",
"if (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"int c = readByte();",
"c",
"readByte()",
"readByte",
"while (isSpaceChar(c))\n\t\t\t\tc = readByte();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = readByte()",
"c",
"readByte()",
"readByte",
"boolean minus = false;",
"minus",
"false",
"if (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}",
"minus = true",
"minus",
"true",
"c = readByte()",
"c",
"readByte()",
"readByte",
"long res = 0;",
"res",
"0",
"do {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t}",
"if (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res = res * 10 + c - '0'",
"res",
"res * 10 + c - '0'",
"res * 10 + c",
"res * 10",
"res",
"10",
"c",
"'0'",
"c = readByte()",
"c",
"readByte()",
"readByte",
"return (minus) ? -res : res;",
"(minus) ? -res : res",
"(minus)",
"-res",
"res",
"res",
"public double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"nextIntArray",
"{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"nextLongArray",
"{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}",
"nextCharMap",
"{\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}",
"char[][] map = new char[n][m];",
"map",
"new char[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"map[i] = next().toCharArray();",
"map[i] = next().toCharArray()",
"map[i]",
"map",
"i",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public class Main {\n\tstatic int max=0;\n\tpublic static void main(String[] args){\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tInputReader sc=new InputReader(System.in);\n\t\tString string=sc.next();\n\t\tif (string.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\t\n\tstatic class InputReader { \n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n \n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n \n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n \n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n \n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n \n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic int max=0;\n\tpublic static void main(String[] args){\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tInputReader sc=new InputReader(System.in);\n\t\tString string=sc.next();\n\t\tif (string.equals(\"ABC\")) {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t}\n\t\n\tstatic class InputReader { \n\t\tprivate InputStream in;\n\t\tprivate byte[] buffer = new byte[1024];\n\t\tprivate int curbuf;\n\t\tprivate int lenbuf;\n\t\tpublic InputReader(InputStream in) {\n\t\t\tthis.in = in;\n\t\t\tthis.curbuf = this.lenbuf = 0;\n\t\t}\n \n\t\tpublic boolean hasNextByte() {\n\t\t\tif (curbuf >= lenbuf) {\n\t\t\t\tcurbuf = 0;\n\t\t\t\ttry {\n\t\t\t\t\tlenbuf = in.read(buffer);\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t\tif (lenbuf <= 0)\n\t\t\t\t\treturn false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n \n\t\tprivate int readByte() {\n\t\t\tif (hasNextByte())\n\t\t\t\treturn buffer[curbuf++];\n\t\t\telse\n\t\t\t\treturn -1;\n\t\t}\n \n\t\tprivate boolean isSpaceChar(int c) {\n\t\t\treturn !(c >= 33 && c <= 126);\n\t\t}\n \n\t\tprivate void skip() {\n\t\t\twhile (hasNextByte() && isSpaceChar(buffer[curbuf]))\n\t\t\t\tcurbuf++;\n\t\t}\n \n\t\tpublic boolean hasNext() {\n\t\t\tskip();\n\t\t\treturn hasNextByte();\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tint b = readByte();\n\t\t\twhile (!isSpaceChar(b)) {\n\t\t\t\tsb.appendCodePoint(b);\n\t\t\t\tb = readByte();\n\t\t\t}\n\t\t\treturn sb.toString();\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tint res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\tif (!hasNext())\n\t\t\t\tthrow new NoSuchElementException();\n\t\t\tint c = readByte();\n\t\t\twhile (isSpaceChar(c))\n\t\t\t\tc = readByte();\n\t\t\tboolean minus = false;\n\t\t\tif (c == '-') {\n\t\t\t\tminus = true;\n\t\t\t\tc = readByte();\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tdo {\n\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tres = res * 10 + c - '0';\n\t\t\t\tc = readByte();\n\t\t\t} while (!isSpaceChar(c));\n\t\t\treturn (minus) ? -res : res;\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n \n\t\tpublic char[][] nextCharMap(int n, int m) {\n\t\t\tchar[][] map = new char[n][m];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\tmap[i] = next().toCharArray();\n\t\t\treturn map;\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.*;
public class Main {
static int max=0;
public static void main(String[] args){
PrintWriter out = new PrintWriter(System.out);
InputReader sc=new InputReader(System.in);
String string=sc.next();
if (string.equals("ABC")) {
System.out.println("ARC");
}else {
System.out.println("ABC");
}
}
static class InputReader {
private InputStream in;
private byte[] buffer = new byte[1024];
private int curbuf;
private int lenbuf;
public InputReader(InputStream in) {
this.in = in;
this.curbuf = this.lenbuf = 0;
}
public boolean hasNextByte() {
if (curbuf >= lenbuf) {
curbuf = 0;
try {
lenbuf = in.read(buffer);
} catch (IOException e) {
throw new InputMismatchException();
}
if (lenbuf <= 0)
return false;
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[curbuf++];
else
return -1;
}
private boolean isSpaceChar(int c) {
return !(c >= 33 && c <= 126);
}
private void skip() {
while (hasNextByte() && isSpaceChar(buffer[curbuf]))
curbuf++;
}
public boolean hasNext() {
skip();
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (!isSpaceChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public int nextInt() {
if (!hasNext())
throw new NoSuchElementException();
int c = readByte();
while (isSpaceChar(c))
c = readByte();
boolean minus = false;
if (c == '-') {
minus = true;
c = readByte();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res = res * 10 + c - '0';
c = readByte();
} while (!isSpaceChar(c));
return (minus) ? -res : res;
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
int c = readByte();
while (isSpaceChar(c))
c = readByte();
boolean minus = false;
if (c == '-') {
minus = true;
c = readByte();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res = res * 10 + c - '0';
c = readByte();
} while (!isSpaceChar(c));
return (minus) ? -res : res;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
public char[][] nextCharMap(int n, int m) {
char[][] map = new char[n][m];
for (int i = 0; i < n; i++)
map[i] = next().toCharArray();
return map;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
45,
5
],
[
45,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
6,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n final String ABC_STR = \"ABC\";\n final String ARC_STR = \"ARC\";\n Scanner s = new Scanner(System.in);\n final String S = s.nextLine();\n\n if (ABC_STR.equals(S)) {\n System.out.println(ARC_STR);\n } else {\n System.out.println(ABC_STR);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n final String ABC_STR = \"ABC\";\n final String ARC_STR = \"ARC\";\n Scanner s = new Scanner(System.in);\n final String S = s.nextLine();\n\n if (ABC_STR.equals(S)) {\n System.out.println(ARC_STR);\n } else {\n System.out.println(ABC_STR);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n final String ABC_STR = \"ABC\";\n final String ARC_STR = \"ARC\";\n Scanner s = new Scanner(System.in);\n final String S = s.nextLine();\n\n if (ABC_STR.equals(S)) {\n System.out.println(ARC_STR);\n } else {\n System.out.println(ABC_STR);\n }\n }",
"main",
"{\n final String ABC_STR = \"ABC\";\n final String ARC_STR = \"ARC\";\n Scanner s = new Scanner(System.in);\n final String S = s.nextLine();\n\n if (ABC_STR.equals(S)) {\n System.out.println(ARC_STR);\n } else {\n System.out.println(ABC_STR);\n }\n }",
"final String ABC_STR = \"ABC\";",
"ABC_STR",
"\"ABC\"",
"final String ARC_STR = \"ARC\";",
"ARC_STR",
"\"ARC\"",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"final String S = s.nextLine();",
"S",
"s.nextLine()",
"s.nextLine",
"s",
"if (ABC_STR.equals(S)) {\n System.out.println(ARC_STR);\n } else {\n System.out.println(ABC_STR);\n }",
"ABC_STR.equals(S)",
"ABC_STR.equals",
"ABC_STR",
"S",
"{\n System.out.println(ARC_STR);\n }",
"System.out.println(ARC_STR)",
"System.out.println",
"System.out",
"System",
"System.out",
"ARC_STR",
"{\n System.out.println(ABC_STR);\n }",
"System.out.println(ABC_STR)",
"System.out.println",
"System.out",
"System",
"System.out",
"ABC_STR",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n final String ABC_STR = \"ABC\";\n final String ARC_STR = \"ARC\";\n Scanner s = new Scanner(System.in);\n final String S = s.nextLine();\n\n if (ABC_STR.equals(S)) {\n System.out.println(ARC_STR);\n } else {\n System.out.println(ABC_STR);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n final String ABC_STR = \"ABC\";\n final String ARC_STR = \"ARC\";\n Scanner s = new Scanner(System.in);\n final String S = s.nextLine();\n\n if (ABC_STR.equals(S)) {\n System.out.println(ARC_STR);\n } else {\n System.out.println(ABC_STR);\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
final String ABC_STR = "ABC";
final String ARC_STR = "ARC";
Scanner s = new Scanner(System.in);
final String S = s.nextLine();
if (ABC_STR.equals(S)) {
System.out.println(ARC_STR);
} else {
System.out.println(ABC_STR);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
] |
[
"import java.util.Scanner;\n\npublic class Main{ \n\tpublic static void main(String args[]){\n \tString x = new String(\"ABC\");\n \tString y = new String(\"ARC\");\n \tScanner scan = new Scanner(System.in);\n \tString s = scan.next();\n \t// System.out.println(s);\n \t// System.out.println(x);\n \t// System.out.println(y);\n \tif(s.equals(x)) System.out.println(y);\n \telse System.out.println(x);\n \tscan.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{ \n\tpublic static void main(String args[]){\n \tString x = new String(\"ABC\");\n \tString y = new String(\"ARC\");\n \tScanner scan = new Scanner(System.in);\n \tString s = scan.next();\n \t// System.out.println(s);\n \t// System.out.println(x);\n \t// System.out.println(y);\n \tif(s.equals(x)) System.out.println(y);\n \telse System.out.println(x);\n \tscan.close();\n }\n}",
"Main",
"public static void main(String args[]){\n \tString x = new String(\"ABC\");\n \tString y = new String(\"ARC\");\n \tScanner scan = new Scanner(System.in);\n \tString s = scan.next();\n \t// System.out.println(s);\n \t// System.out.println(x);\n \t// System.out.println(y);\n \tif(s.equals(x)) System.out.println(y);\n \telse System.out.println(x);\n \tscan.close();\n }",
"main",
"{\n \tString x = new String(\"ABC\");\n \tString y = new String(\"ARC\");\n \tScanner scan = new Scanner(System.in);\n \tString s = scan.next();\n \t// System.out.println(s);\n \t// System.out.println(x);\n \t// System.out.println(y);\n \tif(s.equals(x)) System.out.println(y);\n \telse System.out.println(x);\n \tscan.close();\n }",
"String x = new String(\"ABC\");",
"x",
"new String(\"ABC\")",
"String y = new String(\"ARC\");",
"y",
"new String(\"ARC\")",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String s = scan.next();",
"s",
"scan.next()",
"scan.next",
"scan",
"if(s.equals(x)) System.out.println(y);\n \telse System.out.println(x);",
"s.equals(x)",
"s.equals",
"s",
"x",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"scan.close()",
"scan.close",
"scan",
"String args[]",
"args",
"public class Main{ \n\tpublic static void main(String args[]){\n \tString x = new String(\"ABC\");\n \tString y = new String(\"ARC\");\n \tScanner scan = new Scanner(System.in);\n \tString s = scan.next();\n \t// System.out.println(s);\n \t// System.out.println(x);\n \t// System.out.println(y);\n \tif(s.equals(x)) System.out.println(y);\n \telse System.out.println(x);\n \tscan.close();\n }\n}",
"public class Main{ \n\tpublic static void main(String args[]){\n \tString x = new String(\"ABC\");\n \tString y = new String(\"ARC\");\n \tScanner scan = new Scanner(System.in);\n \tString s = scan.next();\n \t// System.out.println(s);\n \t// System.out.println(x);\n \t// System.out.println(y);\n \tif(s.equals(x)) System.out.println(y);\n \telse System.out.println(x);\n \tscan.close();\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String args[]){
String x = new String("ABC");
String y = new String("ARC");
Scanner scan = new Scanner(System.in);
String s = scan.next();
// System.out.println(s);
// System.out.println(x);
// System.out.println(y);
if(s.equals(x)) System.out.println(y);
else System.out.println(x);
scan.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
8,
4,
18,
13,
17,
17,
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
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
55,
20
],
[
55,
21
],
[
21,
22
],
[
21,
23
],
[
55,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
26,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
45,
51
],
[
24,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
] |
[
"import java.util.*;\nimport java.io.PrintWriter;\nimport static java.lang.Integer.*;\nimport static java.lang.Long.*;\nimport static java.lang.Math.*;\nimport static java.lang.System.*;\n\npublic class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(\"ABC\")?\"ARC\":\"ABC\");\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Integer.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.Long.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"import static java.lang.System.*;",
"public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(\"ABC\")?\"ARC\":\"ABC\");\n\t}\n}",
"Main",
"public static final int MOD = 1000000007;",
"MOD",
"1000000007",
"public static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(\"ABC\")?\"ARC\":\"ABC\");\n\t}",
"main",
"{\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(\"ABC\")?\"ARC\":\"ABC\");\n\t}",
"int i",
"i",
"j;",
"j",
"Scanner sc = new Scanner(in);",
"sc",
"new Scanner(in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"out.println(s.equals(\"ABC\")?\"ARC\":\"ABC\")",
"out.println",
"out",
"s.equals(\"ABC\")?\"ARC\":\"ABC\"",
"s.equals(\"ABC\")",
"s.equals",
"s",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"String[] args",
"args",
"public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(\"ABC\")?\"ARC\":\"ABC\");\n\t}\n}",
"public class Main {\n\tpublic static final int MOD = 1000000007;\n\tpublic static void main(String[] args) {\n\t\tint i,j;\n\t\tScanner sc = new Scanner(in);\n\t\tString s = sc.next();\n\t\tsc.close();\n\t\tout.println(s.equals(\"ABC\")?\"ARC\":\"ABC\");\n\t}\n}",
"Main"
] |
import java.util.*;
import java.io.PrintWriter;
import static java.lang.Integer.*;
import static java.lang.Long.*;
import static java.lang.Math.*;
import static java.lang.System.*;
public class Main {
public static final int MOD = 1000000007;
public static void main(String[] args) {
int i,j;
Scanner sc = new Scanner(in);
String s = sc.next();
sc.close();
out.println(s.equals("ABC")?"ARC":"ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
8,
4,
18,
13,
17,
17,
17,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
32,
5
],
[
32,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
22,
28
],
[
6,
29
],
[
29,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n String str = scan.next();\n\n System.out.println(str.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n String str = scan.next();\n\n System.out.println(str.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n String str = scan.next();\n\n System.out.println(str.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n String str = scan.next();\n\n System.out.println(str.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String str = scan.next();",
"str",
"scan.next()",
"scan.next",
"scan",
"System.out.println(str.equals(\"ABC\") ? \"ARC\" : \"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"str.equals(\"ABC\") ? \"ARC\" : \"ABC\"",
"str.equals(\"ABC\")",
"str.equals",
"str",
"\"ABC\"",
"\"ARC\"",
"\"ABC\"",
"String args[]",
"args",
"public class Main {\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n String str = scan.next();\n\n System.out.println(str.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }\n}",
"public class Main {\n\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n String str = scan.next();\n\n System.out.println(str.equals(\"ABC\") ? \"ARC\" : \"ABC\");\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
String str = scan.next();
System.out.println(str.equals("ABC") ? "ARC" : "ABC");
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
17,
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
],
[
44,
5
],
[
44,
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
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
18,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
6,
41
],
[
41,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
]
] |
[
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString contestName = sc.nextLine();\n\t\tif (contestName.charAt(1) == 'B') {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\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\tString contestName = sc.nextLine();\n\t\tif (contestName.charAt(1) == 'B') {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\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\tString contestName = sc.nextLine();\n\t\tif (contestName.charAt(1) == 'B') {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString contestName = sc.nextLine();\n\t\tif (contestName.charAt(1) == 'B') {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String contestName = sc.nextLine();",
"contestName",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (contestName.charAt(1) == 'B') {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"contestName.charAt(1) == 'B'",
"contestName.charAt(1)",
"contestName.charAt",
"contestName",
"1",
"'B'",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"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\tString contestName = sc.nextLine();\n\t\tif (contestName.charAt(1) == 'B') {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\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\tString contestName = sc.nextLine();\n\t\tif (contestName.charAt(1) == 'B') {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ABC\");\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);
String contestName = sc.nextLine();
if (contestName.charAt(1) == 'B') {
System.out.println("ARC");
} else {
System.out.println("ABC");
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
4,
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
],
[
41,
5
],
[
41,
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
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
18,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
17,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
6,
38
],
[
38,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
]
] |
[
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if (S.charAt(1) == 'R') {\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\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 String S = sc.next();\n if (S.charAt(1) == 'R') {\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if (S.charAt(1) == 'R') {\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if (S.charAt(1) == 'R') {\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"if (S.charAt(1) == 'R') {\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }",
"S.charAt(1) == 'R'",
"S.charAt(1)",
"S.charAt",
"S",
"1",
"'R'",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if (S.charAt(1) == 'R') {\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if (S.charAt(1) == 'R') {\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
if (S.charAt(1) == 'R') {
System.out.println("ABC");
} else {
System.out.println("ARC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
29,
8,
2,
13,
17,
4,
13,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
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
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
61,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
17,
20
],
[
20,
21
],
[
20,
22
],
[
13,
23
],
[
9,
24
],
[
24,
25
],
[
9,
26
],
[
26,
27
],
[
61,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
39,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
28,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] |
[
"import java.util.*;\n\npublic class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n static int mod = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if(S.equals(\"ARC\")){\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n\n }\n\n}\n\n\n\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n static int mod = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if(S.equals(\"ARC\")){\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n\n }\n\n}",
"Main",
"static int mod = 1000000007;",
"mod",
"1000000007",
"static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}",
"gcd",
"{return b>0?gcd(b,a%b):a;}",
"return b>0?gcd(b,a%b):a;",
"b>0?gcd(b,a%b):a",
"b>0",
"b",
"0",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"a",
"int a",
"a",
"int b",
"b",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if(S.equals(\"ARC\")){\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if(S.equals(\"ARC\")){\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String S = sc.next();",
"S",
"sc.next()",
"sc.next",
"sc",
"if(S.equals(\"ARC\")){\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }",
"S.equals(\"ARC\")",
"S.equals",
"S",
"\"ARC\"",
"{\n System.out.println(\"ABC\");\n }",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"{\n System.out.println(\"ARC\");\n }",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"String[] args",
"args",
"public class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n static int mod = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if(S.equals(\"ARC\")){\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n\n }\n\n}",
"public class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n static int mod = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String S = sc.next();\n if(S.equals(\"ARC\")){\n System.out.println(\"ABC\");\n } else {\n System.out.println(\"ARC\");\n }\n\n }\n\n}",
"Main"
] |
import java.util.*;
public class Main {
static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}
static int mod = 1000000007;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String S = sc.next();
if(S.equals("ARC")){
System.out.println("ABC");
} else {
System.out.println("ARC");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
14,
13,
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
],
[
58,
5
],
[
58,
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
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
23,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
36,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
6,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] |
[
"import java.util.Scanner;\n\n\npublic class Main {\n\n\n//\tfinal int MOD = 1000000007;\n\n//\tpublic static int max = 0;\n\n\tpublic static void main(String[] args) {\n\n\t\tint ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n//\t\tint n = sc.nextInt();\n//\t\tint m = sc.nextInt();\n\t\tString string = sc.next();\n\n//\t\tint[] ans = new int[n];\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tif(string.equals(\"ABC\") ) {\n\t\t\tf = false;\n\t\t} else {\n\t\t\tf = true;\n\t\t}\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n\t\tif(f) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\n//\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n//\tfinal int MOD = 1000000007;\n\n//\tpublic static int max = 0;\n\n\tpublic static void main(String[] args) {\n\n\t\tint ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n//\t\tint n = sc.nextInt();\n//\t\tint m = sc.nextInt();\n\t\tString string = sc.next();\n\n//\t\tint[] ans = new int[n];\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tif(string.equals(\"ABC\") ) {\n\t\t\tf = false;\n\t\t} else {\n\t\t\tf = true;\n\t\t}\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n\t\tif(f) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\n//\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n//\t\tint n = sc.nextInt();\n//\t\tint m = sc.nextInt();\n\t\tString string = sc.next();\n\n//\t\tint[] ans = new int[n];\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tif(string.equals(\"ABC\") ) {\n\t\t\tf = false;\n\t\t} else {\n\t\t\tf = true;\n\t\t}\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n\t\tif(f) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\n//\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tint ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n//\t\tint n = sc.nextInt();\n//\t\tint m = sc.nextInt();\n\t\tString string = sc.next();\n\n//\t\tint[] ans = new int[n];\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tif(string.equals(\"ABC\") ) {\n\t\t\tf = false;\n\t\t} else {\n\t\t\tf = true;\n\t\t}\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n\t\tif(f) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\n//\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}",
"int ans = 0;",
"ans",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"boolean f = false;",
"f",
"false",
"String string = sc.next();",
"string",
"sc.next()",
"sc.next",
"sc",
"if(string.equals(\"ABC\") ) {\n\t\t\tf = false;\n\t\t} else {\n\t\t\tf = true;\n\t\t}",
"string.equals(\"ABC\")",
"string.equals",
"string",
"\"ABC\"",
"{\n\t\t\tf = false;\n\t\t}",
"f = false",
"f",
"false",
"{\n\t\t\tf = true;\n\t\t}",
"f = true",
"f",
"true",
"if(f) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"f",
"{\n\t\t\tSystem.out.println(\"ABC\");\n\t\t}",
"System.out.println(\"ABC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ABC\"",
"{\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}",
"System.out.println(\"ARC\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"ARC\"",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\n//\tfinal int MOD = 1000000007;\n\n//\tpublic static int max = 0;\n\n\tpublic static void main(String[] args) {\n\n\t\tint ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n//\t\tint n = sc.nextInt();\n//\t\tint m = sc.nextInt();\n\t\tString string = sc.next();\n\n//\t\tint[] ans = new int[n];\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tif(string.equals(\"ABC\") ) {\n\t\t\tf = false;\n\t\t} else {\n\t\t\tf = true;\n\t\t}\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n\t\tif(f) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\n//\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\n\n//\tfinal int MOD = 1000000007;\n\n//\tpublic static int max = 0;\n\n\tpublic static void main(String[] args) {\n\n\t\tint ans = 0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tboolean f = false;\n\n//\t\tint n = sc.nextInt();\n//\t\tint m = sc.nextInt();\n\t\tString string = sc.next();\n\n//\t\tint[] ans = new int[n];\n\n\t\t//-------------------------------------------------------------------------------------\n\n\t\tif(string.equals(\"ABC\") ) {\n\t\t\tf = false;\n\t\t} else {\n\t\t\tf = true;\n\t\t}\n\n\t\t//-------------------------------------------------------------------------------------\n\n//\t\tfor(int i = 0; i < n; i++) {\n//\t\t\tSystem.out.println(ans[i]);\n//\t\t}\n\n\t\tif(f) {\n\t\t\tSystem.out.println(\"ABC\");\n\t\t} else {\n\t\t\tSystem.out.println(\"ARC\");\n\t\t}\n\n//\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
// final int MOD = 1000000007;
// public static int max = 0;
public static void main(String[] args) {
int ans = 0;
Scanner sc = new Scanner(System.in);
boolean f = false;
// int n = sc.nextInt();
// int m = sc.nextInt();
String string = sc.next();
// int[] ans = new int[n];
//-------------------------------------------------------------------------------------
if(string.equals("ABC") ) {
f = false;
} else {
f = true;
}
//-------------------------------------------------------------------------------------
// for(int i = 0; i < n; i++) {
// System.out.println(ans[i]);
// }
if(f) {
System.out.println("ABC");
} else {
System.out.println("ARC");
}
// System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
2,
13,
17,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
40,
18,
13,
13,
40,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
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
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
32,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
78,
84
],
[
84,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] |
[
"import java.util.*;\n\n // Compiler version JDK 11.0.2\n\n public class Main\n {\n public static void main(String args[])\n { \n Scanner sc= new Scanner(System.in);\n int n =sc.nextInt();\n int a[]=new int[n+1];\n int k =sc.nextInt();\n while(k>0)\n {\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }\n int t=0;\n for(int i =1;i<=n;i++)\n {\n if(a[i]==0)\n t++;\n }\n System.out.println(t);\n }\n }\n ",
"import java.util.*;",
"util.*",
"java",
"public class Main\n {\n public static void main(String args[])\n { \n Scanner sc= new Scanner(System.in);\n int n =sc.nextInt();\n int a[]=new int[n+1];\n int k =sc.nextInt();\n while(k>0)\n {\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }\n int t=0;\n for(int i =1;i<=n;i++)\n {\n if(a[i]==0)\n t++;\n }\n System.out.println(t);\n }\n }",
"Main",
"public static void main(String args[])\n { \n Scanner sc= new Scanner(System.in);\n int n =sc.nextInt();\n int a[]=new int[n+1];\n int k =sc.nextInt();\n while(k>0)\n {\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }\n int t=0;\n for(int i =1;i<=n;i++)\n {\n if(a[i]==0)\n t++;\n }\n System.out.println(t);\n }",
"main",
"{ \n Scanner sc= new Scanner(System.in);\n int n =sc.nextInt();\n int a[]=new int[n+1];\n int k =sc.nextInt();\n while(k>0)\n {\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }\n int t=0;\n for(int i =1;i<=n;i++)\n {\n if(a[i]==0)\n t++;\n }\n System.out.println(t);\n }",
"Scanner sc= new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n =sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int a[]=new int[n+1];",
"a",
"new int[n+1]",
"n+1",
"n",
"1",
"int k =sc.nextInt();",
"k",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(k>0)\n {\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }",
"k>0",
"k",
"0",
"{\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<d",
"i",
"d",
"i++",
"i++",
"i",
"{\n int b= sc.nextInt();\n a[b]++;\n \n }",
"{\n int b= sc.nextInt();\n a[b]++;\n \n }",
"int b= sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"a[b]++",
"a[b]",
"a",
"b",
"k--",
"k",
"int t=0;",
"t",
"0",
"for(int i =1;i<=n;i++)\n {\n if(a[i]==0)\n t++;\n }",
"int i =1;",
"int i =1;",
"i",
"1",
"i<=n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(a[i]==0)\n t++;\n }",
"{\n if(a[i]==0)\n t++;\n }",
"if(a[i]==0)\n t++;",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"t++",
"t",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"String args[]",
"args",
"public class Main\n {\n public static void main(String args[])\n { \n Scanner sc= new Scanner(System.in);\n int n =sc.nextInt();\n int a[]=new int[n+1];\n int k =sc.nextInt();\n while(k>0)\n {\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }\n int t=0;\n for(int i =1;i<=n;i++)\n {\n if(a[i]==0)\n t++;\n }\n System.out.println(t);\n }\n }",
"public class Main\n {\n public static void main(String args[])\n { \n Scanner sc= new Scanner(System.in);\n int n =sc.nextInt();\n int a[]=new int[n+1];\n int k =sc.nextInt();\n while(k>0)\n {\n int d = sc.nextInt();\n for(int i=0;i<d;i++)\n {\n int b= sc.nextInt();\n a[b]++;\n \n }\n k--;\n }\n int t=0;\n for(int i =1;i<=n;i++)\n {\n if(a[i]==0)\n t++;\n }\n System.out.println(t);\n }\n }",
"Main"
] |
import java.util.*;
// Compiler version JDK 11.0.2
public class Main
{
public static void main(String args[])
{
Scanner sc= new Scanner(System.in);
int n =sc.nextInt();
int a[]=new int[n+1];
int k =sc.nextInt();
while(k>0)
{
int d = sc.nextInt();
for(int i=0;i<d;i++)
{
int b= sc.nextInt();
a[b]++;
}
k--;
}
int t=0;
for(int i =1;i<=n;i++)
{
if(a[i]==0)
t++;
}
System.out.println(t);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
40,
13,
40,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
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
],
[
126,
8
],
[
126,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
45,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
51,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
11,
93
],
[
93,
94
],
[
93,
95
],
[
11,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
96,
104
],
[
104,
105
],
[
105,
106
],
[
96,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
109,
115
],
[
115,
116
],
[
11,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
9,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] |
[
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); \n int k = sc.nextInt(); \n int d;\n int A;\n int[] people = new int[n];\n for (int i = 0; i < n; i++) {\n people[i] = 0;\n }\n for (int i = 0; i < k; i++) {\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }\n \n int res = 0;\n for (int i = 0; i < n;i++) {\n if (people[i] == 0) res++;\n }\n System.out.println(res); \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); \n int k = sc.nextInt(); \n int d;\n int A;\n int[] people = new int[n];\n for (int i = 0; i < n; i++) {\n people[i] = 0;\n }\n for (int i = 0; i < k; i++) {\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }\n \n int res = 0;\n for (int i = 0; i < n;i++) {\n if (people[i] == 0) res++;\n }\n System.out.println(res); \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); \n int k = sc.nextInt(); \n int d;\n int A;\n int[] people = new int[n];\n for (int i = 0; i < n; i++) {\n people[i] = 0;\n }\n for (int i = 0; i < k; i++) {\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }\n \n int res = 0;\n for (int i = 0; i < n;i++) {\n if (people[i] == 0) res++;\n }\n System.out.println(res); \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); \n int k = sc.nextInt(); \n int d;\n int A;\n int[] people = new int[n];\n for (int i = 0; i < n; i++) {\n people[i] = 0;\n }\n for (int i = 0; i < k; i++) {\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }\n \n int res = 0;\n for (int i = 0; i < n;i++) {\n if (people[i] == 0) res++;\n }\n System.out.println(res); \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int k = sc.nextInt();",
"k",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int d;",
"d",
"int A;",
"A",
"int[] people = new int[n];",
"people",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n people[i] = 0;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n people[i] = 0;\n }",
"{\n people[i] = 0;\n }",
"people[i] = 0",
"people[i]",
"people",
"i",
"0",
"for (int i = 0; i < k; i++) {\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < k",
"i",
"k",
"i++",
"i++",
"i",
"{\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }",
"{\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }",
"d = sc.nextInt()",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < d",
"j",
"d",
"j++",
"j++",
"j",
"{\n A = sc.nextInt();\n A--;\n people[A]++;\n }",
"{\n A = sc.nextInt();\n A--;\n people[A]++;\n }",
"A = sc.nextInt()",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"A--",
"A",
"people[A]++",
"people[A]",
"people",
"A",
"int res = 0;",
"res",
"0",
"for (int i = 0; i < n;i++) {\n if (people[i] == 0) res++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (people[i] == 0) res++;\n }",
"{\n if (people[i] == 0) res++;\n }",
"if (people[i] == 0) res++;",
"people[i] == 0",
"people[i]",
"people",
"i",
"0",
"res++",
"res",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); \n int k = sc.nextInt(); \n int d;\n int A;\n int[] people = new int[n];\n for (int i = 0; i < n; i++) {\n people[i] = 0;\n }\n for (int i = 0; i < k; i++) {\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }\n \n int res = 0;\n for (int i = 0; i < n;i++) {\n if (people[i] == 0) res++;\n }\n System.out.println(res); \n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); \n int k = sc.nextInt(); \n int d;\n int A;\n int[] people = new int[n];\n for (int i = 0; i < n; i++) {\n people[i] = 0;\n }\n for (int i = 0; i < k; i++) {\n d = sc.nextInt();\n for (int j = 0; j < d; j++) {\n A = sc.nextInt();\n A--;\n people[A]++;\n }\n }\n \n int res = 0;\n for (int i = 0; i < n;i++) {\n if (people[i] == 0) res++;\n }\n System.out.println(res); \n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int k = sc.nextInt();
int d;
int A;
int[] people = new int[n];
for (int i = 0; i < n; i++) {
people[i] = 0;
}
for (int i = 0; i < k; i++) {
d = sc.nextInt();
for (int j = 0; j < d; j++) {
A = sc.nextInt();
A--;
people[A]++;
}
}
int res = 0;
for (int i = 0; i < n;i++) {
if (people[i] == 0) res++;
}
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
17,
40,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
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
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
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
],
[
38,
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
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
59,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
71,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
86,
92
],
[
92,
93
],
[
93,
94
],
[
8,
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 public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int K = scanner.nextInt();\n int sunukes[] = new int[N];\n \n for(int i = 0;i < K;i++){\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }\n int sum = 0;\n for(int i = 0;i < sunukes.length;i++){\n if(sunukes[i] == 0){\n \tsum++;\n }\n }\n System.out.println(sum);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int K = scanner.nextInt();\n int sunukes[] = new int[N];\n \n for(int i = 0;i < K;i++){\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }\n int sum = 0;\n for(int i = 0;i < sunukes.length;i++){\n if(sunukes[i] == 0){\n \tsum++;\n }\n }\n System.out.println(sum);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int K = scanner.nextInt();\n int sunukes[] = new int[N];\n \n for(int i = 0;i < K;i++){\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }\n int sum = 0;\n for(int i = 0;i < sunukes.length;i++){\n if(sunukes[i] == 0){\n \tsum++;\n }\n }\n System.out.println(sum);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int K = scanner.nextInt();\n int sunukes[] = new int[N];\n \n for(int i = 0;i < K;i++){\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }\n int sum = 0;\n for(int i = 0;i < sunukes.length;i++){\n if(sunukes[i] == 0){\n \tsum++;\n }\n }\n System.out.println(sum);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int N = scanner.nextInt();",
"N",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int K = scanner.nextInt();",
"K",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int sunukes[] = new int[N];",
"sunukes",
"new int[N]",
"N",
"for(int i = 0;i < K;i++){\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }",
"{\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }",
"int d = scanner.nextInt();",
"d",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < d",
"j",
"d",
"j++",
"j++",
"j",
"{\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }",
"{\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }",
"int a = scanner.nextInt() - 1;",
"a",
"scanner.nextInt() - 1",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"1",
"sunukes[a]++",
"sunukes[a]",
"sunukes",
"a",
"int sum = 0;",
"sum",
"0",
"for(int i = 0;i < sunukes.length;i++){\n if(sunukes[i] == 0){\n \tsum++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < sunukes.length",
"i",
"sunukes.length",
"sunukes",
"sunukes.length",
"i++",
"i++",
"i",
"{\n if(sunukes[i] == 0){\n \tsum++;\n }\n }",
"{\n if(sunukes[i] == 0){\n \tsum++;\n }\n }",
"if(sunukes[i] == 0){\n \tsum++;\n }",
"sunukes[i] == 0",
"sunukes[i]",
"sunukes",
"i",
"0",
"{\n \tsum++;\n }",
"sum++",
"sum",
"System.out.println(sum)",
"System.out.println",
"System.out",
"System",
"System.out",
"sum",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int K = scanner.nextInt();\n int sunukes[] = new int[N];\n \n for(int i = 0;i < K;i++){\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }\n int sum = 0;\n for(int i = 0;i < sunukes.length;i++){\n if(sunukes[i] == 0){\n \tsum++;\n }\n }\n System.out.println(sum);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int K = scanner.nextInt();\n int sunukes[] = new int[N];\n \n for(int i = 0;i < K;i++){\n int d = scanner.nextInt();\n for(int j = 0;j < d;j++){\n int a = scanner.nextInt() - 1;\n sunukes[a]++;\n }\n }\n int sum = 0;\n for(int i = 0;i < sunukes.length;i++){\n if(sunukes[i] == 0){\n \tsum++;\n }\n }\n System.out.println(sum);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int N = scanner.nextInt();
int K = scanner.nextInt();
int sunukes[] = new int[N];
for(int i = 0;i < K;i++){
int d = scanner.nextInt();
for(int j = 0;j < d;j++){
int a = scanner.nextInt() - 1;
sunukes[a]++;
}
}
int sum = 0;
for(int i = 0;i < sunukes.length;i++){
if(sunukes[i] == 0){
sum++;
}
}
System.out.println(sum);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
18,
13,
2,
13,
17,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
17,
30,
4,
18,
18,
13,
13,
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
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
11,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
67,
68
],
[
58,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
76,
82
],
[
11,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
83,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
96,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
11,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
9,
113
],
[
113,
114
]
] |
[
"import java.util.Scanner;\nimport java.util.ArrayList;\nclass Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n \nint N = scan.nextInt();\nint K = scan.nextInt();\nint TT[] = new int[N];\nint i, j, e, d;\nint count = 0;\n for (i = 0; i < K; i++){\n d = scan.nextInt();\n for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }\n }\n\n for (i = 0; i < N; i++){\n if (TT[i] == 0){\n count += 1;\n }\n else{\n }\n }\n System.out.println(count);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main{\npublic static void main(String[] args){\nScanner scan = new Scanner(System.in);\n \nint N = scan.nextInt();\nint K = scan.nextInt();\nint TT[] = new int[N];\nint i, j, e, d;\nint count = 0;\n for (i = 0; i < K; i++){\n d = scan.nextInt();\n for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }\n }\n\n for (i = 0; i < N; i++){\n if (TT[i] == 0){\n count += 1;\n }\n else{\n }\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[] args){\nScanner scan = new Scanner(System.in);\n \nint N = scan.nextInt();\nint K = scan.nextInt();\nint TT[] = new int[N];\nint i, j, e, d;\nint count = 0;\n for (i = 0; i < K; i++){\n d = scan.nextInt();\n for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }\n }\n\n for (i = 0; i < N; i++){\n if (TT[i] == 0){\n count += 1;\n }\n else{\n }\n }\n System.out.println(count);\n }",
"main",
"{\nScanner scan = new Scanner(System.in);\n \nint N = scan.nextInt();\nint K = scan.nextInt();\nint TT[] = new int[N];\nint i, j, e, d;\nint count = 0;\n for (i = 0; i < K; i++){\n d = scan.nextInt();\n for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }\n }\n\n for (i = 0; i < N; i++){\n if (TT[i] == 0){\n count += 1;\n }\n else{\n }\n }\n System.out.println(count);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int N = scan.nextInt();",
"N",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int K = scan.nextInt();",
"K",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int TT[] = new int[N];",
"TT",
"new int[N]",
"N",
"int i",
"i",
"j",
"j",
"e",
"e",
"d;",
"d",
"int count = 0;",
"count",
"0",
"for (i = 0; i < K; i++){\n d = scan.nextInt();\n for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n d = scan.nextInt();\n for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }\n }",
"{\n d = scan.nextInt();\n for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }\n }",
"d = scan.nextInt()",
"d",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(j = 0; j < d; j++){\n e = scan.nextInt();\n TT[e-1] = 1;\n }",
"j = 0;",
"j = 0",
"j",
"0",
"j < d",
"j",
"d",
"j++",
"j++",
"j",
"{\n e = scan.nextInt();\n TT[e-1] = 1;\n }",
"{\n e = scan.nextInt();\n TT[e-1] = 1;\n }",
"e = scan.nextInt()",
"e",
"scan.nextInt()",
"scan.nextInt",
"scan",
"TT[e-1] = 1",
"TT[e-1]",
"TT",
"e-1",
"e",
"1",
"1",
"for (i = 0; i < N; i++){\n if (TT[i] == 0){\n count += 1;\n }\n else{\n }\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n if (TT[i] == 0){\n count += 1;\n }\n else{\n }\n }",
"{\n if (TT[i] == 0){\n count += 1;\n }\n else{\n }\n }",
"if (TT[i] == 0){\n count += 1;\n }\n else{\n }",
"TT[i] == 0",
"TT[i]",
"TT",
"i",
"0",
"{\n count += 1;\n }",
"count += 1",
"count",
"1",
"{\n }",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
] |
import java.util.Scanner;
import java.util.ArrayList;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int N = scan.nextInt();
int K = scan.nextInt();
int TT[] = new int[N];
int i, j, e, d;
int count = 0;
for (i = 0; i < K; i++){
d = scan.nextInt();
for(j = 0; j < d; j++){
e = scan.nextInt();
TT[e-1] = 1;
}
}
for (i = 0; i < N; i++){
if (TT[i] == 0){
count += 1;
}
else{
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
41,
13,
41,
13,
13,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
4,
18,
13,
4,
18,
13,
17,
14,
2,
18,
13,
13,
17,
30,
40,
13,
40,
18,
13,
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
],
[
113,
8
],
[
113,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
11,
35
],
[
35,
36
],
[
11,
37
],
[
37,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
11,
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
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
59,
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
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
88,
89
],
[
83,
90
],
[
80,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
80,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
11,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
9,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] |
[
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n final Scanner sc=new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n int K = Integer.parseInt(sc.next());\n int[] sunuke = new int[N];\n int d, tmp;\n int cnt = N;\n\n Arrays.fill(sunuke, 0);\n\n for (int i = 0; i < K; i++) {\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }\n\n System.out.print(cnt);\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n final Scanner sc=new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n int K = Integer.parseInt(sc.next());\n int[] sunuke = new int[N];\n int d, tmp;\n int cnt = N;\n\n Arrays.fill(sunuke, 0);\n\n for (int i = 0; i < K; i++) {\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }\n\n System.out.print(cnt);\n }\n}",
"Main",
"public static void main(String[] args){\n final Scanner sc=new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n int K = Integer.parseInt(sc.next());\n int[] sunuke = new int[N];\n int d, tmp;\n int cnt = N;\n\n Arrays.fill(sunuke, 0);\n\n for (int i = 0; i < K; i++) {\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }\n\n System.out.print(cnt);\n }",
"main",
"{\n final Scanner sc=new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n int K = Integer.parseInt(sc.next());\n int[] sunuke = new int[N];\n int d, tmp;\n int cnt = N;\n\n Arrays.fill(sunuke, 0);\n\n for (int i = 0; i < K; i++) {\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }\n\n System.out.print(cnt);\n }",
"final Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = Integer.parseInt(sc.next());",
"N",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int K = Integer.parseInt(sc.next());",
"K",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int[] sunuke = new int[N];",
"sunuke",
"new int[N]",
"N",
"int d",
"d",
"tmp;",
"tmp",
"int cnt = N;",
"cnt",
"N",
"Arrays.fill(sunuke, 0)",
"Arrays.fill",
"Arrays",
"sunuke",
"0",
"for (int i = 0; i < K; i++) {\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }",
"{\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }",
"d = Integer.parseInt(sc.next())",
"d",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < d",
"j",
"d",
"j++",
"j++",
"j",
"{\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }",
"{\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }",
"tmp = Integer.parseInt(sc.next()) - 1",
"tmp",
"Integer.parseInt(sc.next()) - 1",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"1",
"if (sunuke[tmp] == 0) {\n cnt--;\n }",
"sunuke[tmp] == 0",
"sunuke[tmp]",
"sunuke",
"tmp",
"0",
"{\n cnt--;\n }",
"cnt--",
"cnt",
"sunuke[tmp]++",
"sunuke[tmp]",
"sunuke",
"tmp",
"System.out.print(cnt)",
"System.out.print",
"System.out",
"System",
"System.out",
"cnt",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n final Scanner sc=new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n int K = Integer.parseInt(sc.next());\n int[] sunuke = new int[N];\n int d, tmp;\n int cnt = N;\n\n Arrays.fill(sunuke, 0);\n\n for (int i = 0; i < K; i++) {\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }\n\n System.out.print(cnt);\n }\n}",
"public class Main{\n public static void main(String[] args){\n final Scanner sc=new Scanner(System.in);\n\n int N = Integer.parseInt(sc.next());\n int K = Integer.parseInt(sc.next());\n int[] sunuke = new int[N];\n int d, tmp;\n int cnt = N;\n\n Arrays.fill(sunuke, 0);\n\n for (int i = 0; i < K; i++) {\n d = Integer.parseInt(sc.next());\n for (int j = 0; j < d; j++) {\n tmp = Integer.parseInt(sc.next()) - 1;\n if (sunuke[tmp] == 0) {\n cnt--;\n }\n sunuke[tmp]++;\n }\n }\n\n System.out.print(cnt);\n }\n}",
"Main"
] |
import java.util.Arrays;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
final Scanner sc=new Scanner(System.in);
int N = Integer.parseInt(sc.next());
int K = Integer.parseInt(sc.next());
int[] sunuke = new int[N];
int d, tmp;
int cnt = N;
Arrays.fill(sunuke, 0);
for (int i = 0; i < K; i++) {
d = Integer.parseInt(sc.next());
for (int j = 0; j < d; j++) {
tmp = Integer.parseInt(sc.next()) - 1;
if (sunuke[tmp] == 0) {
cnt--;
}
sunuke[tmp]++;
}
}
System.out.print(cnt);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
2,
13,
17,
17,
41,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
17,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
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
],
[
38,
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
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
8,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
8,
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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int k = sc.nextInt();\n int[] sunuke = new int[n];\n for (int i = 0; i<k; i++) {\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }\n int ans = 0;\n for (int i : sunuke) {\n if (i==0) ans++;\n }\n System.out.println(ans);\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 n = sc.nextInt();\n int k = sc.nextInt();\n int[] sunuke = new int[n];\n for (int i = 0; i<k; i++) {\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }\n int ans = 0;\n for (int i : sunuke) {\n if (i==0) ans++;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int k = sc.nextInt();\n int[] sunuke = new int[n];\n for (int i = 0; i<k; i++) {\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }\n int ans = 0;\n for (int i : sunuke) {\n if (i==0) ans++;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int k = sc.nextInt();\n int[] sunuke = new int[n];\n for (int i = 0; i<k; i++) {\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }\n int ans = 0;\n for (int i : sunuke) {\n if (i==0) ans++;\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n = sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int k = sc.nextInt();",
"k",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] sunuke = new int[n];",
"sunuke",
"new int[n]",
"n",
"for (int i = 0; i<k; i++) {\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<k",
"i",
"k",
"i++",
"i++",
"i",
"{\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }",
"{\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j<d",
"j",
"d",
"j++",
"j++",
"j",
"{\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }",
"{\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }",
"int idx = sc.nextInt();",
"idx",
"sc.nextInt()",
"sc.nextInt",
"sc",
"sunuke[idx-1]+=1",
"sunuke[idx-1]",
"sunuke",
"idx-1",
"idx",
"1",
"1",
"int ans = 0;",
"ans",
"0",
"for (int i : sunuke) {\n if (i==0) ans++;\n }",
"int i",
"sunuke",
"{\n if (i==0) ans++;\n }",
"{\n if (i==0) ans++;\n }",
"if (i==0) ans++;",
"i==0",
"i",
"0",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int k = sc.nextInt();\n int[] sunuke = new int[n];\n for (int i = 0; i<k; i++) {\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }\n int ans = 0;\n for (int i : sunuke) {\n if (i==0) ans++;\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int k = sc.nextInt();\n int[] sunuke = new int[n];\n for (int i = 0; i<k; i++) {\n int d = sc.nextInt();\n for (int j = 0; j<d; j++) {\n int idx = sc.nextInt();\n sunuke[idx-1]+=1;\n }\n }\n int ans = 0;\n for (int i : sunuke) {\n if (i==0) ans++;\n }\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int k = sc.nextInt();
int[] sunuke = new int[n];
for (int i = 0; i<k; i++) {
int d = sc.nextInt();
for (int j = 0; j<d; j++) {
int idx = sc.nextInt();
sunuke[idx-1]+=1;
}
}
int ans = 0;
for (int i : sunuke) {
if (i==0) ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
17,
0,
18,
13,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
40,
18,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
101,
5
],
[
101,
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
],
[
8,
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
],
[
38,
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
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
59,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
8,
69
],
[
69,
70
],
[
69,
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
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
6,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] |
[
"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 N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tboolean[] snuke = new boolean[N];\n\t\tfor (int i=0;i<K;i++) {\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor (int i=0;i<N;i++) {\n\t\t\tif (!snuke[i]) ans++;\n\t\t}\n\t\tSystem.out.println(ans);\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 N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tboolean[] snuke = new boolean[N];\n\t\tfor (int i=0;i<K;i++) {\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor (int i=0;i<N;i++) {\n\t\t\tif (!snuke[i]) ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tboolean[] snuke = new boolean[N];\n\t\tfor (int i=0;i<K;i++) {\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor (int i=0;i<N;i++) {\n\t\t\tif (!snuke[i]) ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tboolean[] snuke = new boolean[N];\n\t\tfor (int i=0;i<K;i++) {\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor (int i=0;i<N;i++) {\n\t\t\tif (!snuke[i]) ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int K = sc.nextInt();",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"boolean[] snuke = new boolean[N];",
"snuke",
"new boolean[N]",
"N",
"for (int i=0;i<K;i++) {\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<K",
"i",
"K",
"i++",
"i++",
"i",
"{\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<d",
"j",
"d",
"j++",
"j++",
"j",
"{\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}",
"{\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}",
"int A = sc.nextInt()-1;",
"A",
"sc.nextInt()-1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"1",
"snuke[A] = true",
"snuke[A]",
"snuke",
"A",
"true",
"int ans = 0;",
"ans",
"0",
"for (int i=0;i<N;i++) {\n\t\t\tif (!snuke[i]) ans++;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tif (!snuke[i]) ans++;\n\t\t}",
"{\n\t\t\tif (!snuke[i]) ans++;\n\t\t}",
"if (!snuke[i]) ans++;",
"!snuke[i]",
"snuke[i]",
"snuke",
"i",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tboolean[] snuke = new boolean[N];\n\t\tfor (int i=0;i<K;i++) {\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor (int i=0;i<N;i++) {\n\t\t\tif (!snuke[i]) ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tboolean[] snuke = new boolean[N];\n\t\tfor (int i=0;i<K;i++) {\n\t\t\tint d = sc.nextInt();\n\t\t\tfor (int j=0;j<d;j++) {\n\t\t\t\tint A = sc.nextInt()-1;\n\t\t\t\tsnuke[A] = true;\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor (int i=0;i<N;i++) {\n\t\t\tif (!snuke[i]) ans++;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int K = sc.nextInt();
boolean[] snuke = new boolean[N];
for (int i=0;i<K;i++) {
int d = sc.nextInt();
for (int j=0;j<d;j++) {
int A = sc.nextInt()-1;
snuke[A] = true;
}
}
int ans = 0;
for (int i=0;i<N;i++) {
if (!snuke[i]) ans++;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
41,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
73,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
75,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
90,
97
],
[
87,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
87,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
104,
108
],
[
108,
109
],
[
14,
110
],
[
110,
111
],
[
110,
112
],
[
14,
113
],
[
113,
114
],
[
113,
115
],
[
113,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
14,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
124,
129
],
[
12,
130
],
[
130,
131
]
] |
[
"\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\t\tint K = Integer.parseInt(sc.next());\n\n\t\tList<Integer> s = new ArrayList();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ts.add(0);\n\t\t}\n\n\t\tfor(int i = 0;i < K;i++) {\n\t\t\tint ii = Integer.parseInt(sc.next());\n\t\t\tfor(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}\n\t\t}\n\n\t\tint aa = 0;\n\t\tfor(Integer a : s) {\n\t\t\tif(a == 0) aa++;\n\n\t\t}\n\n\t\tSystem.out.println(aa);\n\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",
"class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\t\tint K = Integer.parseInt(sc.next());\n\n\t\tList<Integer> s = new ArrayList();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ts.add(0);\n\t\t}\n\n\t\tfor(int i = 0;i < K;i++) {\n\t\t\tint ii = Integer.parseInt(sc.next());\n\t\t\tfor(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}\n\t\t}\n\n\t\tint aa = 0;\n\t\tfor(Integer a : s) {\n\t\t\tif(a == 0) aa++;\n\n\t\t}\n\n\t\tSystem.out.println(aa);\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\t\tint K = Integer.parseInt(sc.next());\n\n\t\tList<Integer> s = new ArrayList();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ts.add(0);\n\t\t}\n\n\t\tfor(int i = 0;i < K;i++) {\n\t\t\tint ii = Integer.parseInt(sc.next());\n\t\t\tfor(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}\n\t\t}\n\n\t\tint aa = 0;\n\t\tfor(Integer a : s) {\n\t\t\tif(a == 0) aa++;\n\n\t\t}\n\n\t\tSystem.out.println(aa);\n\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\t\tint K = Integer.parseInt(sc.next());\n\n\t\tList<Integer> s = new ArrayList();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ts.add(0);\n\t\t}\n\n\t\tfor(int i = 0;i < K;i++) {\n\t\t\tint ii = Integer.parseInt(sc.next());\n\t\t\tfor(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}\n\t\t}\n\n\t\tint aa = 0;\n\t\tfor(Integer a : s) {\n\t\t\tif(a == 0) aa++;\n\n\t\t}\n\n\t\tSystem.out.println(aa);\n\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = Integer.parseInt(sc.next());",
"N",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int K = Integer.parseInt(sc.next());",
"K",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"List<Integer> s = new ArrayList();",
"s",
"new ArrayList()",
"for(int i = 0; i < N;i++) {\n\t\t\ts.add(0);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\ts.add(0);\n\t\t}",
"{\n\t\t\ts.add(0);\n\t\t}",
"s.add(0)",
"s.add",
"s",
"0",
"for(int i = 0;i < K;i++) {\n\t\t\tint ii = Integer.parseInt(sc.next());\n\t\t\tfor(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n\t\t\tint ii = Integer.parseInt(sc.next());\n\t\t\tfor(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}\n\t\t}",
"{\n\t\t\tint ii = Integer.parseInt(sc.next());\n\t\t\tfor(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}\n\t\t}",
"int ii = Integer.parseInt(sc.next());",
"ii",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"for(int r = 0;r < ii; r++) {\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}",
"int r = 0;",
"int r = 0;",
"r",
"0",
"r < ii",
"r",
"ii",
"r++",
"r++",
"r",
"{\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}",
"{\n\t\t\t\tint c = Integer.parseInt(sc.next()) -1;\n\t\t\t\tint b = s.get(c);\n\t\t\t\ts.set(c, ++b);\n\t\t\t}",
"int c = Integer.parseInt(sc.next()) -1;",
"c",
"Integer.parseInt(sc.next()) -1",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"1",
"int b = s.get(c);",
"b",
"s.get(c)",
"s.get",
"s",
"c",
"s.set(c, ++b)",
"s.set",
"s",
"c",
"++b",
"b",
"int aa = 0;",
"aa",
"0",
"for(Integer a : s) {\n\t\t\tif(a == 0) aa++;\n\n\t\t}",
"Integer a",
"s",
"{\n\t\t\tif(a == 0) aa++;\n\n\t\t}",
"{\n\t\t\tif(a == 0) aa++;\n\n\t\t}",
"if(a == 0) aa++;",
"a == 0",
"a",
"0",
"aa++",
"aa",
"System.out.println(aa)",
"System.out.println",
"System.out",
"System",
"System.out",
"aa",
"String[] args",
"args"
] |
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = Integer.parseInt(sc.next());
int K = Integer.parseInt(sc.next());
List<Integer> s = new ArrayList();
for(int i = 0; i < N;i++) {
s.add(0);
}
for(int i = 0;i < K;i++) {
int ii = Integer.parseInt(sc.next());
for(int r = 0;r < ii; r++) {
int c = Integer.parseInt(sc.next()) -1;
int b = s.get(c);
s.set(c, ++b);
}
}
int aa = 0;
for(Integer a : s) {
if(a == 0) aa++;
}
System.out.println(aa);
}
}
|
[
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,
4,
18,
13,
41,
13,
20,
2,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
40,
18,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
40,
13,
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
],
[
112,
11
],
[
112,
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
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
14,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
50,
78
],
[
78,
79
],
[
14,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
93,
99
],
[
99,
100
],
[
14,
101
],
[
101,
102
],
[
14,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
12,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] |
[
"\nimport java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\npublic class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint k=sc.nextInt();\n\t\tint[] arr=new int[n+1];\n\t\tint temp=k;\n\t\tint d=0,val=0,count=0;\n\t\twhile(k!=0)\n\t\t{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}\n\t\t for(int i=0;i<=n;i++)\n\t\t {\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }\n\t\t count--;\n\t\t System.out.println(count);\n\t\t\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint k=sc.nextInt();\n\t\tint[] arr=new int[n+1];\n\t\tint temp=k;\n\t\tint d=0,val=0,count=0;\n\t\twhile(k!=0)\n\t\t{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}\n\t\t for(int i=0;i<=n;i++)\n\t\t {\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }\n\t\t count--;\n\t\t System.out.println(count);\n\t\t\n\t}\n}",
"Main",
"public static void main (String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint k=sc.nextInt();\n\t\tint[] arr=new int[n+1];\n\t\tint temp=k;\n\t\tint d=0,val=0,count=0;\n\t\twhile(k!=0)\n\t\t{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}\n\t\t for(int i=0;i<=n;i++)\n\t\t {\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }\n\t\t count--;\n\t\t System.out.println(count);\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint k=sc.nextInt();\n\t\tint[] arr=new int[n+1];\n\t\tint temp=k;\n\t\tint d=0,val=0,count=0;\n\t\twhile(k!=0)\n\t\t{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}\n\t\t for(int i=0;i<=n;i++)\n\t\t {\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }\n\t\t count--;\n\t\t System.out.println(count);\n\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int k=sc.nextInt();",
"k",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] arr=new int[n+1];",
"arr",
"new int[n+1]",
"n+1",
"n",
"1",
"int temp=k;",
"temp",
"k",
"int d=0",
"d",
"0",
"val=0",
"val",
"0",
"count=0;",
"count",
"0",
"while(k!=0)\n\t\t{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}",
"k!=0",
"k",
"0",
"{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}",
"d=sc.nextInt()",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<d",
"i",
"d",
"i++",
"i++",
"i",
"{\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }",
"{\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }",
"val=sc.nextInt()",
"val",
"sc.nextInt()",
"sc.nextInt",
"sc",
"arr[val]++",
"arr[val]",
"arr",
"val",
"k--",
"k",
"for(int i=0;i<=n;i++)\n\t\t {\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }",
"{\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }",
"if(arr[i]==0)\n\t\t count++;",
"arr[i]==0",
"arr[i]",
"arr",
"i",
"0",
"count++",
"count",
"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\tint n=sc.nextInt();\n\t\tint k=sc.nextInt();\n\t\tint[] arr=new int[n+1];\n\t\tint temp=k;\n\t\tint d=0,val=0,count=0;\n\t\twhile(k!=0)\n\t\t{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}\n\t\t for(int i=0;i<=n;i++)\n\t\t {\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }\n\t\t count--;\n\t\t System.out.println(count);\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 n=sc.nextInt();\n\t\tint k=sc.nextInt();\n\t\tint[] arr=new int[n+1];\n\t\tint temp=k;\n\t\tint d=0,val=0,count=0;\n\t\twhile(k!=0)\n\t\t{\n\t\t d=sc.nextInt();\n\t\t for(int i=0;i<d;i++)\n\t\t {\n\t\t val=sc.nextInt();\n\t\t arr[val]++;\n\t\t }\n\t\t k--;\n\t\t}\n\t\t for(int i=0;i<=n;i++)\n\t\t {\n\t\t if(arr[i]==0)\n\t\t count++;\n\t\t }\n\t\t count--;\n\t\t System.out.println(count);\n\t\t\n\t}\n}",
"Main"
] |
import java.io.*;
import java.util.*;
import java.lang.*;
public class Main {
public static void main (String[] args) {
Scanner sc=new Scanner(System.in);
int n=sc.nextInt();
int k=sc.nextInt();
int[] arr=new int[n+1];
int temp=k;
int d=0,val=0,count=0;
while(k!=0)
{
d=sc.nextInt();
for(int i=0;i<d;i++)
{
val=sc.nextInt();
arr[val]++;
}
k--;
}
for(int i=0;i<=n;i++)
{
if(arr[i]==0)
count++;
}
count--;
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
18,
4,
18,
4,
18,
13,
17,
17,
41,
13,
20,
13,
42,
4,
18,
13,
30,
4,
18,
13,
28,
13,
4,
18,
4,
18,
13,
17,
30,
30,
41,
13,
2,
4,
18,
13,
13,
17,
14,
18,
13,
13,
9,
40,
13,
0,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
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
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
18,
23
],
[
17,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
39,
44
],
[
37,
45
],
[
46,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
46,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
46,
60
],
[
60,
61
],
[
46,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.nextLine().split(\" \")[0]);\n\t\tboolean[] hasSnack = new boolean[N];\n\t\t\n\t\twhile (sc.hasNextLine()) {\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}\n\t\t\n\t\tSystem.out.println(N);\n\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.nextLine().split(\" \")[0]);\n\t\tboolean[] hasSnack = new boolean[N];\n\t\t\n\t\twhile (sc.hasNextLine()) {\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}\n\t\t\n\t\tSystem.out.println(N);\n\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.nextLine().split(\" \")[0]);\n\t\tboolean[] hasSnack = new boolean[N];\n\t\t\n\t\twhile (sc.hasNextLine()) {\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}\n\t\t\n\t\tSystem.out.println(N);\n\t\n\t}",
"main",
"{\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.nextLine().split(\" \")[0]);\n\t\tboolean[] hasSnack = new boolean[N];\n\t\t\n\t\twhile (sc.hasNextLine()) {\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}\n\t\t\n\t\tSystem.out.println(N);\n\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = Integer.parseInt(sc.nextLine().split(\" \")[0]);",
"N",
"Integer.parseInt(sc.nextLine().split(\" \")[0])",
"Integer.parseInt",
"Integer",
"sc.nextLine().split(\" \")[0]",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"0",
"boolean[] hasSnack = new boolean[N];",
"hasSnack",
"new boolean[N]",
"N",
"while (sc.hasNextLine()) {\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}",
"sc.hasNextLine()",
"sc.hasNextLine",
"sc",
"{\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}",
"sc.nextLine()",
"sc.nextLine",
"sc",
"for (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }",
"String snk",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"{\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }",
"{\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }",
"int snki = Integer.parseInt(snk) - 1;",
"snki",
"Integer.parseInt(snk) - 1",
"Integer.parseInt(snk)",
"Integer.parseInt",
"Integer",
"snk",
"1",
"if (hasSnack[snki])\n \tcontinue;",
"hasSnack[snki]",
"hasSnack",
"snki",
"continue;",
"N--",
"N",
"hasSnack[snki] = true",
"hasSnack[snki]",
"hasSnack",
"snki",
"true",
"System.out.println(N)",
"System.out.println",
"System.out",
"System",
"System.out",
"N",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.nextLine().split(\" \")[0]);\n\t\tboolean[] hasSnack = new boolean[N];\n\t\t\n\t\twhile (sc.hasNextLine()) {\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}\n\t\t\n\t\tSystem.out.println(N);\n\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.nextLine().split(\" \")[0]);\n\t\tboolean[] hasSnack = new boolean[N];\n\t\t\n\t\twhile (sc.hasNextLine()) {\n\t\t\tsc.nextLine();\n\t\t\tfor (String snk : sc.nextLine().split(\" \")) {\n int snki = Integer.parseInt(snk) - 1;\n if (hasSnack[snki])\n \tcontinue;\n N--;\n\t\t\t hasSnack[snki] = true;\n }\n\t\t}\n\t\t\n\t\tSystem.out.println(N);\n\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = Integer.parseInt(sc.nextLine().split(" ")[0]);
boolean[] hasSnack = new boolean[N];
while (sc.hasNextLine()) {
sc.nextLine();
for (String snk : sc.nextLine().split(" ")) {
int snki = Integer.parseInt(snk) - 1;
if (hasSnack[snki])
continue;
N--;
hasSnack[snki] = true;
}
}
System.out.println(N);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
17,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
17,
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
],
[
125,
8
],
[
125,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
81,
87
],
[
11,
88
],
[
88,
89
],
[
88,
90
],
[
11,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
91,
101
],
[
101,
102
],
[
102,
103
],
[
91,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
107,
112
],
[
106,
113
],
[
113,
114
],
[
114,
115
],
[
11,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
9,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
] |
[
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\n\t\tArrayList<Integer> okashiList = new ArrayList<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tokashiList.add(0);\n\t\t}\n\n\t\t//お菓子の種類だけ繰り返す\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}\n\n\t\tint answer = 0;\n\t\tfor(int x = 0;x < okashiList.size();x++){\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(answer);\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"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 sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\n\t\tArrayList<Integer> okashiList = new ArrayList<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tokashiList.add(0);\n\t\t}\n\n\t\t//お菓子の種類だけ繰り返す\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}\n\n\t\tint answer = 0;\n\t\tfor(int x = 0;x < okashiList.size();x++){\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(answer);\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\n\t\tArrayList<Integer> okashiList = new ArrayList<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tokashiList.add(0);\n\t\t}\n\n\t\t//お菓子の種類だけ繰り返す\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}\n\n\t\tint answer = 0;\n\t\tfor(int x = 0;x < okashiList.size();x++){\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(answer);\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\n\t\tArrayList<Integer> okashiList = new ArrayList<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tokashiList.add(0);\n\t\t}\n\n\t\t//お菓子の種類だけ繰り返す\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}\n\n\t\tint answer = 0;\n\t\tfor(int x = 0;x < okashiList.size();x++){\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(answer);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int K = sc.nextInt();",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ArrayList<Integer> okashiList = new ArrayList<>();",
"okashiList",
"new ArrayList<>()",
"for(int i = 0; i < N; i++) {\n\t\t\tokashiList.add(0);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t\t\tokashiList.add(0);\n\t\t}",
"{\n\t\t\tokashiList.add(0);\n\t\t}",
"okashiList.add(0)",
"okashiList.add",
"okashiList",
"0",
"for(int i = 0; i < K; i++) {\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}",
"{\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < d",
"j",
"d",
"j++",
"j++",
"j",
"{\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}",
"{\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}",
"int Ad = sc.nextInt();",
"Ad",
"sc.nextInt()",
"sc.nextInt",
"sc",
"okashiList.set(Ad-1, 10)",
"okashiList.set",
"okashiList",
"Ad-1",
"Ad",
"1",
"10",
"int answer = 0;",
"answer",
"0",
"for(int x = 0;x < okashiList.size();x++){\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < okashiList.size()",
"x",
"okashiList.size()",
"okashiList.size",
"okashiList",
"x++",
"x++",
"x",
"{\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}",
"if(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}",
"okashiList.get(x) == 0",
"okashiList.get(x)",
"okashiList.get",
"okashiList",
"x",
"0",
"{\n\t\t\t\tanswer ++ ;\n\t\t\t}",
"answer ++",
"answer",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\n\t\tArrayList<Integer> okashiList = new ArrayList<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tokashiList.add(0);\n\t\t}\n\n\t\t//お菓子の種類だけ繰り返す\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}\n\n\t\tint answer = 0;\n\t\tfor(int x = 0;x < okashiList.size();x++){\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(answer);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\n\t\tArrayList<Integer> okashiList = new ArrayList<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tokashiList.add(0);\n\t\t}\n\n\t\t//お菓子の種類だけ繰り返す\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\t//お菓子の個数の取得\n\t\t\tint d = sc.nextInt();\n\t\t\tfor(int j = 0;j < d;j++) {\n\t\t\t\tint Ad = sc.nextInt();\n\t\t\t\tokashiList.set(Ad-1, 10);\n\t\t\t}\n\t\t}\n\n\t\tint answer = 0;\n\t\tfor(int x = 0;x < okashiList.size();x++){\n\t\t\tif(okashiList.get(x) == 0) {\n\t\t\t\tanswer ++ ;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(answer);\n\n\t}\n\n}",
"Main"
] |
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int K = sc.nextInt();
ArrayList<Integer> okashiList = new ArrayList<>();
for(int i = 0; i < N; i++) {
okashiList.add(0);
}
//お菓子の種類だけ繰り返す
for(int i = 0; i < K; i++) {
//お菓子の個数の取得
int d = sc.nextInt();
for(int j = 0;j < d;j++) {
int Ad = sc.nextInt();
okashiList.set(Ad-1, 10);
}
}
int answer = 0;
for(int x = 0;x < okashiList.size();x++){
if(okashiList.get(x) == 0) {
answer ++ ;
}
}
System.out.println(answer);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
40,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
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
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] |
[
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); //住人\n int K = sc.nextInt(); //菓子の種類\n ArrayList<Integer> array = new ArrayList<>();\n for(int i = 0; i < K; i++){\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }\n System.out.println(N-array.size());\n //System.out.println(array);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); //住人\n int K = sc.nextInt(); //菓子の種類\n ArrayList<Integer> array = new ArrayList<>();\n for(int i = 0; i < K; i++){\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }\n System.out.println(N-array.size());\n //System.out.println(array);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); //住人\n int K = sc.nextInt(); //菓子の種類\n ArrayList<Integer> array = new ArrayList<>();\n for(int i = 0; i < K; i++){\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }\n System.out.println(N-array.size());\n //System.out.println(array);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); //住人\n int K = sc.nextInt(); //菓子の種類\n ArrayList<Integer> array = new ArrayList<>();\n for(int i = 0; i < K; i++){\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }\n System.out.println(N-array.size());\n //System.out.println(array);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int K = sc.nextInt();",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ArrayList<Integer> array = new ArrayList<>();",
"array",
"new ArrayList<>()",
"for(int i = 0; i < K; i++){\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }",
"{\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < a",
"j",
"a",
"j++",
"j++",
"j",
"{\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }",
"{\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }",
"int num = sc.nextInt();",
"num",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(!array.contains(num))\n array.add(num);",
"!array.contains(num)",
"array.contains(num)",
"array.contains",
"array",
"num",
"array.add(num)",
"array.add",
"array",
"num",
"System.out.println(N-array.size())",
"System.out.println",
"System.out",
"System",
"System.out",
"N-array.size()",
"N",
"array.size()",
"array.size",
"array",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); //住人\n int K = sc.nextInt(); //菓子の種類\n ArrayList<Integer> array = new ArrayList<>();\n for(int i = 0; i < K; i++){\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }\n System.out.println(N-array.size());\n //System.out.println(array);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); //住人\n int K = sc.nextInt(); //菓子の種類\n ArrayList<Integer> array = new ArrayList<>();\n for(int i = 0; i < K; i++){\n int a = sc.nextInt();\n for(int j = 0; j < a; j++){\n int num = sc.nextInt();\n if(!array.contains(num))\n array.add(num);\n }\n }\n System.out.println(N-array.size());\n //System.out.println(array);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt(); //住人
int K = sc.nextInt(); //菓子の種類
ArrayList<Integer> array = new ArrayList<>();
for(int i = 0; i < K; i++){
int a = sc.nextInt();
for(int j = 0; j < a; j++){
int num = sc.nextInt();
if(!array.contains(num))
array.add(num);
}
}
System.out.println(N-array.size());
//System.out.println(array);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
40,
18,
13,
4,
18,
13,
41,
13,
17,
28,
13,
13,
30,
14,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
17,
2,
2,
13,
13,
13,
11,
1,
41,
13,
2,
13,
13,
2,
13,
13,
1,
0,
13,
13,
30,
40,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
4,
18,
13,
13,
29,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
2,
4,
18,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
14,
2,
13,
4,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
2,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
4,
18,
4,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
14,
2,
13,
17,
29,
13,
14,
2,
13,
13,
29,
13,
14,
2,
13,
13,
29,
4,
13,
2,
13,
13,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
2,
2,
4,
18,
13,
17,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
2,
4,
18,
13,
13,
17,
0,
18,
13,
2,
2,
4,
18,
13,
13,
17,
13,
41,
13,
20,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
13,
30,
41,
13,
4,
13,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
29,
2,
13,
13,
30,
29,
2,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
2,
13,
13,
30,
41,
13,
2,
4,
13,
13,
2,
13,
17,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
13,
29,
2,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
628,
8
],
[
628,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
12,
16
],
[
11,
17
],
[
628,
18
],
[
18,
19
],
[
18,
20
],
[
628,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
35,
89
],
[
89,
90
],
[
89,
91
],
[
35,
92
],
[
92,
93
],
[
92,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
35,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
21,
110
],
[
110,
111
],
[
628,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
114,
121
],
[
121,
122
],
[
121,
123
],
[
124,
125
],
[
124,
126
],
[
114,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
127,
137
],
[
137,
138
],
[
138,
139
],
[
127,
140
],
[
141,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
142,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
158,
160
],
[
154,
161
],
[
161,
162
],
[
161,
163
],
[
154,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
154,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
114,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
173,
181
],
[
181,
182
],
[
182,
183
],
[
173,
184
],
[
185,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
186,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
114,
196
],
[
196,
197
],
[
628,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
201,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
208,
212
],
[
201,
213
],
[
213,
214
],
[
214,
215
],
[
201,
216
],
[
217,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
220,
223
],
[
219,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
228,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
228,
232
],
[
228,
233
],
[
218,
234
],
[
234,
235
],
[
200,
236
],
[
236,
237
],
[
198,
238
],
[
238,
239
],
[
628,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
246,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
253,
256
],
[
246,
257
],
[
257,
258
],
[
258,
259
],
[
246,
260
],
[
261,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
262,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
272,
275
],
[
269,
276
],
[
276,
277
],
[
277,
278
],
[
276,
279
],
[
269,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
281,
284
],
[
280,
285
],
[
285,
286
],
[
286,
287
],
[
285,
288
],
[
288,
289
],
[
288,
290
],
[
242,
291
],
[
291,
292
],
[
292,
293
],
[
291,
294
],
[
242,
295
],
[
295,
296
],
[
240,
297
],
[
297,
298
],
[
628,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
303,
309
],
[
302,
310
],
[
310,
311
],
[
302,
312
],
[
312,
313
],
[
299,
314
],
[
314,
315
],
[
628,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
323,
324
],
[
318,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
329
],
[
329,
330
],
[
318,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
335,
336
],
[
318,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
337,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
344,
346
],
[
342,
347
],
[
318,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
349,
352
],
[
352,
353
],
[
352,
354
],
[
316,
355
],
[
355,
356
],
[
316,
357
],
[
357,
358
],
[
628,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
367,
369
],
[
367,
370
],
[
359,
371
],
[
371,
372
],
[
359,
373
],
[
373,
374
],
[
628,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
381,
382
],
[
377,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
383,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
391,
395
],
[
390,
396
],
[
383,
397
],
[
397,
398
],
[
398,
399
],
[
383,
400
],
[
401,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
404,
406
],
[
401,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
407,
411
],
[
411,
412
],
[
411,
413
],
[
414,
414
],
[
414,
415
],
[
415,
416
],
[
416,
417
],
[
414,
418
],
[
414,
419
],
[
401,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
424,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
424,
428
],
[
424,
429
],
[
420,
430
],
[
377,
431
],
[
431,
432
],
[
431,
433
],
[
377,
434
],
[
434,
435
],
[
375,
436
],
[
436,
437
],
[
628,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
441,
445
],
[
445,
446
],
[
441,
447
],
[
447,
448
],
[
448,
449
],
[
448,
450
],
[
447,
451
],
[
451,
452
],
[
447,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
456,
457
],
[
456,
458
],
[
456,
459
],
[
459,
460
],
[
459,
461
],
[
453,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
464,
466
],
[
463,
467
],
[
462,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
462,
473
],
[
473,
474
],
[
474,
475
],
[
476,
476
],
[
476,
477
],
[
476,
478
],
[
476,
479
],
[
438,
480
],
[
480,
481
],
[
438,
482
],
[
482,
483
],
[
628,
484
],
[
484,
485
],
[
484,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
487,
491
],
[
491,
492
],
[
487,
493
],
[
493,
494
],
[
494,
495
],
[
494,
496
],
[
493,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
493,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
505,
506
],
[
505,
507
],
[
505,
508
],
[
508,
509
],
[
508,
510
],
[
504,
511
],
[
501,
512
],
[
512,
513
],
[
512,
514
],
[
501,
515
],
[
515,
516
],
[
515,
517
],
[
501,
518
],
[
518,
519
],
[
519,
520
],
[
520,
521
],
[
520,
522
],
[
519,
523
],
[
518,
524
],
[
524,
525
],
[
525,
526
],
[
525,
527
],
[
524,
528
],
[
528,
529
],
[
528,
530
],
[
501,
531
],
[
531,
532
],
[
532,
533
],
[
532,
534
],
[
484,
535
],
[
535,
536
],
[
484,
537
],
[
537,
538
],
[
628,
539
],
[
539,
540
],
[
539,
541
],
[
541,
542
],
[
539,
543
],
[
543,
544
],
[
539,
545
],
[
545,
546
],
[
545,
547
],
[
547,
548
],
[
548,
549
],
[
548,
550
],
[
539,
551
],
[
551,
552
],
[
551,
553
],
[
553,
554
],
[
554,
555
],
[
555,
556
],
[
556,
557
],
[
556,
558
],
[
555,
559
],
[
559,
560
],
[
560,
561
],
[
561,
562
],
[
554,
563
],
[
563,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
567,
568
],
[
568,
569
],
[
569,
570
],
[
564,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
553,
575
],
[
575,
576
],
[
576,
577
],
[
577,
578
],
[
539,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
582,
583
],
[
583,
584
],
[
584,
585
],
[
583,
586
],
[
586,
587
],
[
539,
588
],
[
588,
589
],
[
588,
590
],
[
590,
591
],
[
591,
592
],
[
592,
593
],
[
593,
594
],
[
592,
595
],
[
595,
596
],
[
539,
597
],
[
597,
598
],
[
597,
599
],
[
599,
600
],
[
600,
601
],
[
601,
602
],
[
602,
603
],
[
601,
604
],
[
604,
605
],
[
539,
606
],
[
606,
607
],
[
606,
608
],
[
608,
609
],
[
609,
610
],
[
609,
611
],
[
608,
612
],
[
612,
613
],
[
613,
614
],
[
613,
615
],
[
615,
616
],
[
616,
617
],
[
617,
618
],
[
612,
619
],
[
619,
620
],
[
620,
621
],
[
620,
622
],
[
622,
623
],
[
623,
624
],
[
608,
625
],
[
625,
626
],
[
0,
627
],
[
627,
628
],
[
627,
629
]
] |
[
"import java.util.*;\nimport java.io.* ;\n/*\nNOTES:\n-more than 10 digits (10^10), use long\n-prefix sum of 1's and -1's to control flow of highlighting a region\n-log(a)/log(b) = log base b of a\n-create a position array if trying to see if elements show up next to each other sequentially\n i.e. elements 1,2,3 are within 3 spots of each other in an array\n arr[scannedInt - 1] = i; (position of i at p[i] in original)\n- use a freq array when counting instances of an element occurring\n- increment the counter first before simulating anything turn-based (two player game)\n\n */\n\npublic class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n long t= 1;\n while (t-- > 0) {\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static ArrayList sieve(){\n ArrayList<Integer> primes = new ArrayList<>();\n int size = 1000001;\n int[] arr = new int[size+1];\n for(int i = 2; i*i<=size; i++){\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }\n for(int i = 2; i<=size; i++){\n if(arr[i]==0) primes.add(i);\n }\n return primes;\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.* ;",
"io.*",
"java",
"public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n long t= 1;\n while (t-- > 0) {\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static ArrayList sieve(){\n ArrayList<Integer> primes = new ArrayList<>();\n int size = 1000001;\n int[] arr = new int[size+1];\n for(int i = 2; i*i<=size; i++){\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }\n for(int i = 2; i<=size; i++){\n if(arr[i]==0) primes.add(i);\n }\n return primes;\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"Main",
"static long mod = (long)(Math.pow(10, 9) + 7);",
"mod",
"(long)(Math.pow(10, 9) + 7)",
"Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";",
"alpha",
"\"zabcdefghijklmnopqrstuvwxy\"",
"public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n long t= 1;\n while (t-- > 0) {\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }\n\n }",
"main",
"{\n FastReader in = new FastReader();\n long t= 1;\n while (t-- > 0) {\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }\n\n }",
"FastReader in = new FastReader();",
"in",
"new FastReader()",
"long t= 1;",
"t",
"1",
"while (t-- > 0) {\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }",
"int n = in.nextInt();",
"n",
"in.nextInt()",
"in.nextInt",
"in",
"int k = in.nextInt();",
"k",
"in.nextInt()",
"in.nextInt",
"in",
"int[] arr = new int[n+1];",
"arr",
"new int[n+1]",
"n+1",
"n",
"1",
"for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<k",
"i",
"k",
"i++",
"i++",
"i",
"{\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }",
"{\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }",
"int m = in.nextInt();",
"m",
"in.nextInt()",
"in.nextInt",
"in",
"for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j< m",
"j",
"m",
"j++",
"j++",
"j",
"{\n arr[in.nextInt()]++;\n }",
"{\n arr[in.nextInt()]++;\n }",
"arr[in.nextInt()]++",
"arr[in.nextInt()]",
"arr",
"in.nextInt()",
"in.nextInt",
"in",
"int ans = 0;",
"ans",
"0",
"for(int i : arr) if(i==0) ans++;",
"int i",
"arr",
"if(i==0) ans++;",
"if(i==0) ans++;",
"i==0",
"i",
"0",
"ans++",
"ans",
"System.out.println(ans-1)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans-1",
"ans",
"1",
"String[] args",
"args",
"static ArrayList sieve(){\n ArrayList<Integer> primes = new ArrayList<>();\n int size = 1000001;\n int[] arr = new int[size+1];\n for(int i = 2; i*i<=size; i++){\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }\n for(int i = 2; i<=size; i++){\n if(arr[i]==0) primes.add(i);\n }\n return primes;\n }",
"sieve",
"{\n ArrayList<Integer> primes = new ArrayList<>();\n int size = 1000001;\n int[] arr = new int[size+1];\n for(int i = 2; i*i<=size; i++){\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }\n for(int i = 2; i<=size; i++){\n if(arr[i]==0) primes.add(i);\n }\n return primes;\n }",
"ArrayList<Integer> primes = new ArrayList<>();",
"primes",
"new ArrayList<>()",
"int size = 1000001;",
"size",
"1000001",
"int[] arr = new int[size+1];",
"arr",
"new int[size+1]",
"size+1",
"size",
"1",
"for(int i = 2; i*i<=size; i++){\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i*i<=size",
"i*i",
"i",
"i",
"size",
"i++",
"i++",
"i",
"{\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }",
"{\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }",
"if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;",
"arr[i] == 0 && (long) (i*i)<=size",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"(long) (i*i)<=size",
"(long) (i*i)",
"i",
"i",
"size",
"for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;",
"int pp = i*i;",
"int pp = i*i;",
"pp",
"i*i",
"i",
"i",
"pp<=size",
"pp",
"size",
"pp+=i",
"pp+=i",
"pp",
"i",
"arr[pp]++;",
"arr[pp]++",
"arr[pp]",
"arr",
"pp",
"for(int i = 2; i<=size; i++){\n if(arr[i]==0) primes.add(i);\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i<=size",
"i",
"size",
"i++",
"i++",
"i",
"{\n if(arr[i]==0) primes.add(i);\n }",
"{\n if(arr[i]==0) primes.add(i);\n }",
"if(arr[i]==0) primes.add(i);",
"arr[i]==0",
"arr[i]",
"arr",
"i",
"0",
"primes.add(i)",
"primes.add",
"primes",
"i",
"return primes;",
"primes",
"static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }",
"isPalindrome",
"{\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }",
"for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<s.length()/2",
"i",
"s.length()/2",
"s.length()",
"s.length",
"s",
"2",
"i++",
"i++",
"i",
"{\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }",
"{\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }",
"if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;",
"s.charAt(i) != s.charAt(s.length()-i-1)",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"s.charAt(s.length()-i-1)",
"s.charAt",
"s",
"s.length()-i-1",
"s.length()-i-1",
"s.length()",
"s.length",
"s",
"i",
"1",
"return false;",
"false",
"return true;",
"true",
"String s",
"s",
"static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }",
"factors",
"{\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }",
"ArrayList<Long> facts = new ArrayList<>();",
"facts",
"new ArrayList<>()",
"for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i<=(int)Math.sqrt(n)",
"i",
"(int)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"i++",
"i++",
"i",
"{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }",
"{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }",
"if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }",
"n%i == 0",
"n%i",
"n",
"i",
"0",
"{\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }",
"if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }",
"i == Math.sqrt(n)",
"i",
"Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"facts.add((long)i)",
"facts.add",
"facts",
"(long)i",
"{\n facts.add((long)i);\n facts.add(n/i);\n }",
"facts.add((long)i)",
"facts.add",
"facts",
"(long)i",
"facts.add(n/i)",
"facts.add",
"facts",
"n/i",
"n",
"i",
"Collections.sort(facts)",
"Collections.sort",
"Collections",
"facts",
"return facts;",
"facts",
"long n",
"n",
"static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }",
"isPrime",
"{\n if(factors(n).size() ==2) return true;\n else return false;\n }",
"if(factors(n).size() ==2) return true;\n else return false;",
"factors(n).size() ==2",
"factors(n).size()",
"factors(n).size",
"factors(n)",
"factors",
"n",
"2",
"return true;",
"true",
"return false;",
"false",
"int n",
"n",
"static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }",
"GCD",
"{\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }",
"if (a == 0) return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"if (b == 0) return a;",
"b == 0",
"b",
"0",
"return a;",
"a",
"if (a == b) return a;",
"a == b",
"a",
"b",
"return a;",
"a",
"if (a > b) return GCD(a-b, b);",
"a > b",
"a",
"b",
"return GCD(a-b, b);",
"GCD(a-b, b)",
"GCD",
"a-b",
"a",
"b",
"b",
"return GCD(a, b-a);",
"GCD(a, b-a)",
"GCD",
"a",
"b-a",
"b",
"a",
"long a",
"a",
"long b",
"b",
"static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }",
"LCM",
"{\n return (a*b)/(GCD(a,b));\n }",
"return (a*b)/(GCD(a,b));",
"(a*b)/(GCD(a,b))",
"(a*b)",
"a",
"b",
"(GCD(a,b))",
"GCD",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }",
"rev",
"{\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }",
"char[] arr = s.toCharArray();",
"arr",
"s.toCharArray()",
"s.toCharArray",
"s",
"for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<(s.length()+1)/2",
"i",
"(s.length()+1)/2",
"(s.length()+1)",
"s.length()",
"s.length",
"s",
"1",
"2",
"i++",
"i++",
"i",
"{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }",
"{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }",
"char temp = arr[i];",
"temp",
"arr[i]",
"arr",
"i",
"arr[i] = arr[s.length()-i-1]",
"arr[i]",
"arr",
"i",
"arr[s.length()-i-1]",
"arr",
"s.length()-i-1",
"s.length()-i-1",
"s.length()",
"s.length",
"s",
"i",
"1",
"arr[s.length()-i-1] = temp",
"arr[s.length()-i-1]",
"arr",
"s.length()-i-1",
"s.length()-i-1",
"s.length()",
"s.length",
"s",
"i",
"1",
"temp",
"String fin = new String(arr);",
"fin",
"new String(arr)",
"return fin;",
"fin",
"String s",
"s",
"static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }",
"pow",
"{\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }",
"if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }",
"N == 0",
"N",
"0",
"return 1;",
"1",
"if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }",
"N == 1",
"N",
"1",
"return a;",
"a",
"{\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }",
"long R = pow(a,N/2);",
"R",
"pow(a,N/2)",
"pow",
"a",
"N/2",
"N",
"2",
"if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }",
"N % 2 == 0",
"N % 2",
"N",
"2",
"0",
"{\n return R*R;\n }",
"return R*R;",
"R*R",
"R",
"R",
"{\n return R*R*a;\n }",
"return R*R*a;",
"R*R*a",
"R*R*a",
"R",
"R",
"a",
"long a",
"a",
"long N",
"N",
"static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }",
"powMod",
"{\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }",
"if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }",
"N == 0",
"N",
"0",
"return 1;",
"1",
"if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }",
"N == 1",
"N",
"1",
"return a % mod;",
"a % mod",
"a",
"mod",
"{\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }",
"long R = powMod(a,N/2) % mod;",
"R",
"powMod(a,N/2) % mod",
"powMod(a,N/2)",
"powMod",
"a",
"N/2",
"N",
"2",
"mod",
"R *= R",
"R",
"R",
"R %= mod",
"R",
"mod",
"if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }",
"N % 2 == 1",
"N % 2",
"N",
"2",
"1",
"{\n R *= a;\n R %= mod;\n }",
"R *= a",
"R",
"a",
"R %= mod",
"R",
"mod",
"return R % mod;",
"R % mod",
"R",
"mod",
"long a",
"a",
"long N",
"N",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }",
"catch (IOException e) { e.printStackTrace();\n }",
"IOException e",
"{ e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\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",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n long t= 1;\n while (t-- > 0) {\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static ArrayList sieve(){\n ArrayList<Integer> primes = new ArrayList<>();\n int size = 1000001;\n int[] arr = new int[size+1];\n for(int i = 2; i*i<=size; i++){\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }\n for(int i = 2; i<=size; i++){\n if(arr[i]==0) primes.add(i);\n }\n return primes;\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n FastReader in = new FastReader();\n long t= 1;\n while (t-- > 0) {\n int n = in.nextInt();\n int k = in.nextInt();\n int[] arr = new int[n+1];\n for(int i = 0; i<k; i++){\n int m = in.nextInt();\n for(int j = 0; j< m; j++){\n arr[in.nextInt()]++;\n }\n }\n int ans = 0;\n for(int i : arr) if(i==0) ans++;\n System.out.println(ans-1);\n }\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) { e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static ArrayList sieve(){\n ArrayList<Integer> primes = new ArrayList<>();\n int size = 1000001;\n int[] arr = new int[size+1];\n for(int i = 2; i*i<=size; i++){\n if(arr[i] == 0 && (long) (i*i)<=size)\n for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;\n }\n for(int i = 2; i<=size; i++){\n if(arr[i]==0) primes.add(i);\n }\n return primes;\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}",
"Main"
] |
import java.util.*;
import java.io.* ;
/*
NOTES:
-more than 10 digits (10^10), use long
-prefix sum of 1's and -1's to control flow of highlighting a region
-log(a)/log(b) = log base b of a
-create a position array if trying to see if elements show up next to each other sequentially
i.e. elements 1,2,3 are within 3 spots of each other in an array
arr[scannedInt - 1] = i; (position of i at p[i] in original)
- use a freq array when counting instances of an element occurring
- increment the counter first before simulating anything turn-based (two player game)
*/
public class Main {
static long mod = (long)(Math.pow(10, 9) + 7);
public static String alpha = "zabcdefghijklmnopqrstuvwxy";
public static void main(String[] args) throws IOException{
FastReader in = new FastReader();
long t= 1;
while (t-- > 0) {
int n = in.nextInt();
int k = in.nextInt();
int[] arr = new int[n+1];
for(int i = 0; i<k; i++){
int m = in.nextInt();
for(int j = 0; j< m; j++){
arr[in.nextInt()]++;
}
}
int ans = 0;
for(int i : arr) if(i==0) ans++;
System.out.println(ans-1);
}
}
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
}
catch (IOException e) { e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
static ArrayList sieve(){
ArrayList<Integer> primes = new ArrayList<>();
int size = 1000001;
int[] arr = new int[size+1];
for(int i = 2; i*i<=size; i++){
if(arr[i] == 0 && (long) (i*i)<=size)
for(int pp = i*i; pp<=size; pp+=i) arr[pp]++;
}
for(int i = 2; i<=size; i++){
if(arr[i]==0) primes.add(i);
}
return primes;
}
static boolean isPalindrome(String s){
for(int i = 0; i<s.length()/2; i++){
if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;
}
return true;
}
static ArrayList factors(long n ){
ArrayList<Long> facts = new ArrayList<>();
for(int i = 1; i<=(int)Math.sqrt(n); i++){
if(n%i == 0){
if( i == Math.sqrt(n)) facts.add((long)i);
else{
facts.add((long)i);
facts.add(n/i);
}
}
}
Collections.sort(facts);
return facts;
}
static boolean isPrime (int n){
if(factors(n).size() ==2) return true;
else return false;
}
static long GCD(long a, long b) {
// Everything divides 0
if (a == 0) return b;
if (b == 0) return a;
// base case
if (a == b) return a;
// a is greater
if (a > b) return GCD(a-b, b);
return GCD(a, b-a);
}
static long LCM(long a, long b){
return (a*b)/(GCD(a,b));
}
static String rev(String s){
char[] arr = s.toCharArray();
for(int i = 0; i<(s.length()+1)/2; i++){
char temp = arr[i];
arr[i] = arr[s.length()-i-1];
arr[s.length()-i-1] = temp;
}
String fin = new String(arr);
return fin;
}
static long pow(long a, long N) {
if (N == 0) return 1;
else if (N == 1) return a;
else {
long R = pow(a,N/2);
if (N % 2 == 0) {
return R*R;
}
else {
return R*R*a;
}
}
}
static long powMod(long a, long N) {
if (N == 0) return 1;
else if (N == 1) return a % mod;
else {
long R = powMod(a,N/2) % mod;
R *= R;
R %= mod;
if (N % 2 == 1) {
R *= a;
R %= mod;
}
return R % mod;
}
}
}
|
[
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,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
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
],
[
81,
11
],
[
81,
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
],
[
25,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
12,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] |
[
"import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint K = scan.nextInt();\n\t\tSet<Integer> k = new HashSet<>();\n\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}\n\n\n\t\tSystem.out.println(N - k.size());\n\n\t}\n}",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint K = scan.nextInt();\n\t\tSet<Integer> k = new HashSet<>();\n\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}\n\n\n\t\tSystem.out.println(N - k.size());\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint K = scan.nextInt();\n\t\tSet<Integer> k = new HashSet<>();\n\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}\n\n\n\t\tSystem.out.println(N - k.size());\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint K = scan.nextInt();\n\t\tSet<Integer> k = new HashSet<>();\n\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}\n\n\n\t\tSystem.out.println(N - k.size());\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int N = scan.nextInt();",
"N",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int K = scan.nextInt();",
"K",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Set<Integer> k = new HashSet<>();",
"k",
"new HashSet<>()",
"for(int i = 0; i < K; i++) {\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}",
"{\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}",
"int d = scan.nextInt();",
"d",
"scan.nextInt()",
"scan.nextInt",
"scan",
"for(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < d",
"j",
"d",
"j++",
"j++",
"j",
"{\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}",
"{\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}",
"k.add(scan.nextInt())",
"k.add",
"k",
"scan.nextInt()",
"scan.nextInt",
"scan",
"System.out.println(N - k.size())",
"System.out.println",
"System.out",
"System",
"System.out",
"N - k.size()",
"N",
"k.size()",
"k.size",
"k",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint K = scan.nextInt();\n\t\tSet<Integer> k = new HashSet<>();\n\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}\n\n\n\t\tSystem.out.println(N - k.size());\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint K = scan.nextInt();\n\t\tSet<Integer> k = new HashSet<>();\n\n\t\tfor(int i = 0; i < K; i++) {\n\t\t\tint d = scan.nextInt();\n\t\t\tfor(int j = 0; j < d; j++) {\n\t\t\t\tk.add(scan.nextInt());\n\t\t\t}\n\t\t}\n\n\n\t\tSystem.out.println(N - k.size());\n\n\t}\n}",
"Main"
] |
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int N = scan.nextInt();
int K = scan.nextInt();
Set<Integer> k = new HashSet<>();
for(int i = 0; i < K; i++) {
int d = scan.nextInt();
for(int j = 0; j < d; j++) {
k.add(scan.nextInt());
}
}
System.out.println(N - k.size());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
20,
13,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
40,
18,
18,
13,
13,
2,
4,
18,
13,
17,
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,
18,
18,
13,
13,
13,
17,
30,
40,
18,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
153,
5
],
[
153,
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
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
75,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
93,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
107,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
8,
119
],
[
119,
120
],
[
119,
121
],
[
8,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
127,
129
],
[
122,
130
],
[
130,
131
],
[
131,
132
],
[
122,
133
],
[
134,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
135,
141
],
[
141,
142
],
[
142,
143
],
[
8,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
6,
150
],
[
150,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
]
] |
[
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); // すぬけ君の数\n int K = sc.nextInt(); // お菓子の種類\n int[] d = new int[K]; // 何人お菓子をもっているか\n int[][] A = new int[K][N]; // 誰がお菓子をもっているか\n int[] sunuke = new int[N];\n\n for (int i = 0; i < K; i++) {\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }\n for (int i = 0; i < K; i++) {\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }\n int ans = 0;\n\n for (int i = 0; i < N; i++) {\n if (sunuke[i] == 0) {\n ans++;\n }\n }\n System.out.println(ans);\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 N = sc.nextInt(); // すぬけ君の数\n int K = sc.nextInt(); // お菓子の種類\n int[] d = new int[K]; // 何人お菓子をもっているか\n int[][] A = new int[K][N]; // 誰がお菓子をもっているか\n int[] sunuke = new int[N];\n\n for (int i = 0; i < K; i++) {\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }\n for (int i = 0; i < K; i++) {\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }\n int ans = 0;\n\n for (int i = 0; i < N; i++) {\n if (sunuke[i] == 0) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); // すぬけ君の数\n int K = sc.nextInt(); // お菓子の種類\n int[] d = new int[K]; // 何人お菓子をもっているか\n int[][] A = new int[K][N]; // 誰がお菓子をもっているか\n int[] sunuke = new int[N];\n\n for (int i = 0; i < K; i++) {\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }\n for (int i = 0; i < K; i++) {\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }\n int ans = 0;\n\n for (int i = 0; i < N; i++) {\n if (sunuke[i] == 0) {\n ans++;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); // すぬけ君の数\n int K = sc.nextInt(); // お菓子の種類\n int[] d = new int[K]; // 何人お菓子をもっているか\n int[][] A = new int[K][N]; // 誰がお菓子をもっているか\n int[] sunuke = new int[N];\n\n for (int i = 0; i < K; i++) {\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }\n for (int i = 0; i < K; i++) {\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }\n int ans = 0;\n\n for (int i = 0; i < N; i++) {\n if (sunuke[i] == 0) {\n ans++;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int K = sc.nextInt();",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] d = new int[K];",
"d",
"new int[K]",
"K",
"int[][] A = new int[K][N];",
"A",
"new int[K][N]",
"K",
"N",
"int[] sunuke = new int[N];",
"sunuke",
"new int[N]",
"N",
"for (int i = 0; i < K; i++) {\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }",
"{\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }",
"d[i] = sc.nextInt()",
"d[i]",
"d",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < d[i]",
"j",
"d[i]",
"d",
"i",
"j++",
"j++",
"j",
"{\n A[i][sc.nextInt() - 1]++;\n }",
"{\n A[i][sc.nextInt() - 1]++;\n }",
"A[i][sc.nextInt() - 1]++",
"A[i][sc.nextInt() - 1]",
"A[i]",
"A",
"i",
"sc.nextInt() - 1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"1",
"for (int i = 0; i < K; i++) {\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }",
"{\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }",
"for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < N",
"j",
"N",
"j++",
"j++",
"j",
"{\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }",
"{\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }",
"if (A[i][j] != 0) {\n sunuke[j]++;\n }",
"A[i][j] != 0",
"A[i][j]",
"A[i]",
"A",
"i",
"j",
"0",
"{\n sunuke[j]++;\n }",
"sunuke[j]++",
"sunuke[j]",
"sunuke",
"j",
"int ans = 0;",
"ans",
"0",
"for (int i = 0; i < N; i++) {\n if (sunuke[i] == 0) {\n ans++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n if (sunuke[i] == 0) {\n ans++;\n }\n }",
"{\n if (sunuke[i] == 0) {\n ans++;\n }\n }",
"if (sunuke[i] == 0) {\n ans++;\n }",
"sunuke[i] == 0",
"sunuke[i]",
"sunuke",
"i",
"0",
"{\n ans++;\n }",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); // すぬけ君の数\n int K = sc.nextInt(); // お菓子の種類\n int[] d = new int[K]; // 何人お菓子をもっているか\n int[][] A = new int[K][N]; // 誰がお菓子をもっているか\n int[] sunuke = new int[N];\n\n for (int i = 0; i < K; i++) {\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }\n for (int i = 0; i < K; i++) {\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }\n int ans = 0;\n\n for (int i = 0; i < N; i++) {\n if (sunuke[i] == 0) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); // すぬけ君の数\n int K = sc.nextInt(); // お菓子の種類\n int[] d = new int[K]; // 何人お菓子をもっているか\n int[][] A = new int[K][N]; // 誰がお菓子をもっているか\n int[] sunuke = new int[N];\n\n for (int i = 0; i < K; i++) {\n d[i] = sc.nextInt();\n for (int j = 0; j < d[i]; j++) {\n A[i][sc.nextInt() - 1]++;\n }\n }\n for (int i = 0; i < K; i++) {\n for (int j = 0; j < N; j++) {\n if (A[i][j] != 0) {\n sunuke[j]++;\n }\n }\n }\n int ans = 0;\n\n for (int i = 0; i < N; i++) {\n if (sunuke[i] == 0) {\n ans++;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt(); // すぬけ君の数
int K = sc.nextInt(); // お菓子の種類
int[] d = new int[K]; // 何人お菓子をもっているか
int[][] A = new int[K][N]; // 誰がお菓子をもっているか
int[] sunuke = new int[N];
for (int i = 0; i < K; i++) {
d[i] = sc.nextInt();
for (int j = 0; j < d[i]; j++) {
A[i][sc.nextInt() - 1]++;
}
}
for (int i = 0; i < K; i++) {
for (int j = 0; j < N; j++) {
if (A[i][j] != 0) {
sunuke[j]++;
}
}
}
int ans = 0;
for (int i = 0; i < N; i++) {
if (sunuke[i] == 0) {
ans++;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
78,
8
],
[
78,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
9,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] |
[
"import java.util.HashSet;\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\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tHashSet<Integer> list = new HashSet<Integer>();\n\n\t\tfor (int i = 1; i <= K; i++) {\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(N - list.size());\n\n\t}\n\n}",
"import java.util.HashSet;",
"HashSet",
"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\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tHashSet<Integer> list = new HashSet<Integer>();\n\n\t\tfor (int i = 1; i <= K; i++) {\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(N - list.size());\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tHashSet<Integer> list = new HashSet<Integer>();\n\n\t\tfor (int i = 1; i <= K; i++) {\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(N - list.size());\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tHashSet<Integer> list = new HashSet<Integer>();\n\n\t\tfor (int i = 1; i <= K; i++) {\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(N - list.size());\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int K = sc.nextInt();",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"HashSet<Integer> list = new HashSet<Integer>();",
"list",
"new HashSet<Integer>()",
"for (int i = 1; i <= K; i++) {\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= K",
"i",
"K",
"i++",
"i++",
"i",
"{\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}",
"{\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}",
"int A = sc.nextInt();",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= A",
"j",
"A",
"j++",
"j++",
"j",
"{\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}",
"{\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}",
"list.add(sc.nextInt())",
"list.add",
"list",
"sc.nextInt()",
"sc.nextInt",
"sc",
"System.out.println(N - list.size())",
"System.out.println",
"System.out",
"System",
"System.out",
"N - list.size()",
"N",
"list.size()",
"list.size",
"list",
"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 N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tHashSet<Integer> list = new HashSet<Integer>();\n\n\t\tfor (int i = 1; i <= K; i++) {\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(N - list.size());\n\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\tint N = sc.nextInt();\n\t\tint K = sc.nextInt();\n\t\tHashSet<Integer> list = new HashSet<Integer>();\n\n\t\tfor (int i = 1; i <= K; i++) {\n\t\t\tint A = sc.nextInt();\n\t\t\tfor (int j = 1; j <= A; j++) {\n\t\t\t\tlist.add(sc.nextInt());\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(N - list.size());\n\n\t}\n\n}",
"Main"
] |
import java.util.HashSet;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int K = sc.nextInt();
HashSet<Integer> list = new HashSet<Integer>();
for (int i = 1; i <= K; i++) {
int A = sc.nextInt();
for (int j = 1; j <= A; j++) {
list.add(sc.nextInt());
}
}
System.out.println(N - list.size());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
20,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
28,
13,
13,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
13,
4,
18,
13,
23,
13,
10,
6,
13
] |
[
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
88,
8
],
[
88,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
39,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
47,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
58,
63
],
[
47,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
11,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
9,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] |
[
"import java.util.*;\nimport java.io.*;\npublic class Main{\n\n public static void main(String []args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String a[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(a[0]);\n int k = Integer.parseInt(a[1]);\n Set<Integer> st = new HashSet<>();\n while(k-->0) {\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }\n \n System.out.println(n-st.size());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\n public static void main(String []args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String a[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(a[0]);\n int k = Integer.parseInt(a[1]);\n Set<Integer> st = new HashSet<>();\n while(k-->0) {\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }\n \n System.out.println(n-st.size());\n }\n}",
"Main",
"public static void main(String []args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String a[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(a[0]);\n int k = Integer.parseInt(a[1]);\n Set<Integer> st = new HashSet<>();\n while(k-->0) {\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }\n \n System.out.println(n-st.size());\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String a[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(a[0]);\n int k = Integer.parseInt(a[1]);\n Set<Integer> st = new HashSet<>();\n while(k-->0) {\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }\n \n System.out.println(n-st.size());\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String a[] = br.readLine().split(\" \");",
"a",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int n = Integer.parseInt(a[0]);",
"n",
"Integer.parseInt(a[0])",
"Integer.parseInt",
"Integer",
"a[0]",
"a",
"0",
"int k = Integer.parseInt(a[1]);",
"k",
"Integer.parseInt(a[1])",
"Integer.parseInt",
"Integer",
"a[1]",
"a",
"1",
"Set<Integer> st = new HashSet<>();",
"st",
"new HashSet<>()",
"while(k-->0) {\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }",
"k-->0",
"k--",
"k",
"0",
"{\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }",
"int count= Integer.parseInt(br.readLine());",
"count",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"String array[] = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"for(String x: array) st.add(Integer.parseInt(x));",
"String x",
"array",
"st.add(Integer.parseInt(x));",
"st.add(Integer.parseInt(x))",
"st.add",
"st",
"Integer.parseInt(x)",
"Integer.parseInt",
"Integer",
"x",
"System.out.println(n-st.size())",
"System.out.println",
"System.out",
"System",
"System.out",
"n-st.size()",
"n",
"st.size()",
"st.size",
"st",
"String []args",
"args",
"public class Main{\n\n public static void main(String []args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String a[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(a[0]);\n int k = Integer.parseInt(a[1]);\n Set<Integer> st = new HashSet<>();\n while(k-->0) {\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }\n \n System.out.println(n-st.size());\n }\n}",
"public class Main{\n\n public static void main(String []args) throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String a[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(a[0]);\n int k = Integer.parseInt(a[1]);\n Set<Integer> st = new HashSet<>();\n while(k-->0) {\n int count= Integer.parseInt(br.readLine());\n \n String array[] = br.readLine().split(\" \");\n for(String x: array) st.add(Integer.parseInt(x));\n \n }\n \n System.out.println(n-st.size());\n }\n}",
"Main"
] |
import java.util.*;
import java.io.*;
public class Main{
public static void main(String []args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String a[] = br.readLine().split(" ");
int n = Integer.parseInt(a[0]);
int k = Integer.parseInt(a[1]);
Set<Integer> st = new HashSet<>();
while(k-->0) {
int count= Integer.parseInt(br.readLine());
String array[] = br.readLine().split(" ");
for(String x: array) st.add(Integer.parseInt(x));
}
System.out.println(n-st.size());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
2,
13,
17,
4,
18,
13,
13,
17,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
18,
13,
13,
30,
11,
1,
41,
13,
2,
13,
13,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
13,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
42,
2,
2,
13,
13,
17,
30,
0,
13,
13,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
13,
0,
13,
17,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
29,
17,
29,
17,
23,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
4,
13,
41,
13,
20,
42,
2,
40,
13,
17,
30,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
13,
4,
18,
13,
13,
4,
13,
2,
13,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
17,
30,
29,
13,
14,
2,
2,
13,
17,
17,
30,
29,
17,
14,
2,
2,
13,
17,
17,
30,
29,
2,
13,
17,
29,
17,
23,
13,
12,
13,
30,
29,
2,
4,
13,
13,
4,
13,
2,
13,
17,
23,
13,
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,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
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,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
18,
36,
13,
18,
13,
13,
23,
13,
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
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
616,
26
],
[
616,
27
],
[
27,
28
],
[
27,
29
],
[
616,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
32,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
32,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
32,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
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
],
[
89,
91
],
[
78,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
32,
99
],
[
99,
100
],
[
30,
101
],
[
101,
102
],
[
616,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
114,
117
],
[
117,
118
],
[
117,
119
],
[
103,
120
],
[
120,
121
],
[
103,
122
],
[
122,
123
],
[
616,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
130,
140
],
[
140,
141
],
[
141,
142
],
[
130,
143
],
[
144,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
152,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
126,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
126,
177
],
[
177,
178
],
[
124,
179
],
[
179,
180
],
[
616,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
192,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
191,
202
],
[
202,
203
],
[
202,
204
],
[
191,
205
],
[
205,
206
],
[
205,
207
],
[
183,
208
],
[
208,
209
],
[
181,
210
],
[
210,
211
],
[
181,
212
],
[
212,
213
],
[
616,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
217,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
217,
229
],
[
229,
230
],
[
230,
231
],
[
217,
232
],
[
233,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
234,
244
],
[
244,
245
],
[
245,
246
],
[
216,
247
],
[
247,
248
],
[
214,
249
],
[
249,
250
],
[
616,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
251,
257
],
[
257,
258
],
[
616,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
267,
269
],
[
267,
270
],
[
259,
271
],
[
271,
272
],
[
259,
273
],
[
273,
274
],
[
616,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
277,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
277,
286
],
[
286,
287
],
[
286,
288
],
[
277,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
290,
293
],
[
289,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
294,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
299,
304
],
[
304,
305
],
[
304,
306
],
[
299,
307
],
[
307,
308
],
[
308,
309
],
[
299,
310
],
[
311,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
311,
316
],
[
316,
317
],
[
317,
318
],
[
316,
319
],
[
277,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
616,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
330,
336
],
[
336,
337
],
[
337,
338
],
[
329,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
340,
344
],
[
339,
345
],
[
345,
346
],
[
346,
347
],
[
329,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
349,
353
],
[
348,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
329,
359
],
[
359,
360
],
[
327,
361
],
[
361,
362
],
[
616,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
368,
370
],
[
367,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
373,
375
],
[
363,
376
],
[
376,
377
],
[
363,
378
],
[
378,
379
],
[
616,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
385,
387
],
[
383,
388
],
[
380,
389
],
[
389,
390
],
[
616,
391
],
[
391,
392
],
[
391,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
394,
399
],
[
391,
400
],
[
400,
401
],
[
616,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
405,
410
],
[
402,
411
],
[
411,
412
],
[
616,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
418,
420
],
[
415,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
421,
425
],
[
425,
426
],
[
425,
427
],
[
415,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
428,
432
],
[
413,
433
],
[
433,
434
],
[
413,
435
],
[
435,
436
],
[
413,
437
],
[
437,
438
],
[
616,
439
],
[
439,
440
],
[
439,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
443,
446
],
[
443,
447
],
[
439,
448
],
[
448,
449
],
[
439,
450
],
[
450,
451
],
[
616,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
456,
459
],
[
456,
460
],
[
452,
461
],
[
461,
462
],
[
452,
463
],
[
463,
464
],
[
616,
465
],
[
465,
466
],
[
465,
467
],
[
467,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
469,
472
],
[
472,
473
],
[
473,
474
],
[
616,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
478,
479
],
[
479,
480
],
[
480,
481
],
[
479,
482
],
[
482,
483
],
[
483,
484
],
[
616,
485
],
[
485,
486
],
[
485,
487
],
[
487,
488
],
[
488,
489
],
[
489,
490
],
[
490,
491
],
[
489,
492
],
[
492,
493
],
[
493,
494
],
[
616,
495
],
[
495,
496
],
[
495,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
500,
501
],
[
616,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
505,
506
],
[
506,
507
],
[
507,
508
],
[
506,
509
],
[
502,
510
],
[
510,
511
],
[
616,
512
],
[
512,
513
],
[
512,
514
],
[
514,
515
],
[
512,
516
],
[
516,
517
],
[
512,
518
],
[
518,
519
],
[
518,
520
],
[
520,
521
],
[
521,
522
],
[
521,
523
],
[
518,
524
],
[
524,
525
],
[
512,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
529,
530
],
[
530,
531
],
[
531,
532
],
[
531,
533
],
[
530,
534
],
[
534,
535
],
[
535,
536
],
[
536,
537
],
[
529,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
528,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
512,
546
],
[
546,
547
],
[
546,
548
],
[
548,
549
],
[
549,
550
],
[
550,
551
],
[
551,
552
],
[
550,
553
],
[
553,
554
],
[
512,
555
],
[
555,
556
],
[
555,
557
],
[
557,
558
],
[
558,
559
],
[
559,
560
],
[
560,
561
],
[
559,
562
],
[
562,
563
],
[
512,
564
],
[
564,
565
],
[
564,
566
],
[
566,
567
],
[
567,
568
],
[
568,
569
],
[
569,
570
],
[
512,
571
],
[
571,
572
],
[
571,
573
],
[
573,
574
],
[
574,
575
],
[
575,
576
],
[
576,
577
],
[
0,
578
],
[
578,
579
],
[
578,
580
],
[
580,
581
],
[
578,
582
],
[
582,
583
],
[
578,
584
],
[
584,
585
],
[
584,
586
],
[
586,
587
],
[
587,
588
],
[
588,
589
],
[
588,
590
],
[
587,
591
],
[
586,
592
],
[
592,
593
],
[
593,
594
],
[
593,
595
],
[
592,
596
],
[
584,
597
],
[
597,
598
],
[
584,
599
],
[
599,
600
],
[
578,
601
],
[
601,
602
],
[
601,
603
],
[
603,
604
],
[
604,
605
],
[
605,
606
],
[
606,
607
],
[
606,
608
],
[
605,
609
],
[
609,
610
],
[
609,
611
],
[
601,
612
],
[
612,
613
],
[
578,
614
],
[
0,
615
],
[
615,
616
],
[
615,
617
]
] |
[
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.util.*;\nimport java.math.*;\nimport java.io.*;\nimport java.text.*;\nimport java.math.BigInteger;\n \npublic class Main\n{ \n \n //Life's a bitch\n //I'll never stop.\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n \n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n \n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n \n long expo(long a,long b)\n {\n long result = 1;\n\n while (b>0){\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }\n\n return result;\n }\n \n \n \n \n \n \n static boolean isSorted(int[] a)\n {\n for(int i=0;i<a.length-1;i++)\n {\n if(a[i]>a[i+1])\n {\n return false;\n } \n }\n return true;\n }\n \n \n \n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n \n \n \n static long LCM(long a,long b)\n {\n return (a*b)/GCD(a,b);\n }\n \n \n Scanner in = new Scanner(System.in);\n // static int[] arr,tree[],lev;\n void run() throws IOException\n {\n \n int n = ni();\n int k = ni();\n HashSet<Integer> hash = new HashSet<>();\n\n while(k-->0)\n {\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }\n\n printL(n-hash.size());\n \n \n\n \n }\n\n \n\n\n\n \n \n\n\n\n\n \n \n \n\n\n \n\n\n\n\n \n\n \n\n \n\n \n \n\n\n \n \n\n\n \n\n \n\n \n \n \n \n \n \n \n \n \n //xor range query\n static long xor(long n)\n {\n \n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n \n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n \n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char[] c,int a,int b)\n {\n char t = c[a];\n c[a] = c[b];\n c[b] = t;\n }\n \n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n \n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n \n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n \n String si() throws IOException\n {\n return in.next();\n }\n \n \n \n \n static long abs(long n)\n {\n return Math.abs(n);\n }\n \n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n \n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n \n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n \n public String nextLine() throws IOException {return br.readLine();}\n \n public boolean ready() throws IOException {return br.ready();}\n \n \n }\n \n \n}\n \n \n \nclass Pair implements Comparable<Pair>\n{\n int x,y;\n public Pair(int x,int y)\n {\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair o)\n {\n return this.y-o.y;\n }\n}\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main\n{ \n \n //Life's a bitch\n //I'll never stop.\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n \n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n \n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n \n long expo(long a,long b)\n {\n long result = 1;\n\n while (b>0){\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }\n\n return result;\n }\n \n \n \n \n \n \n static boolean isSorted(int[] a)\n {\n for(int i=0;i<a.length-1;i++)\n {\n if(a[i]>a[i+1])\n {\n return false;\n } \n }\n return true;\n }\n \n \n \n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n \n \n \n static long LCM(long a,long b)\n {\n return (a*b)/GCD(a,b);\n }\n \n \n Scanner in = new Scanner(System.in);\n // static int[] arr,tree[],lev;\n void run() throws IOException\n {\n \n int n = ni();\n int k = ni();\n HashSet<Integer> hash = new HashSet<>();\n\n while(k-->0)\n {\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }\n\n printL(n-hash.size());\n \n \n\n \n }\n\n \n\n\n\n \n \n\n\n\n\n \n \n \n\n\n \n\n\n\n\n \n\n \n\n \n\n \n \n\n\n \n \n\n\n \n\n \n\n \n \n \n \n \n \n \n \n \n //xor range query\n static long xor(long n)\n {\n \n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n \n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n \n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char[] c,int a,int b)\n {\n char t = c[a];\n c[a] = c[b];\n c[b] = t;\n }\n \n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n \n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n \n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n \n String si() throws IOException\n {\n return in.next();\n }\n \n \n \n \n static long abs(long n)\n {\n return Math.abs(n);\n }\n \n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n \n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n \n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n \n public String nextLine() throws IOException {return br.readLine();}\n \n public boolean ready() throws IOException {return br.ready();}\n \n \n }\n \n \n}",
"Main",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"//Life's a bitch\n //I'll never stop.\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n }",
"sieve",
"{\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n }",
"boolean[] prime = new boolean[(int)n+1];",
"prime",
"new boolean[(int)n+1]",
"(int)n+1",
"(int)n",
"1",
"Arrays.fill(prime,true)",
"Arrays.fill",
"Arrays",
"prime",
"true",
"prime[0] = false",
"prime[0]",
"prime",
"0",
"false",
"prime[1] = false",
"prime[1]",
"prime",
"1",
"false",
"long m = (long)Math.sqrt(n);",
"m",
"(long)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i<=m",
"i",
"m",
"i++",
"i++",
"i",
"{\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"{\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }",
"prime[i]",
"prime",
"i",
"{\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }",
"for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }",
"int k=i*i;",
"int k=i*i;",
"k",
"i*i",
"i",
"i",
"k<=n",
"k",
"n",
"k+=i",
"k+=i",
"k",
"i",
"{\n prime[k] = false;\n }",
"{\n prime[k] = false;\n }",
"prime[k] = false",
"prime[k]",
"prime",
"k",
"false",
"return prime;",
"prime",
"long n",
"n",
"static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }",
"GCD",
"{\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }",
"if(b==0)\n {\n return a;\n }",
"b==0",
"b",
"0",
"{\n return a;\n }",
"return a;",
"a",
"return GCD(b,a%b);",
"GCD(b,a%b)",
"GCD",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }",
"CountCoPrimes",
"{\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }",
"long res = n;",
"res",
"n",
"for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"{\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }",
"n%i==0",
"n%i",
"n",
"i",
"0",
"{\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }",
"while(n%i==0)\n {\n n/=i;\n }",
"n%i==0",
"n%i",
"n",
"i",
"0",
"{\n n/=i;\n }",
"n/=i",
"n",
"i",
"res-=res/i",
"res",
"res/i",
"res",
"i",
"if(n>1)\n {\n res-=res/n;\n }",
"n>1",
"n",
"1",
"{\n res-=res/n;\n }",
"res-=res/n",
"res",
"res/n",
"res",
"n",
"return res;",
"res",
"long n",
"n",
"long expo(long a,long b)\n {\n long result = 1;\n\n while (b>0){\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }\n\n return result;\n }",
"expo",
"{\n long result = 1;\n\n while (b>0){\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }\n\n return result;\n }",
"long result = 1;",
"result",
"1",
"while (b>0){\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }",
"b>0",
"b",
"0",
"{\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }",
"if ((b%2)==1){\n result *= a;\n }",
"(b%2)==1",
"(b%2)",
"b",
"2",
"1",
"{\n result *= a;\n }",
"result *= a",
"result",
"a",
"b >>=1",
"b",
"1",
"a *= a",
"a",
"a",
"return result;",
"result",
"long a",
"a",
"long b",
"b",
"static boolean isSorted(int[] a)\n {\n for(int i=0;i<a.length-1;i++)\n {\n if(a[i]>a[i+1])\n {\n return false;\n } \n }\n return true;\n }",
"isSorted",
"{\n for(int i=0;i<a.length-1;i++)\n {\n if(a[i]>a[i+1])\n {\n return false;\n } \n }\n return true;\n }",
"for(int i=0;i<a.length-1;i++)\n {\n if(a[i]>a[i+1])\n {\n return false;\n } \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length-1",
"i",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"i++",
"i++",
"i",
"{\n if(a[i]>a[i+1])\n {\n return false;\n } \n }",
"{\n if(a[i]>a[i+1])\n {\n return false;\n } \n }",
"if(a[i]>a[i+1])\n {\n return false;\n }",
"a[i]>a[i+1]",
"a[i]",
"a",
"i",
"a[i+1]",
"a",
"i+1",
"i",
"1",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"int[] a",
"a",
"public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }",
"main",
"{\n \n new Main().run();\n \n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"static long LCM(long a,long b)\n {\n return (a*b)/GCD(a,b);\n }",
"LCM",
"{\n return (a*b)/GCD(a,b);\n }",
"return (a*b)/GCD(a,b);",
"(a*b)/GCD(a,b)",
"(a*b)",
"a",
"b",
"GCD(a,b)",
"GCD",
"a",
"b",
"long a",
"a",
"long b",
"b",
"// static int[] arr,tree[],lev;\n void run() throws IOException\n {\n \n int n = ni();\n int k = ni();\n HashSet<Integer> hash = new HashSet<>();\n\n while(k-->0)\n {\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }\n\n printL(n-hash.size());\n \n \n\n \n }",
"run",
"{\n \n int n = ni();\n int k = ni();\n HashSet<Integer> hash = new HashSet<>();\n\n while(k-->0)\n {\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }\n\n printL(n-hash.size());\n \n \n\n \n }",
"int n = ni();",
"n",
"ni()",
"ni",
"int k = ni();",
"k",
"ni()",
"ni",
"HashSet<Integer> hash = new HashSet<>();",
"hash",
"new HashSet<>()",
"while(k-->0)\n {\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }",
"k-->0",
"k--",
"k",
"0",
"{\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }",
"int di = ni();",
"di",
"ni()",
"ni",
"for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<di",
"i",
"di",
"i++",
"i++",
"i",
"{\n int ai = ni();\n hash.add(ai);\n }",
"{\n int ai = ni();\n hash.add(ai);\n }",
"int ai = ni();",
"ai",
"ni()",
"ni",
"hash.add(ai)",
"hash.add",
"hash",
"ai",
"printL(n-hash.size())",
"printL",
"n-hash.size()",
"n",
"hash.size()",
"hash.size",
"hash",
"//xor range query\n static long xor(long n)\n {\n \n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }",
"xor",
"{\n \n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }",
"if(n%4==0)\n {\n return n;\n }",
"n%4==0",
"n%4",
"n",
"4",
"0",
"{\n return n;\n }",
"return n;",
"n",
"if(n%4==1)\n {\n return 1;\n }",
"n%4==1",
"n%4",
"n",
"4",
"1",
"{\n return 1;\n }",
"return 1;",
"1",
"if(n%4==2)\n {\n return n+1;\n }",
"n%4==2",
"n%4",
"n",
"4",
"2",
"{\n return n+1;\n }",
"return n+1;",
"n+1",
"n",
"1",
"return 0;",
"0",
"long n",
"n",
"static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }",
"xor",
"{\n return xor(b)^xor(a-1);\n }",
"return xor(b)^xor(a-1);",
"xor(b)^xor(a-1)",
"xor(b)",
"xor",
"b",
"xor(a-1)",
"xor",
"a-1",
"a",
"1",
"long a",
"a",
"long b",
"b",
"void printL(long a)\n {\n System.out.println(a);\n }",
"printL",
"{\n System.out.println(a);\n }",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"long a",
"a",
"void printS(String s)\n {\n System.out.println(s);\n }",
"printS",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"void printD(Double d)\n {\n System.out.println(d);\n }",
"printD",
"{\n System.out.println(d);\n }",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"Double d",
"d",
"static void swap(char[] c,int a,int b)\n {\n char t = c[a];\n c[a] = c[b];\n c[b] = t;\n }",
"swap",
"{\n char t = c[a];\n c[a] = c[b];\n c[b] = t;\n }",
"char t = c[a];",
"t",
"c[a]",
"c",
"a",
"c[a] = c[b]",
"c[a]",
"c",
"a",
"c[b]",
"c",
"b",
"c[b] = t",
"c[b]",
"c",
"b",
"t",
"char[] c",
"c",
"int a",
"a",
"int b",
"b",
"static long max(long n,long m)\n {\n return Math.max(n,m);\n }",
"max",
"{\n return Math.max(n,m);\n }",
"return Math.max(n,m);",
"Math.max(n,m)",
"Math.max",
"Math",
"n",
"m",
"long n",
"n",
"long m",
"m",
"static long min(long n,long m)\n {\n return Math.min(n,m);\n }",
"min",
"{\n return Math.min(n,m);\n }",
"return Math.min(n,m);",
"Math.min(n,m)",
"Math.min",
"Math",
"n",
"m",
"long n",
"n",
"long m",
"m",
"double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }",
"nd",
"{\n return Double.parseDouble(in.next());\n }",
"return Double.parseDouble(in.next());",
"Double.parseDouble(in.next())",
"Double.parseDouble",
"Double",
"in.next()",
"in.next",
"in",
"int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }",
"ni",
"{\n return Integer.parseInt(in.next());\n }",
"return Integer.parseInt(in.next());",
"Integer.parseInt(in.next())",
"Integer.parseInt",
"Integer",
"in.next()",
"in.next",
"in",
"long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }",
"nl",
"{\n return Long.parseLong(in.next());\n }",
"return Long.parseLong(in.next());",
"Long.parseLong(in.next())",
"Long.parseLong",
"Long",
"in.next()",
"in.next",
"in",
"String si() throws IOException\n {\n return in.next();\n }",
"si",
"{\n return in.next();\n }",
"return in.next();",
"in.next()",
"in.next",
"in",
"static long abs(long n)\n {\n return Math.abs(n);\n }",
"abs",
"{\n return Math.abs(n);\n }",
"return Math.abs(n);",
"Math.abs(n)",
"Math.abs",
"Math",
"n",
"long n",
"n",
"static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n \n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n \n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n \n public String nextLine() throws IOException {return br.readLine();}\n \n public boolean ready() throws IOException {return br.ready();}\n \n \n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{ br = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) \n {\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 int nextInt() throws IOException {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public boolean ready() throws IOException {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"class Pair implements Comparable<Pair>\n{\n int x,y;\n public Pair(int x,int y)\n {\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair o)\n {\n return this.y-o.y;\n }\n}",
"Pair",
"int x",
"x",
"y;",
"y",
"public Pair(int x,int y)\n {\n this.x = x;\n this.y = y;\n }",
"Pair",
"{\n this.x = x;\n this.y = y;\n }",
"this.x = x",
"this.x",
"this",
"this.x",
"x",
"this.y = y",
"this.y",
"this",
"this.y",
"y",
"int x",
"x",
"int y",
"y",
"public int compareTo(Pair o)\n {\n return this.y-o.y;\n }",
"compareTo",
"{\n return this.y-o.y;\n }",
"return this.y-o.y;",
"this.y-o.y",
"this.y",
"this",
"this.y",
"o.y",
"o",
"o.y",
"Pair o",
"o",
"Comparable",
"public class Main\n{ \n \n //Life's a bitch\n //I'll never stop.\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n \n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n \n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n \n long expo(long a,long b)\n {\n long result = 1;\n\n while (b>0){\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }\n\n return result;\n }\n \n \n \n \n \n \n static boolean isSorted(int[] a)\n {\n for(int i=0;i<a.length-1;i++)\n {\n if(a[i]>a[i+1])\n {\n return false;\n } \n }\n return true;\n }\n \n \n \n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n \n \n \n static long LCM(long a,long b)\n {\n return (a*b)/GCD(a,b);\n }\n \n \n Scanner in = new Scanner(System.in);\n // static int[] arr,tree[],lev;\n void run() throws IOException\n {\n \n int n = ni();\n int k = ni();\n HashSet<Integer> hash = new HashSet<>();\n\n while(k-->0)\n {\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }\n\n printL(n-hash.size());\n \n \n\n \n }\n\n \n\n\n\n \n \n\n\n\n\n \n \n \n\n\n \n\n\n\n\n \n\n \n\n \n\n \n \n\n\n \n \n\n\n \n\n \n\n \n \n \n \n \n \n \n \n \n //xor range query\n static long xor(long n)\n {\n \n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n \n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n \n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char[] c,int a,int b)\n {\n char t = c[a];\n c[a] = c[b];\n c[b] = t;\n }\n \n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n \n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n \n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n \n String si() throws IOException\n {\n return in.next();\n }\n \n \n \n \n static long abs(long n)\n {\n return Math.abs(n);\n }\n \n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n \n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n \n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n \n public String nextLine() throws IOException {return br.readLine();}\n \n public boolean ready() throws IOException {return br.ready();}\n \n \n }\n \n \n}",
"public class Main\n{ \n \n //Life's a bitch\n //I'll never stop.\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n \n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n \n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n \n long expo(long a,long b)\n {\n long result = 1;\n\n while (b>0){\n if ((b%2)==1){\n result *= a;\n }\n b >>=1 ;\n a *= a;\n }\n\n return result;\n }\n \n \n \n \n \n \n static boolean isSorted(int[] a)\n {\n for(int i=0;i<a.length-1;i++)\n {\n if(a[i]>a[i+1])\n {\n return false;\n } \n }\n return true;\n }\n \n \n \n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n \n \n \n static long LCM(long a,long b)\n {\n return (a*b)/GCD(a,b);\n }\n \n \n Scanner in = new Scanner(System.in);\n // static int[] arr,tree[],lev;\n void run() throws IOException\n {\n \n int n = ni();\n int k = ni();\n HashSet<Integer> hash = new HashSet<>();\n\n while(k-->0)\n {\n int di = ni();\n for(int i=0;i<di;i++)\n {\n int ai = ni();\n hash.add(ai);\n }\n }\n\n printL(n-hash.size());\n \n \n\n \n }\n\n \n\n\n\n \n \n\n\n\n\n \n \n \n\n\n \n\n\n\n\n \n\n \n\n \n\n \n \n\n\n \n \n\n\n \n\n \n\n \n \n \n \n \n \n \n \n \n //xor range query\n static long xor(long n)\n {\n \n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n \n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n \n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char[] c,int a,int b)\n {\n char t = c[a];\n c[a] = c[b];\n c[b] = t;\n }\n \n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n \n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n \n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n \n String si() throws IOException\n {\n return in.next();\n }\n \n \n \n \n static long abs(long n)\n {\n return Math.abs(n);\n }\n \n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n \n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n \n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n \n public String nextLine() throws IOException {return br.readLine();}\n \n public boolean ready() throws IOException {return br.ready();}\n \n \n }\n \n \n}",
"Main"
] |
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.util.*;
import java.math.*;
import java.io.*;
import java.text.*;
import java.math.BigInteger;
public class Main
{
//Life's a bitch
//I'll never stop.
public static boolean[] sieve(long n)
{
boolean[] prime = new boolean[(int)n+1];
Arrays.fill(prime,true);
prime[0] = false;
prime[1] = false;
long m = (long)Math.sqrt(n);
for(int i=2;i<=m;i++)
{
if(prime[i])
{
for(int k=i*i;k<=n;k+=i)
{
prime[k] = false;
}
}
}
return prime;
}
static long GCD(long a,long b)
{
if(b==0)
{
return a;
}
return GCD(b,a%b);
}
static long CountCoPrimes(long n)
{
long res = n;
for(int i=2;i*i<=n;i++)
{
if(n%i==0)
{
while(n%i==0)
{
n/=i;
}
res-=res/i;
}
}
if(n>1)
{
res-=res/n;
}
return res;
}
long expo(long a,long b)
{
long result = 1;
while (b>0){
if ((b%2)==1){
result *= a;
}
b >>=1 ;
a *= a;
}
return result;
}
static boolean isSorted(int[] a)
{
for(int i=0;i<a.length-1;i++)
{
if(a[i]>a[i+1])
{
return false;
}
}
return true;
}
public static void main(String[] args) throws IOException
{
new Main().run();
}
static long LCM(long a,long b)
{
return (a*b)/GCD(a,b);
}
Scanner in = new Scanner(System.in);
// static int[] arr,tree[],lev;
void run() throws IOException
{
int n = ni();
int k = ni();
HashSet<Integer> hash = new HashSet<>();
while(k-->0)
{
int di = ni();
for(int i=0;i<di;i++)
{
int ai = ni();
hash.add(ai);
}
}
printL(n-hash.size());
}
//xor range query
static long xor(long n)
{
if(n%4==0)
{
return n;
}
if(n%4==1)
{
return 1;
}
if(n%4==2)
{
return n+1;
}
return 0;
}
static long xor(long a,long b)
{
return xor(b)^xor(a-1);
}
void printL(long a)
{
System.out.println(a);
}
void printS(String s)
{
System.out.println(s);
}
void printD(Double d)
{
System.out.println(d);
}
static void swap(char[] c,int a,int b)
{
char t = c[a];
c[a] = c[b];
c[b] = t;
}
static long max(long n,long m)
{
return Math.max(n,m);
}
static long min(long n,long m)
{
return Math.min(n,m);
}
double nd() throws IOException
{
return Double.parseDouble(in.next());
}
int ni() throws IOException
{
return Integer.parseInt(in.next());
}
long nl() throws IOException
{
return Long.parseLong(in.next());
}
String si() throws IOException
{
return in.next();
}
static long abs(long n)
{
return Math.abs(n);
}
static class Scanner
{
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}
public String next() throws IOException
{
while (st == null || !st.hasMoreTokens())
{
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public int nextInt() throws IOException {return Integer.parseInt(next());}
public long nextLong() throws IOException {return Long.parseLong(next());}
public String nextLine() throws IOException {return br.readLine();}
public boolean ready() throws IOException {return br.ready();}
}
}
class Pair implements Comparable<Pair>
{
int x,y;
public Pair(int x,int y)
{
this.x = x;
this.y = y;
}
public int compareTo(Pair o)
{
return this.y-o.y;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
41,
13,
4,
18,
4,
18,
4,
18,
13,
17,
28,
13,
13,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
13,
4,
18,
13,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
20,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
14,
44
],
[
44,
45
],
[
44,
46
],
[
14,
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
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
65,
72
],
[
59,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
14,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
12,
94
],
[
94,
95
]
] |
[
"import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\n/**\n * Created with IntelliJ IDEA.\n * User: ngupta\n * Date: 4/5/2020 AD\n * Time: 23:41\n */\nclass Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String[] NK = sc.nextLine().trim().split(\" \");\n int N = Integer.parseInt(NK[0]);\n int K = Integer.parseInt(NK[1]);\n Set<Integer> set = new HashSet<>();\n for (int i = 0; i < K; i++) {\n sc.nextLine();\n String[] snukes = sc.nextLine().trim().split(\" \");\n for (String sn : snukes)\n set.add(Integer.parseInt(sn));\n }\n\n System.out.println(N - set.size());\n }\n}",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String[] NK = sc.nextLine().trim().split(\" \");\n int N = Integer.parseInt(NK[0]);\n int K = Integer.parseInt(NK[1]);\n Set<Integer> set = new HashSet<>();\n for (int i = 0; i < K; i++) {\n sc.nextLine();\n String[] snukes = sc.nextLine().trim().split(\" \");\n for (String sn : snukes)\n set.add(Integer.parseInt(sn));\n }\n\n System.out.println(N - set.size());\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String[] NK = sc.nextLine().trim().split(\" \");\n int N = Integer.parseInt(NK[0]);\n int K = Integer.parseInt(NK[1]);\n Set<Integer> set = new HashSet<>();\n for (int i = 0; i < K; i++) {\n sc.nextLine();\n String[] snukes = sc.nextLine().trim().split(\" \");\n for (String sn : snukes)\n set.add(Integer.parseInt(sn));\n }\n\n System.out.println(N - set.size());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] NK = sc.nextLine().trim().split(\" \");\n int N = Integer.parseInt(NK[0]);\n int K = Integer.parseInt(NK[1]);\n Set<Integer> set = new HashSet<>();\n for (int i = 0; i < K; i++) {\n sc.nextLine();\n String[] snukes = sc.nextLine().trim().split(\" \");\n for (String sn : snukes)\n set.add(Integer.parseInt(sn));\n }\n\n System.out.println(N - set.size());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] NK = sc.nextLine().trim().split(\" \");",
"NK",
"sc.nextLine().trim().split(\" \")",
"sc.nextLine().trim().split",
"sc.nextLine().trim()",
"sc.nextLine().trim",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int N = Integer.parseInt(NK[0]);",
"N",
"Integer.parseInt(NK[0])",
"Integer.parseInt",
"Integer",
"NK[0]",
"NK",
"0",
"int K = Integer.parseInt(NK[1]);",
"K",
"Integer.parseInt(NK[1])",
"Integer.parseInt",
"Integer",
"NK[1]",
"NK",
"1",
"Set<Integer> set = new HashSet<>();",
"set",
"new HashSet<>()",
"for (int i = 0; i < K; i++) {\n sc.nextLine();\n String[] snukes = sc.nextLine().trim().split(\" \");\n for (String sn : snukes)\n set.add(Integer.parseInt(sn));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < K",
"i",
"K",
"i++",
"i++",
"i",
"{\n sc.nextLine();\n String[] snukes = sc.nextLine().trim().split(\" \");\n for (String sn : snukes)\n set.add(Integer.parseInt(sn));\n }",
"{\n sc.nextLine();\n String[] snukes = sc.nextLine().trim().split(\" \");\n for (String sn : snukes)\n set.add(Integer.parseInt(sn));\n }",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] snukes = sc.nextLine().trim().split(\" \");",
"snukes",
"sc.nextLine().trim().split(\" \")",
"sc.nextLine().trim().split",
"sc.nextLine().trim()",
"sc.nextLine().trim",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"for (String sn : snukes)\n set.add(Integer.parseInt(sn));",
"String sn",
"snukes",
"set.add(Integer.parseInt(sn));",
"set.add(Integer.parseInt(sn))",
"set.add",
"set",
"Integer.parseInt(sn)",
"Integer.parseInt",
"Integer",
"sn",
"System.out.println(N - set.size())",
"System.out.println",
"System.out",
"System",
"System.out",
"N - set.size()",
"N",
"set.size()",
"set.size",
"set",
"String[] args",
"args"
] |
import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;
/**
* Created with IntelliJ IDEA.
* User: ngupta
* Date: 4/5/2020 AD
* Time: 23:41
*/
class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
String[] NK = sc.nextLine().trim().split(" ");
int N = Integer.parseInt(NK[0]);
int K = Integer.parseInt(NK[1]);
Set<Integer> set = new HashSet<>();
for (int i = 0; i < K; i++) {
sc.nextLine();
String[] snukes = sc.nextLine().trim().split(" ");
for (String sn : snukes)
set.add(Integer.parseInt(sn));
}
System.out.println(N - set.size());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
40,
17,
30,
40,
13,
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
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
8,
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
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
60,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
84,
90
],
[
8,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
99,
100
],
[
100,
101
],
[
91,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
104,
111
],
[
111,
112
],
[
112,
113
],
[
8,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
6,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] |
[
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n \tint K = sc.nextInt();\n int[] check = new int[N];\n int counter = 0;\n \n for(int q=0; q<N; q++){\n check[q] = -1;\n }\n \n \tfor(int i=0; i<K; i++){\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }\n \n\t\tfor(int r=0; r<N; r++){\n if(check[r] == -1){\n counter++;\n }\n }\n \n System.out.println(counter);\n }\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 N = sc.nextInt();\n \tint K = sc.nextInt();\n int[] check = new int[N];\n int counter = 0;\n \n for(int q=0; q<N; q++){\n check[q] = -1;\n }\n \n \tfor(int i=0; i<K; i++){\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }\n \n\t\tfor(int r=0; r<N; r++){\n if(check[r] == -1){\n counter++;\n }\n }\n \n System.out.println(counter);\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n \tint K = sc.nextInt();\n int[] check = new int[N];\n int counter = 0;\n \n for(int q=0; q<N; q++){\n check[q] = -1;\n }\n \n \tfor(int i=0; i<K; i++){\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }\n \n\t\tfor(int r=0; r<N; r++){\n if(check[r] == -1){\n counter++;\n }\n }\n \n System.out.println(counter);\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n \tint K = sc.nextInt();\n int[] check = new int[N];\n int counter = 0;\n \n for(int q=0; q<N; q++){\n check[q] = -1;\n }\n \n \tfor(int i=0; i<K; i++){\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }\n \n\t\tfor(int r=0; r<N; r++){\n if(check[r] == -1){\n counter++;\n }\n }\n \n System.out.println(counter);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int N = sc.nextInt();",
"N",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int K = sc.nextInt();",
"K",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int[] check = new int[N];",
"check",
"new int[N]",
"N",
"int counter = 0;",
"counter",
"0",
"for(int q=0; q<N; q++){\n check[q] = -1;\n }",
"int q=0;",
"int q=0;",
"q",
"0",
"q<N",
"q",
"N",
"q++",
"q++",
"q",
"{\n check[q] = -1;\n }",
"{\n check[q] = -1;\n }",
"check[q] = -1",
"check[q]",
"check",
"q",
"-1",
"1",
"for(int i=0; i<K; i++){\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<K",
"i",
"K",
"i++",
"i++",
"i",
"{\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }",
"{\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }",
"int d = sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<d",
"j",
"d",
"j++",
"j++",
"j",
"{\n int a = sc.nextInt();\n check[a-1] = 0;\n }",
"{\n int a = sc.nextInt();\n check[a-1] = 0;\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"check[a-1] = 0",
"check[a-1]",
"check",
"a-1",
"a",
"1",
"0",
"for(int r=0; r<N; r++){\n if(check[r] == -1){\n counter++;\n }\n }",
"int r=0;",
"int r=0;",
"r",
"0",
"r<N",
"r",
"N",
"r++",
"r++",
"r",
"{\n if(check[r] == -1){\n counter++;\n }\n }",
"{\n if(check[r] == -1){\n counter++;\n }\n }",
"if(check[r] == -1){\n counter++;\n }",
"check[r] == -1",
"check[r]",
"check",
"r",
"-1",
"1",
"{\n counter++;\n }",
"counter++",
"counter",
"System.out.println(counter)",
"System.out.println",
"System.out",
"System",
"System.out",
"counter",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n \tint K = sc.nextInt();\n int[] check = new int[N];\n int counter = 0;\n \n for(int q=0; q<N; q++){\n check[q] = -1;\n }\n \n \tfor(int i=0; i<K; i++){\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }\n \n\t\tfor(int r=0; r<N; r++){\n if(check[r] == -1){\n counter++;\n }\n }\n \n System.out.println(counter);\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n \tint K = sc.nextInt();\n int[] check = new int[N];\n int counter = 0;\n \n for(int q=0; q<N; q++){\n check[q] = -1;\n }\n \n \tfor(int i=0; i<K; i++){\n int d = sc.nextInt();\n for(int j=0; j<d; j++){\n int a = sc.nextInt();\n check[a-1] = 0;\n }\n }\n \n\t\tfor(int r=0; r<N; r++){\n if(check[r] == -1){\n counter++;\n }\n }\n \n System.out.println(counter);\n }\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int K = sc.nextInt();
int[] check = new int[N];
int counter = 0;
for(int q=0; q<N; q++){
check[q] = -1;
}
for(int i=0; i<K; i++){
int d = sc.nextInt();
for(int j=0; j<d; j++){
int a = sc.nextInt();
check[a-1] = 0;
}
}
for(int r=0; r<N; r++){
if(check[r] == -1){
counter++;
}
}
System.out.println(counter);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
13,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
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
],
[
225,
17
],
[
225,
18
],
[
18,
19
],
[
18,
20
],
[
225,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
21,
37
],
[
37,
38
],
[
21,
39
],
[
39,
40
],
[
225,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
43,
57
],
[
57,
58
],
[
57,
59
],
[
43,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
43,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
109,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
116,
121
],
[
115,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
43,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
131,
132
],
[
132,
133
],
[
41,
134
],
[
134,
135
],
[
225,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
136,
140
],
[
140,
141
],
[
136,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
136,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
151,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
161,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
150,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
136,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
136,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
192,
193
],
[
136,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
136,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
209,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
205,
222
],
[
222,
223
],
[
0,
224
],
[
224,
225
],
[
224,
226
]
] |
[
"import java.io.*;\n\nimport java.math.BigInteger;\nimport java.util.*;\n\nimport java.util.ArrayList;\n\nimport java.util.Scanner;\n\n\npublic class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int k=sc.nextInt();\n HashMap<Integer,Integer>hm=new HashMap<>();\n for(int j=0;j<n;j++)\n hm.put(j+1,1);\n for(int j=0;j<k;j++)\n {\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }\n System.out.println(hm.size());\n\n\n }\n}\n\n\n\n\n\n\n",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int k=sc.nextInt();\n HashMap<Integer,Integer>hm=new HashMap<>();\n for(int j=0;j<n;j++)\n hm.put(j+1,1);\n for(int j=0;j<k;j++)\n {\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }\n System.out.println(hm.size());\n\n\n }\n}",
"Main",
"static final int mod = 1000000007;",
"mod",
"1000000007",
"public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"gcd",
"{\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }",
"if (a == 0)\n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int k=sc.nextInt();\n HashMap<Integer,Integer>hm=new HashMap<>();\n for(int j=0;j<n;j++)\n hm.put(j+1,1);\n for(int j=0;j<k;j++)\n {\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }\n System.out.println(hm.size());\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int k=sc.nextInt();\n HashMap<Integer,Integer>hm=new HashMap<>();\n for(int j=0;j<n;j++)\n hm.put(j+1,1);\n for(int j=0;j<k;j++)\n {\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }\n System.out.println(hm.size());\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int k=sc.nextInt();",
"k",
"sc.nextInt()",
"sc.nextInt",
"sc",
"HashMap<Integer,Integer>hm=new HashMap<>();",
"hm",
"new HashMap<>()",
"for(int j=0;j<n;j++)\n hm.put(j+1,1);",
"int j=0;",
"int j=0;",
"j",
"0",
"j<n",
"j",
"n",
"j++",
"j++",
"j",
"hm.put(j+1,1);",
"hm.put(j+1,1)",
"hm.put",
"hm",
"j+1",
"j",
"1",
"1",
"for(int j=0;j<k;j++)\n {\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }",
"int j=0;",
"int j=0;",
"j",
"0",
"j<k",
"j",
"k",
"j++",
"j++",
"j",
"{\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }",
"{\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }",
"int d=sc.nextInt();",
"d",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }",
"int l=0;",
"int l=0;",
"l",
"0",
"l<d",
"l",
"d",
"l++",
"l++",
"l",
"{\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }",
"{\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }",
"int m=sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(hm.get(m)!=null)\n hm.remove(m);",
"hm.get(m)!=null",
"hm.get(m)",
"hm.get",
"hm",
"m",
"null",
"hm.remove(m)",
"hm.remove",
"hm",
"m",
"System.out.println(hm.size())",
"System.out.println",
"System.out",
"System",
"System.out",
"hm.size()",
"hm.size",
"hm",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\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",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int k=sc.nextInt();\n HashMap<Integer,Integer>hm=new HashMap<>();\n for(int j=0;j<n;j++)\n hm.put(j+1,1);\n for(int j=0;j<k;j++)\n {\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }\n System.out.println(hm.size());\n\n\n }\n}",
"public class Main {\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static final int mod = 1000000007;\n\n public static int gcd(int a, int b)\n {\n if (a == 0)\n return b;\n return gcd(b % a, a);\n }\n\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n int k=sc.nextInt();\n HashMap<Integer,Integer>hm=new HashMap<>();\n for(int j=0;j<n;j++)\n hm.put(j+1,1);\n for(int j=0;j<k;j++)\n {\n int d=sc.nextInt();\n for(int l=0;l<d;l++)\n {\n int m=sc.nextInt();\n if(hm.get(m)!=null)\n hm.remove(m);\n\n }\n }\n System.out.println(hm.size());\n\n\n }\n}",
"Main"
] |
import java.io.*;
import java.math.BigInteger;
import java.util.*;
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
static final int mod = 1000000007;
public static int gcd(int a, int b)
{
if (a == 0)
return b;
return gcd(b % a, a);
}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n=sc.nextInt();
int k=sc.nextInt();
HashMap<Integer,Integer>hm=new HashMap<>();
for(int j=0;j<n;j++)
hm.put(j+1,1);
for(int j=0;j<k;j++)
{
int d=sc.nextInt();
for(int l=0;l<d;l++)
{
int m=sc.nextInt();
if(hm.get(m)!=null)
hm.remove(m);
}
}
System.out.println(hm.size());
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.