node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 18, 13, 13, 4, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 29, 4, 13, 13, 13, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 12, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 6, 28 ], [ 28, 29 ], [ 4, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 39, 42 ], [ 32, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 32, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 30, 57 ], [ 57, 58 ], [ 30, 59 ], [ 59, 60 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n System.out.println(gcd(sc.nextInt(), sc.nextInt()));\n sc.close();\n }\n public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n System.out.println(gcd(sc.nextInt(), sc.nextInt()));\n sc.close();\n }\n public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n System.out.println(gcd(sc.nextInt(), sc.nextInt()));\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n System.out.println(gcd(sc.nextInt(), sc.nextInt()));\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "System.out.println(gcd(sc.nextInt(), sc.nextInt()))", "System.out.println", "System.out", "System", "System.out", "gcd(sc.nextInt(), sc.nextInt())", "gcd", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "String args[]", "args", "public static int gcd(int a, int b) {\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }", "gcd", "{\n if (a < b) {\n return gcd(b, a);\n }\n if (b == 0) {\n return a;\n }\n return gcd(b, a % b);\n }", "if (a < b) {\n return gcd(b, a);\n }", "a < b", "a", "b", "{\n return gcd(b, a);\n }", "return gcd(b, a);", "gcd(b, a)", "gcd", "b", "a", "if (b == 0) {\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", "int a", "a", "int b", "b" ]
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); System.out.println(gcd(sc.nextInt(), sc.nextInt())); sc.close(); } public static int gcd(int a, int b) { if (a < b) { return gcd(b, a); } if (b == 0) { return a; } return gcd(b, a % b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 30, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 13, 30, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 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 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 30, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 28, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 24, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 54, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 50, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 6, 82 ], [ 82, 83 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint tmp;\n\t\t\n\t\tif(x > y) {\n\t\t\twhile ((tmp = x % y) != 0) {\n\t x = y;\n\t y = tmp;\n\t }\n\t\t\tSystem.out.println(y);\n\t\t}else if(x < y) {\n\t\t\twhile ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }\n\t\t\tSystem.out.println(x);\n\t\t}else System.out.println(y);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint tmp;\n\t\t\n\t\tif(x > y) {\n\t\t\twhile ((tmp = x % y) != 0) {\n\t x = y;\n\t y = tmp;\n\t }\n\t\t\tSystem.out.println(y);\n\t\t}else if(x < y) {\n\t\t\twhile ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }\n\t\t\tSystem.out.println(x);\n\t\t}else System.out.println(y);\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint tmp;\n\t\t\n\t\tif(x > y) {\n\t\t\twhile ((tmp = x % y) != 0) {\n\t x = y;\n\t y = tmp;\n\t }\n\t\t\tSystem.out.println(y);\n\t\t}else if(x < y) {\n\t\t\twhile ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }\n\t\t\tSystem.out.println(x);\n\t\t}else System.out.println(y);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\t\n\t\tint tmp;\n\t\t\n\t\tif(x > y) {\n\t\t\twhile ((tmp = x % y) != 0) {\n\t x = y;\n\t y = tmp;\n\t }\n\t\t\tSystem.out.println(y);\n\t\t}else if(x < y) {\n\t\t\twhile ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }\n\t\t\tSystem.out.println(x);\n\t\t}else System.out.println(y);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "int tmp;", "tmp", "if(x > y) {\n\t\t\twhile ((tmp = x % y) != 0) {\n\t x = y;\n\t y = tmp;\n\t }\n\t\t\tSystem.out.println(y);\n\t\t}else if(x < y) {\n\t\t\twhile ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }\n\t\t\tSystem.out.println(x);\n\t\t}else System.out.println(y);", "x > y", "x", "y", "{\n\t\t\twhile ((tmp = x % y) != 0) {\n\t x = y;\n\t y = tmp;\n\t }\n\t\t\tSystem.out.println(y);\n\t\t}", "while ((tmp = x % y) != 0) {\n\t x = y;\n\t y = tmp;\n\t }", "(tmp = x % y) != 0", "(tmp = x % y)", "tmp", "x % y", "x", "y", "0", "{\n\t x = y;\n\t y = tmp;\n\t }", "x = y", "x", "y", "y = tmp", "y", "tmp", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "if(x < y) {\n\t\t\twhile ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }\n\t\t\tSystem.out.println(x);\n\t\t}else System.out.println(y);", "x < y", "x", "y", "{\n\t\t\twhile ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }\n\t\t\tSystem.out.println(x);\n\t\t}", "while ((tmp = y % x) != 0) {\n\t y = x;\n\t x = tmp;\n\t }", "(tmp = y % x) != 0", "(tmp = y % x)", "tmp", "y % x", "y", "x", "0", "{\n\t y = x;\n\t x = tmp;\n\t }", "y = x", "y", "x", "x = tmp", "x", "tmp", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); int tmp; if(x > y) { while ((tmp = x % y) != 0) { x = y; y = tmp; } System.out.println(y); }else if(x < y) { while ((tmp = y % x) != 0) { y = x; x = tmp; } System.out.println(x); }else System.out.println(y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 64, 5 ], [ 64, 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 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 64, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 45, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 35, 57 ], [ 57, 58 ], [ 33, 59 ], [ 59, 60 ], [ 33, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\n\tpublic static int gcd(int x, int y) {\n\n\t\tint r = x % y;\n\t\twhile (r != 0) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}\n\t\treturn y;\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\n\tpublic static int gcd(int x, int y) {\n\n\t\tint r = x % y;\n\t\twhile (r != 0) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}\n\t\treturn y;\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\tSystem.out.println(gcd(x, y));\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\tSystem.out.println(gcd(x, y));\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int x = scanner.nextInt();", "x", "scanner.nextInt()", "scanner.nextInt", "scanner", "int y = scanner.nextInt();", "y", "scanner.nextInt()", "scanner.nextInt", "scanner", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "public static int gcd(int x, int y) {\n\n\t\tint r = x % y;\n\t\twhile (r != 0) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}\n\t\treturn y;\n\t}", "gcd", "{\n\n\t\tint r = x % y;\n\t\twhile (r != 0) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}\n\t\treturn y;\n\t}", "int r = x % y;", "r", "x % y", "x", "y", "while (r != 0) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}", "r != 0", "r", "0", "{\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}", "x = y", "x", "y", "y = r", "y", "r", "r = x % y", "r", "x % y", "x", "y", "return y;", "y", "int x", "x", "int y", "y", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\n\tpublic static int gcd(int x, int y) {\n\n\t\tint r = x % y;\n\t\twhile (r != 0) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}\n\t\treturn y;\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x = scanner.nextInt();\n\t\tint y = scanner.nextInt();\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\n\tpublic static int gcd(int x, int y) {\n\n\t\tint r = x % y;\n\t\twhile (r != 0) {\n\t\t\tx = y;\n\t\t\ty = r;\n\t\t\tr = x % y;\n\t\t}\n\t\treturn y;\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); int y = scanner.nextInt(); System.out.println(gcd(x, y)); } public static int gcd(int x, int y) { int r = x % y; while (r != 0) { x = y; y = r; r = x % y; } return y; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 13, 30, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 15, 21 ], [ 21, 22 ], [ 21, 23 ], [ 15, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 6, 29 ], [ 29, 30 ], [ 6, 31 ], [ 31, 32 ], [ 86, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 35, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 56, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 49, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 73, 76 ], [ 70, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 33, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tstatic int gcd(int a, int b){\n\t\tint c;\n\t\twhile (b>0){\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}\n\t\treturn a;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x>=y){\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t} else if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic int gcd(int a, int b){\n\t\tint c;\n\t\twhile (b>0){\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}\n\t\treturn a;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x>=y){\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t} else if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}\n\t}\n}", "Main", "static int gcd(int a, int b){\n\t\tint c;\n\t\twhile (b>0){\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}\n\t\treturn a;\n\t}", "gcd", "{\n\t\tint c;\n\t\twhile (b>0){\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}\n\t\treturn a;\n\t}", "int c;", "c", "while (b>0){\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}", "b>0", "b", "0", "{\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}", "c=a%b", "c", "a%b", "a", "b", "a=b", "a", "b", "b=c", "b", "c", "return a;", "a", "int a", "a", "int b", "b", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x>=y){\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t} else if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x>=y){\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t} else if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if (x>=y){\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t} else if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}", "x>=y", "x", "y", "{\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t}", "int n =gcd(x,y);", "n", "gcd(x,y)", "gcd", "x", "y", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}", "y>x", "y", "x", "{\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}", "int n =gcd(y,x);", "n", "gcd(y,x)", "gcd", "y", "x", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "String[] args", "args", "public class Main {\n\tstatic int gcd(int a, int b){\n\t\tint c;\n\t\twhile (b>0){\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}\n\t\treturn a;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x>=y){\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t} else if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}\n\t}\n}", "public class Main {\n\tstatic int gcd(int a, int b){\n\t\tint c;\n\t\twhile (b>0){\n\t\t\tc=a%b;\n\t\t\ta=b;\n\t\t\tb=c;\n\t\t}\n\t\treturn a;\n\t}\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif (x>=y){\n\t\t\tint n =gcd(x,y);\n\t\t\t System.out.println(n);\n\t} else if (y>x){\n\t\tint n =gcd(y,x);\n\t\t\t System.out.println(n);\n\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { static int gcd(int a, int b){ int c; while (b>0){ c=a%b; a=b; b=c; } return a; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if (x>=y){ int n =gcd(x,y); System.out.println(n); } else if (y>x){ int n =gcd(y,x); System.out.println(n); } } }
[ 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, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 13, 30, 41, 13, 2, 13, 13, 41, 13, 2, 13, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 118, 8 ], [ 118, 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 ], [ 32, 33 ], [ 11, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 38, 49 ], [ 49, 50 ], [ 49, 51 ], [ 38, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 38, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 34, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 75, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 75, 86 ], [ 86, 87 ], [ 86, 88 ], [ 75, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 75, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 71, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 9, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tInteger x = Integer.parseInt(s.next());\n\t\tInteger y = Integer.parseInt(s.next());\n\t\ts.close();\n\t\tif(x > y){\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tInteger x = Integer.parseInt(s.next());\n\t\tInteger y = Integer.parseInt(s.next());\n\t\ts.close();\n\t\tif(x > y){\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "Main", "/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tInteger x = Integer.parseInt(s.next());\n\t\tInteger y = Integer.parseInt(s.next());\n\t\ts.close();\n\t\tif(x > y){\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}", "main", "{\n\t\tScanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tInteger x = Integer.parseInt(s.next());\n\t\tInteger y = Integer.parseInt(s.next());\n\t\ts.close();\n\t\tif(x > y){\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}", "Scanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "s", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "Integer x = Integer.parseInt(s.next());", "x", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "Integer y = Integer.parseInt(s.next());", "y", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "s.close()", "s.close", "s", "if(x > y){\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}", "x > y", "x", "y", "{\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}", "Integer remain = x % y;", "remain", "x % y", "x", "y", "Integer new_remain = y % remain;", "new_remain", "y % remain", "y", "remain", "Integer bkp = 0;", "bkp", "0", "while(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}", "new_remain > 0", "new_remain", "0", "{\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}", "bkp = new_remain", "bkp", "new_remain", "new_remain = remain % new_remain", "new_remain", "remain % new_remain", "remain", "new_remain", "System.out.println(bkp)", "System.out.println", "System.out", "System", "System.out", "bkp", "if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}", "y > x", "y", "x", "{\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}", "Integer remain = y % x;", "remain", "y % x", "y", "x", "Integer new_remain = x % remain;", "new_remain", "x % remain", "x", "remain", "Integer bkp = 0;", "bkp", "0", "while(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}", "new_remain > 0", "new_remain", "0", "{\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}", "bkp = new_remain", "bkp", "new_remain", "new_remain = remain % new_remain", "new_remain", "remain % new_remain", "remain", "new_remain", "System.out.println(bkp)", "System.out.println", "System.out", "System", "System.out", "bkp", "{\n\t\t\tSystem.out.println(y);\n\t\t}", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args", "public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tInteger x = Integer.parseInt(s.next());\n\t\tInteger y = Integer.parseInt(s.next());\n\t\ts.close();\n\t\tif(x > y){\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tInteger x = Integer.parseInt(s.next());\n\t\tInteger y = Integer.parseInt(s.next());\n\t\ts.close();\n\t\tif(x > y){\n\t\t\tInteger remain = x % y;\n\t\t\tInteger new_remain = y % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse if(y > x){\n\t\t\tInteger remain = y % x;\n\t\t\tInteger new_remain = x % remain;\n\t\t\tInteger bkp = 0;\n\t\t\twhile(new_remain > 0){\n\t\t\t\tbkp = new_remain;\n\t\t\t\tnew_remain = remain % new_remain;\n\t\t\t}\n\t\t\tSystem.out.println(bkp);\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { /** * @param args */ public static void main(String[] args) { Scanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in))); Integer x = Integer.parseInt(s.next()); Integer y = Integer.parseInt(s.next()); s.close(); if(x > y){ Integer remain = x % y; Integer new_remain = y % remain; Integer bkp = 0; while(new_remain > 0){ bkp = new_remain; new_remain = remain % new_remain; } System.out.println(bkp); } else if(y > x){ Integer remain = y % x; Integer new_remain = x % remain; Integer bkp = 0; while(new_remain > 0){ bkp = new_remain; new_remain = remain % new_remain; } System.out.println(bkp); } else{ System.out.println(y); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 13, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 12, 13, 30, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 18, 13, 17, 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 2, 18, 13, 13, 17, 30, 0, 13, 4, 18, 13, 18, 13, 13, 30, 0, 13, 2, 4, 18, 13, 18, 13, 13, 17, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 13, 29, 13, 23, 13, 12, 13, 30, 4, 13, 4, 13, 4, 13, 4, 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 ], [ 233, 11 ], [ 233, 12 ], [ 12, 13 ], [ 233, 14 ], [ 14, 15 ], [ 233, 16 ], [ 16, 17 ], [ 233, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 233, 35 ], [ 35, 36 ], [ 35, 37 ], [ 233, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 41, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 38, 56 ], [ 56, 57 ], [ 38, 58 ], [ 58, 59 ], [ 233, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 233, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 233, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 233, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 92, 93 ], [ 233, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 96, 107 ], [ 107, 108 ], [ 107, 109 ], [ 110, 111 ], [ 110, 112 ], [ 96, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 113, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 135, 136 ], [ 135, 137 ], [ 96, 138 ], [ 138, 139 ], [ 233, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 153, 155 ], [ 146, 156 ], [ 156, 157 ], [ 157, 158 ], [ 146, 159 ], [ 160, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 161, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 172, 175 ], [ 175, 176 ], [ 175, 177 ], [ 161, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 185, 186 ], [ 185, 187 ], [ 181, 188 ], [ 142, 189 ], [ 189, 190 ], [ 140, 191 ], [ 191, 192 ], [ 233, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 199, 207 ], [ 207, 208 ], [ 208, 209 ], [ 199, 210 ], [ 211, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 195, 215 ], [ 215, 216 ], [ 193, 217 ], [ 217, 218 ], [ 233, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 224, 225 ], [ 221, 226 ], [ 226, 227 ], [ 221, 228 ], [ 228, 229 ], [ 219, 230 ], [ 230, 231 ], [ 0, 232 ], [ 232, 233 ], [ 232, 234 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tstatic int x, y;\n\t\n\tstatic void input() throws IOException {\n\t\tint[] num = readMultiInt();\n\t\tx = num[0];\n\t\ty = num[1];\n\t}\n\t\n\tstatic void process() {\n\t}\n\t\n\tstatic int gcd(int num1, int num2) {\n\t\tif(num2 == 0) {\n\t\t\treturn num1;\n\t\t} else {\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}\n\t}\n\t\n\tstatic void output() {\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\t\n\t//??\\?????ยฑ?????ยจ???\n\tstatic BufferedReader in;\n\t\n\tstatic void initBufferedReader() {\n\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\t\n\tstatic String readString() throws IOException {\n\t\treturn in.readLine();\n\t}\n\t\n\tstatic int readInt() throws NumberFormatException, IOException {\n\t\treturn Integer.valueOf(readString());\n\t}\n\t\n\tstatic int[] readMultiInt() throws IOException {\n\t\tString input = readString();\n\t\tString[] values = input.split(\" \");\n\t\tint[] result = new int[values.length];\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic String arrayToString(int[] data) {\n\t\tString result = \"\";\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic long factional(int n) {\n\t\tint result = 1;\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult *= i;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tinitBufferedReader();\n\t\tinput();\n\t\tprocess();\n\t\toutput();\n\t}\n\t\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\t\n\tstatic int x, y;\n\t\n\tstatic void input() throws IOException {\n\t\tint[] num = readMultiInt();\n\t\tx = num[0];\n\t\ty = num[1];\n\t}\n\t\n\tstatic void process() {\n\t}\n\t\n\tstatic int gcd(int num1, int num2) {\n\t\tif(num2 == 0) {\n\t\t\treturn num1;\n\t\t} else {\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}\n\t}\n\t\n\tstatic void output() {\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\t\n\t//??\\?????ยฑ?????ยจ???\n\tstatic BufferedReader in;\n\t\n\tstatic void initBufferedReader() {\n\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\t\n\tstatic String readString() throws IOException {\n\t\treturn in.readLine();\n\t}\n\t\n\tstatic int readInt() throws NumberFormatException, IOException {\n\t\treturn Integer.valueOf(readString());\n\t}\n\t\n\tstatic int[] readMultiInt() throws IOException {\n\t\tString input = readString();\n\t\tString[] values = input.split(\" \");\n\t\tint[] result = new int[values.length];\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic String arrayToString(int[] data) {\n\t\tString result = \"\";\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic long factional(int n) {\n\t\tint result = 1;\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult *= i;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tinitBufferedReader();\n\t\tinput();\n\t\tprocess();\n\t\toutput();\n\t}\n\t\n}", "Main", "static int x", "x", "y;", "y", "//??\\?????ยฑ?????ยจ???\n\tstatic BufferedReader in;", "in", "static void input() throws IOException {\n\t\tint[] num = readMultiInt();\n\t\tx = num[0];\n\t\ty = num[1];\n\t}", "input", "{\n\t\tint[] num = readMultiInt();\n\t\tx = num[0];\n\t\ty = num[1];\n\t}", "int[] num = readMultiInt();", "num", "readMultiInt()", "readMultiInt", "x = num[0]", "x", "num[0]", "num", "0", "y = num[1]", "y", "num[1]", "num", "1", "static void process() {\n\t}", "process", "{\n\t}", "static int gcd(int num1, int num2) {\n\t\tif(num2 == 0) {\n\t\t\treturn num1;\n\t\t} else {\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}\n\t}", "gcd", "{\n\t\tif(num2 == 0) {\n\t\t\treturn num1;\n\t\t} else {\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}\n\t}", "if(num2 == 0) {\n\t\t\treturn num1;\n\t\t} else {\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}", "num2 == 0", "num2", "0", "{\n\t\t\treturn num1;\n\t\t}", "return num1;", "num1", "{\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}", "return gcd(num2, num1 % num2);", "gcd(num2, num1 % num2)", "gcd", "num2", "num1 % num2", "num1", "num2", "int num1", "num1", "int num2", "num2", "static void output() {\n\t\tSystem.out.println(gcd(x, y));\n\t}", "output", "{\n\t\tSystem.out.println(gcd(x, y));\n\t}", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "static void initBufferedReader() {\n\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t}", "initBufferedReader", "{\n\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t}", "in = new BufferedReader(new InputStreamReader(System.in))", "in", "new BufferedReader(new InputStreamReader(System.in))", "static String readString() throws IOException {\n\t\treturn in.readLine();\n\t}", "readString", "{\n\t\treturn in.readLine();\n\t}", "return in.readLine();", "in.readLine()", "in.readLine", "in", "static int readInt() throws NumberFormatException, IOException {\n\t\treturn Integer.valueOf(readString());\n\t}", "readInt", "{\n\t\treturn Integer.valueOf(readString());\n\t}", "return Integer.valueOf(readString());", "Integer.valueOf(readString())", "Integer.valueOf", "Integer", "readString()", "readString", "static int[] readMultiInt() throws IOException {\n\t\tString input = readString();\n\t\tString[] values = input.split(\" \");\n\t\tint[] result = new int[values.length];\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}\n\t\treturn result;\n\t}", "readMultiInt", "{\n\t\tString input = readString();\n\t\tString[] values = input.split(\" \");\n\t\tint[] result = new int[values.length];\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}\n\t\treturn result;\n\t}", "String input = readString();", "input", "readString()", "readString", "String[] values = input.split(\" \");", "values", "input.split(\" \")", "input.split", "input", "\" \"", "int[] result = new int[values.length];", "result", "new int[values.length]", "values.length", "values", "values.length", "for (int i = 0; i < values.length; i++) {\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < values.length", "i", "values.length", "values", "values.length", "i++", "i++", "i", "{\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}", "{\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}", "result[i] = Integer.valueOf(values[i])", "result[i]", "result", "i", "Integer.valueOf(values[i])", "Integer.valueOf", "Integer", "values[i]", "values", "i", "return result;", "result", "static String arrayToString(int[] data) {\n\t\tString result = \"\";\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "arrayToString", "{\n\t\tString result = \"\";\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "String result = \"\";", "result", "\"\"", "for (int i = 0; i < data.length; i++) {\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < data.length", "i", "data.length", "data", "data.length", "i++", "i++", "i", "{\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}", "{\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}", "if (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}", "i >= data.length - 1", "i", "data.length - 1", "data.length", "data", "data.length", "1", "{\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t}", "result += String.valueOf(data[i])", "result", "String.valueOf(data[i])", "String.valueOf", "String", "data[i]", "data", "i", "{\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}", "result += String.valueOf(data[i]) + \" \"", "result", "String.valueOf(data[i]) + \" \"", "String.valueOf(data[i])", "String.valueOf", "String", "data[i]", "data", "i", "\" \"", "return result;", "result", "int[] data", "data", "static long factional(int n) {\n\t\tint result = 1;\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult *= i;\n\t\t}\n\t\treturn result;\n\t}", "factional", "{\n\t\tint result = 1;\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult *= i;\n\t\t}\n\t\treturn result;\n\t}", "int result = 1;", "result", "1", "for (int i = 1; i <= n; i++) {\n\t\t\tresult *= i;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\tresult *= i;\n\t\t}", "{\n\t\t\tresult *= i;\n\t\t}", "result *= i", "result", "i", "return result;", "result", "int n", "n", "public static void main(String[] args) throws IOException {\n\t\tinitBufferedReader();\n\t\tinput();\n\t\tprocess();\n\t\toutput();\n\t}", "main", "{\n\t\tinitBufferedReader();\n\t\tinput();\n\t\tprocess();\n\t\toutput();\n\t}", "initBufferedReader()", "initBufferedReader", "input()", "input", "process()", "process", "output()", "output", "String[] args", "args", "public class Main {\n\t\n\tstatic int x, y;\n\t\n\tstatic void input() throws IOException {\n\t\tint[] num = readMultiInt();\n\t\tx = num[0];\n\t\ty = num[1];\n\t}\n\t\n\tstatic void process() {\n\t}\n\t\n\tstatic int gcd(int num1, int num2) {\n\t\tif(num2 == 0) {\n\t\t\treturn num1;\n\t\t} else {\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}\n\t}\n\t\n\tstatic void output() {\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\t\n\t//??\\?????ยฑ?????ยจ???\n\tstatic BufferedReader in;\n\t\n\tstatic void initBufferedReader() {\n\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\t\n\tstatic String readString() throws IOException {\n\t\treturn in.readLine();\n\t}\n\t\n\tstatic int readInt() throws NumberFormatException, IOException {\n\t\treturn Integer.valueOf(readString());\n\t}\n\t\n\tstatic int[] readMultiInt() throws IOException {\n\t\tString input = readString();\n\t\tString[] values = input.split(\" \");\n\t\tint[] result = new int[values.length];\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic String arrayToString(int[] data) {\n\t\tString result = \"\";\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic long factional(int n) {\n\t\tint result = 1;\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult *= i;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tinitBufferedReader();\n\t\tinput();\n\t\tprocess();\n\t\toutput();\n\t}\n\t\n}", "public class Main {\n\t\n\tstatic int x, y;\n\t\n\tstatic void input() throws IOException {\n\t\tint[] num = readMultiInt();\n\t\tx = num[0];\n\t\ty = num[1];\n\t}\n\t\n\tstatic void process() {\n\t}\n\t\n\tstatic int gcd(int num1, int num2) {\n\t\tif(num2 == 0) {\n\t\t\treturn num1;\n\t\t} else {\n\t\t\treturn gcd(num2, num1 % num2);\n\t\t}\n\t}\n\t\n\tstatic void output() {\n\t\tSystem.out.println(gcd(x, y));\n\t}\n\t\n\t//??\\?????ยฑ?????ยจ???\n\tstatic BufferedReader in;\n\t\n\tstatic void initBufferedReader() {\n\t\tin = new BufferedReader(new InputStreamReader(System.in));\n\t}\n\t\n\tstatic String readString() throws IOException {\n\t\treturn in.readLine();\n\t}\n\t\n\tstatic int readInt() throws NumberFormatException, IOException {\n\t\treturn Integer.valueOf(readString());\n\t}\n\t\n\tstatic int[] readMultiInt() throws IOException {\n\t\tString input = readString();\n\t\tString[] values = input.split(\" \");\n\t\tint[] result = new int[values.length];\n\t\tfor (int i = 0; i < values.length; i++) {\n\t\t\tresult[i] = Integer.valueOf(values[i]);\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic String arrayToString(int[] data) {\n\t\tString result = \"\";\n\t\tfor (int i = 0; i < data.length; i++) {\n\t\t\tif (i >= data.length - 1) {\n\t\t\t\tresult += String.valueOf(data[i]);\n\t\t\t} else {\n\t\t\t\tresult += String.valueOf(data[i]) + \" \";\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tstatic long factional(int n) {\n\t\tint result = 1;\n\t\tfor (int i = 1; i <= n; i++) {\n\t\t\tresult *= i;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tinitBufferedReader();\n\t\tinput();\n\t\tprocess();\n\t\toutput();\n\t}\n\t\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { static int x, y; static void input() throws IOException { int[] num = readMultiInt(); x = num[0]; y = num[1]; } static void process() { } static int gcd(int num1, int num2) { if(num2 == 0) { return num1; } else { return gcd(num2, num1 % num2); } } static void output() { System.out.println(gcd(x, y)); } //??\?????ยฑ?????ยจ??? static BufferedReader in; static void initBufferedReader() { in = new BufferedReader(new InputStreamReader(System.in)); } static String readString() throws IOException { return in.readLine(); } static int readInt() throws NumberFormatException, IOException { return Integer.valueOf(readString()); } static int[] readMultiInt() throws IOException { String input = readString(); String[] values = input.split(" "); int[] result = new int[values.length]; for (int i = 0; i < values.length; i++) { result[i] = Integer.valueOf(values[i]); } return result; } static String arrayToString(int[] data) { String result = ""; for (int i = 0; i < data.length; i++) { if (i >= data.length - 1) { result += String.valueOf(data[i]); } else { result += String.valueOf(data[i]) + " "; } } return result; } static long factional(int n) { int result = 1; for (int i = 1; i <= n; i++) { result *= i; } return result; } public static void main(String[] args) throws IOException { initBufferedReader(); input(); process(); output(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 29, 4, 13, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 87, 5 ], [ 87, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 36, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 6, 49 ], [ 49, 50 ], [ 87, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 53, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 74, 75 ], [ 74, 76 ], [ 68, 77 ], [ 77, 78 ], [ 77, 79 ], [ 53, 80 ], [ 80, 81 ], [ 51, 82 ], [ 82, 83 ], [ 51, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String strX = scan.next();\n String strY = scan.next();\n\n int x = Integer.parseInt(strX);\n int y = Integer.parseInt(strY);\n\n int answer = divisor(x, y);\n\n System.out.println(answer);\n scan.close();\n }\n\n static int divisor(int x, int y) {\n if (y > x) {\n return divisor(y, x);\n }\n while (y != 0) {\n int remainder = x % y;\n x = y;\n y = remainder;\n }\n return x;\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 strX = scan.next();\n String strY = scan.next();\n\n int x = Integer.parseInt(strX);\n int y = Integer.parseInt(strY);\n\n int answer = divisor(x, y);\n\n System.out.println(answer);\n scan.close();\n }\n\n static int divisor(int x, int y) {\n if (y > x) {\n return divisor(y, x);\n }\n while (y != 0) {\n int remainder = x % y;\n x = y;\n y = remainder;\n }\n return x;\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String strX = scan.next();\n String strY = scan.next();\n\n int x = Integer.parseInt(strX);\n int y = Integer.parseInt(strY);\n\n int answer = divisor(x, y);\n\n System.out.println(answer);\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n String strX = scan.next();\n String strY = scan.next();\n\n int x = Integer.parseInt(strX);\n int y = Integer.parseInt(strY);\n\n int answer = divisor(x, y);\n\n System.out.println(answer);\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String strX = scan.next();", "strX", "scan.next()", "scan.next", "scan", "String strY = scan.next();", "strY", "scan.next()", "scan.next", "scan", "int x = Integer.parseInt(strX);", "x", "Integer.parseInt(strX)", "Integer.parseInt", "Integer", "strX", "int y = Integer.parseInt(strY);", "y", "Integer.parseInt(strY)", "Integer.parseInt", "Integer", "strY", "int answer = divisor(x, y);", "answer", "divisor(x, y)", "divisor", "x", "y", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "scan.close()", "scan.close", "scan", "String[] args", "args", "static int divisor(int x, int y) {\n if (y > x) {\n return divisor(y, x);\n }\n while (y != 0) {\n int remainder = x % y;\n x = y;\n y = remainder;\n }\n return x;\n }", "divisor", "{\n if (y > x) {\n return divisor(y, x);\n }\n while (y != 0) {\n int remainder = x % y;\n x = y;\n y = remainder;\n }\n return x;\n }", "if (y > x) {\n return divisor(y, x);\n }", "y > x", "y", "x", "{\n return divisor(y, x);\n }", "return divisor(y, x);", "divisor(y, x)", "divisor", "y", "x", "while (y != 0) {\n int remainder = x % y;\n x = y;\n y = remainder;\n }", "y != 0", "y", "0", "{\n int remainder = x % y;\n x = y;\n y = remainder;\n }", "int remainder = x % y;", "remainder", "x % y", "x", "y", "x = y", "x", "y", "y = remainder", "y", "remainder", "return x;", "x", "int x", "x", "int y", "y", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String strX = scan.next();\n String strY = scan.next();\n\n int x = Integer.parseInt(strX);\n int y = Integer.parseInt(strY);\n\n int answer = divisor(x, y);\n\n System.out.println(answer);\n scan.close();\n }\n\n static int divisor(int x, int y) {\n if (y > x) {\n return divisor(y, x);\n }\n while (y != 0) {\n int remainder = x % y;\n x = y;\n y = remainder;\n }\n return x;\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n String strX = scan.next();\n String strY = scan.next();\n\n int x = Integer.parseInt(strX);\n int y = Integer.parseInt(strY);\n\n int answer = divisor(x, y);\n\n System.out.println(answer);\n scan.close();\n }\n\n static int divisor(int x, int y) {\n if (y > x) {\n return divisor(y, x);\n }\n while (y != 0) {\n int remainder = x % y;\n x = y;\n y = remainder;\n }\n return x;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String strX = scan.next(); String strY = scan.next(); int x = Integer.parseInt(strX); int y = Integer.parseInt(strY); int answer = divisor(x, y); System.out.println(answer); scan.close(); } static int divisor(int x, int y) { if (y > x) { return divisor(y, x); } while (y != 0) { int remainder = x % y; x = y; y = remainder; } return x; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 42, 40, 2, 13, 17, 30, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 0, 13, 13, 0, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 39, 46 ], [ 46, 47 ], [ 46, 48 ], [ 34, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 34, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 34, 65 ], [ 65, 66 ], [ 65, 67 ], [ 34, 68 ], [ 68, 69 ], [ 68, 70 ], [ 6, 71 ], [ 71, 72 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int x,y,z=1;\n x = scanner.nextInt();\n y = scanner.nextInt();\n\n while(!(z==0)){\n if(x<y){\n z=x;\n x=y;\n y=z;\n }\n z = x % y;\n if(z==0){\n System.out.println(y);\n }\n x = y;\n y = z;\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int x,y,z=1;\n x = scanner.nextInt();\n y = scanner.nextInt();\n\n while(!(z==0)){\n if(x<y){\n z=x;\n x=y;\n y=z;\n }\n z = x % y;\n if(z==0){\n System.out.println(y);\n }\n x = y;\n y = z;\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int x,y,z=1;\n x = scanner.nextInt();\n y = scanner.nextInt();\n\n while(!(z==0)){\n if(x<y){\n z=x;\n x=y;\n y=z;\n }\n z = x % y;\n if(z==0){\n System.out.println(y);\n }\n x = y;\n y = z;\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int x,y,z=1;\n x = scanner.nextInt();\n y = scanner.nextInt();\n\n while(!(z==0)){\n if(x<y){\n z=x;\n x=y;\n y=z;\n }\n z = x % y;\n if(z==0){\n System.out.println(y);\n }\n x = y;\n y = z;\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int x", "x", "y", "y", "z=1;", "z", "1", "x = scanner.nextInt()", "x", "scanner.nextInt()", "scanner.nextInt", "scanner", "y = scanner.nextInt()", "y", "scanner.nextInt()", "scanner.nextInt", "scanner", "while(!(z==0)){\n if(x<y){\n z=x;\n x=y;\n y=z;\n }\n z = x % y;\n if(z==0){\n System.out.println(y);\n }\n x = y;\n y = z;\n }", "!(z==0)", "(z==0)", "z", "0", "{\n if(x<y){\n z=x;\n x=y;\n y=z;\n }\n z = x % y;\n if(z==0){\n System.out.println(y);\n }\n x = y;\n y = z;\n }", "if(x<y){\n z=x;\n x=y;\n y=z;\n }", "x<y", "x", "y", "{\n z=x;\n x=y;\n y=z;\n }", "z=x", "z", "x", "x=y", "x", "y", "y=z", "y", "z", "z = x % y", "z", "x % y", "x", "y", "if(z==0){\n System.out.println(y);\n }", "z==0", "z", "0", "{\n System.out.println(y);\n }", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "x = y", "x", "y", "y = z", "y", "z", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int x,y,z=1; x = scanner.nextInt(); y = scanner.nextInt(); while(!(z==0)){ if(x<y){ z=x; x=y; y=z; } z = x % y; if(z==0){ System.out.println(y); } x = y; y = z; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 2, 13, 13, 30, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 52, 5 ], [ 52, 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 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 6, 49 ], [ 49, 50 ], [ 0, 51 ], [ 51, 52 ], [ 51, 53 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\twhile( a != b ){\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\twhile( a != b ){\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\twhile( a != b ){\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\twhile( a != b ){\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "while( a != b ){\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}", "a != b", "a", "b", "{\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}", "if( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}", "a < b", "a", "b", "{\n\t\t\t\tb -= a;\n\t\t\t}", "b -= a", "b", "a", "if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}", "a > b", "a", "b", "{\n\t\t\t\ta -= b;\n\t\t\t}", "a -= b", "a", "b", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\twhile( a != b ){\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\twhile( a != b ){\n\t\t\tif( a < b ){\n\t\t\t\tb -= a;\n\t\t\t} else if( a > b ){\n\t\t\t\ta -= b;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(a);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); while( a != b ){ if( a < b ){ b -= a; } else if( a > b ){ a -= b; } } System.out.println(a); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 13, 30, 42, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 30, 42, 2, 2, 13, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 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, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 25, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 46, 55 ], [ 55, 56 ], [ 55, 57 ], [ 39, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 35, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 77, 78 ], [ 77, 79 ], [ 71, 80 ], [ 80, 81 ], [ 80, 82 ], [ 64, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 6, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\tint temp = 0;\n\t\tif(x == y) System.out.println(x);\n\t\telse if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\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\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\tint temp = 0;\n\t\tif(x == y) System.out.println(x);\n\t\telse if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\tint temp = 0;\n\t\tif(x == y) System.out.println(x);\n\t\telse if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\tint temp = 0;\n\t\tif(x == y) System.out.println(x);\n\t\telse if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int x = in.nextInt();", "x", "in.nextInt()", "in.nextInt", "in", "int y = in.nextInt();", "y", "in.nextInt()", "in.nextInt", "in", "int temp = 0;", "temp", "0", "if(x == y) System.out.println(x);\n\t\telse if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}", "x == y", "x", "y", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}", "x >= y", "x", "y", "{\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}", "while(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}", "x % y > 0", "x % y", "x", "y", "0", "{\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}", "temp = x % y", "temp", "x % y", "x", "y", "x = y", "x", "y", "y = temp", "y", "temp", "System.out.println(temp)", "System.out.println", "System.out", "System", "System.out", "temp", "{\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}", "while(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}", "y % x > 0", "y % x", "y", "x", "0", "{\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}", "temp = y % x", "temp", "y % x", "y", "x", "y = x", "y", "x", "x = temp", "x", "temp", "System.out.println(temp)", "System.out.println", "System.out", "System", "System.out", "temp", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\tint temp = 0;\n\t\tif(x == y) System.out.println(x);\n\t\telse if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t}\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner in = new Scanner(System.in);\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\tint temp = 0;\n\t\tif(x == y) System.out.println(x);\n\t\telse if(x >= y) {\n\t\t\twhile(x % y > 0) {\n\t\t\t\ttemp = x % y;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t\telse {\n\t\t\twhile(y % x > 0) {\n\t\t\t\ttemp = y % x;\n\t\t\t\ty = x;\n\t\t\t\tx = temp;\n\t\t\t}\n\t\t\tSystem.out.println(temp);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { // TODO Auto-generated method stub Scanner in = new Scanner(System.in); int x = in.nextInt(); int y = in.nextInt(); int temp = 0; if(x == y) System.out.println(x); else if(x >= y) { while(x % y > 0) { temp = x % y; x = y; y = temp; } System.out.println(temp); } else { while(y % x > 0) { temp = y % x; y = x; x = temp; } System.out.println(temp); } } }
[ 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, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 2, 13, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 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 ], [ 99, 20 ], [ 99, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 23, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 23, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 23, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 21, 55 ], [ 55, 56 ], [ 99, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 64, 71 ], [ 71, 72 ], [ 71, 73 ], [ 59, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 86, 87 ], [ 86, 88 ], [ 80, 89 ], [ 89, 90 ], [ 89, 91 ], [ 59, 92 ], [ 92, 93 ], [ 57, 94 ], [ 94, 95 ], [ 57, 96 ], [ 96, 97 ], [ 0, 98 ], [ 98, 99 ], [ 98, 100 ] ]
[ "import java.io.BufferedReader;\nimport java.io.FileNotFoundException;\nimport java.io.FileReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader br = new BufferedReader(new FileReader(\"sample.txt\"));\n\t\tStringTokenizer stk=new StringTokenizer(br.readLine());\n\t\tint a=Integer.parseInt(stk.nextToken());\n\t\tint b=Integer.parseInt((String)stk.nextElement());\n\t\tSystem.out.println(yakusuu(a,b));\n\t}\n\tstatic int yakusuu(int a,int b){\n\t\tif(a<b){int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}\n\t\twhile(a%b!=0){\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}\n\t\treturn b;\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.io.FileReader;", "FileReader", "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) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader br = new BufferedReader(new FileReader(\"sample.txt\"));\n\t\tStringTokenizer stk=new StringTokenizer(br.readLine());\n\t\tint a=Integer.parseInt(stk.nextToken());\n\t\tint b=Integer.parseInt((String)stk.nextElement());\n\t\tSystem.out.println(yakusuu(a,b));\n\t}\n\tstatic int yakusuu(int a,int b){\n\t\tif(a<b){int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}\n\t\twhile(a%b!=0){\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}\n\t\treturn b;\n\t}\n\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader br = new BufferedReader(new FileReader(\"sample.txt\"));\n\t\tStringTokenizer stk=new StringTokenizer(br.readLine());\n\t\tint a=Integer.parseInt(stk.nextToken());\n\t\tint b=Integer.parseInt((String)stk.nextElement());\n\t\tSystem.out.println(yakusuu(a,b));\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader br = new BufferedReader(new FileReader(\"sample.txt\"));\n\t\tStringTokenizer stk=new StringTokenizer(br.readLine());\n\t\tint a=Integer.parseInt(stk.nextToken());\n\t\tint b=Integer.parseInt((String)stk.nextElement());\n\t\tSystem.out.println(yakusuu(a,b));\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer stk=new StringTokenizer(br.readLine());", "stk", "new StringTokenizer(br.readLine())", "int a=Integer.parseInt(stk.nextToken());", "a", "Integer.parseInt(stk.nextToken())", "Integer.parseInt", "Integer", "stk.nextToken()", "stk.nextToken", "stk", "int b=Integer.parseInt((String)stk.nextElement());", "b", "Integer.parseInt((String)stk.nextElement())", "Integer.parseInt", "Integer", "(String)stk.nextElement()", "stk.nextElement", "stk", "System.out.println(yakusuu(a,b))", "System.out.println", "System.out", "System", "System.out", "yakusuu(a,b)", "yakusuu", "a", "b", "String[] args", "args", "static int yakusuu(int a,int b){\n\t\tif(a<b){int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}\n\t\twhile(a%b!=0){\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}\n\t\treturn b;\n\t}", "yakusuu", "{\n\t\tif(a<b){int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}\n\t\twhile(a%b!=0){\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}\n\t\treturn b;\n\t}", "if(a<b){int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}", "a<b", "a", "b", "{int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}", "int tmp=a;", "tmp", "a", "a=b", "a", "b", "b=tmp", "b", "tmp", "while(a%b!=0){\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}", "a%b!=0", "a%b", "a", "b", "0", "{\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}", "int l=a%b;", "l", "a%b", "a", "b", "a=b", "a", "b", "b=l", "b", "l", "return b;", "b", "int a", "a", "int b", "b", "public class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader br = new BufferedReader(new FileReader(\"sample.txt\"));\n\t\tStringTokenizer stk=new StringTokenizer(br.readLine());\n\t\tint a=Integer.parseInt(stk.nextToken());\n\t\tint b=Integer.parseInt((String)stk.nextElement());\n\t\tSystem.out.println(yakusuu(a,b));\n\t}\n\tstatic int yakusuu(int a,int b){\n\t\tif(a<b){int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}\n\t\twhile(a%b!=0){\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}\n\t\treturn b;\n\t}\n\n}", "public class Main{\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader br = new BufferedReader(new FileReader(\"sample.txt\"));\n\t\tStringTokenizer stk=new StringTokenizer(br.readLine());\n\t\tint a=Integer.parseInt(stk.nextToken());\n\t\tint b=Integer.parseInt((String)stk.nextElement());\n\t\tSystem.out.println(yakusuu(a,b));\n\t}\n\tstatic int yakusuu(int a,int b){\n\t\tif(a<b){int tmp=a;\n\t\t\ta=b;\n\t\t\tb=tmp;}\n\t\twhile(a%b!=0){\t\t\t\n\t\t\tint l=a%b;\n\t\t\ta=b;b=l;}\n\t\treturn b;\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main{ public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //BufferedReader br = new BufferedReader(new FileReader("sample.txt")); StringTokenizer stk=new StringTokenizer(br.readLine()); int a=Integer.parseInt(stk.nextToken()); int b=Integer.parseInt((String)stk.nextElement()); System.out.println(yakusuu(a,b)); } static int yakusuu(int a,int b){ if(a<b){int tmp=a; a=b; b=tmp;} while(a%b!=0){ int l=a%b; a=b;b=l;} return b; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 2, 13, 13, 30, 14, 2, 13, 13, 30, 0, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 51, 5 ], [ 51, 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 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 6, 48 ], [ 48, 49 ], [ 0, 50 ], [ 50, 51 ], [ 50, 52 ] ]
[ "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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != y)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(x);\n\t\tsc.close();\n\t}\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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != y)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(x);\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String args[])\n\t{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != y)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(x);\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != y)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(x);\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "while(x != y)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}", "x != y", "x", "y", "{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}", "if(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}", "x > y", "x", "y", "{\n\t\t\t\tx -= y;\n\t\t\t}", "x -= y", "x", "y", "{\n\t\t\t\ty -= x;\n\t\t\t}", "y -= x", "y", "x", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "sc.close()", "sc.close", "sc", "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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != y)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(x);\n\t\tsc.close();\n\t}\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 x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != y)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tx -= y;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\ty -= x;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(x);\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); while(x != y) { if(x > y) { x -= y; } else { y -= x; } } System.out.println(x); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 2, 13, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 62, 11 ], [ 62, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 15, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 24, 27 ], [ 27, 28 ], [ 27, 29 ], [ 12, 30 ], [ 30, 31 ], [ 12, 32 ], [ 32, 33 ], [ 62, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 36, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 36, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 55, 58 ], [ 34, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.Math;\n\npublic class Main {\n\n public static int gcd(int a, int b){\n if(a % b == 0)return b;\n return gcd(b, a % b);\n }\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n\n System.out.println(gcd(x, y));\n\n }\n \n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.Math;", "Math", "java.lang", "public class Main {\n\n public static int gcd(int a, int b){\n if(a % b == 0)return b;\n return gcd(b, a % b);\n }\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n\n System.out.println(gcd(x, y));\n\n }\n \n}", "Main", "public static int gcd(int a, int b){\n if(a % b == 0)return b;\n return gcd(b, a % b);\n }", "gcd", "{\n if(a % b == 0)return b;\n return gcd(b, a % b);\n }", "if(a % b == 0)return b;", "a % b == 0", "a % b", "a", "b", "0", "return b;", "b", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n\n System.out.println(gcd(x, y));\n\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n\n System.out.println(gcd(x, y));\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "public class Main {\n\n public static int gcd(int a, int b){\n if(a % b == 0)return b;\n return gcd(b, a % b);\n }\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n\n System.out.println(gcd(x, y));\n\n }\n \n}", "public class Main {\n\n public static int gcd(int a, int b){\n if(a % b == 0)return b;\n return gcd(b, a % b);\n }\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt(), y = sc.nextInt();\n\n System.out.println(gcd(x, y));\n\n }\n \n}", "Main" ]
import java.io.*; import java.util.*; import java.lang.Math; public class Main { public static int gcd(int a, int b){ if(a % b == 0)return b; return gcd(b, a % b); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(), y = sc.nextInt(); System.out.println(gcd(x, 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, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 30, 0, 13, 13, 0, 13, 13, 41, 13, 42, 2, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 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 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 14, 44 ], [ 44, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 46, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 14, 64 ], [ 64, 65 ], [ 14, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 72, 81 ], [ 81, 82 ], [ 81, 83 ], [ 14, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 12, 90 ], [ 90, 91 ] ]
[ "import java.io.*;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = (br.readLine()).split(\" \");\n\t\tint a = Integer.parseInt(line[0]);\n\t\tint b = Integer.parseInt(line[1]);\n\t\tint x,y;\n\t\tif (a>b) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t}else{\n\t\t\tx = b;\n\t\t\ty = a;\n\t\t}\n\t\tint work;\n\t\twhile(x%y != 0) {\n\t\t\twork = y;\n\t\t\ty = x%y;\n\t\t\tx = work;\n\t\t}\n\t\tSystem.out.println(y);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = (br.readLine()).split(\" \");\n\t\tint a = Integer.parseInt(line[0]);\n\t\tint b = Integer.parseInt(line[1]);\n\t\tint x,y;\n\t\tif (a>b) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t}else{\n\t\t\tx = b;\n\t\t\ty = a;\n\t\t}\n\t\tint work;\n\t\twhile(x%y != 0) {\n\t\t\twork = y;\n\t\t\ty = x%y;\n\t\t\tx = work;\n\t\t}\n\t\tSystem.out.println(y);\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[] line = (br.readLine()).split(\" \");\n\t\tint a = Integer.parseInt(line[0]);\n\t\tint b = Integer.parseInt(line[1]);\n\t\tint x,y;\n\t\tif (a>b) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t}else{\n\t\t\tx = b;\n\t\t\ty = a;\n\t\t}\n\t\tint work;\n\t\twhile(x%y != 0) {\n\t\t\twork = y;\n\t\t\ty = x%y;\n\t\t\tx = work;\n\t\t}\n\t\tSystem.out.println(y);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] line = (br.readLine()).split(\" \");\n\t\tint a = Integer.parseInt(line[0]);\n\t\tint b = Integer.parseInt(line[1]);\n\t\tint x,y;\n\t\tif (a>b) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t}else{\n\t\t\tx = b;\n\t\t\ty = a;\n\t\t}\n\t\tint work;\n\t\twhile(x%y != 0) {\n\t\t\twork = y;\n\t\t\ty = x%y;\n\t\t\tx = work;\n\t\t}\n\t\tSystem.out.println(y);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] line = (br.readLine()).split(\" \");", "line", "(br.readLine()).split(\" \")", "(br.readLine()).split", "(br.readLine())", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(line[0]);", "a", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int b = Integer.parseInt(line[1]);", "b", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "int x", "x", "y;", "y", "if (a>b) {\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t}else{\n\t\t\tx = b;\n\t\t\ty = a;\n\t\t}", "a>b", "a", "b", "{\n\t\t\tx = a;\n\t\t\ty = b;\n\t\t}", "x = a", "x", "a", "y = b", "y", "b", "{\n\t\t\tx = b;\n\t\t\ty = a;\n\t\t}", "x = b", "x", "b", "y = a", "y", "a", "int work;", "work", "while(x%y != 0) {\n\t\t\twork = y;\n\t\t\ty = x%y;\n\t\t\tx = work;\n\t\t}", "x%y != 0", "x%y", "x", "y", "0", "{\n\t\t\twork = y;\n\t\t\ty = x%y;\n\t\t\tx = work;\n\t\t}", "work = y", "work", "y", "y = x%y", "y", "x%y", "x", "y", "x = work", "x", "work", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args" ]
import java.io.*; import java.util.Arrays; import java.util.Scanner; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] line = (br.readLine()).split(" "); int a = Integer.parseInt(line[0]); int b = Integer.parseInt(line[1]); int x,y; if (a>b) { x = a; y = b; }else{ x = b; y = a; } int work; while(x%y != 0) { work = y; y = x%y; x = work; } System.out.println(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, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 13, 13, 30, 41, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 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 ], [ 97, 11 ], [ 97, 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 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 12, 51 ], [ 51, 52 ], [ 97, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 62, 71 ], [ 71, 72 ], [ 71, 73 ], [ 55, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 78, 84 ], [ 84, 85 ], [ 84, 86 ], [ 78, 87 ], [ 87, 88 ], [ 87, 89 ], [ 55, 90 ], [ 90, 91 ], [ 53, 92 ], [ 92, 93 ], [ 53, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main{\n\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] t = br.readLine().split(\" \");\n int a = Integer.parseInt(t[0]);\n int b = Integer.parseInt(t[1]);\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main{\n\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] t = br.readLine().split(\" \");\n int a = Integer.parseInt(t[0]);\n int b = Integer.parseInt(t[1]);\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n\n}", "Main", "public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] t = br.readLine().split(\" \");\n int a = Integer.parseInt(t[0]);\n int b = Integer.parseInt(t[1]);\n System.out.println(gcd(a, b));\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] t = br.readLine().split(\" \");\n int a = Integer.parseInt(t[0]);\n int b = Integer.parseInt(t[1]);\n System.out.println(gcd(a, b));\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] t = br.readLine().split(\" \");", "t", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(t[0]);", "a", "Integer.parseInt(t[0])", "Integer.parseInt", "Integer", "t[0]", "t", "0", "int b = Integer.parseInt(t[1]);", "b", "Integer.parseInt(t[1])", "Integer.parseInt", "Integer", "t[1]", "t", "1", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String[] args", "args", "public static int gcd(int x, int y){\n int r;\n if(x < y){\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "gcd", "{\n int r;\n if(x < y){\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "int r;", "r", "if(x < y){\n int temp;\n temp = x;\n x = y;\n y = temp;\n }", "x < y", "x", "y", "{\n int temp;\n temp = x;\n x = y;\n y = temp;\n }", "int temp;", "temp", "temp = x", "temp", "x", "x = y", "x", "y", "y = temp", "y", "temp", "while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }", "y > 0", "y", "0", "{\n r = x % y;\n x = y;\n y = r;\n }", "r = x % y", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "public class Main{\n\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] t = br.readLine().split(\" \");\n int a = Integer.parseInt(t[0]);\n int b = Integer.parseInt(t[1]);\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n\n}", "public class Main{\n\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] t = br.readLine().split(\" \");\n int a = Integer.parseInt(t[0]);\n int b = Integer.parseInt(t[1]);\n System.out.println(gcd(a, b));\n }\n\n public static int gcd(int x, int y){\n int r;\n if(x < y){\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n\n while(y > 0){\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] t = br.readLine().split(" "); int a = Integer.parseInt(t[0]); int b = Integer.parseInt(t[1]); System.out.println(gcd(a, b)); } public static int gcd(int x, int y){ int r; if(x < y){ int temp; temp = x; x = y; y = temp; } while(y > 0){ r = x % y; x = y; y = r; } return x; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 42, 17, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 3, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 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 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 31, 38 ], [ 38, 39 ], [ 38, 40 ], [ 26, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 41, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 6, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(final String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int gcd;\n while(true){\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }\n System.out.println(gcd);\n scanner.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(final String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int gcd;\n while(true){\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }\n System.out.println(gcd);\n scanner.close();\n }\n}", "Main", "public static void main(final String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int gcd;\n while(true){\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }\n System.out.println(gcd);\n scanner.close();\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int gcd;\n while(true){\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }\n System.out.println(gcd);\n scanner.close();\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "int gcd;", "gcd", "while(true){\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }", "true", "{\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }", "if(a > b){\n int c = a;\n a = b;\n b = c;\n }", "a > b", "a", "b", "{\n int c = a;\n a = b;\n b = c;\n }", "int c = a;", "c", "a", "a = b", "a", "b", "b = c", "b", "c", "if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }", "b % a == 0", "b % a", "b", "a", "0", "{\n gcd = a;\n break;\n }", "gcd = a", "gcd", "a", "break;", "{\n b = b % a;\n }", "b = b % a", "b", "b % a", "b", "a", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "scanner.close()", "scanner.close", "scanner", "final String[] args", "args", "public class Main{\n public static void main(final String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int gcd;\n while(true){\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }\n System.out.println(gcd);\n scanner.close();\n }\n}", "public class Main{\n public static void main(final String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n int gcd;\n while(true){\n if(a > b){\n int c = a;\n a = b;\n b = c;\n }\n if(b % a == 0){\n gcd = a;\n break;\n }else{\n b = b % a;\n }\n }\n System.out.println(gcd);\n scanner.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(final String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int gcd; while(true){ if(a > b){ int c = a; a = b; b = c; } if(b % a == 0){ gcd = a; break; }else{ b = b % a; } } System.out.println(gcd); scanner.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 4, 18, 13, 17, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 78, 5 ], [ 78, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 46, 64 ], [ 64, 65 ], [ 64, 66 ], [ 46, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 46, 72 ], [ 72, 73 ], [ 72, 74 ], [ 6, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,x,y,tmp;\n\t\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\tif(y>x){\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(true){\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\t}\n\t}\n\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,x,y,tmp;\n\t\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\tif(y>x){\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(true){\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,x,y,tmp;\n\t\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\tif(y>x){\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(true){\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,x,y,tmp;\n\t\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\tif(y>x){\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(true){\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int i", "i", "x", "x", "y", "y", "tmp;", "tmp", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "if(y>x){\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "y>x", "y", "x", "{\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "tmp = x", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while(true){\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\t}", "true", "{\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\t}", "if(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "x%y == 0", "x%y", "x", "y", "0", "{\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "System.exit(0)", "System.exit", "System", "0", "tmp = y", "tmp", "y", "y = x % y", "y", "x % y", "x", "y", "x = tmp", "x", "tmp", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,x,y,tmp;\n\t\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\tif(y>x){\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(true){\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\t}\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,x,y,tmp;\n\t\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\tif(y>x){\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\twhile(true){\n\t\t\tif(x%y == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\ttmp = y;\n\t\t\ty = x % y;\n\t\t\tx = tmp;\n\t\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 i,x,y,tmp; x = sc.nextInt(); y = sc.nextInt(); if(y>x){ tmp = x; x = y; y = tmp; } while(true){ if(x%y == 0) { System.out.println(y); System.exit(0); } tmp = y; y = x % y; x = tmp; } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 38, 5, 13, 30, 0, 13, 17, 0, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 14, 2, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 30, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 30, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 42, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 17, 3, 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 ], [ 120, 8 ], [ 120, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 16, 18 ], [ 11, 19 ], [ 19, 20 ], [ 19, 21 ], [ 11, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 32, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 45, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 44, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 58, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 44, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 81, 83 ], [ 75, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 11, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 94, 103 ], [ 103, 104 ], [ 103, 105 ], [ 94, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 11, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 9, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.io.*;\nimport java.util.ArrayList;\npublic class Main{\n\tpublic static void main(String args[]){\n int a,b,ans = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}catch(Exception e){\n a = 0;\n b = 0;\n }\n\n while(true){\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }\n\n System.out.println(ans);\n\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main{\n\tpublic static void main(String args[]){\n int a,b,ans = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}catch(Exception e){\n a = 0;\n b = 0;\n }\n\n while(true){\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }\n\n System.out.println(ans);\n\n\t}\n}", "Main", "public static void main(String args[]){\n int a,b,ans = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}catch(Exception e){\n a = 0;\n b = 0;\n }\n\n while(true){\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }\n\n System.out.println(ans);\n\n\t}", "main", "{\n int a,b,ans = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}catch(Exception e){\n a = 0;\n b = 0;\n }\n\n while(true){\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }\n\n System.out.println(ans);\n\n\t}", "int a", "a", "b", "b", "ans = 0;", "ans", "0", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "try{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}catch(Exception e){\n a = 0;\n b = 0;\n }", "catch(Exception e){\n a = 0;\n b = 0;\n }", "Exception e", "{\n a = 0;\n b = 0;\n }", "a = 0", "a", "0", "b = 0", "b", "0", "{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}", "String line = reader.readLine();", "line", "reader.readLine()", "reader.readLine", "reader", "String[] splitted = line.split(\" \");", "splitted", "line.split(\" \")", "line.split", "line", "\" \"", "if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }", "Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])", "Integer.parseInt(splitted[0])", "Integer.parseInt", "Integer", "splitted[0]", "splitted", "0", "Integer.parseInt(splitted[1])", "Integer.parseInt", "Integer", "splitted[1]", "splitted", "1", "{\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }", "a = Integer.parseInt(splitted[0])", "a", "Integer.parseInt(splitted[0])", "Integer.parseInt", "Integer", "splitted[0]", "splitted", "0", "b = Integer.parseInt(splitted[1])", "b", "Integer.parseInt(splitted[1])", "Integer.parseInt", "Integer", "splitted[1]", "splitted", "1", "{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }", "a = Integer.parseInt(splitted[1])", "a", "Integer.parseInt(splitted[1])", "Integer.parseInt", "Integer", "splitted[1]", "splitted", "1", "b = Integer.parseInt(splitted[0])", "b", "Integer.parseInt(splitted[0])", "Integer.parseInt", "Integer", "splitted[0]", "splitted", "0", "while(true){\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }", "true", "{\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }", "ans = b", "ans", "b", "b = a % b", "b", "a % b", "a", "b", "a = ans", "a", "ans", "if (b == 0) break;", "b == 0", "b", "0", "break;", "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 int a,b,ans = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}catch(Exception e){\n a = 0;\n b = 0;\n }\n\n while(true){\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }\n\n System.out.println(ans);\n\n\t}\n}", "public class Main{\n\tpublic static void main(String args[]){\n int a,b,ans = 0;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try{\n String line = reader.readLine();\n String[] splitted = line.split(\" \");\n if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){\n a = Integer.parseInt(splitted[0]);\n b = Integer.parseInt(splitted[1]);\n }else{\n a = Integer.parseInt(splitted[1]);\n b = Integer.parseInt(splitted[0]);\n }\n \n\t\t}catch(Exception e){\n a = 0;\n b = 0;\n }\n\n while(true){\n ans = b;\n b = a % b;\n a = ans;\n if (b == 0) break;\n }\n\n System.out.println(ans);\n\n\t}\n}", "Main" ]
import java.io.*; import java.util.ArrayList; public class Main{ public static void main(String args[]){ int a,b,ans = 0; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); try{ String line = reader.readLine(); String[] splitted = line.split(" "); if(Integer.parseInt(splitted[0]) > Integer.parseInt(splitted[1])){ a = Integer.parseInt(splitted[0]); b = Integer.parseInt(splitted[1]); }else{ a = Integer.parseInt(splitted[1]); b = Integer.parseInt(splitted[0]); } }catch(Exception e){ a = 0; b = 0; } while(true){ ans = b; b = a % b; a = ans; if (b == 0) break; } 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, 42, 17, 30, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 24, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 34, 38 ], [ 24, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 24, 44 ], [ 44, 45 ], [ 44, 46 ], [ 24, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 51, 58 ], [ 6, 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 sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n while(true) {\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n while(true) {\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n while(true) {\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n while(true) {\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "while(true) {\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }", "true", "{\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }", "int c = Math.max(a, b);", "c", "Math.max(a, b)", "Math.max", "Math", "a", "b", "int d = Math.min(a, b);", "d", "Math.min(a, b)", "Math.min", "Math", "a", "b", "a = c % d", "a", "c % d", "c", "d", "b = d", "b", "d", "if (a == 0) {\n System.out.println(d);\n break;\n }", "a == 0", "a", "0", "{\n System.out.println(d);\n break;\n }", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "break;", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n while(true) {\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n while(true) {\n int c = Math.max(a, b);\n int d = Math.min(a, b);\n a = c % d;\n b = d;\n if (a == 0) {\n System.out.println(d);\n break;\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); while(true) { int c = Math.max(a, b); int d = Math.min(a, b); a = c % d; b = d; if (a == 0) { System.out.println(d); break; } } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 11, 1, 30, 30, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 3, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 20, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 94, 2 ], [ 94, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 5, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 5, 25 ], [ 25, 26 ], [ 25, 27 ], [ 28, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 37, 39 ], [ 33, 40 ], [ 40, 41 ], [ 40, 42 ], [ 28, 43 ], [ 43, 44 ], [ 43, 45 ], [ 28, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 28, 51 ], [ 51, 52 ], [ 51, 53 ], [ 28, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 62, 71 ], [ 5, 72 ], [ 72, 73 ], [ 73, 74 ], [ 3, 75 ], [ 75, 76 ], [ 3, 77 ], [ 77, 78 ], [ 94, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 82, 88 ], [ 88, 89 ], [ 88, 90 ], [ 79, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int x, y;\n int tmp;\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n for(;;){\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int x, y;\n int tmp;\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n for(;;){\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main", "public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int x, y;\n int tmp;\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n for(;;){\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }\n/*fin*/\n sc.close();\n }", "run", "{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int x, y;\n int tmp;\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n for(;;){\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }\n/*fin*/\n sc.close();\n }", "java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "int x", "x", "y;", "y", "int tmp;", "tmp", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "for(;;){\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }", ";", "{\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }", "{\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }", "if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }", "x < y", "x", "y", "{\n tmp = x;\n x = y;\n y = tmp;\n }", "tmp = x", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "tmp = y", "tmp", "y", "y = x % y", "y", "x % y", "x", "y", "x = tmp", "x", "tmp", "if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }", "x == 0 || y == 0", "x == 0", "x", "0", "y == 0", "y", "0", "{\n System.out.println(x + y);\n break;\n }", "System.out.println(x + y)", "System.out.println", "System.out", "System", "System.out", "x + y", "x", "y", "break;", "sc.close()", "sc.close", "sc", "java.io.InputStream in", "in", "java.io.PrintStream out", "out", "public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }", "main", "{\n (new Main()).run(System.in, System.out);\n }", "(new Main()).run(System.in, System.out)", "(new Main()).run", "(new Main())", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int x, y;\n int tmp;\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n for(;;){\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int x, y;\n int tmp;\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n for(;;){\n if(x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n tmp = y;\n y = x % y;\n x = tmp;\n if(x == 0 || y == 0){\n System.out.println(x + y);\n break;\n }\n }\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main" ]
public class Main{ public void run(java.io.InputStream in, java.io.PrintStream out){ java.util.Scanner sc = new java.util.Scanner(in); /*answer*/ int x, y; int tmp; x = sc.nextInt(); y = sc.nextInt(); for(;;){ if(x < y){ tmp = x; x = y; y = tmp; } tmp = y; y = x % y; x = tmp; if(x == 0 || y == 0){ System.out.println(x + y); break; } } /*fin*/ sc.close(); } public static void main(String[] args){ (new Main()).run(System.in, System.out); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 30, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 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 ], [ 91, 11 ], [ 91, 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 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 42, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 12, 66 ], [ 66, 67 ], [ 91, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 71, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 68, 86 ], [ 86, 87 ], [ 68, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] arrays = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(arrays[0]);\n\t\tint y = Integer.parseInt(arrays[1]);\n\t\t\n\t\tif(x > y){\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}\n\n\t}\n\tstatic int gcd(int x, int y) {\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn gcd(y, x % y);\n\n\t\t}\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] arrays = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(arrays[0]);\n\t\tint y = Integer.parseInt(arrays[1]);\n\t\t\n\t\tif(x > y){\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}\n\n\t}\n\tstatic int gcd(int x, int y) {\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn gcd(y, x % y);\n\n\t\t}\n\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[] arrays = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(arrays[0]);\n\t\tint y = Integer.parseInt(arrays[1]);\n\t\t\n\t\tif(x > y){\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] arrays = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(arrays[0]);\n\t\tint y = Integer.parseInt(arrays[1]);\n\t\t\n\t\tif(x > y){\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] arrays = br.readLine().split(\" \");", "arrays", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(arrays[0]);", "x", "Integer.parseInt(arrays[0])", "Integer.parseInt", "Integer", "arrays[0]", "arrays", "0", "int y = Integer.parseInt(arrays[1]);", "y", "Integer.parseInt(arrays[1])", "Integer.parseInt", "Integer", "arrays[1]", "arrays", "1", "if(x > y){\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}", "x > y", "x", "y", "{\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "{\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}", "System.out.println(gcd(y, x))", "System.out.println", "System.out", "System", "System.out", "gcd(y, x)", "gcd", "y", "x", "String[] args", "args", "static int gcd(int x, int y) {\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn gcd(y, x % y);\n\n\t\t}\n\n\t}", "gcd", "{\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn gcd(y, x % y);\n\n\t\t}\n\n\t}", "if (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn gcd(y, x % y);\n\n\t\t}", "y == 0", "y", "0", "{\n\t\t\treturn x;\n\t\t}", "return x;", "x", "{\n\t\t\treturn gcd(y, x % y);\n\n\t\t}", "return gcd(y, x % y);", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] arrays = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(arrays[0]);\n\t\tint y = Integer.parseInt(arrays[1]);\n\t\t\n\t\tif(x > y){\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}\n\n\t}\n\tstatic int gcd(int x, int y) {\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn gcd(y, x % y);\n\n\t\t}\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] arrays = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(arrays[0]);\n\t\tint y = Integer.parseInt(arrays[1]);\n\t\t\n\t\tif(x > y){\n\t\t\tSystem.out.println(gcd(x, y));\n\t\t}\n\t\telse {\n\t\t\tSystem.out.println(gcd(y, x));\n\t\t}\n\n\t}\n\tstatic int gcd(int x, int y) {\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn gcd(y, x % y);\n\n\t\t}\n\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[] arrays = br.readLine().split(" "); int x = Integer.parseInt(arrays[0]); int y = Integer.parseInt(arrays[1]); if(x > y){ System.out.println(gcd(x, y)); } else { System.out.println(gcd(y, x)); } } static int gcd(int x, int y) { if (y == 0) { return x; } else { return gcd(y, x % y); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 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 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner a = new Scanner(System.in);\n\tint x = a.nextInt();\n\tint y = a.nextInt();\n\tint n = x;\n\tif(x < y){\n\t x = y;\n\t y = n;\n\t}\n\twhile(y != 0){\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}\n\tSystem.out.println(x);\n }\n}\n", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n\tScanner a = new Scanner(System.in);\n\tint x = a.nextInt();\n\tint y = a.nextInt();\n\tint n = x;\n\tif(x < y){\n\t x = y;\n\t y = n;\n\t}\n\twhile(y != 0){\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}\n\tSystem.out.println(x);\n }\n}", "Main", "public static void main(String[] args){\n\tScanner a = new Scanner(System.in);\n\tint x = a.nextInt();\n\tint y = a.nextInt();\n\tint n = x;\n\tif(x < y){\n\t x = y;\n\t y = n;\n\t}\n\twhile(y != 0){\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}\n\tSystem.out.println(x);\n }", "main", "{\n\tScanner a = new Scanner(System.in);\n\tint x = a.nextInt();\n\tint y = a.nextInt();\n\tint n = x;\n\tif(x < y){\n\t x = y;\n\t y = n;\n\t}\n\twhile(y != 0){\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}\n\tSystem.out.println(x);\n }", "Scanner a = new Scanner(System.in);", "a", "new Scanner(System.in)", "int x = a.nextInt();", "x", "a.nextInt()", "a.nextInt", "a", "int y = a.nextInt();", "y", "a.nextInt()", "a.nextInt", "a", "int n = x;", "n", "x", "if(x < y){\n\t x = y;\n\t y = n;\n\t}", "x < y", "x", "y", "{\n\t x = y;\n\t y = n;\n\t}", "x = y", "x", "y", "y = n", "y", "n", "while(y != 0){\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}", "y != 0", "y", "0", "{\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}", "n = y", "n", "y", "y = x%y", "y", "x%y", "x", "y", "x = n", "x", "n", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n\tScanner a = new Scanner(System.in);\n\tint x = a.nextInt();\n\tint y = a.nextInt();\n\tint n = x;\n\tif(x < y){\n\t x = y;\n\t y = n;\n\t}\n\twhile(y != 0){\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}\n\tSystem.out.println(x);\n }\n}", "public class Main{\n public static void main(String[] args){\n\tScanner a = new Scanner(System.in);\n\tint x = a.nextInt();\n\tint y = a.nextInt();\n\tint n = x;\n\tif(x < y){\n\t x = y;\n\t y = n;\n\t}\n\twhile(y != 0){\n\t n = y;\n\t y = x%y;\n\t x = n;;\n\t}\n\tSystem.out.println(x);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner a = new Scanner(System.in); int x = a.nextInt(); int y = a.nextInt(); int n = x; if(x < y){ x = y; y = n; } while(y != 0){ n = y; y = x%y; x = n;; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 58, 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 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 30, 34 ], [ 9, 35 ], [ 35, 36 ], [ 58, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 37, 53 ], [ 53, 54 ], [ 37, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.*;\npublic class Main {\n\tstatic Scanner sc = new Scanner (System.in);\n\tpublic static void main (String[] args) {\n\t\tMain calc = new Main(); \n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tSystem.out.println(calc.GCF(a, b));\n\t}\t\n\tpublic long GCF(long a, long b) {\n\t if (b == 0) return a;\n\t else return (GCF (b, a % b));\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic Scanner sc = new Scanner (System.in);\n\tpublic static void main (String[] args) {\n\t\tMain calc = new Main(); \n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tSystem.out.println(calc.GCF(a, b));\n\t}\t\n\tpublic long GCF(long a, long b) {\n\t if (b == 0) return a;\n\t else return (GCF (b, a % b));\n\t}\n}", "Main", "static Scanner sc = new Scanner (System.in);", "sc", "new Scanner (System.in)", "public static void main (String[] args) {\n\t\tMain calc = new Main(); \n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tSystem.out.println(calc.GCF(a, b));\n\t}", "main", "{\n\t\tMain calc = new Main(); \n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tSystem.out.println(calc.GCF(a, b));\n\t}", "Main calc = new Main();", "calc", "new Main()", "long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "System.out.println(calc.GCF(a, b))", "System.out.println", "System.out", "System", "System.out", "calc.GCF(a, b)", "calc.GCF", "calc", "a", "b", "String[] args", "args", "public long GCF(long a, long b) {\n\t if (b == 0) return a;\n\t else return (GCF (b, a % b));\n\t}", "GCF", "{\n\t if (b == 0) return a;\n\t else return (GCF (b, a % b));\n\t}", "if (b == 0) return a;\n\t else return (GCF (b, a % b));", "b == 0", "b", "0", "return a;", "a", "return (GCF (b, a % b));", "(GCF (b, a % b))", "GCF", "b", "a % b", "a", "b", "long a", "a", "long b", "b", "public class Main {\n\tstatic Scanner sc = new Scanner (System.in);\n\tpublic static void main (String[] args) {\n\t\tMain calc = new Main(); \n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tSystem.out.println(calc.GCF(a, b));\n\t}\t\n\tpublic long GCF(long a, long b) {\n\t if (b == 0) return a;\n\t else return (GCF (b, a % b));\n\t}\n}", "public class Main {\n\tstatic Scanner sc = new Scanner (System.in);\n\tpublic static void main (String[] args) {\n\t\tMain calc = new Main(); \n\t\tlong a = sc.nextLong();\n\t\tlong b = sc.nextLong();\n\t\tSystem.out.println(calc.GCF(a, b));\n\t}\t\n\tpublic long GCF(long a, long b) {\n\t if (b == 0) return a;\n\t else return (GCF (b, a % b));\n\t}\n}", "Main" ]
import java.util.*; public class Main { static Scanner sc = new Scanner (System.in); public static void main (String[] args) { Main calc = new Main(); long a = sc.nextLong(); long b = sc.nextLong(); System.out.println(calc.GCF(a, b)); } public long GCF(long a, long b) { if (b == 0) return a; else return (GCF (b, a % b)); } }
[ 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, 4, 18, 13, 17, 4, 18, 13, 17, 41, 13, 4, 18, 13, 4, 18, 13, 2, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 42, 17, 30, 0, 13, 13, 14, 2, 13, 17, 29, 13, 0, 13, 13, 14, 2, 13, 17, 29, 13, 23, 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 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 14, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 55, 58 ], [ 12, 59 ], [ 59, 60 ], [ 10, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 66, 76 ], [ 76, 77 ], [ 76, 78 ], [ 66, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 61, 85 ], [ 85, 86 ], [ 61, 87 ], [ 87, 88 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String[] args) throws IOException{\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String in = br.readLine();\n final int x = Integer.parseInt(in.substring(0, in.indexOf(' ')));\n final int y = Integer.parseInt(in.substring(in.indexOf(' ')+1));\n System.out.println(gcd(x, y));\n }\n private static int gcd(int x, int y){\n while(true){\n x %= y;\n if(x==0)\n return y;\n y %= x;\n if(y==0)\n return x;\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main{\n public static void main(String[] args) throws IOException{\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String in = br.readLine();\n final int x = Integer.parseInt(in.substring(0, in.indexOf(' ')));\n final int y = Integer.parseInt(in.substring(in.indexOf(' ')+1));\n System.out.println(gcd(x, y));\n }\n private static int gcd(int x, int y){\n while(true){\n x %= y;\n if(x==0)\n return y;\n y %= x;\n if(y==0)\n return x;\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String in = br.readLine();\n final int x = Integer.parseInt(in.substring(0, in.indexOf(' ')));\n final int y = Integer.parseInt(in.substring(in.indexOf(' ')+1));\n System.out.println(gcd(x, y));\n }", "main", "{\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String in = br.readLine();\n final int x = Integer.parseInt(in.substring(0, in.indexOf(' ')));\n final int y = Integer.parseInt(in.substring(in.indexOf(' ')+1));\n System.out.println(gcd(x, y));\n }", "final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "final String in = br.readLine();", "in", "br.readLine()", "br.readLine", "br", "final int x = Integer.parseInt(in.substring(0, in.indexOf(' ')));", "x", "Integer.parseInt(in.substring(0, in.indexOf(' ')))", "Integer.parseInt", "Integer", "in.substring(0, in.indexOf(' '))", "in.substring", "in", "0", "in.indexOf(' ')", "in.indexOf", "in", "' '", "final int y = Integer.parseInt(in.substring(in.indexOf(' ')+1));", "y", "Integer.parseInt(in.substring(in.indexOf(' ')+1))", "Integer.parseInt", "Integer", "in.substring(in.indexOf(' ')+1)", "in.substring", "in", "in.indexOf(' ')+1", "in.indexOf(' ')", "in.indexOf", "in", "' '", "1", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "private static int gcd(int x, int y){\n while(true){\n x %= y;\n if(x==0)\n return y;\n y %= x;\n if(y==0)\n return x;\n }\n }", "gcd", "{\n while(true){\n x %= y;\n if(x==0)\n return y;\n y %= x;\n if(y==0)\n return x;\n }\n }", "while(true){\n x %= y;\n if(x==0)\n return y;\n y %= x;\n if(y==0)\n return x;\n }", "true", "{\n x %= y;\n if(x==0)\n return y;\n y %= x;\n if(y==0)\n return x;\n }", "x %= y", "x", "y", "if(x==0)\n return y;", "x==0", "x", "0", "return y;", "y", "y %= x", "y", "x", "if(y==0)\n return x;", "y==0", "y", "0", "return x;", "x", "int x", "x", "int y", "y" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] args) throws IOException{ final BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); final String in = br.readLine(); final int x = Integer.parseInt(in.substring(0, in.indexOf(' '))); final int y = Integer.parseInt(in.substring(in.indexOf(' ')+1)); System.out.println(gcd(x, y)); } private static int gcd(int x, int y){ while(true){ x %= y; if(x==0) return y; y %= x; if(y==0) return x; } } }
[ 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, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 41, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 104, 8 ], [ 104, 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 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 11, 37 ], [ 37, 38 ], [ 11, 39 ], [ 39, 40 ], [ 11, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 65, 66 ], [ 65, 67 ], [ 11, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 81, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 93, 100 ], [ 9, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.io.*;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n String line1 = scanner.next();\n String line3 = scanner.next();\n\n int a = Integer.parseInt(line1);\n int b = Integer.parseInt(line3);\n int c,num;\n if(a == b){\n c = a;\n }else if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }\n for(int i = c;i >= 1;i--){\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }\n\n }\n}", "import java.io.*;", "io.*", "java", "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 \n String line1 = scanner.next();\n String line3 = scanner.next();\n\n int a = Integer.parseInt(line1);\n int b = Integer.parseInt(line3);\n int c,num;\n if(a == b){\n c = a;\n }else if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }\n for(int i = c;i >= 1;i--){\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }\n\n }\n}", "Main", "public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n String line1 = scanner.next();\n String line3 = scanner.next();\n\n int a = Integer.parseInt(line1);\n int b = Integer.parseInt(line3);\n int c,num;\n if(a == b){\n c = a;\n }else if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }\n for(int i = c;i >= 1;i--){\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }\n\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n \n String line1 = scanner.next();\n String line3 = scanner.next();\n\n int a = Integer.parseInt(line1);\n int b = Integer.parseInt(line3);\n int c,num;\n if(a == b){\n c = a;\n }else if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }\n for(int i = c;i >= 1;i--){\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }\n\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String line1 = scanner.next();", "line1", "scanner.next()", "scanner.next", "scanner", "String line3 = scanner.next();", "line3", "scanner.next()", "scanner.next", "scanner", "int a = Integer.parseInt(line1);", "a", "Integer.parseInt(line1)", "Integer.parseInt", "Integer", "line1", "int b = Integer.parseInt(line3);", "b", "Integer.parseInt(line3)", "Integer.parseInt", "Integer", "line3", "int c", "c", "num;", "num", "if(a == b){\n c = a;\n }else if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }", "a == b", "a", "b", "{\n c = a;\n }", "c = a", "c", "a", "if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }", "a >= b", "a", "b", "{\n c = a % b;\n }", "c = a % b", "c", "a % b", "a", "b", "{\n c = b % a;\n b = a;\n }", "c = b % a", "c", "b % a", "b", "a", "b = a", "b", "a", "for(int i = c;i >= 1;i--){\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }", "int i = c;", "int i = c;", "i", "c", "i >= 1", "i", "1", "i--", "i--", "i", "{\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }", "{\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }", "if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }", "b % i == 0 && c % i == 0", "b % i == 0", "b % i", "b", "i", "0", "c % i == 0", "c % i", "c", "i", "0", "{\n System.out.println(i);\n break;\n }", "System.out.println(i)", "System.out.println", "System.out", "System", "System.out", "i", "break;", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n String line1 = scanner.next();\n String line3 = scanner.next();\n\n int a = Integer.parseInt(line1);\n int b = Integer.parseInt(line3);\n int c,num;\n if(a == b){\n c = a;\n }else if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }\n for(int i = c;i >= 1;i--){\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }\n\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n String line1 = scanner.next();\n String line3 = scanner.next();\n\n int a = Integer.parseInt(line1);\n int b = Integer.parseInt(line3);\n int c,num;\n if(a == b){\n c = a;\n }else if(a >= b){\n c = a % b;\n }else{\n c = b % a;\n b = a;\n }\n for(int i = c;i >= 1;i--){\n if(b % i == 0 && c % i == 0){\n System.out.println(i);\n break;\n }\n }\n\n }\n}", "Main" ]
import java.io.*; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); String line1 = scanner.next(); String line3 = scanner.next(); int a = Integer.parseInt(line1); int b = Integer.parseInt(line3); int c,num; if(a == b){ c = a; }else if(a >= b){ c = a % b; }else{ c = b % a; b = a; } for(int i = c;i >= 1;i--){ if(b % i == 0 && c % i == 0){ System.out.println(i); break; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 13, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 17, 42, 17, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 3, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 20, 12, 13, 30, 41, 13, 4, 18, 13, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 14, 2, 13, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 180, 8 ], [ 180, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 36, 47 ], [ 47, 48 ], [ 47, 49 ], [ 36, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 9, 59 ], [ 59, 60 ], [ 180, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 180, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 66, 79 ], [ 79, 80 ], [ 180, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 83, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 83, 95 ], [ 95, 96 ], [ 95, 97 ], [ 98, 99 ], [ 98, 100 ], [ 83, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 101, 111 ], [ 111, 112 ], [ 112, 113 ], [ 101, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 123, 124 ], [ 123, 125 ], [ 83, 126 ], [ 126, 127 ], [ 81, 128 ], [ 128, 129 ], [ 180, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 133, 143 ], [ 143, 144 ], [ 144, 145 ], [ 133, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 153, 154 ], [ 153, 155 ], [ 147, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 132, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 130, 177 ], [ 177, 178 ], [ 0, 179 ], [ 179, 180 ], [ 179, 181 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\tint a = ary[0];\n\t\tint b = ary[1];\n\t\tint c = 1;\n\t\twhile( true ) {\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int getInt(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\treturn Integer.valueOf(line);\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}\n\tpublic static void putAry(int[] ary) {\n\t\tfor( int i = 0; i < ary.length ; i++ ) {\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\tint a = ary[0];\n\t\tint b = ary[1];\n\t\tint c = 1;\n\t\twhile( true ) {\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int getInt(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\treturn Integer.valueOf(line);\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}\n\tpublic static void putAry(int[] ary) {\n\t\tfor( int i = 0; i < ary.length ; i++ ) {\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\tint a = ary[0];\n\t\tint b = ary[1];\n\t\tint c = 1;\n\t\twhile( true ) {\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tSystem.out.println(b);\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\tint a = ary[0];\n\t\tint b = ary[1];\n\t\tint c = 1;\n\t\twhile( true ) {\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tSystem.out.println(b);\n\t}", "BufferedReader breader = getReader();", "breader", "getReader()", "getReader", "int[] ary = getAry(breader);", "ary", "getAry(breader)", "getAry", "breader", "int a = ary[0];", "a", "ary[0]", "ary", "0", "int b = ary[1];", "b", "ary[1]", "ary", "1", "int c = 1;", "c", "1", "while( true ) {\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}", "true", "{\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}", "c = a%b", "c", "a%b", "a", "b", "if ( c == 0) break;", "c == 0", "c", "0", "break;", "a = b", "a", "b", "b = c", "b", "c", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}", "getReader", "{\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}", "return( new BufferedReader(new InputStreamReader(System.in)));", "( new BufferedReader(new InputStreamReader(System.in)))", "public static int getInt(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\treturn Integer.valueOf(line);\n\t}", "getInt", "{\n\t\tString line = br.readLine();\n\t\treturn Integer.valueOf(line);\n\t}", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "return Integer.valueOf(line);", "Integer.valueOf(line)", "Integer.valueOf", "Integer", "line", "BufferedReader br", "br", "public static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}", "getAry", "{\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] nstr = line.split(\" \");", "nstr", "line.split(\" \")", "line.split", "line", "\" \"", "int[] n = new int[nstr.length];", "n", "new int[nstr.length]", "nstr.length", "nstr", "nstr.length", "for( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}", "int i=0 ;", "int i=0 ;", "i", "0", "i < nstr.length", "i", "nstr.length", "nstr", "nstr.length", "i++", "i++", "i", "{\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}", "{\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}", "n[i] = Integer.valueOf(nstr[i])", "n[i]", "n", "i", "Integer.valueOf(nstr[i])", "Integer.valueOf", "Integer", "nstr[i]", "nstr", "i", "return n;", "n", "BufferedReader br", "br", "public static void putAry(int[] ary) {\n\t\tfor( int i = 0; i < ary.length ; i++ ) {\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}", "putAry", "{\n\t\tfor( int i = 0; i < ary.length ; i++ ) {\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}", "for( int i = 0; i < ary.length ; i++ ) {\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < ary.length", "i", "ary.length", "ary", "ary.length", "i++", "i++", "i", "{\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}", "{\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}", "System.out.print(ary[i])", "System.out.print", "System.out", "System", "System.out", "ary[i]", "ary", "i", "if ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}", "i < ary.length-1", "i", "ary.length-1", "ary.length", "ary", "ary.length", "1", "{\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "int[] ary", "ary", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\tint a = ary[0];\n\t\tint b = ary[1];\n\t\tint c = 1;\n\t\twhile( true ) {\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int getInt(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\treturn Integer.valueOf(line);\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}\n\tpublic static void putAry(int[] ary) {\n\t\tfor( int i = 0; i < ary.length ; i++ ) {\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = getReader();\n\n\t\tint[] ary = getAry(breader);\n\t\tint a = ary[0];\n\t\tint b = ary[1];\n\t\tint c = 1;\n\t\twhile( true ) {\n\t\t\tc = a%b;\n\t\t\tif ( c == 0) break;\n\t\t\ta = b;\n\t\t\tb = c;\n\t\t}\n\t\tSystem.out.println(b);\n\t}\n\tpublic static BufferedReader getReader() {\n\t\treturn( new BufferedReader(new InputStreamReader(System.in)));\n\t}\n\tpublic static int getInt(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\treturn Integer.valueOf(line);\n\t}\n\tpublic static int[] getAry(BufferedReader br)throws Exception {\n\t\tString line = br.readLine();\n\t\tString[] nstr = line.split(\" \");\n\t\tint[] n = new int[nstr.length];\n\t\tfor( int i=0 ; i < nstr.length ; i++ ) {\n\t\t\tn[i] = Integer.valueOf(nstr[i]);\n\t\t}\n\t\treturn n;\n\t}\n\tpublic static void putAry(int[] ary) {\n\t\tfor( int i = 0; i < ary.length ; i++ ) {\n\t\t\tSystem.out.print(ary[i]);\n\t\t\tif ( i < ary.length-1) {\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"\");\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // TODO ????????????????????????????????????????????? BufferedReader breader = getReader(); int[] ary = getAry(breader); int a = ary[0]; int b = ary[1]; int c = 1; while( true ) { c = a%b; if ( c == 0) break; a = b; b = c; } System.out.println(b); } public static BufferedReader getReader() { return( new BufferedReader(new InputStreamReader(System.in))); } public static int getInt(BufferedReader br)throws Exception { String line = br.readLine(); return Integer.valueOf(line); } public static int[] getAry(BufferedReader br)throws Exception { String line = br.readLine(); String[] nstr = line.split(" "); int[] n = new int[nstr.length]; for( int i=0 ; i < nstr.length ; i++ ) { n[i] = Integer.valueOf(nstr[i]); } return n; } public static void putAry(int[] ary) { for( int i = 0; i < ary.length ; i++ ) { System.out.print(ary[i]); if ( i < ary.length-1) { System.out.print(" "); } } System.out.println(""); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 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 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 72, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 35, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 52, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 33, 67 ], [ 67, 68 ], [ 33, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n\t/**\n\t * 2ใคใฎ่‡ช็„ถๆ•ฐx,yใ‚’ๅ…ฅๅŠ›ใจใ—ใ€ใใ‚Œใ‚‰ใฎๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹ใƒ—ใƒญใ‚ฐใƒฉใƒ \n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\tSystem.out.println(Gcd(x, y));\n\n\t}\n\n\t/**\n\t * ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ใ‚‚ใจใ‚ใ‚‹\n\t * \n\t * @param x\n\t * ๅ…ฅๅŠ›๏ผ‘\n\t * @param y\n\t * ๅ…ฅๅŠ›๏ผ’๏ผˆx%y)\n\t * @return ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n\t */\n\tpublic static int Gcd(int x, int y) {\n\t\tif (y > x) {\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn Gcd(y, x % y);\n\t\t}\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n\t/**\n\t * 2ใคใฎ่‡ช็„ถๆ•ฐx,yใ‚’ๅ…ฅๅŠ›ใจใ—ใ€ใใ‚Œใ‚‰ใฎๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹ใƒ—ใƒญใ‚ฐใƒฉใƒ \n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\tSystem.out.println(Gcd(x, y));\n\n\t}\n\n\t/**\n\t * ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ใ‚‚ใจใ‚ใ‚‹\n\t * \n\t * @param x\n\t * ๅ…ฅๅŠ›๏ผ‘\n\t * @param y\n\t * ๅ…ฅๅŠ›๏ผ’๏ผˆx%y)\n\t * @return ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n\t */\n\tpublic static int Gcd(int x, int y) {\n\t\tif (y > x) {\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn Gcd(y, x % y);\n\t\t}\n\t}\n}", "Main", "/**\n\t * 2ใคใฎ่‡ช็„ถๆ•ฐx,yใ‚’ๅ…ฅๅŠ›ใจใ—ใ€ใใ‚Œใ‚‰ใฎๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹ใƒ—ใƒญใ‚ฐใƒฉใƒ \n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\tSystem.out.println(Gcd(x, y));\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\tSystem.out.println(Gcd(x, y));\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "System.out.println(Gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "Gcd(x, y)", "Gcd", "x", "y", "String[] args", "args", "/**\n\t * ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ใ‚‚ใจใ‚ใ‚‹\n\t * \n\t * @param x\n\t * ๅ…ฅๅŠ›๏ผ‘\n\t * @param y\n\t * ๅ…ฅๅŠ›๏ผ’๏ผˆx%y)\n\t * @return ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n\t */\n\tpublic static int Gcd(int x, int y) {\n\t\tif (y > x) {\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn Gcd(y, x % y);\n\t\t}\n\t}", "Gcd", "{\n\t\tif (y > x) {\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn Gcd(y, x % y);\n\t\t}\n\t}", "if (y > x) {\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "y > x", "y", "x", "{\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp;", "tmp", "tmp = x", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "if (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn Gcd(y, x % y);\n\t\t}", "y == 0", "y", "0", "{\n\t\t\treturn x;\n\t\t}", "return x;", "x", "{\n\t\t\treturn Gcd(y, x % y);\n\t\t}", "return Gcd(y, x % y);", "Gcd(y, x % y)", "Gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public class Main{\n\n\t/**\n\t * 2ใคใฎ่‡ช็„ถๆ•ฐx,yใ‚’ๅ…ฅๅŠ›ใจใ—ใ€ใใ‚Œใ‚‰ใฎๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹ใƒ—ใƒญใ‚ฐใƒฉใƒ \n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\tSystem.out.println(Gcd(x, y));\n\n\t}\n\n\t/**\n\t * ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ใ‚‚ใจใ‚ใ‚‹\n\t * \n\t * @param x\n\t * ๅ…ฅๅŠ›๏ผ‘\n\t * @param y\n\t * ๅ…ฅๅŠ›๏ผ’๏ผˆx%y)\n\t * @return ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n\t */\n\tpublic static int Gcd(int x, int y) {\n\t\tif (y > x) {\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn Gcd(y, x % y);\n\t\t}\n\t}\n}", "public class Main{\n\n\t/**\n\t * 2ใคใฎ่‡ช็„ถๆ•ฐx,yใ‚’ๅ…ฅๅŠ›ใจใ—ใ€ใใ‚Œใ‚‰ใฎๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹ใƒ—ใƒญใ‚ฐใƒฉใƒ \n\t * \n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\tSystem.out.println(Gcd(x, y));\n\n\t}\n\n\t/**\n\t * ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ใ‚‚ใจใ‚ใ‚‹\n\t * \n\t * @param x\n\t * ๅ…ฅๅŠ›๏ผ‘\n\t * @param y\n\t * ๅ…ฅๅŠ›๏ผ’๏ผˆx%y)\n\t * @return ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n\t */\n\tpublic static int Gcd(int x, int y) {\n\t\tif (y > x) {\n\t\t\tint tmp;\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\tif (y == 0) {\n\t\t\treturn x;\n\t\t} else {\n\t\t\treturn Gcd(y, x % y);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ /** * 2ใคใฎ่‡ช็„ถๆ•ฐx,yใ‚’ๅ…ฅๅŠ›ใจใ—ใ€ใใ‚Œใ‚‰ใฎๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹ใƒ—ใƒญใ‚ฐใƒฉใƒ  * * @param args */ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); System.out.println(Gcd(x, y)); } /** * ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ใ‚‚ใจใ‚ใ‚‹ * * @param x * ๅ…ฅๅŠ›๏ผ‘ * @param y * ๅ…ฅๅŠ›๏ผ’๏ผˆx%y) * @return ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ */ public static int Gcd(int x, int y) { if (y > x) { int tmp; tmp = x; x = y; y = tmp; } if (y == 0) { return x; } else { return Gcd(y, x % y); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 17, 30, 14, 2, 13, 13, 30, 0, 13, 13, 30, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 3, 4, 18, 18, 13, 13, 2, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 24, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 37, 43 ], [ 43, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 6, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x= sc.nextInt();\n int y= sc.nextInt();\n while(true){\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }\n System.out.println(x+y);\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x= sc.nextInt();\n int y= sc.nextInt();\n while(true){\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }\n System.out.println(x+y);\n sc.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x= sc.nextInt();\n int y= sc.nextInt();\n while(true){\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }\n System.out.println(x+y);\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x= sc.nextInt();\n int y= sc.nextInt();\n while(true){\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }\n System.out.println(x+y);\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x= sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y= sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "while(true){\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }", "true", "{\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }", "if(x>=y){\n x%=y;\n }else{\n y%=x;\n }", "x>=y", "x", "y", "{\n x%=y;\n }", "x%=y", "x", "y", "{\n y%=x;\n }", "y%=x", "y", "x", "if(x*y==0){\n break;\n }", "x*y==0", "x*y", "x", "y", "0", "{\n break;\n }", "break;", "System.out.println(x+y)", "System.out.println", "System.out", "System", "System.out", "x+y", "x", "y", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x= sc.nextInt();\n int y= sc.nextInt();\n while(true){\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }\n System.out.println(x+y);\n sc.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x= sc.nextInt();\n int y= sc.nextInt();\n while(true){\n if(x>=y){\n x%=y;\n }else{\n y%=x;\n }\n if(x*y==0){\n break;\n }\n }\n System.out.println(x+y);\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x= sc.nextInt(); int y= sc.nextInt(); while(true){ if(x>=y){ x%=y; }else{ y%=x; } if(x*y==0){ break; } } System.out.println(x+y); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 100, 5 ], [ 100, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 59, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 69, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 76, 85 ], [ 85, 86 ], [ 85, 87 ], [ 76, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 6, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint i,j,k,x,y,d,ax,ay,G=0,a=0,b=0,yy;\n\t\tScanner sc=new Scanner(System.in);\n\t\tx=Integer.parseInt(sc.next());\n\t\ty=Integer.parseInt(sc.next());\n\t\t\n\t\tif(x<y){\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}\n\t\twhile(y>0){\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint i,j,k,x,y,d,ax,ay,G=0,a=0,b=0,yy;\n\t\tScanner sc=new Scanner(System.in);\n\t\tx=Integer.parseInt(sc.next());\n\t\ty=Integer.parseInt(sc.next());\n\t\t\n\t\tif(x<y){\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}\n\t\twhile(y>0){\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tint i,j,k,x,y,d,ax,ay,G=0,a=0,b=0,yy;\n\t\tScanner sc=new Scanner(System.in);\n\t\tx=Integer.parseInt(sc.next());\n\t\ty=Integer.parseInt(sc.next());\n\t\t\n\t\tif(x<y){\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}\n\t\twhile(y>0){\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}", "main", "{\n\t\tint i,j,k,x,y,d,ax,ay,G=0,a=0,b=0,yy;\n\t\tScanner sc=new Scanner(System.in);\n\t\tx=Integer.parseInt(sc.next());\n\t\ty=Integer.parseInt(sc.next());\n\t\t\n\t\tif(x<y){\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}\n\t\twhile(y>0){\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}", "int i", "i", "j", "j", "k", "k", "x", "x", "y", "y", "d", "d", "ax", "ax", "ay", "ay", "G=0", "G", "0", "a=0", "a", "0", "b=0", "b", "0", "yy;", "yy", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "x=Integer.parseInt(sc.next())", "x", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "y=Integer.parseInt(sc.next())", "y", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "if(x<y){\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}", "x<y", "x", "y", "{\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}", "a=x", "a", "x", "b=y", "b", "y", "x=b", "x", "b", "y=a", "y", "a", "while(y>0){\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}", "y>0", "y", "0", "{\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}", "a=y", "a", "y", "b=x%y", "b", "x%y", "x", "y", "y=b", "y", "b", "x=a", "x", "a", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint i,j,k,x,y,d,ax,ay,G=0,a=0,b=0,yy;\n\t\tScanner sc=new Scanner(System.in);\n\t\tx=Integer.parseInt(sc.next());\n\t\ty=Integer.parseInt(sc.next());\n\t\t\n\t\tif(x<y){\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}\n\t\twhile(y>0){\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tint i,j,k,x,y,d,ax,ay,G=0,a=0,b=0,yy;\n\t\tScanner sc=new Scanner(System.in);\n\t\tx=Integer.parseInt(sc.next());\n\t\ty=Integer.parseInt(sc.next());\n\t\t\n\t\tif(x<y){\n\t\t\n\t\ta=x;\n\t\tb=y;\n\t\tx=b;\n\t\ty=a;\n\t\t}\n\t\twhile(y>0){\n\t\ta=y;\n\t\tb=x%y;\n\t\n\t\ty=b;\n\t\tx=a;\n\t\t\n\t\t}\n\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int i,j,k,x,y,d,ax,ay,G=0,a=0,b=0,yy; Scanner sc=new Scanner(System.in); x=Integer.parseInt(sc.next()); y=Integer.parseInt(sc.next()); if(x<y){ a=x; b=y; x=b; y=a; } while(y>0){ a=y; b=x%y; y=b; x=a; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 42, 2, 2, 2, 2, 17, 13, 2, 13, 4, 18, 13, 17, 17, 2, 17, 13, 2, 13, 4, 18, 13, 17, 17, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 13, 13, 4, 13, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 115, 5 ], [ 115, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 19, 18 ], [ 30, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 25, 29 ], [ 30, 30 ], [ 30, 31 ], [ 30, 32 ], [ 19, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 35, 39 ], [ 16, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 8, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 6, 55 ], [ 55, 56 ], [ 115, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 66, 69 ], [ 59, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 80, 81 ], [ 80, 82 ], [ 74, 83 ], [ 83, 84 ], [ 83, 85 ], [ 59, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 57, 92 ], [ 92, 93 ], [ 57, 94 ], [ 94, 95 ], [ 115, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 98, 104 ], [ 104, 105 ], [ 104, 106 ], [ 98, 107 ], [ 107, 108 ], [ 107, 109 ], [ 96, 110 ], [ 110, 111 ], [ 96, 112 ], [ 112, 113 ], [ 0, 114 ], [ 114, 115 ], [ 114, 116 ] ]
[ "import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n\tScanner In = new Scanner(System.in);\n\n\tint a,b;\n\n\tdo\n\t {\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9));\n\n\n\tgcd(a,b);\n\t\n }\n\tprivate static void gcd(int a, int b)\n\t{\n\t int c;\n\t if(a < b)\n\t\tswap(a,b);\n\n\t while(b > 0)\n\t\t{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}\n\tSystem.out.println(a);\n\t}\n\n private static void swap(int a, int b)\n {\n\tint d;\n\td = a;\n\ta = b;\n\tb = d;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n public static void main(String[] args)\n {\n\tScanner In = new Scanner(System.in);\n\n\tint a,b;\n\n\tdo\n\t {\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9));\n\n\n\tgcd(a,b);\n\t\n }\n\tprivate static void gcd(int a, int b)\n\t{\n\t int c;\n\t if(a < b)\n\t\tswap(a,b);\n\n\t while(b > 0)\n\t\t{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}\n\tSystem.out.println(a);\n\t}\n\n private static void swap(int a, int b)\n {\n\tint d;\n\td = a;\n\ta = b;\n\tb = d;\n }\n}", "Main", "public static void main(String[] args)\n {\n\tScanner In = new Scanner(System.in);\n\n\tint a,b;\n\n\tdo\n\t {\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9));\n\n\n\tgcd(a,b);\n\t\n }", "main", "{\n\tScanner In = new Scanner(System.in);\n\n\tint a,b;\n\n\tdo\n\t {\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9));\n\n\n\tgcd(a,b);\n\t\n }", "Scanner In = new Scanner(System.in);", "In", "new Scanner(System.in)", "int a", "a", "b;", "b", "do\n\t {\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9));", "1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9)", "1 >= b", "1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9)", "1 >= a", "1", "a", "a >= Math.pow(10,9)", "a", "Math.pow(10,9)", "Math.pow", "Math", "10", "9", "1 >= b", "1", "b", "b >= Math.pow(10,9)", "b", "Math.pow(10,9)", "Math.pow", "Math", "10", "9", "{\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }", "a = In.nextInt()", "a", "In.nextInt()", "In.nextInt", "In", "b = In.nextInt()", "b", "In.nextInt()", "In.nextInt", "In", "gcd(a,b)", "gcd", "a", "b", "String[] args", "args", "private static void gcd(int a, int b)\n\t{\n\t int c;\n\t if(a < b)\n\t\tswap(a,b);\n\n\t while(b > 0)\n\t\t{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}\n\tSystem.out.println(a);\n\t}", "gcd", "{\n\t int c;\n\t if(a < b)\n\t\tswap(a,b);\n\n\t while(b > 0)\n\t\t{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}\n\tSystem.out.println(a);\n\t}", "int c;", "c", "if(a < b)\n\t\tswap(a,b);", "a < b", "a", "b", "swap(a,b)", "swap", "a", "b", "while(b > 0)\n\t\t{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}", "b > 0", "b", "0", "{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}", "c = a % b", "c", "a % b", "a", "b", "a = b", "a", "b", "b = c", "b", "c", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "int a", "a", "int b", "b", "private static void swap(int a, int b)\n {\n\tint d;\n\td = a;\n\ta = b;\n\tb = d;\n }", "swap", "{\n\tint d;\n\td = a;\n\ta = b;\n\tb = d;\n }", "int d;", "d", "d = a", "d", "a", "a = b", "a", "b", "b = d", "b", "d", "int a", "a", "int b", "b", "public class Main\n{\n public static void main(String[] args)\n {\n\tScanner In = new Scanner(System.in);\n\n\tint a,b;\n\n\tdo\n\t {\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9));\n\n\n\tgcd(a,b);\n\t\n }\n\tprivate static void gcd(int a, int b)\n\t{\n\t int c;\n\t if(a < b)\n\t\tswap(a,b);\n\n\t while(b > 0)\n\t\t{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}\n\tSystem.out.println(a);\n\t}\n\n private static void swap(int a, int b)\n {\n\tint d;\n\td = a;\n\ta = b;\n\tb = d;\n }\n}", "public class Main\n{\n public static void main(String[] args)\n {\n\tScanner In = new Scanner(System.in);\n\n\tint a,b;\n\n\tdo\n\t {\n\t\ta = In.nextInt();\n\t\tb = In.nextInt();\n\t }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9));\n\n\n\tgcd(a,b);\n\t\n }\n\tprivate static void gcd(int a, int b)\n\t{\n\t int c;\n\t if(a < b)\n\t\tswap(a,b);\n\n\t while(b > 0)\n\t\t{\n\t\t c = a % b;\n\t\t a = b;\n\t\t b = c;\n\t\t}\n\tSystem.out.println(a);\n\t}\n\n private static void swap(int a, int b)\n {\n\tint d;\n\td = a;\n\ta = b;\n\tb = d;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner In = new Scanner(System.in); int a,b; do { a = In.nextInt(); b = In.nextInt(); }while(1 >= a && a >= Math.pow(10,9) && 1 >= b && b >= Math.pow(10,9)); gcd(a,b); } private static void gcd(int a, int b) { int c; if(a < b) swap(a,b); while(b > 0) { c = a % b; a = b; b = c; } System.out.println(a); } private static void swap(int a, int b) { int d; d = a; a = b; b = d; } }
[ 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, 41, 13, 41, 13, 20, 17, 41, 13, 17, 41, 13, 41, 13, 41, 13, 42, 17, 30, 38, 5, 13, 30, 4, 18, 13, 17, 30, 41, 13, 20, 42, 4, 18, 13, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 40, 13, 0, 13, 17, 14, 2, 18, 13, 17, 18, 13, 17, 30, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 30, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 0, 18, 13, 17, 17, 0, 18, 13, 17, 17, 0, 13, 17, 0, 13, 17, 0, 13, 17, 0, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 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 ], [ 17, 28 ], [ 28, 29 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 17, 37 ], [ 37, 38 ], [ 17, 39 ], [ 39, 40 ], [ 17, 41 ], [ 41, 42 ], [ 17, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 71, 72 ], [ 62, 73 ], [ 73, 74 ], [ 54, 75 ], [ 75, 76 ], [ 75, 77 ], [ 54, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 78, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 97, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 54, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 109, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 116, 122 ], [ 122, 123 ], [ 122, 124 ], [ 116, 125 ], [ 125, 126 ], [ 125, 127 ], [ 54, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 54, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 54, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 54, 144 ], [ 144, 145 ], [ 144, 146 ], [ 54, 147 ], [ 147, 148 ], [ 147, 149 ], [ 54, 150 ], [ 150, 151 ], [ 150, 152 ], [ 54, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 15, 158 ], [ 158, 159 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name=br.readLine();\n\t\tint num;\n\t\tint compare;\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\n\t\tint tmp;\n\t\tint x,y;\n\t\twhile(true){\n\n\t\t\ttry{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name=br.readLine();\n\t\tint num;\n\t\tint compare;\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\n\t\tint tmp;\n\t\tint x,y;\n\t\twhile(true){\n\n\t\t\ttry{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name=br.readLine();\n\t\tint num;\n\t\tint compare;\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\n\t\tint tmp;\n\t\tint x,y;\n\t\twhile(true){\n\n\t\t\ttry{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tString name=br.readLine();\n\t\tint num;\n\t\tint compare;\n\n\t\tint[] a=new int[2];\n\t\tint i=0;\n\n\t\tint tmp;\n\t\tint x,y;\n\t\twhile(true){\n\n\t\t\ttry{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String name=br.readLine();", "name", "br.readLine()", "br.readLine", "br", "int num;", "num", "int compare;", "compare", "int[] a=new int[2];", "a", "new int[2]", "2", "int i=0;", "i", "0", "int tmp;", "tmp", "int x", "x", "y;", "y", "while(true){\n\n\t\t\ttry{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "true", "{\n\n\t\t\ttry{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t}", "try{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}\n\n\t\t\tcatch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "catch(Exception e){\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "Exception e", "{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.exit(0)", "System.exit", "System", "0", "{\n\n\t\t\t\tStringTokenizer st=new StringTokenizer(name,\" \");\n\t\t\t while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }i=0;\n\n\t\t\t if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }\n\n\t\t\t while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }\n\n\t\t\t System.out.println(y);\n\t\t\t\ta[0]=0;\n\t\t\t\ta[1]=0;\n\t\t\t\tx=0;\n\t\t\t\ty=0;\n\t\t\t\ttmp=0;\n\t\t\t\tname=br.readLine();\n\t\t\t}", "StringTokenizer st=new StringTokenizer(name,\" \");", "st", "new StringTokenizer(name,\" \")", "while (st.hasMoreTokens()) {\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n\t\t\t \t a[i]=Integer.parseInt(st.nextToken());\n\t\t\t \t i++;\n\t\t\t }", "a[i]=Integer.parseInt(st.nextToken())", "a[i]", "a", "i", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "i++", "i", "i=0", "i", "0", "if (a[0] > a[1]) {\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t } else {\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }", "a[0] > a[1]", "a[0]", "a", "0", "a[1]", "a", "1", "{\n\t\t\t x = a[0];\n\t\t\t y = a[1];\n\t\t\t }", "x = a[0]", "x", "a[0]", "a", "0", "y = a[1]", "y", "a[1]", "a", "1", "{\n\t\t\t x = a[1];\n\t\t\t y = a[0];\n\t\t\t }", "x = a[1]", "x", "a[1]", "a", "1", "y = a[0]", "y", "a[0]", "a", "0", "while((tmp=x%y)!=0){\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }", "(tmp=x%y)!=0", "(tmp=x%y)", "tmp", "x%y", "x", "y", "0", "{\n\t\t\t \t tmp=x%y;\n\t\t\t \t x = y;\n\t\t\t y = tmp;\n\t\t\t }", "tmp=x%y", "tmp", "x%y", "x", "y", "x = y", "x", "y", "y = tmp", "y", "tmp", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "a[0]=0", "a[0]", "a", "0", "0", "a[1]=0", "a[1]", "a", "1", "0", "x=0", "x", "0", "y=0", "y", "0", "tmp=0", "tmp", "0", "name=br.readLine()", "name", "br.readLine()", "br.readLine", "br", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String name=br.readLine(); int num; int compare; int[] a=new int[2]; int i=0; int tmp; int x,y; while(true){ try{ StringTokenizer st=new StringTokenizer(name," "); while (st.hasMoreTokens()) { a[i]=Integer.parseInt(st.nextToken()); i++; }i=0; if (a[0] > a[1]) { x = a[0]; y = a[1]; } else { x = a[1]; y = a[0]; } while((tmp=x%y)!=0){ tmp=x%y; x = y; y = tmp; } System.out.println(y); a[0]=0; a[1]=0; x=0; y=0; tmp=0; name=br.readLine(); } catch(Exception e){ System.exit(0); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 42, 2, 13, 17, 30, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 83, 17 ], [ 83, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 20, 25 ], [ 25, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 45, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 59, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 20, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 18, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport static java.util.Arrays.*;\nimport static java.util.Collections.*;\nimport static java.lang.Math.*;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,c;\n Scanner scan=new Scanner(System.in);\n a=scan.nextInt();\n b=scan.nextInt();\n while(a!=0)\n {\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }\n System.out.println(b);\n \n\t}\n\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import static java.util.Arrays.*;", "import static java.util.Arrays.*;", "import static java.util.Arrays.*;", "import static java.util.Collections.*;", "import static java.util.Collections.*;", "import static java.util.Collections.*;", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "import static java.lang.Math.*;", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,c;\n Scanner scan=new Scanner(System.in);\n a=scan.nextInt();\n b=scan.nextInt();\n while(a!=0)\n {\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }\n System.out.println(b);\n \n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,c;\n Scanner scan=new Scanner(System.in);\n a=scan.nextInt();\n b=scan.nextInt();\n while(a!=0)\n {\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }\n System.out.println(b);\n \n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,c;\n Scanner scan=new Scanner(System.in);\n a=scan.nextInt();\n b=scan.nextInt();\n while(a!=0)\n {\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }\n System.out.println(b);\n \n\t}", "int a", "a", "b", "b", "c;", "c", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "a=scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "b=scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "while(a!=0)\n {\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }", "a!=0", "a", "0", "{\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }", "if(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}", "a>=b", "a", "b", "{\n \ta=a%b;\n }", "a=a%b", "a", "a%b", "a", "b", "if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}", "b>a", "b", "a", "{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}", "c=b", "c", "b", "b=a", "b", "a", "a=c", "a", "c", "a=a%b", "a", "a%b", "a", "b", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,c;\n Scanner scan=new Scanner(System.in);\n a=scan.nextInt();\n b=scan.nextInt();\n while(a!=0)\n {\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }\n System.out.println(b);\n \n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tint a,b,c;\n Scanner scan=new Scanner(System.in);\n a=scan.nextInt();\n b=scan.nextInt();\n while(a!=0)\n {\n \tif(a>=b)\n {\n \ta=a%b;\n }\n else if(b>a)\n \t{\n \t\tc=b;\n \t\tb=a;\n \t\ta=c;\n \t\ta=a%b;\n \t}\n }\n System.out.println(b);\n \n\t}\n\n}", "Main" ]
import java.util.*; import java.io.*; import static java.util.Arrays.*; import static java.util.Collections.*; import static java.lang.Math.*; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? int a,b,c; Scanner scan=new Scanner(System.in); a=scan.nextInt(); b=scan.nextInt(); while(a!=0) { if(a>=b) { a=a%b; } else if(b>a) { c=b; b=a; a=c; a=a%b; } } System.out.println(b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 11, 1, 30, 30, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 0, 13, 13, 0, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 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 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 27, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 27, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 37, 44 ], [ 27, 45 ], [ 45, 46 ], [ 45, 47 ], [ 27, 48 ], [ 48, 49 ], [ 48, 50 ], [ 6, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint n=sc.nextInt();\n int m =sc.nextInt();\n int r;\n for(;;){\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }\n\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint n=sc.nextInt();\n int m =sc.nextInt();\n int r;\n for(;;){\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }\n\n }\n}", "Main", "public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint n=sc.nextInt();\n int m =sc.nextInt();\n int r;\n for(;;){\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }\n\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n \tint n=sc.nextInt();\n int m =sc.nextInt();\n int r;\n for(;;){\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\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 m =sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int r;", "r", "for(;;){\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }", ";", "{\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }", "{\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }", "r=n%m", "r", "n%m", "n", "m", "if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }", "r==0", "r", "0", "{\n \tSystem.out.println(m);\n \tbreak;\n }", "System.out.println(m)", "System.out.println", "System.out", "System", "System.out", "m", "break;", "n=m", "n", "m", "m=r", "m", "r", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint n=sc.nextInt();\n int m =sc.nextInt();\n int r;\n for(;;){\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }\n\n }\n}", "public class Main {\n public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint n=sc.nextInt();\n int m =sc.nextInt();\n int r;\n for(;;){\n r=n%m;\n if(r==0){\n \tSystem.out.println(m);\n \tbreak;\n }\n n=m;\n m=r;\n }\n\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 m =sc.nextInt(); int r; for(;;){ r=n%m; if(r==0){ System.out.println(m); break; } n=m; m=r; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 42, 17, 30, 14, 2, 13, 17, 30, 0, 13, 13, 3, 14, 2, 13, 17, 30, 0, 13, 13, 3, 14, 2, 13, 13, 30, 0, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 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 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 27, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n\n int x = scn.nextInt();\n int y = scn.nextInt();\n int ans = 1;\n\n while(true){\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }\n\n System.out.println(ans);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n\n int x = scn.nextInt();\n int y = scn.nextInt();\n int ans = 1;\n\n while(true){\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }\n\n System.out.println(ans);\n\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n\n int x = scn.nextInt();\n int y = scn.nextInt();\n int ans = 1;\n\n while(true){\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }\n\n System.out.println(ans);\n\n }", "main", "{\n\n Scanner scn = new Scanner(System.in);\n\n int x = scn.nextInt();\n int y = scn.nextInt();\n int ans = 1;\n\n while(true){\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }\n\n System.out.println(ans);\n\n }", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int x = scn.nextInt();", "x", "scn.nextInt()", "scn.nextInt", "scn", "int y = scn.nextInt();", "y", "scn.nextInt()", "scn.nextInt", "scn", "int ans = 1;", "ans", "1", "while(true){\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }", "true", "{\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }", "if(x == 0) {\n ans = y;\n break;\n }", "x == 0", "x", "0", "{\n ans = y;\n break;\n }", "ans = y", "ans", "y", "break;", "if(y == 0) {\n ans = x;\n break;\n }", "y == 0", "y", "0", "{\n ans = x;\n break;\n }", "ans = x", "ans", "x", "break;", "if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }", "x > y", "x", "y", "{\n x %= y;\n }", "x %= y", "x", "y", "{\n y %= x;\n }", "y %= x", "y", "x", "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\n Scanner scn = new Scanner(System.in);\n\n int x = scn.nextInt();\n int y = scn.nextInt();\n int ans = 1;\n\n while(true){\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }\n\n System.out.println(ans);\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n\n int x = scn.nextInt();\n int y = scn.nextInt();\n int ans = 1;\n\n while(true){\n if(x == 0) {\n ans = y;\n break;\n }\n if(y == 0) {\n ans = x;\n break;\n }\n\n if(x > y){\n x %= y;\n }\n else{\n y %= x;\n }\n }\n\n System.out.println(ans);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scn = new Scanner(System.in); int x = scn.nextInt(); int y = scn.nextInt(); int ans = 1; while(true){ if(x == 0) { ans = y; break; } if(y == 0) { ans = x; break; } if(x > y){ x %= y; } else{ y %= x; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 29, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 2, 13, 17, 2, 13, 13, 29, 17, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 4, 18, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 128, 5 ], [ 128, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 6, 15 ], [ 15, 16 ], [ 128, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 19, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 19, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 37, 44 ], [ 19, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 49, 56 ], [ 56, 57 ], [ 56, 58 ], [ 19, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 128, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 70, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 70, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 91, 92 ], [ 91, 93 ], [ 68, 94 ], [ 94, 95 ], [ 68, 96 ], [ 96, 97 ], [ 128, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 104, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 108, 114 ], [ 100, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 98, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.util.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n int a = input.nextInt();\n int b = input.nextInt();\n if (a == b) {\n System.out.println(a);\n return;\n }\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n System.out.println(gcd(a, b));\n }\n \n private int gcd(int x, int y) {\n if (y == 0) return x;\n if (y <= 1 || x <= y) return 1;\n return gcd(y, x%y);\n }\n private void print(int[] xs) {\n StringBuilder sb = new StringBuilder();\n for (int x : xs) sb.append(x).append(' ');\n System.out.println(sb.toString().trim());\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n int a = input.nextInt();\n int b = input.nextInt();\n if (a == b) {\n System.out.println(a);\n return;\n }\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n System.out.println(gcd(a, b));\n }\n \n private int gcd(int x, int y) {\n if (y == 0) return x;\n if (y <= 1 || x <= y) return 1;\n return gcd(y, x%y);\n }\n private void print(int[] xs) {\n StringBuilder sb = new StringBuilder();\n for (int x : xs) sb.append(x).append(' ');\n System.out.println(sb.toString().trim());\n }\n}", "Main", "public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }", "main", "{\n Main main = new Main();\n main.solv();\n }", "Main main = new Main();", "main", "new Main()", "main.solv()", "main.solv", "main", "String[] args", "args", "private void solv() {\n Scanner input = new Scanner(System.in);\n int a = input.nextInt();\n int b = input.nextInt();\n if (a == b) {\n System.out.println(a);\n return;\n }\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n System.out.println(gcd(a, b));\n }", "solv", "{\n Scanner input = new Scanner(System.in);\n int a = input.nextInt();\n int b = input.nextInt();\n if (a == b) {\n System.out.println(a);\n return;\n }\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n System.out.println(gcd(a, b));\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int a = input.nextInt();", "a", "input.nextInt()", "input.nextInt", "input", "int b = input.nextInt();", "b", "input.nextInt()", "input.nextInt", "input", "if (a == b) {\n System.out.println(a);\n return;\n }", "a == b", "a", "b", "{\n System.out.println(a);\n return;\n }", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "return;", "if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }", "a < b", "a", "b", "{\n int temp = a;\n a = b;\n b = temp;\n }", "int temp = a;", "temp", "a", "a = b", "a", "b", "b = temp", "b", "temp", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "private int gcd(int x, int y) {\n if (y == 0) return x;\n if (y <= 1 || x <= y) return 1;\n return gcd(y, x%y);\n }", "gcd", "{\n if (y == 0) return x;\n if (y <= 1 || x <= y) return 1;\n return gcd(y, x%y);\n }", "if (y == 0) return x;", "y == 0", "y", "0", "return x;", "x", "if (y <= 1 || x <= y) return 1;", "y <= 1 || x <= y", "y <= 1", "y", "1", "x <= y", "x", "y", "return 1;", "1", "return gcd(y, x%y);", "gcd(y, x%y)", "gcd", "y", "x%y", "x", "y", "int x", "x", "int y", "y", "private void print(int[] xs) {\n StringBuilder sb = new StringBuilder();\n for (int x : xs) sb.append(x).append(' ');\n System.out.println(sb.toString().trim());\n }", "print", "{\n StringBuilder sb = new StringBuilder();\n for (int x : xs) sb.append(x).append(' ');\n System.out.println(sb.toString().trim());\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int x : xs) sb.append(x).append(' ');", "int x", "xs", "sb.append(x).append(' ');", "sb.append(x).append(' ')", "sb.append(x).append", "sb.append(x)", "sb.append", "sb", "x", "' '", "System.out.println(sb.toString().trim())", "System.out.println", "System.out", "System", "System.out", "sb.toString().trim()", "sb.toString().trim", "sb.toString()", "sb.toString", "sb", "int[] xs", "xs", "public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n int a = input.nextInt();\n int b = input.nextInt();\n if (a == b) {\n System.out.println(a);\n return;\n }\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n System.out.println(gcd(a, b));\n }\n \n private int gcd(int x, int y) {\n if (y == 0) return x;\n if (y <= 1 || x <= y) return 1;\n return gcd(y, x%y);\n }\n private void print(int[] xs) {\n StringBuilder sb = new StringBuilder();\n for (int x : xs) sb.append(x).append(' ');\n System.out.println(sb.toString().trim());\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n Main main = new Main();\n main.solv();\n }\n \n private void solv() {\n Scanner input = new Scanner(System.in);\n int a = input.nextInt();\n int b = input.nextInt();\n if (a == b) {\n System.out.println(a);\n return;\n }\n if (a < b) {\n int temp = a;\n a = b;\n b = temp;\n }\n System.out.println(gcd(a, b));\n }\n \n private int gcd(int x, int y) {\n if (y == 0) return x;\n if (y <= 1 || x <= y) return 1;\n return gcd(y, x%y);\n }\n private void print(int[] xs) {\n StringBuilder sb = new StringBuilder();\n for (int x : xs) sb.append(x).append(' ');\n System.out.println(sb.toString().trim());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Main main = new Main(); main.solv(); } private void solv() { Scanner input = new Scanner(System.in); int a = input.nextInt(); int b = input.nextInt(); if (a == b) { System.out.println(a); return; } if (a < b) { int temp = a; a = b; b = temp; } System.out.println(gcd(a, b)); } private int gcd(int x, int y) { if (y == 0) return x; if (y <= 1 || x <= y) return 1; return gcd(y, x%y); } private void print(int[] xs) { StringBuilder sb = new StringBuilder(); for (int x : xs) sb.append(x).append(' '); System.out.println(sb.toString().trim()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 2, 2, 0, 13, 4, 18, 13, 17, 40, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 7, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 21, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 34, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 34, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 57, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 64, 68 ], [ 34, 69 ], [ 69, 70 ], [ 70, 71 ], [ 12, 72 ], [ 72, 73 ], [ 7, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 76, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 84, 87 ], [ 87, 88 ], [ 87, 89 ], [ 74, 90 ], [ 90, 91 ], [ 74, 92 ], [ 92, 93 ] ]
[ "import java.io.*;\nimport java.util.StringTokenizer;\n\nclass Main{\n\nstatic final PrintWriter out=new PrintWriter(System.out);\n\npublic static void main(String[] args) throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString line=\"\";\nwhile((line=br.readLine())!=null&&!line.isEmpty()){\nStringTokenizer st=new StringTokenizer(line);\nint a=Integer.parseInt(st.nextToken());\nint b=Integer.parseInt(st.nextToken());\nout.println(gcd(Math.max(a,b),Math.min(a,b)));\nout.flush();\n}\n}\n\nprivate static long gcd(int a,int b){\nif(b==0) return a;\nreturn gcd(b,a%b);\n}\n}", "import java.io.*;", "io.*", "java", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "class Main{\n\nstatic final PrintWriter out=new PrintWriter(System.out);\n\npublic static void main(String[] args) throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString line=\"\";\nwhile((line=br.readLine())!=null&&!line.isEmpty()){\nStringTokenizer st=new StringTokenizer(line);\nint a=Integer.parseInt(st.nextToken());\nint b=Integer.parseInt(st.nextToken());\nout.println(gcd(Math.max(a,b),Math.min(a,b)));\nout.flush();\n}\n}\n\nprivate static long gcd(int a,int b){\nif(b==0) return a;\nreturn gcd(b,a%b);\n}\n}", "Main", "static final PrintWriter out=new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "public static void main(String[] args) throws IOException{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString line=\"\";\nwhile((line=br.readLine())!=null&&!line.isEmpty()){\nStringTokenizer st=new StringTokenizer(line);\nint a=Integer.parseInt(st.nextToken());\nint b=Integer.parseInt(st.nextToken());\nout.println(gcd(Math.max(a,b),Math.min(a,b)));\nout.flush();\n}\n}", "main", "{\nBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\nString line=\"\";\nwhile((line=br.readLine())!=null&&!line.isEmpty()){\nStringTokenizer st=new StringTokenizer(line);\nint a=Integer.parseInt(st.nextToken());\nint b=Integer.parseInt(st.nextToken());\nout.println(gcd(Math.max(a,b),Math.min(a,b)));\nout.flush();\n}\n}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line=\"\";", "line", "\"\"", "while((line=br.readLine())!=null&&!line.isEmpty()){\nStringTokenizer st=new StringTokenizer(line);\nint a=Integer.parseInt(st.nextToken());\nint b=Integer.parseInt(st.nextToken());\nout.println(gcd(Math.max(a,b),Math.min(a,b)));\nout.flush();\n}", "(line=br.readLine())!=null&&!line.isEmpty()", "(line=br.readLine())!=null", "(line=br.readLine())", "line", "br.readLine()", "br.readLine", "br", "null", "!line.isEmpty()", "line.isEmpty()", "line.isEmpty", "line", "{\nStringTokenizer st=new StringTokenizer(line);\nint a=Integer.parseInt(st.nextToken());\nint b=Integer.parseInt(st.nextToken());\nout.println(gcd(Math.max(a,b),Math.min(a,b)));\nout.flush();\n}", "StringTokenizer st=new StringTokenizer(line);", "st", "new StringTokenizer(line)", "int a=Integer.parseInt(st.nextToken());", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "int b=Integer.parseInt(st.nextToken());", "b", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "out.println(gcd(Math.max(a,b),Math.min(a,b)))", "out.println", "out", "gcd(Math.max(a,b),Math.min(a,b))", "gcd", "Math.max(a,b)", "Math.max", "Math", "a", "b", "Math.min(a,b)", "Math.min", "Math", "a", "b", "out.flush()", "out.flush", "out", "String[] args", "args", "private static long gcd(int a,int b){\nif(b==0) return a;\nreturn gcd(b,a%b);\n}", "gcd", "{\nif(b==0) return a;\nreturn gcd(b,a%b);\n}", "if(b==0) return a;", "b==0", "b", "0", "return a;", "a", "return gcd(b,a%b);", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b" ]
import java.io.*; import java.util.StringTokenizer; class Main{ static final PrintWriter out=new PrintWriter(System.out); public static void main(String[] args) throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String line=""; while((line=br.readLine())!=null&&!line.isEmpty()){ StringTokenizer st=new StringTokenizer(line); int a=Integer.parseInt(st.nextToken()); int b=Integer.parseInt(st.nextToken()); out.println(gcd(Math.max(a,b),Math.min(a,b))); out.flush(); } } private static long gcd(int a,int b){ if(b==0) return a; return gcd(b,a%b); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 17, 30, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 29, 30, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 29, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 77, 5 ], [ 77, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 32, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 45, 52 ], [ 28, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 53, 59 ], [ 59, 60 ], [ 59, 61 ], [ 53, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 6, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\twhile(true){\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\twhile(true){\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\twhile(true){\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\twhile(true){\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "while(true){\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int rem = 0;", "rem", "0", "if (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}", "x > y", "x", "y", "{\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}", "rem = x % y", "rem", "x % y", "x", "y", "x = rem", "x", "rem", "if (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}", "rem == 0", "rem", "0", "{\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "return;", "{\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}", "rem = y % x", "rem", "y % x", "y", "x", "y = rem", "y", "rem", "if (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}", "rem == 0", "rem", "0", "{\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "return;", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\twhile(true){\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\twhile(true){\n\t\t\tint rem = 0;\n\t\t\tif (x > y) {\n\t\t\t\trem = x % y;\n\t\t\t\tx = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(y);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = y % x;\n\t\t\t\ty = rem;\n\t\t\t\tif (rem == 0) {\n\t\t\t\t\tSystem.out.println(x);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); while(true){ int rem = 0; if (x > y) { rem = x % y; x = rem; if (rem == 0) { System.out.println(y); return; } } else { rem = y % x; y = rem; if (rem == 0) { System.out.println(x); return; } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 42, 17, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 0, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 25, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 31, 38 ], [ 24, 39 ], [ 39, 40 ], [ 39, 41 ], [ 24, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 48, 55 ], [ 24, 56 ], [ 56, 57 ], [ 56, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 6, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n while(true){\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n while(true){\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n while(true){\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n while(true){\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "while(true){\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }", "true", "{\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }", "if(a%b==0){\n System.out.println(b);\n break;\n }", "a%b==0", "a%b", "a", "b", "0", "{\n System.out.println(b);\n break;\n }", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "break;", "a%=b", "a", "b", "if(b%a==0){\n System.out.println(a);\n break;\n }", "b%a==0", "b%a", "b", "a", "0", "{\n System.out.println(a);\n break;\n }", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "break;", "b%=a", "b", "a", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n while(true){\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }\n sc.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a=sc.nextInt();\n int b=sc.nextInt();\n while(true){\n if(a%b==0){\n System.out.println(b);\n break;\n }\n a%=b;\n if(b%a==0){\n System.out.println(a);\n break;\n }\n b%=a;\n }\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a=sc.nextInt(); int b=sc.nextInt(); while(true){ if(a%b==0){ System.out.println(b); break; } a%=b; if(b%a==0){ System.out.println(a); break; } b%=a; } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 11, 1, 30, 30, 14, 2, 13, 13, 30, 3, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 3, 14, 2, 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 ], [ 93, 5 ], [ 93, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 47, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 47, 59 ], [ 59, 60 ], [ 59, 61 ], [ 47, 62 ], [ 62, 63 ], [ 62, 64 ], [ 47, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 72, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 6, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "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\t\n\t\tint x, y, tmp, rest;\n\t\t\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\t\n\t\tif(x < y){\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}\n\t\tif(x == y){\n\t\t\tSystem.out.println(x);\n\t\t}else{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\tint x, y, tmp, rest;\n\t\t\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\t\n\t\tif(x < y){\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}\n\t\tif(x == y){\n\t\t\tSystem.out.println(x);\n\t\t}else{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\tint x, y, tmp, rest;\n\t\t\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\t\n\t\tif(x < y){\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}\n\t\tif(x == y){\n\t\t\tSystem.out.println(x);\n\t\t}else{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\tint x, y, tmp, rest;\n\t\t\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\t\n\t\tif(x < y){\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}\n\t\tif(x == y){\n\t\t\tSystem.out.println(x);\n\t\t}else{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}", "Scanner scan = new Scanner (System.in);", "scan", "new Scanner (System.in)", "int x", "x", "y", "y", "tmp", "tmp", "rest;", "rest", "x = scan.nextInt()", "x", "scan.nextInt()", "scan.nextInt", "scan", "y = scan.nextInt()", "y", "scan.nextInt()", "scan.nextInt", "scan", "if(x < y){\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}", "x < y", "x", "y", "{\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}", "tmp = x", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "for(;;){\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}", ";", "{\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}", "{\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}", "if(x == y){\n\t\t\t\tbreak;\n\t\t\t}", "x == y", "x", "y", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "rest = x % y", "rest", "x % y", "x", "y", "x = y", "x", "y", "y = rest", "y", "rest", "if(x % y == 0) break;", "x % y == 0", "x % y", "x", "y", "0", "break;", "if(x == y){\n\t\t\tSystem.out.println(x);\n\t\t}else{\n\t\t\tSystem.out.println(y);\n\t\t}", "x == y", "x", "y", "{\n\t\t\tSystem.out.println(x);\n\t\t}", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "{\n\t\t\tSystem.out.println(y);\n\t\t}", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\tint x, y, tmp, rest;\n\t\t\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\t\n\t\tif(x < y){\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}\n\t\tif(x == y){\n\t\t\tSystem.out.println(x);\n\t\t}else{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner (System.in);\n\t\t\n\t\tint x, y, tmp, rest;\n\t\t\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\t\n\t\tif(x < y){\n\t\t\t\n\t\t\ttmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t\t\n\t\t}\n\t\t\n\t\tfor(;;){\n\t\t\t\n\t\t\tif(x == y){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\trest = x % y;\n\t\t\tx = y;\n\t\t\ty = rest;\n\t\t\t\n\t\t\tif(x % y == 0) break;\n\t\t}\n\t\tif(x == y){\n\t\t\tSystem.out.println(x);\n\t\t}else{\n\t\t\tSystem.out.println(y);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner scan = new Scanner (System.in); int x, y, tmp, rest; x = scan.nextInt(); y = scan.nextInt(); if(x < y){ tmp = x; x = y; y = tmp; } for(;;){ if(x == y){ break; } rest = x % y; x = y; y = rest; if(x % y == 0) break; } if(x == y){ System.out.println(x); }else{ System.out.println(y); } } }
[ 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, 40, 17, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 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 ], [ 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 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 36, 43 ], [ 43, 44 ], [ 43, 45 ], [ 11, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 56 ], [ 56, 57 ], [ 56, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 11, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 9, 68 ], [ 68, 69 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\nclass Main{\n\tpublic static void main(String[] args)throws NumberFormatException, IOException{\n//\t\tSystem.out.println(\" \");\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint jy = -1;\n\t\tint keisan = 0;\n\t\tif(x < y){\n\t\t\tkeisan = x;\n\t\t\tx = y;\n\t\t\ty = keisan;\n\t\t}\n//\t\tSystem.out.println(x+\" \"+y);\n\t\twhile(jy != 0){\n\t\t\tjy = x % y;\n\t\t\tx = y;\n\t\t\ty = jy;\n\t\t}\n\t\tSystem.out.println(x);\n\t}\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args)throws NumberFormatException, IOException{\n//\t\tSystem.out.println(\" \");\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint jy = -1;\n\t\tint keisan = 0;\n\t\tif(x < y){\n\t\t\tkeisan = x;\n\t\t\tx = y;\n\t\t\ty = keisan;\n\t\t}\n//\t\tSystem.out.println(x+\" \"+y);\n\t\twhile(jy != 0){\n\t\t\tjy = x % y;\n\t\t\tx = y;\n\t\t\ty = jy;\n\t\t}\n\t\tSystem.out.println(x);\n\t}\n}", "Main", "public static void main(String[] args)throws NumberFormatException, IOException{\n//\t\tSystem.out.println(\" \");\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint jy = -1;\n\t\tint keisan = 0;\n\t\tif(x < y){\n\t\t\tkeisan = x;\n\t\t\tx = y;\n\t\t\ty = keisan;\n\t\t}\n//\t\tSystem.out.println(x+\" \"+y);\n\t\twhile(jy != 0){\n\t\t\tjy = x % y;\n\t\t\tx = y;\n\t\t\ty = jy;\n\t\t}\n\t\tSystem.out.println(x);\n\t}", "main", "{\n//\t\tSystem.out.println(\" \");\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint jy = -1;\n\t\tint keisan = 0;\n\t\tif(x < y){\n\t\t\tkeisan = x;\n\t\t\tx = y;\n\t\t\ty = keisan;\n\t\t}\n//\t\tSystem.out.println(x+\" \"+y);\n\t\twhile(jy != 0){\n\t\t\tjy = x % y;\n\t\t\tx = y;\n\t\t\ty = jy;\n\t\t}\n\t\tSystem.out.println(x);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "int jy = -1;", "jy", "-1", "1", "int keisan = 0;", "keisan", "0", "if(x < y){\n\t\t\tkeisan = x;\n\t\t\tx = y;\n\t\t\ty = keisan;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tkeisan = x;\n\t\t\tx = y;\n\t\t\ty = keisan;\n\t\t}", "keisan = x", "keisan", "x", "x = y", "x", "y", "y = keisan", "y", "keisan", "while(jy != 0){\n\t\t\tjy = x % y;\n\t\t\tx = y;\n\t\t\ty = jy;\n\t\t}", "jy != 0", "jy", "0", "{\n\t\t\tjy = x % y;\n\t\t\tx = y;\n\t\t\ty = jy;\n\t\t}", "jy = x % y", "jy", "x % y", "x", "y", "x = y", "x", "y", "y = jy", "y", "jy", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args" ]
import java.io.IOException; import java.util.Scanner; class Main{ public static void main(String[] args)throws NumberFormatException, IOException{ // System.out.println(" "); Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); int jy = -1; int keisan = 0; if(x < y){ keisan = x; x = y; y = keisan; } // System.out.println(x+" "+y); while(jy != 0){ jy = x % y; x = y; y = jy; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 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, 20, 4, 18, 18, 13, 13, 4, 13, 4, 18, 13, 4, 18, 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 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 17, 20 ], [ 20, 21 ], [ 20, 22 ], [ 6, 23 ], [ 23, 24 ], [ 6, 25 ], [ 25, 26 ], [ 49, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 27, 46 ], [ 46, 47 ], [ 0, 48 ], [ 48, 49 ], [ 48, 50 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static int gcd(int x, int y) {if (y==0) {return x;}return gcd(y,x%y);}\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(gcd(s.nextInt(),s.nextInt()));\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static int gcd(int x, int y) {if (y==0) {return x;}return gcd(y,x%y);}\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(gcd(s.nextInt(),s.nextInt()));\n\t}\n}", "Main", "public static int gcd(int x, int y) {if (y==0) {return x;}return gcd(y,x%y);}", "gcd", "{if (y==0) {return x;}return gcd(y,x%y);}", "if (y==0) {return x;}", "y==0", "y", "0", "{return x;}", "return x;", "x", "return gcd(y,x%y);", "gcd(y,x%y)", "gcd", "y", "x%y", "x", "y", "int x", "x", "int y", "y", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(gcd(s.nextInt(),s.nextInt()));\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(gcd(s.nextInt(),s.nextInt()));\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "System.out.println(gcd(s.nextInt(),s.nextInt()))", "System.out.println", "System.out", "System", "System.out", "gcd(s.nextInt(),s.nextInt())", "gcd", "s.nextInt()", "s.nextInt", "s", "s.nextInt()", "s.nextInt", "s", "String[] args", "args", "public class Main {\n\tpublic static int gcd(int x, int y) {if (y==0) {return x;}return gcd(y,x%y);}\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(gcd(s.nextInt(),s.nextInt()));\n\t}\n}", "public class Main {\n\tpublic static int gcd(int x, int y) {if (y==0) {return x;}return gcd(y,x%y);}\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tSystem.out.println(gcd(s.nextInt(),s.nextInt()));\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static int gcd(int x, int y) {if (y==0) {return x;}return gcd(y,x%y);} public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println(gcd(s.nextInt(),s.nextInt())); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 76, 8 ], [ 76, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 16, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 30, 36 ], [ 36, 37 ], [ 36, 38 ], [ 30, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 9, 44 ], [ 44, 45 ], [ 9, 46 ], [ 46, 47 ], [ 76, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 50, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 69, 72 ], [ 48, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\n static int gcd(int a, int b){\n if(b < a){ int tmp = b; b = a; a = tmp; }\n while(a != 0){\n int tmp = b % a;\n b = a; a = tmp;\n }\n return b;\n }\n\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.println(gcd(a, b));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n static int gcd(int a, int b){\n if(b < a){ int tmp = b; b = a; a = tmp; }\n while(a != 0){\n int tmp = b % a;\n b = a; a = tmp;\n }\n return b;\n }\n\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.println(gcd(a, b));\n }\n}", "Main", "static int gcd(int a, int b){\n if(b < a){ int tmp = b; b = a; a = tmp; }\n while(a != 0){\n int tmp = b % a;\n b = a; a = tmp;\n }\n return b;\n }", "gcd", "{\n if(b < a){ int tmp = b; b = a; a = tmp; }\n while(a != 0){\n int tmp = b % a;\n b = a; a = tmp;\n }\n return b;\n }", "if(b < a){ int tmp = b; b = a; a = tmp; }", "b < a", "b", "a", "{ int tmp = b; b = a; a = tmp; }", "int tmp = b;", "tmp", "b", "b = a", "b", "a", "a = tmp", "a", "tmp", "while(a != 0){\n int tmp = b % a;\n b = a; a = tmp;\n }", "a != 0", "a", "0", "{\n int tmp = b % a;\n b = a; a = tmp;\n }", "int tmp = b % a;", "tmp", "b % a", "b", "a", "b = a", "b", "a", "a = tmp", "a", "tmp", "return b;", "b", "int a", "a", "int b", "b", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.println(gcd(a, b));\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.println(gcd(a, b));\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String[] args", "args", "public class Main{\n static int gcd(int a, int b){\n if(b < a){ int tmp = b; b = a; a = tmp; }\n while(a != 0){\n int tmp = b % a;\n b = a; a = tmp;\n }\n return b;\n }\n\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.println(gcd(a, b));\n }\n}", "public class Main{\n static int gcd(int a, int b){\n if(b < a){ int tmp = b; b = a; a = tmp; }\n while(a != 0){\n int tmp = b % a;\n b = a; a = tmp;\n }\n return b;\n }\n\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = scan.nextInt();\n int b = scan.nextInt();\n System.out.println(gcd(a, b));\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main{ static int gcd(int a, int b){ if(b < a){ int tmp = b; b = a; a = tmp; } while(a != 0){ int tmp = b % a; b = a; a = tmp; } return b; } public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); System.out.println(gcd(a, b)); } }
[ 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, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 20, 14, 2, 13, 13, 30, 41, 13, 2, 13, 13, 14, 2, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 14, 2, 13, 13, 30, 41, 13, 2, 13, 13, 14, 2, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 30, 4, 18, 13, 13, 28, 13, 13, 30, 30, 28, 13, 13, 30, 30, 14, 2, 13, 13, 30, 4, 18, 13, 13, 3, 14, 2, 13, 13, 30, 3, 4, 18, 18, 13, 13, 4, 18, 18, 18, 13, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 276, 14 ], [ 276, 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 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 17, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 17, 48 ], [ 48, 49 ], [ 48, 50 ], [ 17, 51 ], [ 51, 52 ], [ 51, 53 ], [ 17, 54 ], [ 54, 55 ], [ 54, 56 ], [ 17, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 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 ], [ 86, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 84, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 67, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 120, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 132, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 57, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 147, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 163, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 158, 169 ], [ 170, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 171, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 170, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 182, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 189, 192 ], [ 153, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 199, 201 ], [ 194, 202 ], [ 202, 203 ], [ 203, 204 ], [ 194, 205 ], [ 206, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 207, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 214, 217 ], [ 206, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 218, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 225, 228 ], [ 143, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 230, 233 ], [ 17, 234 ], [ 234, 235 ], [ 234, 236 ], [ 234, 237 ], [ 238, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 239, 242 ], [ 243, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 249, 252 ], [ 248, 253 ], [ 244, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 258, 259 ], [ 17, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 260, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 267, 271 ], [ 265, 272 ], [ 15, 273 ], [ 273, 274 ], [ 0, 275 ], [ 275, 276 ], [ 275, 277 ] ]
[ "import java.text.ParseException;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] arges) throws ParseException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] kz = line.split(\" \");\n\t\tint v1 = Integer.parseInt(kz[0]);\n\t\tint v2 = Integer.parseInt(kz[1]);\n\t\tList<Integer> vlist = new ArrayList<Integer>();\n\t\tList<Integer> v3list = new ArrayList<Integer>();\n\t\tList<Integer> kouyaku = new ArrayList<Integer>();\n\t\tif (v1 < v2) {\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}\n\n\t\tfor (int integer : vlist) {\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(java.util.Collections.max(kouyaku));\n\n\t}\n}", "import java.text.ParseException;", "ParseException", "java.text", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] arges) throws ParseException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] kz = line.split(\" \");\n\t\tint v1 = Integer.parseInt(kz[0]);\n\t\tint v2 = Integer.parseInt(kz[1]);\n\t\tList<Integer> vlist = new ArrayList<Integer>();\n\t\tList<Integer> v3list = new ArrayList<Integer>();\n\t\tList<Integer> kouyaku = new ArrayList<Integer>();\n\t\tif (v1 < v2) {\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}\n\n\t\tfor (int integer : vlist) {\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(java.util.Collections.max(kouyaku));\n\n\t}\n}", "Main", "public static void main(String[] arges) throws ParseException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] kz = line.split(\" \");\n\t\tint v1 = Integer.parseInt(kz[0]);\n\t\tint v2 = Integer.parseInt(kz[1]);\n\t\tList<Integer> vlist = new ArrayList<Integer>();\n\t\tList<Integer> v3list = new ArrayList<Integer>();\n\t\tList<Integer> kouyaku = new ArrayList<Integer>();\n\t\tif (v1 < v2) {\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}\n\n\t\tfor (int integer : vlist) {\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(java.util.Collections.max(kouyaku));\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] kz = line.split(\" \");\n\t\tint v1 = Integer.parseInt(kz[0]);\n\t\tint v2 = Integer.parseInt(kz[1]);\n\t\tList<Integer> vlist = new ArrayList<Integer>();\n\t\tList<Integer> v3list = new ArrayList<Integer>();\n\t\tList<Integer> kouyaku = new ArrayList<Integer>();\n\t\tif (v1 < v2) {\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}\n\n\t\tfor (int integer : vlist) {\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(java.util.Collections.max(kouyaku));\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] kz = line.split(\" \");", "kz", "line.split(\" \")", "line.split", "line", "\" \"", "int v1 = Integer.parseInt(kz[0]);", "v1", "Integer.parseInt(kz[0])", "Integer.parseInt", "Integer", "kz[0]", "kz", "0", "int v2 = Integer.parseInt(kz[1]);", "v2", "Integer.parseInt(kz[1])", "Integer.parseInt", "Integer", "kz[1]", "kz", "1", "List<Integer> vlist = new ArrayList<Integer>();", "vlist", "new ArrayList<Integer>()", "List<Integer> v3list = new ArrayList<Integer>();", "v3list", "new ArrayList<Integer>()", "List<Integer> kouyaku = new ArrayList<Integer>();", "kouyaku", "new ArrayList<Integer>()", "if (v1 < v2) {\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}", "v1 < v2", "v1", "v2", "{\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}", "int v3 = v2 % v1;", "v3", "v2 % v1", "v2", "v1", "if (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}", "v1 >= v3", "v1", "v3", "{\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= v3", "i", "v3", "i++", "i++", "i", "{\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "if (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3 % i == 0", "v3 % i", "v3", "i", "0", "{\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3list.add(i)", "v3list.add", "v3list", "i", "if (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "v1 % i == 0", "v1 % i", "v1", "i", "0", "{\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "vlist.add(i)", "vlist.add", "vlist", "i", "{\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}", "for (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= v1", "i", "v1", "i++", "i++", "i", "{\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "if (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3 % i == 0", "v3 % i", "v3", "i", "0", "{\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3list.add(i)", "v3list.add", "v3list", "i", "if (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "v1 % i == 0", "v1 % i", "v1", "i", "0", "{\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "vlist.add(i)", "vlist.add", "vlist", "i", "if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}", "v1 > v2", "v1", "v2", "{\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int v3 = v1 % v2;", "v3", "v1 % v2", "v1", "v2", "if (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "v3 >= v2", "v3", "v2", "{\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t}", "for (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= v2", "i", "v2", "i++", "i++", "i", "{\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}", "{\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}", "if (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "v2 % i == 0", "v2 % i", "v2", "i", "0", "{\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "vlist.add(i)", "vlist.add", "vlist", "i", "if (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3 % i == 0", "v3 % i", "v3", "i", "0", "{\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3list.add(i)", "v3list.add", "v3list", "i", "{\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= v3", "i", "v3", "i++", "i++", "i", "{\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}", "if (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3 % i == 0", "v3 % i", "v3", "i", "0", "{\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}", "v3list.add(i)", "v3list.add", "v3list", "i", "if (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "v2 % i == 0", "v2 % i", "v2", "i", "0", "{\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}", "vlist.add(i)", "vlist.add", "vlist", "i", "{\n\t\t\tkouyaku.add(v1);\n\t\t}", "kouyaku.add(v1)", "kouyaku.add", "kouyaku", "v1", "for (int integer : vlist) {\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int integer", "vlist", "{\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "int in", "v3list", "{\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "if (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "integer == in", "integer", "in", "{\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t}", "kouyaku.add(in)", "kouyaku.add", "kouyaku", "in", "break;", "if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}", "integer < in", "integer", "in", "{\n\t\t\t\t\tbreak;\n\t\t\t\t}", "break;", "System.out.println(java.util.Collections.max(kouyaku))", "System.out.println", "System.out", "System", "System.out", "java.util.Collections.max(kouyaku)", "java.util.Collections.max", "java.util.Collections", "java.util", "java", "java.util", "java.util.Collections", "kouyaku", "String[] arges", "arges", "public class Main {\n\n\tpublic static void main(String[] arges) throws ParseException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] kz = line.split(\" \");\n\t\tint v1 = Integer.parseInt(kz[0]);\n\t\tint v2 = Integer.parseInt(kz[1]);\n\t\tList<Integer> vlist = new ArrayList<Integer>();\n\t\tList<Integer> v3list = new ArrayList<Integer>();\n\t\tList<Integer> kouyaku = new ArrayList<Integer>();\n\t\tif (v1 < v2) {\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}\n\n\t\tfor (int integer : vlist) {\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(java.util.Collections.max(kouyaku));\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] arges) throws ParseException {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] kz = line.split(\" \");\n\t\tint v1 = Integer.parseInt(kz[0]);\n\t\tint v2 = Integer.parseInt(kz[1]);\n\t\tList<Integer> vlist = new ArrayList<Integer>();\n\t\tList<Integer> v3list = new ArrayList<Integer>();\n\t\tList<Integer> kouyaku = new ArrayList<Integer>();\n\t\tif (v1 < v2) {\n\t\t\tint v3 = v2 % v1;\n\t\t\tif (v1 >= v3) {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (int i = 1; i <= v1; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v1 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t} else if (v1 > v2) {\n\t\t\tint v3 = v1 % v2;\n\t\t\tif (v3 >= v2) {\n\n\t\t\t\tfor (int i = 1; i <= v2; i++) {\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\tfor (int i = 1; i <= v3; i++) {\n\t\t\t\t\tif (v3 % i == 0) {\n\t\t\t\t\t\tv3list.add(i);\n\t\t\t\t\t}\n\t\t\t\t\tif (v2 % i == 0) {\n\t\t\t\t\t\tvlist.add(i);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tkouyaku.add(v1);\n\t\t}\n\n\t\tfor (int integer : vlist) {\n\t\t\tfor (int in : v3list) {\n\t\t\t\tif (integer == in) {\n\t\t\t\t\tkouyaku.add(in);\n\t\t\t\t\tbreak;\n\n\t\t\t\t} else if (integer < in) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(java.util.Collections.max(kouyaku));\n\n\t}\n}", "Main" ]
import java.text.ParseException; import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] arges) throws ParseException { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] kz = line.split(" "); int v1 = Integer.parseInt(kz[0]); int v2 = Integer.parseInt(kz[1]); List<Integer> vlist = new ArrayList<Integer>(); List<Integer> v3list = new ArrayList<Integer>(); List<Integer> kouyaku = new ArrayList<Integer>(); if (v1 < v2) { int v3 = v2 % v1; if (v1 >= v3) { for (int i = 1; i <= v3; i++) { if (v3 % i == 0) { v3list.add(i); } if (v1 % i == 0) { vlist.add(i); } } } else { for (int i = 1; i <= v1; i++) { if (v3 % i == 0) { v3list.add(i); } if (v1 % i == 0) { vlist.add(i); } } } } else if (v1 > v2) { int v3 = v1 % v2; if (v3 >= v2) { for (int i = 1; i <= v2; i++) { if (v2 % i == 0) { vlist.add(i); } if (v3 % i == 0) { v3list.add(i); } } } else { for (int i = 1; i <= v3; i++) { if (v3 % i == 0) { v3list.add(i); } if (v2 % i == 0) { vlist.add(i); } } } } else { kouyaku.add(v1); } for (int integer : vlist) { for (int in : v3list) { if (integer == in) { kouyaku.add(in); break; } else if (integer < in) { break; } } } System.out.println(java.util.Collections.max(kouyaku)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 42, 2, 2, 13, 13, 17, 30, 0, 13, 13, 41, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 32, 39 ], [ 39, 40 ], [ 39, 41 ], [ 32, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 6, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n while (x % y != 0) {\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }\n System.out.println(y);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n while (x % y != 0) {\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }\n System.out.println(y);\n }\n}", "Main", "public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n while (x % y != 0) {\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }\n System.out.println(y);\n }", "main", "{\n int x, y;\n Scanner sc = new Scanner(System.in);\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n while (x % y != 0) {\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }\n System.out.println(y);\n }", "int x", "x", "y;", "y", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "while (x % y != 0) {\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }", "x % y != 0", "x % y", "x", "y", "0", "{\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }", "x%=y", "x", "y", "int tmp = y;", "tmp", "y", "y = x", "y", "x", "x = tmp", "x", "tmp", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n while (x % y != 0) {\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }\n System.out.println(y);\n }\n}", "public class Main {\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n\n x = sc.nextInt();\n y = sc.nextInt();\n\n while (x % y != 0) {\n x%=y;\n int tmp = y;\n y = x;\n x = tmp;\n }\n System.out.println(y);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int x, y; Scanner sc = new Scanner(System.in); x = sc.nextInt(); y = sc.nextInt(); while (x % y != 0) { x%=y; int tmp = y; y = x; x = tmp; } System.out.println(y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 20, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 27, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 6, 43 ], [ 43, 44 ], [ 72, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 47, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 47, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 45, 67 ], [ 67, 68 ], [ 45, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = new Main().gcd(Math.max(a, b), Math.min(a, b));\n System.out.println(ans);\n }\n public int gcd(int b, int l) {\n if (l == 0)\n return b;\n if (l == 1)\n return l;\n return gcd(l, b % l);\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 a = sc.nextInt();\n int b = sc.nextInt();\n int ans = new Main().gcd(Math.max(a, b), Math.min(a, b));\n System.out.println(ans);\n }\n public int gcd(int b, int l) {\n if (l == 0)\n return b;\n if (l == 1)\n return l;\n return gcd(l, b % l);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = new Main().gcd(Math.max(a, b), Math.min(a, b));\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = new Main().gcd(Math.max(a, b), Math.min(a, b));\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int ans = new Main().gcd(Math.max(a, b), Math.min(a, b));", "ans", "new Main().gcd(Math.max(a, b), Math.min(a, b))", "new Main().gcd", "new Main()", "Math.max(a, b)", "Math.max", "Math", "a", "b", "Math.min(a, b)", "Math.min", "Math", "a", "b", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public int gcd(int b, int l) {\n if (l == 0)\n return b;\n if (l == 1)\n return l;\n return gcd(l, b % l);\n }", "gcd", "{\n if (l == 0)\n return b;\n if (l == 1)\n return l;\n return gcd(l, b % l);\n }", "if (l == 0)\n return b;", "l == 0", "l", "0", "return b;", "b", "if (l == 1)\n return l;", "l == 1", "l", "1", "return l;", "l", "return gcd(l, b % l);", "gcd(l, b % l)", "gcd", "l", "b % l", "b", "l", "int b", "b", "int l", "l", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = new Main().gcd(Math.max(a, b), Math.min(a, b));\n System.out.println(ans);\n }\n public int gcd(int b, int l) {\n if (l == 0)\n return b;\n if (l == 1)\n return l;\n return gcd(l, b % l);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int ans = new Main().gcd(Math.max(a, b), Math.min(a, b));\n System.out.println(ans);\n }\n public int gcd(int b, int l) {\n if (l == 0)\n return b;\n if (l == 1)\n return l;\n return gcd(l, b % l);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int ans = new Main().gcd(Math.max(a, b), Math.min(a, b)); System.out.println(ans); } public int gcd(int b, int l) { if (l == 0) return b; if (l == 1) return l; return gcd(l, b % l); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 13, 13, 4, 13, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 12, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 22, 27 ], [ 19, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 19, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 19, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 49, 52 ], [ 6, 53 ], [ 53, 54 ], [ 4, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 57, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 72, 78 ], [ 78, 79 ], [ 78, 80 ], [ 72, 81 ], [ 81, 82 ], [ 81, 83 ], [ 57, 84 ], [ 84, 85 ], [ 55, 86 ], [ 86, 87 ], [ 55, 88 ], [ 88, 89 ], [ 4, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 95, 96 ], [ 95, 97 ], [ 92, 98 ], [ 98, 99 ], [ 98, 100 ], [ 92, 101 ], [ 101, 102 ], [ 101, 103 ], [ 90, 104 ], [ 104, 105 ], [ 90, 106 ], [ 106, 107 ] ]
[ "// ALDS1_1_B Greatest Common Divisor\nimport java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n System.out.println(gcd(x, y));\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }\n static int gcd(int x, int y) {\n int r;\n if (x <= y) swap(x, y);\n while (y > 0) {\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n static void swap(int x, int y) {\n int work;\n work = x;\n x = y;\n y = work;\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n System.out.println(gcd(x, y));\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }\n static int gcd(int x, int y) {\n int r;\n if (x <= y) swap(x, y);\n while (y > 0) {\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }\n static void swap(int x, int y) {\n int work;\n work = x;\n x = y;\n y = work;\n }\n}", "Main", "public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n System.out.println(gcd(x, y));\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n System.out.println(gcd(x, y));\n }\n catch (Exception e) {\n e.printStackTrace();\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try {\n String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n System.out.println(gcd(x, y));\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 String[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n System.out.println(gcd(x, y));\n }", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(input[0]);", "x", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int y = Integer.parseInt(input[1]);", "y", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "static int gcd(int x, int y) {\n int r;\n if (x <= y) swap(x, y);\n while (y > 0) {\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "gcd", "{\n int r;\n if (x <= y) swap(x, y);\n while (y > 0) {\n r = x % y;\n x = y;\n y = r;\n }\n return x;\n }", "int r;", "r", "if (x <= y) swap(x, y);", "x <= y", "x", "y", "swap(x, y)", "swap", "x", "y", "while (y > 0) {\n r = x % y;\n x = y;\n y = r;\n }", "y > 0", "y", "0", "{\n r = x % y;\n x = y;\n y = r;\n }", "r = x % y", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "static void swap(int x, int y) {\n int work;\n work = x;\n x = y;\n y = work;\n }", "swap", "{\n int work;\n work = x;\n x = y;\n y = work;\n }", "int work;", "work", "work = x", "work", "x", "x = y", "x", "y", "y = work", "y", "work", "int x", "x", "int y", "y" ]
// ALDS1_1_B Greatest Common Divisor import java.io.*; class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try { String[] input = br.readLine().split(" "); int x = Integer.parseInt(input[0]); int y = Integer.parseInt(input[1]); System.out.println(gcd(x, y)); } catch (Exception e) { e.printStackTrace(); } } static int gcd(int x, int y) { int r; if (x <= y) swap(x, y); while (y > 0) { r = x % y; x = y; y = r; } return x; } static void swap(int x, int y) { int work; work = x; x = y; y = work; } }
[ 7, 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, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 30, 36 ], [ 36, 37 ], [ 36, 38 ], [ 26, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 48, 59 ], [ 59, 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 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 73, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 85, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 6, 96 ], [ 96, 97 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint d;\n\t\tint e;\n\t\tif (x >= y) {\n\t\t\td = x % y;\n\t\t\te = y;\n\t\t} else {\n\t\t\td = y % x;\n\t\t\te = x;\n\t\t}\n\t\tif (d == 0) {\n\t\t\tSystem.out.println(e);\n\t\t} else {\n\t\t\tfor (int i = d; d > 0; i--) {\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint d;\n\t\tint e;\n\t\tif (x >= y) {\n\t\t\td = x % y;\n\t\t\te = y;\n\t\t} else {\n\t\t\td = y % x;\n\t\t\te = x;\n\t\t}\n\t\tif (d == 0) {\n\t\t\tSystem.out.println(e);\n\t\t} else {\n\t\t\tfor (int i = d; d > 0; i--) {\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}", "Main", "public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint d;\n\t\tint e;\n\t\tif (x >= y) {\n\t\t\td = x % y;\n\t\t\te = y;\n\t\t} else {\n\t\t\td = y % x;\n\t\t\te = x;\n\t\t}\n\t\tif (d == 0) {\n\t\t\tSystem.out.println(e);\n\t\t} else {\n\t\t\tfor (int i = d; d > 0; i--) {\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint d;\n\t\tint e;\n\t\tif (x >= y) {\n\t\t\td = x % y;\n\t\t\te = y;\n\t\t} else {\n\t\t\td = y % x;\n\t\t\te = x;\n\t\t}\n\t\tif (d == 0) {\n\t\t\tSystem.out.println(e);\n\t\t} else {\n\t\t\tfor (int i = d; d > 0; i--) {\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "int d;", "d", "int e;", "e", "if (x >= y) {\n\t\t\td = x % y;\n\t\t\te = y;\n\t\t} else {\n\t\t\td = y % x;\n\t\t\te = x;\n\t\t}", "x >= y", "x", "y", "{\n\t\t\td = x % y;\n\t\t\te = y;\n\t\t}", "d = x % y", "d", "x % y", "x", "y", "e = y", "e", "y", "{\n\t\t\td = y % x;\n\t\t\te = x;\n\t\t}", "d = y % x", "d", "y % x", "y", "x", "e = x", "e", "x", "if (d == 0) {\n\t\t\tSystem.out.println(e);\n\t\t} else {\n\t\t\tfor (int i = d; d > 0; i--) {\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "d == 0", "d", "0", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n\t\t\tfor (int i = d; d > 0; i--) {\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int i = d; d > 0; i--) {\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "int i = d;", "int i = d;", "i", "d", "d > 0", "d", "0", "i--", "i--", "i", "{\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "if (d % i == 0 && e % i == 0) {\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}", "d % i == 0 && e % i == 0", "d % i == 0", "d % i", "d", "i", "0", "e % i == 0", "e % i", "e", "i", "0", "{\n\t\t\t\t\tSystem.out.println(i);\n\t\t\t\t\tbreak;\n\t\t\t\t}", "System.out.println(i)", "System.out.println", "System.out", "System", "System.out", "i", "break;", "scan.close()", "scan.close", "scan", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); int d; int e; if (x >= y) { d = x % y; e = y; } else { d = y % x; e = x; } if (d == 0) { System.out.println(e); } else { for (int i = d; d > 0; i--) { if (d % i == 0 && e % i == 0) { System.out.println(i); break; } } } scan.close(); } }
[ 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, 4, 18, 13, 13, 13, 11, 1, 41, 13, 13, 2, 13, 17, 1, 40, 13, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 29, 13, 29, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 30, 41, 13, 2, 13, 13, 0, 13, 4, 13, 13, 13, 30, 41, 13, 2, 13, 13, 0, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 42, 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, 0, 13, 20, 0, 13, 20, 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 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 26, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 43, 55 ], [ 55, 56 ], [ 23, 57 ], [ 57, 58 ], [ 21, 59 ], [ 59, 60 ], [ 21, 61 ], [ 61, 62 ], [ 19, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 65, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 65, 84 ], [ 84, 85 ], [ 65, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 86, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 97, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 105, 108 ], [ 93, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 109, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 117, 119 ], [ 117, 120 ], [ 65, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 63, 127 ], [ 127, 128 ], [ 19, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 129, 133 ], [ 133, 134 ], [ 129, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 138, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 144, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 137, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 129, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 165, 166 ], [ 129, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 173, 175 ], [ 167, 176 ], [ 176, 177 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.InputMismatchException;\nimport java.util.StringTokenizer;\n\nclass Main {\n\t//ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹\n\tstatic int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) \n\t\t\tif (x % i == 0 && y % i == 0) return i;\n\t\t\n\t\treturn 1;\n\t}\n\t\t\n\tstatic class InputReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic String nextString() {\n\t\t\t\n\t\t\t while (!st.hasMoreTokens()) {\n\t try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }\n\t }\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(nextString());\n\t\t}\n\t\t\t\t\t\n\t\tpublic InputReader (InputStream inputStream) {\n\t\t\tbr = new BufferedReader (new InputStreamReader (inputStream));\n\t\t\tst = new StringTokenizer (\"\");\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main (String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tInputReader in = new InputReader (inputStream);\n\t\t\n\t\t//๏ผ’ใคใฎ่‡ช็„ถๆ•ฐๅ…ฅๅŠ›\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tint gcd;\n\t\t\n\t\tif ( x == y) gcd = x;\n\t\telse if (x > y) {\n\t\t\tint n = x % y;\n\t\t\tgcd = Gcd(y,n);\n\t\t} else {\n\t\t\tint n = y % x;\n\t\t\tgcd = Gcd(x,n);\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t}\n\t\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "class Main {\n\t//ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹\n\tstatic int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) \n\t\t\tif (x % i == 0 && y % i == 0) return i;\n\t\t\n\t\treturn 1;\n\t}\n\t\t\n\tstatic class InputReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic String nextString() {\n\t\t\t\n\t\t\t while (!st.hasMoreTokens()) {\n\t try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }\n\t }\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(nextString());\n\t\t}\n\t\t\t\t\t\n\t\tpublic InputReader (InputStream inputStream) {\n\t\t\tbr = new BufferedReader (new InputStreamReader (inputStream));\n\t\t\tst = new StringTokenizer (\"\");\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main (String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tInputReader in = new InputReader (inputStream);\n\t\t\n\t\t//๏ผ’ใคใฎ่‡ช็„ถๆ•ฐๅ…ฅๅŠ›\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tint gcd;\n\t\t\n\t\tif ( x == y) gcd = x;\n\t\telse if (x > y) {\n\t\t\tint n = x % y;\n\t\t\tgcd = Gcd(y,n);\n\t\t} else {\n\t\t\tint n = y % x;\n\t\t\tgcd = Gcd(x,n);\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t}\n\t\n}", "Main", "//ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹\n\tstatic int Gcd(int x, int y) {\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) \n\t\t\tif (x % i == 0 && y % i == 0) return i;\n\t\t\n\t\treturn 1;\n\t}", "Gcd", "{\n\t\t\n\t\tint n = Math.min(x, y);\n\t\t\n\t\tfor (int i = n; i >= 1; i--) \n\t\t\tif (x % i == 0 && y % i == 0) return i;\n\t\t\n\t\treturn 1;\n\t}", "int n = Math.min(x, y);", "n", "Math.min(x, y)", "Math.min", "Math", "x", "y", "for (int i = n; i >= 1; i--) \n\t\t\tif (x % i == 0 && y % i == 0) return i;", "int i = n;", "int i = n;", "i", "n", "i >= 1", "i", "1", "i--", "i--", "i", "if (x % i == 0 && y % i == 0) return i;", "if (x % i == 0 && y % i == 0) return i;", "x % i == 0 && y % i == 0", "x % i == 0", "x % i", "x", "i", "0", "y % i == 0", "y % i", "y", "i", "0", "return i;", "i", "return 1;", "1", "int x", "x", "int y", "y", "public static void main (String[] args) {\n\t\tInputStream inputStream = System.in;\n\t\tInputReader in = new InputReader (inputStream);\n\t\t\n\t\t//๏ผ’ใคใฎ่‡ช็„ถๆ•ฐๅ…ฅๅŠ›\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tint gcd;\n\t\t\n\t\tif ( x == y) gcd = x;\n\t\telse if (x > y) {\n\t\t\tint n = x % y;\n\t\t\tgcd = Gcd(y,n);\n\t\t} else {\n\t\t\tint n = y % x;\n\t\t\tgcd = Gcd(x,n);\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t}", "main", "{\n\t\tInputStream inputStream = System.in;\n\t\tInputReader in = new InputReader (inputStream);\n\t\t\n\t\t//๏ผ’ใคใฎ่‡ช็„ถๆ•ฐๅ…ฅๅŠ›\n\t\tint x = in.nextInt();\n\t\tint y = in.nextInt();\n\t\t\n\t\tint gcd;\n\t\t\n\t\tif ( x == y) gcd = x;\n\t\telse if (x > y) {\n\t\t\tint n = x % y;\n\t\t\tgcd = Gcd(y,n);\n\t\t} else {\n\t\t\tint n = y % x;\n\t\t\tgcd = Gcd(x,n);\n\t\t}\n\t\t\n\t\tSystem.out.println(gcd);\n\t}", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "InputReader in = new InputReader (inputStream);", "in", "new InputReader (inputStream)", "int x = in.nextInt();", "x", "in.nextInt()", "in.nextInt", "in", "int y = in.nextInt();", "y", "in.nextInt()", "in.nextInt", "in", "int gcd;", "gcd", "if ( x == y) gcd = x;\n\t\telse if (x > y) {\n\t\t\tint n = x % y;\n\t\t\tgcd = Gcd(y,n);\n\t\t} else {\n\t\t\tint n = y % x;\n\t\t\tgcd = Gcd(x,n);\n\t\t}", "x == y", "x", "y", "gcd = x", "gcd", "x", "if (x > y) {\n\t\t\tint n = x % y;\n\t\t\tgcd = Gcd(y,n);\n\t\t} else {\n\t\t\tint n = y % x;\n\t\t\tgcd = Gcd(x,n);\n\t\t}", "x > y", "x", "y", "{\n\t\t\tint n = x % y;\n\t\t\tgcd = Gcd(y,n);\n\t\t}", "int n = x % y;", "n", "x % y", "x", "y", "gcd = Gcd(y,n)", "gcd", "Gcd(y,n)", "Gcd", "y", "n", "{\n\t\t\tint n = y % x;\n\t\t\tgcd = Gcd(x,n);\n\t\t}", "int n = y % x;", "n", "y % x", "y", "x", "gcd = Gcd(x,n)", "gcd", "Gcd(x,n)", "Gcd", "x", "n", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "String[] args", "args", "static class InputReader {\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\t\n\t\tpublic String nextString() {\n\t\t\t\n\t\t\t while (!st.hasMoreTokens()) {\n\t try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }\n\t }\n\t\t\treturn st.nextToken();\n\t\t}\n\t\t\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(nextString());\n\t\t}\n\t\t\t\t\t\n\t\tpublic InputReader (InputStream inputStream) {\n\t\t\tbr = new BufferedReader (new InputStreamReader (inputStream));\n\t\t\tst = new StringTokenizer (\"\");\n\t\t}\n\t\t\n\t}", "InputReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public String nextString() {\n\t\t\t\n\t\t\t while (!st.hasMoreTokens()) {\n\t try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }\n\t }\n\t\t\treturn st.nextToken();\n\t\t}", "nextString", "{\n\t\t\t\n\t\t\t while (!st.hasMoreTokens()) {\n\t try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }\n\t }\n\t\t\treturn st.nextToken();\n\t\t}", "while (!st.hasMoreTokens()) {\n\t try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }\n\t }", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n\t try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }\n\t }", "try {\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t } catch (IOException e) {\n\t throw new InputMismatchException();\n\t }", "catch (IOException e) {\n\t throw new InputMismatchException();\n\t }", "IOException e", "{\n\t throw new InputMismatchException();\n\t }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n\t st = new StringTokenizer(br.readLine(), \" \");\n\t }", "st = new StringTokenizer(br.readLine(), \" \")", "st", "new StringTokenizer(br.readLine(), \" \")", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public int nextInt() {\n\t\t\treturn Integer.parseInt(nextString());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(nextString());\n\t\t}", "return Integer.parseInt(nextString());", "Integer.parseInt(nextString())", "Integer.parseInt", "Integer", "nextString()", "nextString", "public InputReader (InputStream inputStream) {\n\t\t\tbr = new BufferedReader (new InputStreamReader (inputStream));\n\t\t\tst = new StringTokenizer (\"\");\n\t\t}", "InputReader", "{\n\t\t\tbr = new BufferedReader (new InputStreamReader (inputStream));\n\t\t\tst = new StringTokenizer (\"\");\n\t\t}", "br = new BufferedReader (new InputStreamReader (inputStream))", "br", "new BufferedReader (new InputStreamReader (inputStream))", "st = new StringTokenizer (\"\")", "st", "new StringTokenizer (\"\")", "InputStream inputStream", "inputStream" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.InputMismatchException; import java.util.StringTokenizer; class Main { //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’ๆฑ‚ใ‚ใ‚‹ static int Gcd(int x, int y) { int n = Math.min(x, y); for (int i = n; i >= 1; i--) if (x % i == 0 && y % i == 0) return i; return 1; } static class InputReader { BufferedReader br; StringTokenizer st; public String nextString() { while (!st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine(), " "); } catch (IOException e) { throw new InputMismatchException(); } } return st.nextToken(); } public int nextInt() { return Integer.parseInt(nextString()); } public InputReader (InputStream inputStream) { br = new BufferedReader (new InputStreamReader (inputStream)); st = new StringTokenizer (""); } } public static void main (String[] args) { InputStream inputStream = System.in; InputReader in = new InputReader (inputStream); //๏ผ’ใคใฎ่‡ช็„ถๆ•ฐๅ…ฅๅŠ› int x = in.nextInt(); int y = in.nextInt(); int gcd; if ( x == y) gcd = x; else if (x > y) { int n = x % y; gcd = Gcd(y,n); } else { int n = y % x; gcd = Gcd(x,n); } System.out.println(gcd); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 29, 4, 13, 13, 13, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 63, 5 ], [ 63, 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 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 63, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 35, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 35, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 33, 58 ], [ 58, 59 ], [ 33, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n1 = sc.nextInt();\n\tint n2 = sc.nextInt();\n\tSystem.out.println(euc(n1,n2));\n }\n private static int euc(int n1, int n2){\n\tif(n1 < n2) return euc(n2,n1);\n\tif(n2 == 0) return n1;\n\treturn euc(n2,n1%n2);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n1 = sc.nextInt();\n\tint n2 = sc.nextInt();\n\tSystem.out.println(euc(n1,n2));\n }\n private static int euc(int n1, int n2){\n\tif(n1 < n2) return euc(n2,n1);\n\tif(n2 == 0) return n1;\n\treturn euc(n2,n1%n2);\n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n1 = sc.nextInt();\n\tint n2 = sc.nextInt();\n\tSystem.out.println(euc(n1,n2));\n }", "main", "{\n\tScanner sc = new Scanner(System.in);\n\tint n1 = sc.nextInt();\n\tint n2 = sc.nextInt();\n\tSystem.out.println(euc(n1,n2));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n1 = sc.nextInt();", "n1", "sc.nextInt()", "sc.nextInt", "sc", "int n2 = sc.nextInt();", "n2", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(euc(n1,n2))", "System.out.println", "System.out", "System", "System.out", "euc(n1,n2)", "euc", "n1", "n2", "String[] args", "args", "private static int euc(int n1, int n2){\n\tif(n1 < n2) return euc(n2,n1);\n\tif(n2 == 0) return n1;\n\treturn euc(n2,n1%n2);\n }", "euc", "{\n\tif(n1 < n2) return euc(n2,n1);\n\tif(n2 == 0) return n1;\n\treturn euc(n2,n1%n2);\n }", "if(n1 < n2) return euc(n2,n1);", "n1 < n2", "n1", "n2", "return euc(n2,n1);", "euc(n2,n1)", "euc", "n2", "n1", "if(n2 == 0) return n1;", "n2 == 0", "n2", "0", "return n1;", "n1", "return euc(n2,n1%n2);", "euc(n2,n1%n2)", "euc", "n2", "n1%n2", "n1", "n2", "int n1", "n1", "int n2", "n2", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n1 = sc.nextInt();\n\tint n2 = sc.nextInt();\n\tSystem.out.println(euc(n1,n2));\n }\n private static int euc(int n1, int n2){\n\tif(n1 < n2) return euc(n2,n1);\n\tif(n2 == 0) return n1;\n\treturn euc(n2,n1%n2);\n }\n}", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n1 = sc.nextInt();\n\tint n2 = sc.nextInt();\n\tSystem.out.println(euc(n1,n2));\n }\n private static int euc(int n1, int n2){\n\tif(n1 < n2) return euc(n2,n1);\n\tif(n2 == 0) return n1;\n\treturn euc(n2,n1%n2);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n1 = sc.nextInt(); int n2 = sc.nextInt(); System.out.println(euc(n1,n2)); } private static int euc(int n1, int n2){ if(n1 < n2) return euc(n2,n1); if(n2 == 0) return n1; return euc(n2,n1%n2); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 42, 2, 13, 17, 30, 0, 13, 2, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 13, 30, 14, 2, 13, 13, 30, 0, 13, 13, 30, 0, 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 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 32, 36 ], [ 31, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 37, 41 ], [ 28, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 52, 56 ], [ 42, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 6, 70 ], [ 70, 71 ] ]
[ "import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint z;\n\t\t//??????????????????????????????\n\t\t//??ยด??ยฐ x, y(x >= y)??????????????? x ??ยจ y ????????ยง??ยฌ?ยด???ยฐ??? y ??ยจ x % y ????????ยง??ยฌ?ยด???ยฐ???????????????\n\t\t//????????ยง x % y ??? x ??? y ??ยง?????ยฃ???????????ยง??????\n\t\tdo{\n\t\t\tz = Math.max(x, y) % Math.min(x, y);\n\t\t\tif(z == 0){\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}\n\t\t}while(z != 0);\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint z;\n\t\t//??????????????????????????????\n\t\t//??ยด??ยฐ x, y(x >= y)??????????????? x ??ยจ y ????????ยง??ยฌ?ยด???ยฐ??? y ??ยจ x % y ????????ยง??ยฌ?ยด???ยฐ???????????????\n\t\t//????????ยง x % y ??? x ??? y ??ยง?????ยฃ???????????ยง??????\n\t\tdo{\n\t\t\tz = Math.max(x, y) % Math.min(x, y);\n\t\t\tif(z == 0){\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}\n\t\t}while(z != 0);\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint z;\n\t\t//??????????????????????????????\n\t\t//??ยด??ยฐ x, y(x >= y)??????????????? x ??ยจ y ????????ยง??ยฌ?ยด???ยฐ??? y ??ยจ x % y ????????ยง??ยฌ?ยด???ยฐ???????????????\n\t\t//????????ยง x % y ??? x ??? y ??ยง?????ยฃ???????????ยง??????\n\t\tdo{\n\t\t\tz = Math.max(x, y) % Math.min(x, y);\n\t\t\tif(z == 0){\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}\n\t\t}while(z != 0);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint z;\n\t\t//??????????????????????????????\n\t\t//??ยด??ยฐ x, y(x >= y)??????????????? x ??ยจ y ????????ยง??ยฌ?ยด???ยฐ??? y ??ยจ x % y ????????ยง??ยฌ?ยด???ยฐ???????????????\n\t\t//????????ยง x % y ??? x ??? y ??ยง?????ยฃ???????????ยง??????\n\t\tdo{\n\t\t\tz = Math.max(x, y) % Math.min(x, y);\n\t\t\tif(z == 0){\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}\n\t\t}while(z != 0);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "int z;", "z", "do{\n\t\t\tz = Math.max(x, y) % Math.min(x, y);\n\t\t\tif(z == 0){\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}\n\t\t}while(z != 0);", "z != 0", "z", "0", "{\n\t\t\tz = Math.max(x, y) % Math.min(x, y);\n\t\t\tif(z == 0){\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}\n\t\t}", "z = Math.max(x, y) % Math.min(x, y)", "z", "Math.max(x, y) % Math.min(x, y)", "Math.max(x, y)", "Math.max", "Math", "x", "y", "Math.min(x, y)", "Math.min", "Math", "x", "y", "if(z == 0){\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}", "z == 0", "z", "0", "{\n\t\t\t\tSystem.out.println(Math.min(x, y));\n\t\t\t}", "System.out.println(Math.min(x, y))", "System.out.println", "System.out", "System", "System.out", "Math.min(x, y)", "Math.min", "Math", "x", "y", "{\n\t\t\t\tif(x > y){x = z;}\n\t\t\t\telse{y = z;}\n\t\t\t}", "if(x > y){x = z;}\n\t\t\t\telse{y = z;}", "x > y", "x", "y", "{x = z;}", "x = z", "x", "z", "{y = z;}", "y = z", "y", "z", "String args[]", "args" ]
import java.util.*; class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); int z; //?????????????????????????????? //??ยด??ยฐ x, y(x >= y)??????????????? x ??ยจ y ????????ยง??ยฌ?ยด???ยฐ??? y ??ยจ x % y ????????ยง??ยฌ?ยด???ยฐ??????????????? //????????ยง x % y ??? x ??? y ??ยง?????ยฃ???????????ยง?????? do{ z = Math.max(x, y) % Math.min(x, y); if(z == 0){ System.out.println(Math.min(x, y)); } else{ if(x > y){x = z;} else{y = z;} } }while(z != 0); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 4, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 17, 30, 41, 13, 2, 13, 13, 14, 2, 13, 17, 30, 3, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 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 ], [ 9, 14 ], [ 14, 15 ], [ 7, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 18, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 18, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 36, 43 ], [ 43, 44 ], [ 43, 45 ], [ 18, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 48, 60 ], [ 60, 61 ], [ 60, 62 ], [ 48, 63 ], [ 63, 64 ], [ 63, 65 ], [ 18, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ] ]
[ "\nimport java.io.*;\nimport java.util.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tsolve();\n\t}\n\n\tpublic static void solve(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x<y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile(true){\n\t\t\tint a = x % y;\n\t\t\tif(a==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = y;\n\t\t\ty = a;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}\n\n", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String[] args){\n\t\tsolve();\n\t}\n\n\tpublic static void solve(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x<y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile(true){\n\t\t\tint a = x % y;\n\t\t\tif(a==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = y;\n\t\t\ty = a;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tsolve();\n\t}", "main", "{\n\t\tsolve();\n\t}", "solve()", "solve", "String[] args", "args", "public static void solve(){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x<y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile(true){\n\t\t\tint a = x % y;\n\t\t\tif(a==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = y;\n\t\t\ty = a;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}", "solve", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tif(x<y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\n\t\twhile(true){\n\t\t\tint a = x % y;\n\t\t\tif(a==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = y;\n\t\t\ty = a;\n\t\t}\n\n\t\tSystem.out.println(y);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if(x<y){\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "x<y", "x", "y", "{\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "while(true){\n\t\t\tint a = x % y;\n\t\t\tif(a==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = y;\n\t\t\ty = a;\n\t\t}", "true", "{\n\t\t\tint a = x % y;\n\t\t\tif(a==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = y;\n\t\t\ty = a;\n\t\t}", "int a = x % y;", "a", "x % y", "x", "y", "if(a==0){\n\t\t\t\tbreak;\n\t\t\t}", "a==0", "a", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "x = y", "x", "y", "y = a", "y", "a", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y" ]
import java.io.*; import java.util.*; class Main{ public static void main(String[] args){ solve(); } public static void solve(){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(x<y){ int tmp = x; x = y; y = tmp; } while(true){ int a = x % y; if(a==0){ break; } x = y; y = a; } System.out.println(y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 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 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 54, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 35, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 33, 49 ], [ 49, 50 ], [ 33, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(gcd(a,b));\n }\n\n private static int gcd(int a, int b) {\n if (b == 0) return a;\n return gcd(b, a % b);\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 a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(gcd(a,b));\n }\n\n private static int gcd(int a, int b) {\n if (b == 0) return a;\n return gcd(b, a % b);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(gcd(a,b));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(gcd(a,b));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(a,b))", "System.out.println", "System.out", "System", "System.out", "gcd(a,b)", "gcd", "a", "b", "String[] args", "args", "private static int gcd(int a, int b) {\n if (b == 0) return a;\n return gcd(b, a % b);\n }", "gcd", "{\n if (b == 0) return a;\n return gcd(b, a % b);\n }", "if (b == 0) return a;", "b == 0", "b", "0", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(gcd(a,b));\n }\n\n private static int gcd(int a, int b) {\n if (b == 0) return a;\n return gcd(b, a % b);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n System.out.println(gcd(a,b));\n }\n\n private static int gcd(int a, int b) {\n if (b == 0) return a;\n return gcd(b, a % b);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(gcd(a,b)); } private static int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a % b); } }
[ 7, 15, 13, 17, 6, 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, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 72, 5 ], [ 72, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 17, 20 ], [ 20, 21 ], [ 20, 22 ], [ 6, 23 ], [ 23, 24 ], [ 6, 25 ], [ 25, 26 ], [ 72, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 29, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 47, 54 ], [ 54, 55 ], [ 54, 56 ], [ 29, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 29, 66 ], [ 66, 67 ], [ 67, 68 ], [ 27, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tstatic int gcd(int a, int b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\n\t\treturn gcd(b, a % b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tstatic int gcd(int a, int b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\n\t\treturn gcd(b, a % b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t}\n\n}", "Main", "static int gcd(int a, int b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\n\t\treturn gcd(b, a % b);\n\t}", "gcd", "{\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\n\t\treturn gcd(b, a % b);\n\t}", "if (b == 0) {\n\t\t\treturn a;\n\t\t}", "b == 0", "b", "0", "{\n\t\t\treturn a;\n\t\t}", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "if (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}", "a < b", "a", "b", "{\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}", "int tmp = a;", "tmp", "a", "a = b", "a", "b", "b = tmp", "b", "tmp", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\tstatic int gcd(int a, int b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\n\t\treturn gcd(b, a % b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t}\n\n}", "public class Main {\n\n\tstatic int gcd(int a, int b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\n\t\treturn gcd(b, a % b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { static int gcd(int a, int b) { if (b == 0) { return a; } return gcd(b, a % b); } public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); if (a < b) { int tmp = a; a = b; b = tmp; } System.out.println(gcd(a, b)); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 81, 5 ], [ 81, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 31, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 6, 38 ], [ 38, 39 ], [ 81, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 42, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 59, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 70, 73 ], [ 73, 74 ], [ 73, 75 ], [ 40, 76 ], [ 76, 77 ], [ 40, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n System.out.println(CalculateGCD(x, y));\n sc.close();\n }\n\n public static int CalculateGCD(int x, int y) {\n if (x < y) {\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n if (x % y == 0) {\n return y;\n } else {\n return CalculateGCD(y, x % y);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n System.out.println(CalculateGCD(x, y));\n sc.close();\n }\n\n public static int CalculateGCD(int x, int y) {\n if (x < y) {\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n if (x % y == 0) {\n return y;\n } else {\n return CalculateGCD(y, x % y);\n }\n }\n}", "Main", "public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n System.out.println(CalculateGCD(x, y));\n sc.close();\n }", "main", "{\n int x, y;\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n System.out.println(CalculateGCD(x, y));\n sc.close();\n }", "int x", "x", "y;", "y", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt()", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(CalculateGCD(x, y))", "System.out.println", "System.out", "System", "System.out", "CalculateGCD(x, y)", "CalculateGCD", "x", "y", "sc.close()", "sc.close", "sc", "String[] args", "args", "public static int CalculateGCD(int x, int y) {\n if (x < y) {\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n if (x % y == 0) {\n return y;\n } else {\n return CalculateGCD(y, x % y);\n }\n }", "CalculateGCD", "{\n if (x < y) {\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n if (x % y == 0) {\n return y;\n } else {\n return CalculateGCD(y, x % y);\n }\n }", "if (x < y) {\n int temp;\n temp = x;\n x = y;\n y = temp;\n }", "x < y", "x", "y", "{\n int temp;\n temp = x;\n x = y;\n y = temp;\n }", "int temp;", "temp", "temp = x", "temp", "x", "x = y", "x", "y", "y = temp", "y", "temp", "if (x % y == 0) {\n return y;\n } else {\n return CalculateGCD(y, x % y);\n }", "x % y == 0", "x % y", "x", "y", "0", "{\n return y;\n }", "return y;", "y", "{\n return CalculateGCD(y, x % y);\n }", "return CalculateGCD(y, x % y);", "CalculateGCD(y, x % y)", "CalculateGCD", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public class Main{\n\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n System.out.println(CalculateGCD(x, y));\n sc.close();\n }\n\n public static int CalculateGCD(int x, int y) {\n if (x < y) {\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n if (x % y == 0) {\n return y;\n } else {\n return CalculateGCD(y, x % y);\n }\n }\n}", "public class Main{\n\n public static void main(String[] args) {\n int x, y;\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n System.out.println(CalculateGCD(x, y));\n sc.close();\n }\n\n public static int CalculateGCD(int x, int y) {\n if (x < y) {\n int temp;\n temp = x;\n x = y;\n y = temp;\n }\n if (x % y == 0) {\n return y;\n } else {\n return CalculateGCD(y, x % y);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { int x, y; Scanner sc = new Scanner(System.in); x = sc.nextInt(); y = sc.nextInt(); System.out.println(CalculateGCD(x, y)); sc.close(); } public static int CalculateGCD(int x, int y) { if (x < y) { int temp; temp = x; x = y; y = temp; } if (x % y == 0) { return y; } else { return CalculateGCD(y, x % y); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 13, 29, 13, 29, 4, 13, 2, 13, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 28, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 43, 46 ], [ 6, 47 ], [ 47, 48 ], [ 4, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 51, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 51, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 49, 71 ], [ 71, 72 ], [ 49, 73 ], [ 73, 74 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args){\n Scanner nyuryoku = new Scanner(System.in);\n int x = nyuryoku.nextInt();\n int y = nyuryoku.nextInt();\n int tmp;\n if (x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(gcd(x, y));\n }\n public static int gcd(int x, int y){\n if (x == 0) return y;\n if (x == y) return x;\n return gcd(y%x, x);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args){\n Scanner nyuryoku = new Scanner(System.in);\n int x = nyuryoku.nextInt();\n int y = nyuryoku.nextInt();\n int tmp;\n if (x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(gcd(x, y));\n }\n public static int gcd(int x, int y){\n if (x == 0) return y;\n if (x == y) return x;\n return gcd(y%x, x);\n }\n}", "Main", "public static void main(String[] args){\n Scanner nyuryoku = new Scanner(System.in);\n int x = nyuryoku.nextInt();\n int y = nyuryoku.nextInt();\n int tmp;\n if (x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(gcd(x, y));\n }", "main", "{\n Scanner nyuryoku = new Scanner(System.in);\n int x = nyuryoku.nextInt();\n int y = nyuryoku.nextInt();\n int tmp;\n if (x < y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(gcd(x, y));\n }", "Scanner nyuryoku = new Scanner(System.in);", "nyuryoku", "new Scanner(System.in)", "int x = nyuryoku.nextInt();", "x", "nyuryoku.nextInt()", "nyuryoku.nextInt", "nyuryoku", "int y = nyuryoku.nextInt();", "y", "nyuryoku.nextInt()", "nyuryoku.nextInt", "nyuryoku", "int tmp;", "tmp", "if (x < y){\n tmp = x;\n x = y;\n y = tmp;\n }", "x < y", "x", "y", "{\n tmp = x;\n x = y;\n y = tmp;\n }", "tmp = x", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "public static int gcd(int x, int y){\n if (x == 0) return y;\n if (x == y) return x;\n return gcd(y%x, x);\n }", "gcd", "{\n if (x == 0) return y;\n if (x == y) return x;\n return gcd(y%x, x);\n }", "if (x == 0) return y;", "x == 0", "x", "0", "return y;", "y", "if (x == y) return x;", "x == y", "x", "y", "return x;", "x", "return gcd(y%x, x);", "gcd(y%x, x)", "gcd", "y%x", "y", "x", "x", "int x", "x", "int y", "y" ]
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner nyuryoku = new Scanner(System.in); int x = nyuryoku.nextInt(); int y = nyuryoku.nextInt(); int tmp; if (x < y){ tmp = x; x = y; y = tmp; } System.out.println(gcd(x, y)); } public static int gcd(int x, int y){ if (x == 0) return y; if (x == y) return x; return gcd(y%x, x); } }
[ 7, 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, 17, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 17, 42, 2, 13, 13, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 40, 13, 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 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 43, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 61, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 73, 80 ], [ 80, 81 ], [ 80, 82 ], [ 61, 83 ], [ 83, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 6, 91 ], [ 91, 92 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 2;\n while (i <= a) {\n if (a%i == 0 && b%i == 0) {\n gcd *= i;\n a /= i;\n b /= i;\n } else i++;\n }\n\n System.out.println(gcd);\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 2;\n while (i <= a) {\n if (a%i == 0 && b%i == 0) {\n gcd *= i;\n a /= i;\n b /= i;\n } else i++;\n }\n\n System.out.println(gcd);\n }\n}", "Main", "public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 2;\n while (i <= a) {\n if (a%i == 0 && b%i == 0) {\n gcd *= i;\n a /= i;\n b /= i;\n } else i++;\n }\n\n System.out.println(gcd);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 2;\n while (i <= a) {\n if (a%i == 0 && b%i == 0) {\n gcd *= i;\n a /= i;\n b /= i;\n } else i++;\n }\n\n System.out.println(gcd);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(input[0]);", "a", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int b = Integer.parseInt(input[1]);", "b", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "int gcd = 1;", "gcd", "1", "if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }", "a > b", "a", "b", "{\n int temp = b;\n b = a;\n a = temp;\n }", "int temp = b;", "temp", "b", "b = a", "b", "a", "a = temp", "a", "temp", "int i = 2;", "i", "2", "while (i <= a) {\n if (a%i == 0 && b%i == 0) {\n gcd *= i;\n a /= i;\n b /= i;\n } else i++;\n }", "i <= a", "i", "a", "{\n if (a%i == 0 && b%i == 0) {\n gcd *= i;\n a /= i;\n b /= i;\n } else i++;\n }", "if (a%i == 0 && b%i == 0) {\n gcd *= i;\n a /= i;\n b /= i;\n } else i++;", "a%i == 0 && b%i == 0", "a%i == 0", "a%i", "a", "i", "0", "b%i == 0", "b%i", "b", "i", "0", "{\n gcd *= i;\n a /= i;\n b /= i;\n }", "gcd *= i", "gcd", "i", "a /= i", "a", "i", "b /= i", "b", "i", "i++", "i", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "String[] args", "args" ]
import java.io.*; class Main { public static void main (String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.readLine().split(" "); int a = Integer.parseInt(input[0]); int b = Integer.parseInt(input[1]); int gcd = 1; if (a > b) { int temp = b; b = a; a = temp; } int i = 2; while (i <= a) { if (a%i == 0 && b%i == 0) { gcd *= i; a /= i; b /= i; } else i++; } System.out.println(gcd); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 26, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 6, 45 ], [ 45, 46 ], [ 69, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 47, 64 ], [ 64, 65 ], [ 47, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a < b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n System.out.println(GCV(a, b));\n }\n\n public static int GCV(int a, int b) {\n if (b == 0) {\n return a;\n }\n return GCV(b, a%b);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a < b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n System.out.println(GCV(a, b));\n }\n\n public static int GCV(int a, int b) {\n if (b == 0) {\n return a;\n }\n return GCV(b, a%b);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a < b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n System.out.println(GCV(a, b));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a < b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n System.out.println(GCV(a, b));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(a < b) {\n int tmp = a;\n a = b;\n b = tmp;\n }", "a < b", "a", "b", "{\n int tmp = a;\n a = b;\n b = tmp;\n }", "int tmp = a;", "tmp", "a", "a = b", "a", "b", "b = tmp", "b", "tmp", "System.out.println(GCV(a, b))", "System.out.println", "System.out", "System", "System.out", "GCV(a, b)", "GCV", "a", "b", "String[] args", "args", "public static int GCV(int a, int b) {\n if (b == 0) {\n return a;\n }\n return GCV(b, a%b);\n }", "GCV", "{\n if (b == 0) {\n return a;\n }\n return GCV(b, a%b);\n }", "if (b == 0) {\n return a;\n }", "b == 0", "b", "0", "{\n return a;\n }", "return a;", "a", "return GCV(b, a%b);", "GCV(b, a%b)", "GCV", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a < b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n System.out.println(GCV(a, b));\n }\n\n public static int GCV(int a, int b) {\n if (b == 0) {\n return a;\n }\n return GCV(b, a%b);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a < b) {\n int tmp = a;\n a = b;\n b = tmp;\n }\n System.out.println(GCV(a, b));\n }\n\n public static int GCV(int a, int b) {\n if (b == 0) {\n return a;\n }\n return GCV(b, a%b);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); if(a < b) { int tmp = a; a = b; b = tmp; } System.out.println(GCV(a, b)); } public static int GCV(int a, int b) { if (b == 0) { return a; } return GCV(b, a%b); } }
[ 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, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 57, 8 ], [ 57, 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 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 9, 34 ], [ 34, 35 ], [ 57, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 38, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 36, 52 ], [ 52, 53 ], [ 36, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.io.*;\nimport java.util.*;\npublic class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a=cin.nextInt(),b=cin.nextInt();\n System.out.println(GCD(a,b));\n }\n\t\t\t\t\tpublic static int GCD(int a, int b) {\n\t\t\t\t\t\tif (b==0) return a;\n\t\t\t\t\t\treturn GCD(b,a%b);\n\t\t\t\t\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a=cin.nextInt(),b=cin.nextInt();\n System.out.println(GCD(a,b));\n }\n\t\t\t\t\tpublic static int GCD(int a, int b) {\n\t\t\t\t\t\tif (b==0) return a;\n\t\t\t\t\t\treturn GCD(b,a%b);\n\t\t\t\t\t}\n}", "Main", "public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a=cin.nextInt(),b=cin.nextInt();\n System.out.println(GCD(a,b));\n }", "main", "{\n Scanner cin=new Scanner(System.in);\n int a=cin.nextInt(),b=cin.nextInt();\n System.out.println(GCD(a,b));\n }", "Scanner cin=new Scanner(System.in);", "cin", "new Scanner(System.in)", "int a=cin.nextInt()", "a", "cin.nextInt()", "cin.nextInt", "cin", "b=cin.nextInt();", "b", "cin.nextInt()", "cin.nextInt", "cin", "System.out.println(GCD(a,b))", "System.out.println", "System.out", "System", "System.out", "GCD(a,b)", "GCD", "a", "b", "String args[]", "args", "public static int GCD(int a, int b) {\n\t\t\t\t\t\tif (b==0) return a;\n\t\t\t\t\t\treturn GCD(b,a%b);\n\t\t\t\t\t}", "GCD", "{\n\t\t\t\t\t\tif (b==0) return a;\n\t\t\t\t\t\treturn GCD(b,a%b);\n\t\t\t\t\t}", "if (b==0) return a;", "b==0", "b", "0", "return a;", "a", "return GCD(b,a%b);", "GCD(b,a%b)", "GCD", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "public class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a=cin.nextInt(),b=cin.nextInt();\n System.out.println(GCD(a,b));\n }\n\t\t\t\t\tpublic static int GCD(int a, int b) {\n\t\t\t\t\t\tif (b==0) return a;\n\t\t\t\t\t\treturn GCD(b,a%b);\n\t\t\t\t\t}\n}", "public class Main\n{\n public static void main(String args[]) throws Exception\n {\n Scanner cin=new Scanner(System.in);\n int a=cin.nextInt(),b=cin.nextInt();\n System.out.println(GCD(a,b));\n }\n\t\t\t\t\tpublic static int GCD(int a, int b) {\n\t\t\t\t\t\tif (b==0) return a;\n\t\t\t\t\t\treturn GCD(b,a%b);\n\t\t\t\t\t}\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String args[]) throws Exception { Scanner cin=new Scanner(System.in); int a=cin.nextInt(),b=cin.nextInt(); System.out.println(GCD(a,b)); } public static int GCD(int a, int b) { if (b==0) return a; return GCD(b,a%b); } }
[ 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, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 17, 41, 13, 41, 13, 42, 17, 30, 0, 13, 2, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 30, 0, 13, 13, 0, 13, 13, 23, 13, 6, 13, 41, 13, 20, 12, 13, 30, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 4, 18, 13, 29, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 4, 18, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 18, 13, 13, 29, 13, 29, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 4, 18, 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 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 23, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 23, 44 ], [ 44, 45 ], [ 23, 46 ], [ 46, 47 ], [ 23, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 50, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 65, 72 ], [ 61, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 21, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 109, 110 ], [ 110, 111 ], [ 92, 112 ], [ 112, 113 ], [ 82, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 117, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 127, 134 ], [ 124, 135 ], [ 135, 136 ], [ 135, 137 ], [ 124, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 145, 147 ], [ 138, 148 ], [ 148, 149 ], [ 149, 150 ], [ 138, 151 ], [ 152, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 159, 161 ], [ 124, 162 ], [ 162, 163 ], [ 116, 164 ], [ 164, 165 ], [ 82, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 169, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ] ]
[ "import java.util.List;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tInput stdIn = new Input();\n\t\tList<Integer> inputline = stdIn.getLine();\n\t\tint x = inputline.get(0);\n\t\tint y = inputline.get(1);\n\t\tint q,r;\n\n\t\twhile(true) {\n\t\t\tq = x / y;\n\t\t\tr = x % y;\n\t\t\tif (r == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}\n\t\t}\n\t}\n}\nclass Input{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tpublic Input() {\n\t}\n\n\tpublic int getValue() {\n\t\tint n = 0;\n\t\ttry {\n\t\t\tn = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn n;\n\t}\n\n\tpublic List<Integer> getLine() {\n\t\ttry {\n\t\t\tString[] s = br.readLine().trim().split(\" \");\n\t\t\tList<Integer> ary = new ArrayList<>();\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}\n\t\t\treturn ary;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic void close() {\n\t\ttry {\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "import java.util.List;", "List", "java.util", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tInput stdIn = new Input();\n\t\tList<Integer> inputline = stdIn.getLine();\n\t\tint x = inputline.get(0);\n\t\tint y = inputline.get(1);\n\t\tint q,r;\n\n\t\twhile(true) {\n\t\t\tq = x / y;\n\t\t\tr = x % y;\n\t\t\tif (r == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tInput stdIn = new Input();\n\t\tList<Integer> inputline = stdIn.getLine();\n\t\tint x = inputline.get(0);\n\t\tint y = inputline.get(1);\n\t\tint q,r;\n\n\t\twhile(true) {\n\t\t\tq = x / y;\n\t\t\tr = x % y;\n\t\t\tif (r == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tInput stdIn = new Input();\n\t\tList<Integer> inputline = stdIn.getLine();\n\t\tint x = inputline.get(0);\n\t\tint y = inputline.get(1);\n\t\tint q,r;\n\n\t\twhile(true) {\n\t\t\tq = x / y;\n\t\t\tr = x % y;\n\t\t\tif (r == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}\n\t\t}\n\t}", "Input stdIn = new Input();", "stdIn", "new Input()", "List<Integer> inputline = stdIn.getLine();", "inputline", "stdIn.getLine()", "stdIn.getLine", "stdIn", "int x = inputline.get(0);", "x", "inputline.get(0)", "inputline.get", "inputline", "0", "int y = inputline.get(1);", "y", "inputline.get(1)", "inputline.get", "inputline", "1", "int q", "q", "r;", "r", "while(true) {\n\t\t\tq = x / y;\n\t\t\tr = x % y;\n\t\t\tif (r == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}\n\t\t}", "true", "{\n\t\t\tq = x / y;\n\t\t\tr = x % y;\n\t\t\tif (r == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}\n\t\t}", "q = x / y", "q", "x / y", "x", "y", "r = x % y", "r", "x % y", "x", "y", "if (r == 0) {\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}", "r == 0", "r", "0", "{\n\t\t\t\tSystem.out.println(y);\n\t\t\t\tbreak;\n\t\t\t}", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "break;", "{\n\t\t\t\tx = y;\n\t\t\t\ty = r;\n\t\t\t}", "x = y", "x", "y", "y = r", "y", "r", "String[] args", "args", "class Input{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tpublic Input() {\n\t}\n\n\tpublic int getValue() {\n\t\tint n = 0;\n\t\ttry {\n\t\t\tn = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn n;\n\t}\n\n\tpublic List<Integer> getLine() {\n\t\ttry {\n\t\t\tString[] s = br.readLine().trim().split(\" \");\n\t\t\tList<Integer> ary = new ArrayList<>();\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}\n\t\t\treturn ary;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}\n\n\tpublic void close() {\n\t\ttry {\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Input", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "public Input() {\n\t}", "Input", "{\n\t}", "public int getValue() {\n\t\tint n = 0;\n\t\ttry {\n\t\t\tn = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn n;\n\t}", "getValue", "{\n\t\tint n = 0;\n\t\ttry {\n\t\t\tn = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn n;\n\t}", "int n = 0;", "n", "0", "try {\n\t\t\tn = Integer.parseInt(br.readLine());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tn = Integer.parseInt(br.readLine());\n\t\t}", "n = Integer.parseInt(br.readLine())", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "return n;", "n", "public List<Integer> getLine() {\n\t\ttry {\n\t\t\tString[] s = br.readLine().trim().split(\" \");\n\t\t\tList<Integer> ary = new ArrayList<>();\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}\n\t\t\treturn ary;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "getLine", "{\n\t\ttry {\n\t\t\tString[] s = br.readLine().trim().split(\" \");\n\t\t\tList<Integer> ary = new ArrayList<>();\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}\n\t\t\treturn ary;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn null;\n\t}", "try {\n\t\t\tString[] s = br.readLine().trim().split(\" \");\n\t\t\tList<Integer> ary = new ArrayList<>();\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}\n\t\t\treturn ary;\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tString[] s = br.readLine().trim().split(\" \");\n\t\t\tList<Integer> ary = new ArrayList<>();\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}\n\t\t\treturn ary;\n\t\t}", "String[] s = br.readLine().trim().split(\" \");", "s", "br.readLine().trim().split(\" \")", "br.readLine().trim().split", "br.readLine().trim()", "br.readLine().trim", "br.readLine()", "br.readLine", "br", "\" \"", "List<Integer> ary = new ArrayList<>();", "ary", "new ArrayList<>()", "for (int i = 0; i < s.length; i++) {\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < s.length", "i", "s.length", "s", "s.length", "i++", "i++", "i", "{\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}", "{\n\t\t\t\tary.add(Integer.parseInt(s[i]));\n\t\t\t}", "ary.add(Integer.parseInt(s[i]))", "ary.add", "ary", "Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "return ary;", "ary", "return null;", "null", "public void close() {\n\t\ttry {\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "close", "{\n\t\ttry {\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tbr.close();\n\t\t}", "br.close()", "br.close", "br" ]
import java.util.List; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; class Main { public static void main(String[] args) { Input stdIn = new Input(); List<Integer> inputline = stdIn.getLine(); int x = inputline.get(0); int y = inputline.get(1); int q,r; while(true) { q = x / y; r = x % y; if (r == 0) { System.out.println(y); break; } else { x = y; y = r; } } } } class Input{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public Input() { } public int getValue() { int n = 0; try { n = Integer.parseInt(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return n; } public List<Integer> getLine() { try { String[] s = br.readLine().trim().split(" "); List<Integer> ary = new ArrayList<>(); for (int i = 0; i < s.length; i++) { ary.add(Integer.parseInt(s[i])); } return ary; } catch (IOException e) { e.printStackTrace(); } return null; } public void close() { try { br.close(); } catch (IOException e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 4, 18, 13, 18, 4, 18, 4, 18, 13, 17, 17, 17, 41, 13, 4, 18, 13, 18, 4, 18, 4, 18, 13, 17, 17, 17, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 17, 0, 13, 4, 13, 13, 13, 4, 13, 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, 4, 18, 13, 17, 29, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 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 ], [ 192, 14 ], [ 192, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 28, 34 ], [ 27, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 42, 48 ], [ 41, 49 ], [ 17, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 17, 64 ], [ 64, 65 ], [ 64, 66 ], [ 17, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 69, 72 ], [ 17, 73 ], [ 73, 74 ], [ 73, 75 ], [ 15, 76 ], [ 76, 77 ], [ 192, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 89, 92 ], [ 92, 93 ], [ 92, 94 ], [ 78, 95 ], [ 95, 96 ], [ 78, 97 ], [ 97, 98 ], [ 192, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 101, 108 ], [ 108, 109 ], [ 192, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 110, 119 ], [ 119, 120 ], [ 192, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 121, 133 ], [ 133, 134 ], [ 192, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 135, 147 ], [ 147, 148 ], [ 192, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 149, 161 ], [ 161, 162 ], [ 192, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 169, 170 ], [ 169, 171 ], [ 165, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 172, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 176, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 165, 186 ], [ 186, 187 ], [ 187, 188 ], [ 165, 189 ], [ 189, 190 ], [ 0, 191 ], [ 191, 192 ], [ 191, 193 ] ]
[ "import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.Scanner;\n\n/**\n * Greatest Common Divisor\n * \n *\n */\npublic class Main {\n \n public static void main(String[] args) {\n // input data\n List<String> input = inputLines();\n \n // get input\n int x = Integer.valueOf(input.get(0).split(\" \")[0]);\n int y = Integer.valueOf(input.get(0).split(\" \")[1]);\n if (y > x) {\n int tmp = x;\n x = y;\n y = tmp;\n }\n int gcd = 0;\n\n // main logic\n \n gcd = gcd(x,y);\n\n output(gcd);\n }\n\n private static int gcd(int n,int m) {\n if (m == 0) {\n return n;\n }\n return gcd(m, n % m);\n }\n\n private static List<String> mocups() {\n List<String> input = Arrays.asList(\n \"6 15\"\n );\n return input;\n }\n\n /** output data */\n private static void output(Object o) {\n System.out.println(o);\n }\n private static void output(String[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(int[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(Object[] o) {\n System.out.println(Arrays.toString(o));\n }\n\n /** input data */\n private static List<String> inputLines() {\n Scanner in = new Scanner(System.in);\n List<String> input = new ArrayList<String>();\n while(in.hasNext()) {\n String buf = in.nextLine();\n input.add(buf);\n }\n in.close();\n return input;\n }\n\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n public static void main(String[] args) {\n // input data\n List<String> input = inputLines();\n \n // get input\n int x = Integer.valueOf(input.get(0).split(\" \")[0]);\n int y = Integer.valueOf(input.get(0).split(\" \")[1]);\n if (y > x) {\n int tmp = x;\n x = y;\n y = tmp;\n }\n int gcd = 0;\n\n // main logic\n \n gcd = gcd(x,y);\n\n output(gcd);\n }\n\n private static int gcd(int n,int m) {\n if (m == 0) {\n return n;\n }\n return gcd(m, n % m);\n }\n\n private static List<String> mocups() {\n List<String> input = Arrays.asList(\n \"6 15\"\n );\n return input;\n }\n\n /** output data */\n private static void output(Object o) {\n System.out.println(o);\n }\n private static void output(String[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(int[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(Object[] o) {\n System.out.println(Arrays.toString(o));\n }\n\n /** input data */\n private static List<String> inputLines() {\n Scanner in = new Scanner(System.in);\n List<String> input = new ArrayList<String>();\n while(in.hasNext()) {\n String buf = in.nextLine();\n input.add(buf);\n }\n in.close();\n return input;\n }\n\n}", "Main", "public static void main(String[] args) {\n // input data\n List<String> input = inputLines();\n \n // get input\n int x = Integer.valueOf(input.get(0).split(\" \")[0]);\n int y = Integer.valueOf(input.get(0).split(\" \")[1]);\n if (y > x) {\n int tmp = x;\n x = y;\n y = tmp;\n }\n int gcd = 0;\n\n // main logic\n \n gcd = gcd(x,y);\n\n output(gcd);\n }", "main", "{\n // input data\n List<String> input = inputLines();\n \n // get input\n int x = Integer.valueOf(input.get(0).split(\" \")[0]);\n int y = Integer.valueOf(input.get(0).split(\" \")[1]);\n if (y > x) {\n int tmp = x;\n x = y;\n y = tmp;\n }\n int gcd = 0;\n\n // main logic\n \n gcd = gcd(x,y);\n\n output(gcd);\n }", "List<String> input = inputLines();", "input", "inputLines()", "inputLines", "int x = Integer.valueOf(input.get(0).split(\" \")[0]);", "x", "Integer.valueOf(input.get(0).split(\" \")[0])", "Integer.valueOf", "Integer", "input.get(0).split(\" \")[0]", "input.get(0).split(\" \")", "input.get(0).split", "input.get(0)", "input.get", "input", "0", "\" \"", "0", "int y = Integer.valueOf(input.get(0).split(\" \")[1]);", "y", "Integer.valueOf(input.get(0).split(\" \")[1])", "Integer.valueOf", "Integer", "input.get(0).split(\" \")[1]", "input.get(0).split(\" \")", "input.get(0).split", "input.get(0)", "input.get", "input", "0", "\" \"", "1", "if (y > x) {\n int tmp = x;\n x = y;\n y = tmp;\n }", "y > x", "y", "x", "{\n int tmp = x;\n x = y;\n y = tmp;\n }", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "int gcd = 0;", "gcd", "0", "gcd = gcd(x,y)", "gcd", "gcd(x,y)", "gcd", "x", "y", "output(gcd)", "output", "gcd", "String[] args", "args", "private static int gcd(int n,int m) {\n if (m == 0) {\n return n;\n }\n return gcd(m, n % m);\n }", "gcd", "{\n if (m == 0) {\n return n;\n }\n return gcd(m, n % m);\n }", "if (m == 0) {\n return n;\n }", "m == 0", "m", "0", "{\n return n;\n }", "return n;", "n", "return gcd(m, n % m);", "gcd(m, n % m)", "gcd", "m", "n % m", "n", "m", "int n", "n", "int m", "m", "private static List<String> mocups() {\n List<String> input = Arrays.asList(\n \"6 15\"\n );\n return input;\n }", "mocups", "{\n List<String> input = Arrays.asList(\n \"6 15\"\n );\n return input;\n }", "List<String> input = Arrays.asList(\n \"6 15\"\n );", "input", "Arrays.asList(\n \"6 15\"\n )", "Arrays.asList", "Arrays", "\"6 15\"", "return input;", "input", "/** output data */\n private static void output(Object o) {\n System.out.println(o);\n }", "output", "{\n System.out.println(o);\n }", "System.out.println(o)", "System.out.println", "System.out", "System", "System.out", "o", "Object o", "o", "private static void output(String[] o) {\n System.out.println(Arrays.toString(o));\n }", "output", "{\n System.out.println(Arrays.toString(o));\n }", "System.out.println(Arrays.toString(o))", "System.out.println", "System.out", "System", "System.out", "Arrays.toString(o)", "Arrays.toString", "Arrays", "o", "String[] o", "o", "private static void output(int[] o) {\n System.out.println(Arrays.toString(o));\n }", "output", "{\n System.out.println(Arrays.toString(o));\n }", "System.out.println(Arrays.toString(o))", "System.out.println", "System.out", "System", "System.out", "Arrays.toString(o)", "Arrays.toString", "Arrays", "o", "int[] o", "o", "private static void output(Object[] o) {\n System.out.println(Arrays.toString(o));\n }", "output", "{\n System.out.println(Arrays.toString(o));\n }", "System.out.println(Arrays.toString(o))", "System.out.println", "System.out", "System", "System.out", "Arrays.toString(o)", "Arrays.toString", "Arrays", "o", "Object[] o", "o", "/** input data */\n private static List<String> inputLines() {\n Scanner in = new Scanner(System.in);\n List<String> input = new ArrayList<String>();\n while(in.hasNext()) {\n String buf = in.nextLine();\n input.add(buf);\n }\n in.close();\n return input;\n }", "inputLines", "{\n Scanner in = new Scanner(System.in);\n List<String> input = new ArrayList<String>();\n while(in.hasNext()) {\n String buf = in.nextLine();\n input.add(buf);\n }\n in.close();\n return input;\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "List<String> input = new ArrayList<String>();", "input", "new ArrayList<String>()", "while(in.hasNext()) {\n String buf = in.nextLine();\n input.add(buf);\n }", "in.hasNext()", "in.hasNext", "in", "{\n String buf = in.nextLine();\n input.add(buf);\n }", "String buf = in.nextLine();", "buf", "in.nextLine()", "in.nextLine", "in", "input.add(buf)", "input.add", "input", "buf", "in.close()", "in.close", "in", "return input;", "input", "public class Main {\n \n public static void main(String[] args) {\n // input data\n List<String> input = inputLines();\n \n // get input\n int x = Integer.valueOf(input.get(0).split(\" \")[0]);\n int y = Integer.valueOf(input.get(0).split(\" \")[1]);\n if (y > x) {\n int tmp = x;\n x = y;\n y = tmp;\n }\n int gcd = 0;\n\n // main logic\n \n gcd = gcd(x,y);\n\n output(gcd);\n }\n\n private static int gcd(int n,int m) {\n if (m == 0) {\n return n;\n }\n return gcd(m, n % m);\n }\n\n private static List<String> mocups() {\n List<String> input = Arrays.asList(\n \"6 15\"\n );\n return input;\n }\n\n /** output data */\n private static void output(Object o) {\n System.out.println(o);\n }\n private static void output(String[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(int[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(Object[] o) {\n System.out.println(Arrays.toString(o));\n }\n\n /** input data */\n private static List<String> inputLines() {\n Scanner in = new Scanner(System.in);\n List<String> input = new ArrayList<String>();\n while(in.hasNext()) {\n String buf = in.nextLine();\n input.add(buf);\n }\n in.close();\n return input;\n }\n\n}", "public class Main {\n \n public static void main(String[] args) {\n // input data\n List<String> input = inputLines();\n \n // get input\n int x = Integer.valueOf(input.get(0).split(\" \")[0]);\n int y = Integer.valueOf(input.get(0).split(\" \")[1]);\n if (y > x) {\n int tmp = x;\n x = y;\n y = tmp;\n }\n int gcd = 0;\n\n // main logic\n \n gcd = gcd(x,y);\n\n output(gcd);\n }\n\n private static int gcd(int n,int m) {\n if (m == 0) {\n return n;\n }\n return gcd(m, n % m);\n }\n\n private static List<String> mocups() {\n List<String> input = Arrays.asList(\n \"6 15\"\n );\n return input;\n }\n\n /** output data */\n private static void output(Object o) {\n System.out.println(o);\n }\n private static void output(String[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(int[] o) {\n System.out.println(Arrays.toString(o));\n }\n private static void output(Object[] o) {\n System.out.println(Arrays.toString(o));\n }\n\n /** input data */\n private static List<String> inputLines() {\n Scanner in = new Scanner(System.in);\n List<String> input = new ArrayList<String>();\n while(in.hasNext()) {\n String buf = in.nextLine();\n input.add(buf);\n }\n in.close();\n return input;\n }\n\n}", "Main" ]
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.Scanner; /** * Greatest Common Divisor * * */ public class Main { public static void main(String[] args) { // input data List<String> input = inputLines(); // get input int x = Integer.valueOf(input.get(0).split(" ")[0]); int y = Integer.valueOf(input.get(0).split(" ")[1]); if (y > x) { int tmp = x; x = y; y = tmp; } int gcd = 0; // main logic gcd = gcd(x,y); output(gcd); } private static int gcd(int n,int m) { if (m == 0) { return n; } return gcd(m, n % m); } private static List<String> mocups() { List<String> input = Arrays.asList( "6 15" ); return input; } /** output data */ private static void output(Object o) { System.out.println(o); } private static void output(String[] o) { System.out.println(Arrays.toString(o)); } private static void output(int[] o) { System.out.println(Arrays.toString(o)); } private static void output(Object[] o) { System.out.println(Arrays.toString(o)); } /** input data */ private static List<String> inputLines() { Scanner in = new Scanner(System.in); List<String> input = new ArrayList<String>(); while(in.hasNext()) { String buf = in.nextLine(); input.add(buf); } in.close(); return input; } }
[ 7, 15, 13, 17, 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, 42, 2, 13, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 3, 0, 13, 2, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 86, 11 ], [ 86, 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 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 51, 58 ], [ 58, 59 ], [ 58, 60 ], [ 46, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 46, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 14, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 12, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(tmpArray[0]);\n\t\tint y = Integer.parseInt(tmpArray[1]);\n\t\t\n\t\t\n\t\twhile (x != y){\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(tmpArray[0]);\n\t\tint y = Integer.parseInt(tmpArray[1]);\n\t\t\n\t\t\n\t\twhile (x != y){\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(tmpArray[0]);\n\t\tint y = Integer.parseInt(tmpArray[1]);\n\t\t\n\t\t\n\t\twhile (x != y){\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(tmpArray[0]);\n\t\tint y = Integer.parseInt(tmpArray[1]);\n\t\t\n\t\t\n\t\twhile (x != y){\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] tmpArray = br.readLine().split(\" \");", "tmpArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(tmpArray[0]);", "x", "Integer.parseInt(tmpArray[0])", "Integer.parseInt", "Integer", "tmpArray[0]", "tmpArray", "0", "int y = Integer.parseInt(tmpArray[1]);", "y", "Integer.parseInt(tmpArray[1])", "Integer.parseInt", "Integer", "tmpArray[1]", "tmpArray", "1", "while (x != y){\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}", "x != y", "x", "y", "{\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}", "if(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}", "y > x", "y", "x", "{\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}", "int tmp = y;", "tmp", "y", "y = x", "y", "x", "x = tmp", "x", "tmp", "if(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}", "x%y == 0", "x%y", "x", "y", "0", "{\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}", "x = y", "x", "y", "break;", "x = x%y", "x", "x%y", "x", "y", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(tmpArray[0]);\n\t\tint y = Integer.parseInt(tmpArray[1]);\n\t\t\n\t\t\n\t\twhile (x != y){\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(tmpArray[0]);\n\t\tint y = Integer.parseInt(tmpArray[1]);\n\t\t\n\t\t\n\t\twhile (x != y){\n\t\t\t//System.out.println(x + \" \" + y);\n\t\t\tif(y > x){\n\t\t\t\tint tmp = y;\n\t\t\t\ty = x;\n\t\t\t\tx = tmp;\n\t\t\t}\n\t\t\tif(x%y == 0){\n\t\t\t\tx = y;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx = x%y;\n\t\t}\t\t\n\t\t\n\t\tSystem.out.println(x);\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { // TODO ????????????????????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] tmpArray = br.readLine().split(" "); int x = Integer.parseInt(tmpArray[0]); int y = Integer.parseInt(tmpArray[1]); while (x != y){ //System.out.println(x + " " + y); if(y > x){ int tmp = y; y = x; x = tmp; } if(x%y == 0){ x = y; break; } x = x%y; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 75, 5 ], [ 75, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 24, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 6, 45 ], [ 45, 46 ], [ 75, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 56, 65 ], [ 65, 66 ], [ 65, 67 ], [ 49, 68 ], [ 68, 69 ], [ 47, 70 ], [ 70, 71 ], [ 47, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tint a=Math.max(x,y);\n\t\tint b=Math.min(x,y);\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\tstatic int gcd(int a, int b){\n\t\tint r;\n\t\twhile(b>0){\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}\n\t\treturn a;\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tint a=Math.max(x,y);\n\t\tint b=Math.min(x,y);\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\tstatic int gcd(int a, int b){\n\t\tint r;\n\t\twhile(b>0){\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}\n\t\treturn a;\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tint a=Math.max(x,y);\n\t\tint b=Math.min(x,y);\n\t\tSystem.out.println(gcd(a,b));\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tint a=Math.max(x,y);\n\t\tint b=Math.min(x,y);\n\t\tSystem.out.println(gcd(a,b));\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x=sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y=sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int a=Math.max(x,y);", "a", "Math.max(x,y)", "Math.max", "Math", "x", "y", "int b=Math.min(x,y);", "b", "Math.min(x,y)", "Math.min", "Math", "x", "y", "System.out.println(gcd(a,b))", "System.out.println", "System.out", "System", "System.out", "gcd(a,b)", "gcd", "a", "b", "String[] args", "args", "static int gcd(int a, int b){\n\t\tint r;\n\t\twhile(b>0){\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}\n\t\treturn a;\n\t}", "gcd", "{\n\t\tint r;\n\t\twhile(b>0){\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}\n\t\treturn a;\n\t}", "int r;", "r", "while(b>0){\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}", "b>0", "b", "0", "{\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}", "r=a%b", "r", "a%b", "a", "b", "a=b", "a", "b", "b=r", "b", "r", "return a;", "a", "int a", "a", "int b", "b", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tint a=Math.max(x,y);\n\t\tint b=Math.min(x,y);\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\tstatic int gcd(int a, int b){\n\t\tint r;\n\t\twhile(b>0){\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}\n\t\treturn a;\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tint x=sc.nextInt();\n\t\tint y=sc.nextInt();\n\t\tint a=Math.max(x,y);\n\t\tint b=Math.min(x,y);\n\t\tSystem.out.println(gcd(a,b));\n\t}\n\tstatic int gcd(int a, int b){\n\t\tint r;\n\t\twhile(b>0){\n\t\t\tr=a%b;\n\t\t\ta=b;\n\t\t\tb=r;\n\t\t}\n\t\treturn a;\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 x=sc.nextInt(); int y=sc.nextInt(); int a=Math.max(x,y); int b=Math.min(x,y); System.out.println(gcd(a,b)); } static int gcd(int a, int b){ int r; while(b>0){ r=a%b; a=b; b=r; } return a; } }
[ 7, 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, 17, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 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 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 6, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = Integer.valueOf(scan.next());\n int b = Integer.valueOf(scan.next());\n int r = 0;\n while (b != 0) {\n r = a % b;\n a = b;\n b = r;\n }\n System.out.println(a);\n scan.close();\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 int a = Integer.valueOf(scan.next());\n int b = Integer.valueOf(scan.next());\n int r = 0;\n while (b != 0) {\n r = a % b;\n a = b;\n b = r;\n }\n System.out.println(a);\n scan.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = Integer.valueOf(scan.next());\n int b = Integer.valueOf(scan.next());\n int r = 0;\n while (b != 0) {\n r = a % b;\n a = b;\n b = r;\n }\n System.out.println(a);\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int a = Integer.valueOf(scan.next());\n int b = Integer.valueOf(scan.next());\n int r = 0;\n while (b != 0) {\n r = a % b;\n a = b;\n b = r;\n }\n System.out.println(a);\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a = Integer.valueOf(scan.next());", "a", "Integer.valueOf(scan.next())", "Integer.valueOf", "Integer", "scan.next()", "scan.next", "scan", "int b = Integer.valueOf(scan.next());", "b", "Integer.valueOf(scan.next())", "Integer.valueOf", "Integer", "scan.next()", "scan.next", "scan", "int r = 0;", "r", "0", "while (b != 0) {\n r = a % b;\n a = b;\n b = r;\n }", "b != 0", "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", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = Integer.valueOf(scan.next());\n int b = Integer.valueOf(scan.next());\n int r = 0;\n while (b != 0) {\n r = a % b;\n a = b;\n b = r;\n }\n System.out.println(a);\n scan.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int a = Integer.valueOf(scan.next());\n int b = Integer.valueOf(scan.next());\n int r = 0;\n while (b != 0) {\n r = a % b;\n a = b;\n b = r;\n }\n System.out.println(a);\n scan.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int a = Integer.valueOf(scan.next()); int b = Integer.valueOf(scan.next()); int r = 0; while (b != 0) { r = a % b; a = b; b = r; } System.out.println(a); scan.close(); } }
[ 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, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 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 ], [ 83, 14 ], [ 83, 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 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 17, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 50, 53 ], [ 15, 54 ], [ 54, 55 ], [ 83, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 58, 76 ], [ 76, 77 ], [ 56, 78 ], [ 78, 79 ], [ 56, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n /**\n * @param args\n * @throws IOException\n * @throws NumberFormatException\n */\n public static void main(String[] args) throws NumberFormatException,\n IOException {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n String arrStr = reader.readLine();\n StringTokenizer tokenizer = new StringTokenizer(arrStr, \" \");\n\n int a = Integer.parseInt(tokenizer.nextToken());\n int b = Integer.parseInt(tokenizer.nextToken());\n\n System.out.println(gcd(a, b));\n// System.out.println(gcd(54, 20));\n }\n\n static int gcd(int m, int n) {\n \n int r;\n while((r = m % n) != 0){\n m = n;\n n = r;\n }\n return n;\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n /**\n * @param args\n * @throws IOException\n * @throws NumberFormatException\n */\n public static void main(String[] args) throws NumberFormatException,\n IOException {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n String arrStr = reader.readLine();\n StringTokenizer tokenizer = new StringTokenizer(arrStr, \" \");\n\n int a = Integer.parseInt(tokenizer.nextToken());\n int b = Integer.parseInt(tokenizer.nextToken());\n\n System.out.println(gcd(a, b));\n// System.out.println(gcd(54, 20));\n }\n\n static int gcd(int m, int n) {\n \n int r;\n while((r = m % n) != 0){\n m = n;\n n = r;\n }\n return n;\n }\n\n}", "Main", "/**\n * @param args\n * @throws IOException\n * @throws NumberFormatException\n */\n public static void main(String[] args) throws NumberFormatException,\n IOException {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n String arrStr = reader.readLine();\n StringTokenizer tokenizer = new StringTokenizer(arrStr, \" \");\n\n int a = Integer.parseInt(tokenizer.nextToken());\n int b = Integer.parseInt(tokenizer.nextToken());\n\n System.out.println(gcd(a, b));\n// System.out.println(gcd(54, 20));\n }", "main", "{\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n String arrStr = reader.readLine();\n StringTokenizer tokenizer = new StringTokenizer(arrStr, \" \");\n\n int a = Integer.parseInt(tokenizer.nextToken());\n int b = Integer.parseInt(tokenizer.nextToken());\n\n System.out.println(gcd(a, b));\n// System.out.println(gcd(54, 20));\n }", "BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));", "reader", "new BufferedReader(new InputStreamReader(\n System.in))", "String arrStr = reader.readLine();", "arrStr", "reader.readLine()", "reader.readLine", "reader", "StringTokenizer tokenizer = new StringTokenizer(arrStr, \" \");", "tokenizer", "new StringTokenizer(arrStr, \" \")", "int a = Integer.parseInt(tokenizer.nextToken());", "a", "Integer.parseInt(tokenizer.nextToken())", "Integer.parseInt", "Integer", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "int b = Integer.parseInt(tokenizer.nextToken());", "b", "Integer.parseInt(tokenizer.nextToken())", "Integer.parseInt", "Integer", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String[] args", "args", "static int gcd(int m, int n) {\n \n int r;\n while((r = m % n) != 0){\n m = n;\n n = r;\n }\n return n;\n }", "gcd", "{\n \n int r;\n while((r = m % n) != 0){\n m = n;\n n = r;\n }\n return n;\n }", "int r;", "r", "while((r = m % n) != 0){\n m = n;\n n = r;\n }", "(r = m % n) != 0", "(r = m % n)", "r", "m % n", "m", "n", "0", "{\n m = n;\n n = r;\n }", "m = n", "m", "n", "n = r", "n", "r", "return n;", "n", "int m", "m", "int n", "n", "public class Main {\n\n /**\n * @param args\n * @throws IOException\n * @throws NumberFormatException\n */\n public static void main(String[] args) throws NumberFormatException,\n IOException {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n String arrStr = reader.readLine();\n StringTokenizer tokenizer = new StringTokenizer(arrStr, \" \");\n\n int a = Integer.parseInt(tokenizer.nextToken());\n int b = Integer.parseInt(tokenizer.nextToken());\n\n System.out.println(gcd(a, b));\n// System.out.println(gcd(54, 20));\n }\n\n static int gcd(int m, int n) {\n \n int r;\n while((r = m % n) != 0){\n m = n;\n n = r;\n }\n return n;\n }\n\n}", "public class Main {\n\n /**\n * @param args\n * @throws IOException\n * @throws NumberFormatException\n */\n public static void main(String[] args) throws NumberFormatException,\n IOException {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(\n System.in));\n String arrStr = reader.readLine();\n StringTokenizer tokenizer = new StringTokenizer(arrStr, \" \");\n\n int a = Integer.parseInt(tokenizer.nextToken());\n int b = Integer.parseInt(tokenizer.nextToken());\n\n System.out.println(gcd(a, b));\n// System.out.println(gcd(54, 20));\n }\n\n static int gcd(int m, int n) {\n \n int r;\n while((r = m % n) != 0){\n m = n;\n n = r;\n }\n return n;\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { /** * @param args * @throws IOException * @throws NumberFormatException */ public static void main(String[] args) throws NumberFormatException, IOException { BufferedReader reader = new BufferedReader(new InputStreamReader( System.in)); String arrStr = reader.readLine(); StringTokenizer tokenizer = new StringTokenizer(arrStr, " "); int a = Integer.parseInt(tokenizer.nextToken()); int b = Integer.parseInt(tokenizer.nextToken()); System.out.println(gcd(a, b)); // System.out.println(gcd(54, 20)); } static int gcd(int m, int n) { int r; while((r = m % n) != 0){ m = n; n = r; } return n; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 13, 41, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 73, 5 ], [ 73, 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 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 73, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 39, 41 ], [ 35, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 35, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 33, 68 ], [ 68, 69 ], [ 33, 70 ], [ 70, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args ){\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n\n System.out.println(gcd(x, y));\n }\n\n public static int gcd(int x, int y){\n int X = x, Y = y;\n if(X < Y) {\n X = y;\n Y = x;\n }\n if(X % Y == 0)\n return Y;\n else\n return gcd(Y, X % Y);\n }\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 x = scanner.nextInt();\n int y = scanner.nextInt();\n\n System.out.println(gcd(x, y));\n }\n\n public static int gcd(int x, int y){\n int X = x, Y = y;\n if(X < Y) {\n X = y;\n Y = x;\n }\n if(X % Y == 0)\n return Y;\n else\n return gcd(Y, X % Y);\n }\n\n}", "Main", "public static void main(String[] args ){\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n\n System.out.println(gcd(x, y));\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n\n System.out.println(gcd(x, y));\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int x = scanner.nextInt();", "x", "scanner.nextInt()", "scanner.nextInt", "scanner", "int y = scanner.nextInt();", "y", "scanner.nextInt()", "scanner.nextInt", "scanner", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "public static int gcd(int x, int y){\n int X = x, Y = y;\n if(X < Y) {\n X = y;\n Y = x;\n }\n if(X % Y == 0)\n return Y;\n else\n return gcd(Y, X % Y);\n }", "gcd", "{\n int X = x, Y = y;\n if(X < Y) {\n X = y;\n Y = x;\n }\n if(X % Y == 0)\n return Y;\n else\n return gcd(Y, X % Y);\n }", "int X = x", "X", "x", "Y = y;", "Y", "y", "if(X < Y) {\n X = y;\n Y = x;\n }", "X < Y", "X", "Y", "{\n X = y;\n Y = x;\n }", "X = y", "X", "y", "Y = x", "Y", "x", "if(X % Y == 0)\n return Y;\n else\n return gcd(Y, X % Y);", "X % Y == 0", "X % Y", "X", "Y", "0", "return Y;", "Y", "return gcd(Y, X % Y);", "gcd(Y, X % Y)", "gcd", "Y", "X % Y", "X", "Y", "int x", "x", "int y", "y", "public class Main {\n public static void main(String[] args ){\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n\n System.out.println(gcd(x, y));\n }\n\n public static int gcd(int x, int y){\n int X = x, Y = y;\n if(X < Y) {\n X = y;\n Y = x;\n }\n if(X % Y == 0)\n return Y;\n else\n return gcd(Y, X % Y);\n }\n\n}", "public class Main {\n public static void main(String[] args ){\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n\n System.out.println(gcd(x, y));\n }\n\n public static int gcd(int x, int y){\n int X = x, Y = y;\n if(X < Y) {\n X = y;\n Y = x;\n }\n if(X % Y == 0)\n return Y;\n else\n return gcd(Y, X % Y);\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args ){ Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); int y = scanner.nextInt(); System.out.println(gcd(x, y)); } public static int gcd(int x, int y){ int X = x, Y = y; if(X < Y) { X = y; Y = x; } if(X % Y == 0) return Y; else return gcd(Y, X % Y); } }
[ 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, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 17, 14, 2, 13, 13, 30, 41, 13, 2, 13, 13, 0, 13, 13, 42, 17, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 3, 40, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 90, 8 ], [ 90, 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 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 29, 36 ], [ 36, 37 ], [ 36, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 46, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 58, 70 ], [ 70, 71 ], [ 57, 72 ], [ 72, 73 ], [ 42, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 11, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 11, 84 ], [ 84, 85 ], [ 85, 86 ], [ 9, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n public static void main(String[] args) throws IOException{\n \tScanner sc = new Scanner(System.in);\n\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n\n \tif(y>x) {\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}\n\n \tint a = 0;\n\n \tif(x != y) {\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}else {\n \t\ta = x;\n \t}\n\n \tSystem.out.println(a);\n\n \tsc.close();\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws IOException{\n \tScanner sc = new Scanner(System.in);\n\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n\n \tif(y>x) {\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}\n\n \tint a = 0;\n\n \tif(x != y) {\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}else {\n \t\ta = x;\n \t}\n\n \tSystem.out.println(a);\n\n \tsc.close();\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n \tScanner sc = new Scanner(System.in);\n\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n\n \tif(y>x) {\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}\n\n \tint a = 0;\n\n \tif(x != y) {\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}else {\n \t\ta = x;\n \t}\n\n \tSystem.out.println(a);\n\n \tsc.close();\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n\n \tif(y>x) {\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}\n\n \tint a = 0;\n\n \tif(x != y) {\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}else {\n \t\ta = x;\n \t}\n\n \tSystem.out.println(a);\n\n \tsc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if(y>x) {\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}", "y>x", "y", "x", "{\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "int a = 0;", "a", "0", "if(x != y) {\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}else {\n \t\ta = x;\n \t}", "x != y", "x", "y", "{\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}", "int z = x%y;", "z", "x%y", "x", "y", "a = z", "a", "z", "while(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}", "true", "{\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}", "if(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}", "y%a==0 && z%a==0", "y%a==0", "y%a", "y", "a", "0", "z%a==0", "z%a", "z", "a", "0", "{\n\t \t\t\tbreak;\n\t \t\t}", "break;", "a--", "a", "{\n \t\ta = x;\n \t}", "a = x", "a", "x", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException{\n \tScanner sc = new Scanner(System.in);\n\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n\n \tif(y>x) {\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}\n\n \tint a = 0;\n\n \tif(x != y) {\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}else {\n \t\ta = x;\n \t}\n\n \tSystem.out.println(a);\n\n \tsc.close();\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException{\n \tScanner sc = new Scanner(System.in);\n\n \tint x = sc.nextInt();\n \tint y = sc.nextInt();\n\n \tif(y>x) {\n \t\tint tmp = x;\n \t\tx = y;\n \t\ty = tmp;\n \t}\n\n \tint a = 0;\n\n \tif(x != y) {\n\t \tint z = x%y;\n\n\t \ta = z;\n\n\t \twhile(true) {\n\t \t\tif(y%a==0 && z%a==0) {\n\t \t\t\tbreak;\n\t \t\t}\n\t \t\ta--;\n\t \t}\n \t}else {\n \t\ta = x;\n \t}\n\n \tSystem.out.println(a);\n\n \tsc.close();\n }\n}", "Main" ]
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException{ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); if(y>x) { int tmp = x; x = y; y = tmp; } int a = 0; if(x != y) { int z = x%y; a = z; while(true) { if(y%a==0 && z%a==0) { break; } a--; } }else { a = x; } System.out.println(a); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 39, 17, 17, 41, 13, 20, 0, 18, 13, 17, 4, 18, 13, 4, 18, 13, 0, 18, 13, 17, 4, 18, 13, 4, 18, 13, 14, 2, 18, 13, 17, 18, 13, 17, 30, 0, 13, 18, 13, 17, 0, 18, 13, 17, 18, 13, 17, 0, 18, 13, 17, 13, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 4, 13, 18, 13, 17, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 17, 4, 18, 13, 17, 0, 18, 13, 17, 13, 0, 13, 4, 13, 18, 13, 17, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 17, 4, 18, 13, 17, 0, 18, 13, 17, 13, 23, 13, 12, 13, 30, 41, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 156, 5 ], [ 156, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 21, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 49, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 49, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 8, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 74, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 89, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 74, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 74, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 74, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 127, 128 ], [ 127, 129 ], [ 121, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 74, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 6, 139 ], [ 139, 140 ], [ 156, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 146, 148 ], [ 143, 149 ], [ 149, 150 ], [ 141, 151 ], [ 151, 152 ], [ 141, 153 ], [ 153, 154 ], [ 0, 155 ], [ 155, 156 ], [ 155, 157 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint tmp, remainder;\n\t\tint[] next = {0, 0};\n\t\tScanner in = new Scanner(System.in);\n\t\tnext[0] = Integer.parseInt(in.next());\n\t\tnext[1] = Integer.parseInt(in.next());\n\t\t\n\t\tif(next[0] < next[1]){\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}\n\t}\t\n\t\t\t\n\tpublic static int gcd(int big, int small){\n\t\tint remainder = big % small;\n\t\treturn remainder;\t\n\t}\n\t\n}\n\t\t", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint tmp, remainder;\n\t\tint[] next = {0, 0};\n\t\tScanner in = new Scanner(System.in);\n\t\tnext[0] = Integer.parseInt(in.next());\n\t\tnext[1] = Integer.parseInt(in.next());\n\t\t\n\t\tif(next[0] < next[1]){\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}\n\t}\t\n\t\t\t\n\tpublic static int gcd(int big, int small){\n\t\tint remainder = big % small;\n\t\treturn remainder;\t\n\t}\n\t\n}", "Main", "public static void main(String[] args){\n\t\tint tmp, remainder;\n\t\tint[] next = {0, 0};\n\t\tScanner in = new Scanner(System.in);\n\t\tnext[0] = Integer.parseInt(in.next());\n\t\tnext[1] = Integer.parseInt(in.next());\n\t\t\n\t\tif(next[0] < next[1]){\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}\n\t}", "main", "{\n\t\tint tmp, remainder;\n\t\tint[] next = {0, 0};\n\t\tScanner in = new Scanner(System.in);\n\t\tnext[0] = Integer.parseInt(in.next());\n\t\tnext[1] = Integer.parseInt(in.next());\n\t\t\n\t\tif(next[0] < next[1]){\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}\n\t}", "int tmp", "tmp", "remainder;", "remainder", "int[] next = {0, 0};", "next", "{0, 0}", "0", "0", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "next[0] = Integer.parseInt(in.next())", "next[0]", "next", "0", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "next[1] = Integer.parseInt(in.next())", "next[1]", "next", "1", "Integer.parseInt(in.next())", "Integer.parseInt", "Integer", "in.next()", "in.next", "in", "if(next[0] < next[1]){\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}", "next[0] < next[1]", "next[0]", "next", "0", "next[1]", "next", "1", "{\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}", "tmp = next[1]", "tmp", "next[1]", "next", "1", "next[1] = next[0]", "next[1]", "next", "1", "next[0]", "next", "0", "next[0] = tmp", "next[0]", "next", "0", "tmp", "int i = 1;", "i", "1", "while(i == 1){\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}", "i == 1", "i", "1", "{\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}", "remainder = gcd(next[0], next[1])", "remainder", "gcd(next[0], next[1])", "gcd", "next[0]", "next", "0", "next[1]", "next", "1", "if(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "remainder == 0", "remainder", "0", "{\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.out.println(next[1])", "System.out.println", "System.out", "System", "System.out", "next[1]", "next", "1", "System.exit(0)", "System.exit", "System", "0", "next[0] = remainder", "next[0]", "next", "0", "remainder", "remainder = gcd(next[1], next[0])", "remainder", "gcd(next[1], next[0])", "gcd", "next[1]", "next", "1", "next[0]", "next", "0", "if(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "remainder == 0", "remainder", "0", "{\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.out.println(next[0])", "System.out.println", "System.out", "System", "System.out", "next[0]", "next", "0", "System.exit(0)", "System.exit", "System", "0", "next[1] = remainder", "next[1]", "next", "1", "remainder", "String[] args", "args", "public static int gcd(int big, int small){\n\t\tint remainder = big % small;\n\t\treturn remainder;\t\n\t}", "gcd", "{\n\t\tint remainder = big % small;\n\t\treturn remainder;\t\n\t}", "int remainder = big % small;", "remainder", "big % small", "big", "small", "return remainder;", "remainder", "int big", "big", "int small", "small", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint tmp, remainder;\n\t\tint[] next = {0, 0};\n\t\tScanner in = new Scanner(System.in);\n\t\tnext[0] = Integer.parseInt(in.next());\n\t\tnext[1] = Integer.parseInt(in.next());\n\t\t\n\t\tif(next[0] < next[1]){\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}\n\t}\t\n\t\t\t\n\tpublic static int gcd(int big, int small){\n\t\tint remainder = big % small;\n\t\treturn remainder;\t\n\t}\n\t\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint tmp, remainder;\n\t\tint[] next = {0, 0};\n\t\tScanner in = new Scanner(System.in);\n\t\tnext[0] = Integer.parseInt(in.next());\n\t\tnext[1] = Integer.parseInt(in.next());\n\t\t\n\t\tif(next[0] < next[1]){\n\t\t\ttmp = next[1];\n\t\t\tnext[1] = next[0];\n\t\t\tnext[0] = tmp;\n\t\t}\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tremainder = gcd(next[0], next[1]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[1]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[0] = remainder;\n\t\t\tremainder = gcd(next[1], next[0]);\n\t\t\tif(remainder == 0){\n\t\t\t\tSystem.out.println(next[0]);\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tnext[1] = remainder;\t\t\t\n\t\t}\n\t}\t\n\t\t\t\n\tpublic static int gcd(int big, int small){\n\t\tint remainder = big % small;\n\t\treturn remainder;\t\n\t}\n\t\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ int tmp, remainder; int[] next = {0, 0}; Scanner in = new Scanner(System.in); next[0] = Integer.parseInt(in.next()); next[1] = Integer.parseInt(in.next()); if(next[0] < next[1]){ tmp = next[1]; next[1] = next[0]; next[0] = tmp; } int i = 1; while(i == 1){ remainder = gcd(next[0], next[1]); if(remainder == 0){ System.out.println(next[1]); System.exit(0); } next[0] = remainder; remainder = gcd(next[1], next[0]); if(remainder == 0){ System.out.println(next[0]); System.exit(0); } next[1] = remainder; } } public static int gcd(int big, int small){ int remainder = big % small; return remainder; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 11, 1, 30, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 3, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 27, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 32, 39 ], [ 28, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 40, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 6, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n int z;\n for(;;){\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n int z;\n for(;;){\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n int z;\n for(;;){\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n int z;\n for(;;){\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x=sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y=sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int z;", "z", "for(;;){\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }", ";", "{\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }", "{\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }", "if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n }", "y==0", "y", "0", "{\n System.out.println(x);\n break; \n }", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "break;", "{\n z=x;\n x=y;\n y=z%y;\n }", "z=x", "z", "x", "x=y", "x", "y", "y=z%y", "y", "z%y", "z", "y", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n int z;\n for(;;){\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }\n sc.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x=sc.nextInt();\n int y=sc.nextInt();\n int z;\n for(;;){\n if(y==0){\n System.out.println(x);\n break; \n }else{\n z=x;\n x=y;\n y=z%y;\n } \n }\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x=sc.nextInt(); int y=sc.nextInt(); int z; for(;;){ if(y==0){ System.out.println(x); break; }else{ z=x; x=y; y=z%y; } } sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 65, 14 ], [ 65, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 30, 31 ], [ 30, 32 ], [ 15, 33 ], [ 33, 34 ], [ 15, 35 ], [ 35, 36 ], [ 65, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 39, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 39, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 37, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static long gcd(long a, long b){\n\t\tif(b == 0){ return a; }\n\t\telse {return gcd(b, a % b);}\n\t}\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal long a = sc.nextLong();\n\t\tfinal long b = sc.nextLong();\n\t\t\n\t\tSystem.out.println(gcd(a, b));\n\t\t\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static long gcd(long a, long b){\n\t\tif(b == 0){ return a; }\n\t\telse {return gcd(b, a % b);}\n\t}\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal long a = sc.nextLong();\n\t\tfinal long b = sc.nextLong();\n\t\t\n\t\tSystem.out.println(gcd(a, b));\n\t\t\n\t}\n}", "Main", "public static long gcd(long a, long b){\n\t\tif(b == 0){ return a; }\n\t\telse {return gcd(b, a % b);}\n\t}", "gcd", "{\n\t\tif(b == 0){ return a; }\n\t\telse {return gcd(b, a % b);}\n\t}", "if(b == 0){ return a; }\n\t\telse {return gcd(b, a % b);}", "b == 0", "b", "0", "{ return a; }", "return a;", "a", "{return gcd(b, a % b);}", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "long a", "a", "long b", "b", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal long a = sc.nextLong();\n\t\tfinal long b = sc.nextLong();\n\t\t\n\t\tSystem.out.println(gcd(a, b));\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal long a = sc.nextLong();\n\t\tfinal long b = sc.nextLong();\n\t\t\n\t\tSystem.out.println(gcd(a, b));\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "final long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "final long b = sc.nextLong();", "b", "sc.nextLong()", "sc.nextLong", "sc", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "String args[]", "args", "public class Main {\n\t\n\tpublic static long gcd(long a, long b){\n\t\tif(b == 0){ return a; }\n\t\telse {return gcd(b, a % b);}\n\t}\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal long a = sc.nextLong();\n\t\tfinal long b = sc.nextLong();\n\t\t\n\t\tSystem.out.println(gcd(a, b));\n\t\t\n\t}\n}", "public class Main {\n\t\n\tpublic static long gcd(long a, long b){\n\t\tif(b == 0){ return a; }\n\t\telse {return gcd(b, a % b);}\n\t}\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfinal long a = sc.nextLong();\n\t\tfinal long b = sc.nextLong();\n\t\t\n\t\tSystem.out.println(gcd(a, b));\n\t\t\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static long gcd(long a, long b){ if(b == 0){ return a; } else {return gcd(b, a % b);} } public static void main(String args[]) { Scanner sc = new Scanner(System.in); final long a = sc.nextLong(); final long b = sc.nextLong(); System.out.println(gcd(a, b)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 14, 2, 2, 13, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 30, 14, 2, 2, 13, 13, 2, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 30, 0, 13, 2, 13, 13, 0, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 13, 17, 30, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 126, 5 ], [ 126, 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 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 28, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 41, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 28, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 70, 76 ], [ 76, 77 ], [ 76, 78 ], [ 62, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 85, 86 ], [ 85, 87 ], [ 61, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 88, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 101, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 61, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 6, 123 ], [ 123, 124 ], [ 0, 125 ], [ 125, 126 ], [ 125, 127 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int gcd = 1; /* gcd๏ผšๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’๏ผ‘ใซๅˆๆœŸๅŒ– */\n int small = 0;\n //x.compareTo(y);\n\n /* xรทy or yรทx ใŒๅ‰ฒใ‚Šๅˆ‡ใ‚Œใ‚‹ใจใ, ๅฐใ•ใ„ๆ–นใ‚’ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใจใ—ใฆ่ฟ”ใ™ */\n if ((x % y == 0) || (y % x == 0)){\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }\n else{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int gcd = 1; /* gcd๏ผšๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’๏ผ‘ใซๅˆๆœŸๅŒ– */\n int small = 0;\n //x.compareTo(y);\n\n /* xรทy or yรทx ใŒๅ‰ฒใ‚Šๅˆ‡ใ‚Œใ‚‹ใจใ, ๅฐใ•ใ„ๆ–นใ‚’ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใจใ—ใฆ่ฟ”ใ™ */\n if ((x % y == 0) || (y % x == 0)){\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }\n else{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }\n }\n}", "Main", "public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int gcd = 1; /* gcd๏ผšๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’๏ผ‘ใซๅˆๆœŸๅŒ– */\n int small = 0;\n //x.compareTo(y);\n\n /* xรทy or yรทx ใŒๅ‰ฒใ‚Šๅˆ‡ใ‚Œใ‚‹ใจใ, ๅฐใ•ใ„ๆ–นใ‚’ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใจใ—ใฆ่ฟ”ใ™ */\n if ((x % y == 0) || (y % x == 0)){\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }\n else{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int gcd = 1; /* gcd๏ผšๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’๏ผ‘ใซๅˆๆœŸๅŒ– */\n int small = 0;\n //x.compareTo(y);\n\n /* xรทy or yรทx ใŒๅ‰ฒใ‚Šๅˆ‡ใ‚Œใ‚‹ใจใ, ๅฐใ•ใ„ๆ–นใ‚’ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใจใ—ใฆ่ฟ”ใ™ */\n if ((x % y == 0) || (y % x == 0)){\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }\n else{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int gcd = 1;", "gcd", "1", "int small = 0;", "small", "0", "if ((x % y == 0) || (y % x == 0)){\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }\n else{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }", "(x % y == 0) || (y % x == 0)", "(x % y == 0)", "x % y", "x", "y", "0", "(y % x == 0)", "y % x", "y", "x", "0", "{\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }", "if (x > y || x == y) System.out.println(y);\n else System.out.println(x);", "x > y || x == y", "x > y", "x", "y", "x == y", "x", "y", "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", "{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }", "if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }", "x > y || x == y", "x > y", "x", "y", "x == y", "x", "y", "{\n x = x % y;\n small = x;\n }", "x = x % y", "x", "x % y", "x", "y", "small = x", "small", "x", "{\n y = y % x;\n small = y;\n }", "y = y % x", "y", "y % x", "y", "x", "small = y", "small", "y", "for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= small", "i", "small", "i++", "i++", "i", "{\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }", "{\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }", "if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }", "(x % i == 0) && (y % i == 0)", "(x % i == 0)", "x % i", "x", "i", "0", "(y % i == 0)", "y % i", "y", "i", "0", "{\n gcd = i;\n }", "gcd = i", "gcd", "i", "System.out.println(gcd)", "System.out.println", "System.out", "System", "System.out", "gcd", "String[] main", "main", "public class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int gcd = 1; /* gcd๏ผšๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’๏ผ‘ใซๅˆๆœŸๅŒ– */\n int small = 0;\n //x.compareTo(y);\n\n /* xรทy or yรทx ใŒๅ‰ฒใ‚Šๅˆ‡ใ‚Œใ‚‹ใจใ, ๅฐใ•ใ„ๆ–นใ‚’ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใจใ—ใฆ่ฟ”ใ™ */\n if ((x % y == 0) || (y % x == 0)){\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }\n else{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }\n }\n}", "public class Main {\n public static void main(String[] main){\n Scanner sc = new Scanner(System.in);\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n int gcd = 1; /* gcd๏ผšๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’๏ผ‘ใซๅˆๆœŸๅŒ– */\n int small = 0;\n //x.compareTo(y);\n\n /* xรทy or yรทx ใŒๅ‰ฒใ‚Šๅˆ‡ใ‚Œใ‚‹ใจใ, ๅฐใ•ใ„ๆ–นใ‚’ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใจใ—ใฆ่ฟ”ใ™ */\n if ((x % y == 0) || (y % x == 0)){\n if (x > y || x == y) System.out.println(y);\n else System.out.println(x);\n }\n else{\n if (x > y || x == y){\n x = x % y;\n small = x;\n }\n else{\n y = y % x;\n small = y;\n }\n\n for (int i = 1; i <= small; i++){\n if ((x % i == 0) && (y % i == 0)){\n gcd = i;\n }\n }\n System.out.println(gcd);\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] main){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int gcd = 1; /* gcd๏ผšๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใ‚’๏ผ‘ใซๅˆๆœŸๅŒ– */ int small = 0; //x.compareTo(y); /* xรทy or yรทx ใŒๅ‰ฒใ‚Šๅˆ‡ใ‚Œใ‚‹ใจใ, ๅฐใ•ใ„ๆ–นใ‚’ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐใจใ—ใฆ่ฟ”ใ™ */ if ((x % y == 0) || (y % x == 0)){ if (x > y || x == y) System.out.println(y); else System.out.println(x); } else{ if (x > y || x == y){ x = x % y; small = x; } else{ y = y % x; small = y; } for (int i = 1; i <= small; i++){ if ((x % i == 0) && (y % i == 0)){ gcd = i; } } System.out.println(gcd); } } }
[ 7, 15, 13, 17, 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, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 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 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 48, 57 ], [ 57, 58 ], [ 57, 59 ], [ 14, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 12, 66 ], [ 66, 67 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t String[] xy = in.readLine().split(\" \");\n\n\t\t int x=Integer.parseInt(xy[0]);\n\t\t int y=Integer.parseInt(xy[1]);\n\t\t \n\n\t\t \n\t\t int tmp;\n\t\t while(y!=0){\n\t\t\t \n\t\t\t tmp=x%y;\n\t\t\t x=y;\n\t\t\t y=tmp;\n\t\t\t \n\t\t }\n\t\t \n\t\t System.out.println(x);\n\t\t\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main{\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t String[] xy = in.readLine().split(\" \");\n\n\t\t int x=Integer.parseInt(xy[0]);\n\t\t int y=Integer.parseInt(xy[1]);\n\t\t \n\n\t\t \n\t\t int tmp;\n\t\t while(y!=0){\n\t\t\t \n\t\t\t tmp=x%y;\n\t\t\t x=y;\n\t\t\t y=tmp;\n\t\t\t \n\t\t }\n\t\t \n\t\t System.out.println(x);\n\t\t\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t String[] xy = in.readLine().split(\" \");\n\n\t\t int x=Integer.parseInt(xy[0]);\n\t\t int y=Integer.parseInt(xy[1]);\n\t\t \n\n\t\t \n\t\t int tmp;\n\t\t while(y!=0){\n\t\t\t \n\t\t\t tmp=x%y;\n\t\t\t x=y;\n\t\t\t y=tmp;\n\t\t\t \n\t\t }\n\t\t \n\t\t System.out.println(x);\n\t\t\n\t}", "main", "{\n\t\t\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n//\t\t int n = Integer.parseInt(in.readLine());\n\t\t\n\t\t String[] xy = in.readLine().split(\" \");\n\n\t\t int x=Integer.parseInt(xy[0]);\n\t\t int y=Integer.parseInt(xy[1]);\n\t\t \n\n\t\t \n\t\t int tmp;\n\t\t while(y!=0){\n\t\t\t \n\t\t\t tmp=x%y;\n\t\t\t x=y;\n\t\t\t y=tmp;\n\t\t\t \n\t\t }\n\t\t \n\t\t System.out.println(x);\n\t\t\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "String[] xy = in.readLine().split(\" \");", "xy", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "int x=Integer.parseInt(xy[0]);", "x", "Integer.parseInt(xy[0])", "Integer.parseInt", "Integer", "xy[0]", "xy", "0", "int y=Integer.parseInt(xy[1]);", "y", "Integer.parseInt(xy[1])", "Integer.parseInt", "Integer", "xy[1]", "xy", "1", "int tmp;", "tmp", "while(y!=0){\n\t\t\t \n\t\t\t tmp=x%y;\n\t\t\t x=y;\n\t\t\t y=tmp;\n\t\t\t \n\t\t }", "y!=0", "y", "0", "{\n\t\t\t \n\t\t\t tmp=x%y;\n\t\t\t x=y;\n\t\t\t y=tmp;\n\t\t\t \n\t\t }", "tmp=x%y", "tmp", "x%y", "x", "y", "x=y", "x", "y", "y=tmp", "y", "tmp", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] args) throws IOException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); // int n = Integer.parseInt(in.readLine()); String[] xy = in.readLine().split(" "); int x=Integer.parseInt(xy[0]); int y=Integer.parseInt(xy[1]); int tmp; while(y!=0){ tmp=x%y; x=y; y=tmp; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 9, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 18, 21 ], [ 21, 22 ], [ 21, 23 ], [ 6, 24 ], [ 24, 25 ], [ 6, 26 ], [ 26, 27 ], [ 67, 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 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 30, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 49, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 56, 60 ], [ 30, 61 ], [ 61, 62 ], [ 62, 63 ], [ 28, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tstatic int gcd(int a,int b){\n\t\tif(b==0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\t\tSystem.out.println(gcd(Math.max(a,b),Math.min(a,b)));\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic int gcd(int a,int b){\n\t\tif(b==0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\t\tSystem.out.println(gcd(Math.max(a,b),Math.min(a,b)));\n\t\tscan.close();\n\t}\n}", "Main", "static int gcd(int a,int b){\n\t\tif(b==0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t}", "gcd", "{\n\t\tif(b==0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t}", "if(b==0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b,a%b);\n\t\t}", "b==0", "b", "0", "{\n\t\t\treturn a;\n\t\t}", "return a;", "a", "{\n\t\t\treturn gcd(b,a%b);\n\t\t}", "return gcd(b,a%b);", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "public static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\t\tSystem.out.println(gcd(Math.max(a,b),Math.min(a,b)));\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\t\tSystem.out.println(gcd(Math.max(a,b),Math.min(a,b)));\n\t\tscan.close();\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a=scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b=scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "System.out.println(gcd(Math.max(a,b),Math.min(a,b)))", "System.out.println", "System.out", "System", "System.out", "gcd(Math.max(a,b),Math.min(a,b))", "gcd", "Math.max(a,b)", "Math.max", "Math", "a", "b", "Math.min(a,b)", "Math.min", "Math", "a", "b", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tstatic int gcd(int a,int b){\n\t\tif(b==0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\t\tSystem.out.println(gcd(Math.max(a,b),Math.min(a,b)));\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tstatic int gcd(int a,int b){\n\t\tif(b==0){\n\t\t\treturn a;\n\t\t}else{\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\t\tint a=scan.nextInt();\n\t\tint b=scan.nextInt();\n\t\tSystem.out.println(gcd(Math.max(a,b),Math.min(a,b)));\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { static int gcd(int a,int b){ if(b==0){ return a; }else{ return gcd(b,a%b); } } public static void main(String[] args){ Scanner scan=new Scanner(System.in); int a=scan.nextInt(); int b=scan.nextInt(); System.out.println(gcd(Math.max(a,b),Math.min(a,b))); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 30, 0, 13, 13, 0, 13, 13, 42, 2, 2, 13, 13, 17, 30, 41, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 71, 5 ], [ 71, 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 ], [ 8, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 34, 36 ], [ 26, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 6, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int max;\n int min;\n if(x < y){\n min = x;\n max = y; \n } \n else{\n min = y;\n max = x;\n }\n while(max % min != 0){\n int hold = min;\n min = max % min;\n max = hold;\n }\n System.out.println(min);\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 int x = scan.nextInt();\n int y = scan.nextInt();\n int max;\n int min;\n if(x < y){\n min = x;\n max = y; \n } \n else{\n min = y;\n max = x;\n }\n while(max % min != 0){\n int hold = min;\n min = max % min;\n max = hold;\n }\n System.out.println(min);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int max;\n int min;\n if(x < y){\n min = x;\n max = y; \n } \n else{\n min = y;\n max = x;\n }\n while(max % min != 0){\n int hold = min;\n min = max % min;\n max = hold;\n }\n System.out.println(min);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int max;\n int min;\n if(x < y){\n min = x;\n max = y; \n } \n else{\n min = y;\n max = x;\n }\n while(max % min != 0){\n int hold = min;\n min = max % min;\n max = hold;\n }\n System.out.println(min);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int y = scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "int max;", "max", "int min;", "min", "if(x < y){\n min = x;\n max = y; \n } \n else{\n min = y;\n max = x;\n }", "x < y", "x", "y", "{\n min = x;\n max = y; \n }", "min = x", "min", "x", "max = y", "max", "y", "{\n min = y;\n max = x;\n }", "min = y", "min", "y", "max = x", "max", "x", "while(max % min != 0){\n int hold = min;\n min = max % min;\n max = hold;\n }", "max % min != 0", "max % min", "max", "min", "0", "{\n int hold = min;\n min = max % min;\n max = hold;\n }", "int hold = min;", "hold", "min", "min = max % min", "min", "max % min", "max", "min", "max = hold", "max", "hold", "System.out.println(min)", "System.out.println", "System.out", "System", "System.out", "min", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int max;\n int min;\n if(x < y){\n min = x;\n max = y; \n } \n else{\n min = y;\n max = x;\n }\n while(max % min != 0){\n int hold = min;\n min = max % min;\n max = hold;\n }\n System.out.println(min);\n }\n}", "public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int x = scan.nextInt();\n int y = scan.nextInt();\n int max;\n int min;\n if(x < y){\n min = x;\n max = y; \n } \n else{\n min = y;\n max = x;\n }\n while(max % min != 0){\n int hold = min;\n min = max % min;\n max = hold;\n }\n System.out.println(min);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int y = scan.nextInt(); int max; int min; if(x < y){ min = x; max = y; } else{ min = y; max = x; } while(max % min != 0){ int hold = min; min = max % min; max = hold; } System.out.println(min); } }
[ 7, 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, 17, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 2, 13, 2, 13, 13, 17, 2, 2, 13, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 13, 29, 30, 40, 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 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 43, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 63, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 70, 76 ], [ 61, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 77, 86 ], [ 61, 87 ], [ 87, 88 ], [ 88, 89 ], [ 6, 90 ], [ 90, 91 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 1;\n while (i > 0) {\n if (a%(a/i) == 0 && b%(a/i) == 0) {\n System.out.println(a/i);\n return;\n } else {\n i++;\n }\n }\n\n \n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 1;\n while (i > 0) {\n if (a%(a/i) == 0 && b%(a/i) == 0) {\n System.out.println(a/i);\n return;\n } else {\n i++;\n }\n }\n\n \n }\n}", "Main", "public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 1;\n while (i > 0) {\n if (a%(a/i) == 0 && b%(a/i) == 0) {\n System.out.println(a/i);\n return;\n } else {\n i++;\n }\n }\n\n \n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] input = br.readLine().split(\" \");\n int a = Integer.parseInt(input[0]);\n int b = Integer.parseInt(input[1]);\n int gcd = 1;\n if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }\n int i = 1;\n while (i > 0) {\n if (a%(a/i) == 0 && b%(a/i) == 0) {\n System.out.println(a/i);\n return;\n } else {\n i++;\n }\n }\n\n \n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(input[0]);", "a", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int b = Integer.parseInt(input[1]);", "b", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "int gcd = 1;", "gcd", "1", "if (a > b) {\n int temp = b;\n b = a;\n a = temp;\n }", "a > b", "a", "b", "{\n int temp = b;\n b = a;\n a = temp;\n }", "int temp = b;", "temp", "b", "b = a", "b", "a", "a = temp", "a", "temp", "int i = 1;", "i", "1", "while (i > 0) {\n if (a%(a/i) == 0 && b%(a/i) == 0) {\n System.out.println(a/i);\n return;\n } else {\n i++;\n }\n }", "i > 0", "i", "0", "{\n if (a%(a/i) == 0 && b%(a/i) == 0) {\n System.out.println(a/i);\n return;\n } else {\n i++;\n }\n }", "if (a%(a/i) == 0 && b%(a/i) == 0) {\n System.out.println(a/i);\n return;\n } else {\n i++;\n }", "a%(a/i) == 0 && b%(a/i) == 0", "a%(a/i) == 0", "a%(a/i)", "a", "(a/i)", "a", "i", "0", "b%(a/i) == 0", "b%(a/i)", "b", "(a/i)", "a", "i", "0", "{\n System.out.println(a/i);\n return;\n }", "System.out.println(a/i)", "System.out.println", "System.out", "System", "System.out", "a/i", "a", "i", "return;", "{\n i++;\n }", "i++", "i", "String[] args", "args" ]
import java.io.*; class Main { public static void main (String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.readLine().split(" "); int a = Integer.parseInt(input[0]); int b = Integer.parseInt(input[1]); int gcd = 1; if (a > b) { int temp = b; b = a; a = temp; } int i = 1; while (i > 0) { if (a%(a/i) == 0 && b%(a/i) == 0) { System.out.println(a/i); return; } else { i++; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 2, 13, 13, 17, 30, 0, 13, 13, 30, 0, 13, 4, 13, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 13, 18 ], [ 9, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 19, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 19, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 6, 56 ], [ 56, 57 ], [ 4, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 60, 82 ], [ 82, 83 ], [ 58, 84 ], [ 84, 85 ], [ 58, 86 ], [ 86, 87 ] ]
[ "/* ALDS1_1_B */\nimport java.io.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n System.out.println(GCD(x, y));\n\n }catch(Exception e){\n System.out.println(e);\n }\n }\n\n public static int GCD(int x, int y)\n {\n int gcd;\n if(x % y == 0){\n gcd = y;\n }else {\n gcd = GCD(y, (x % y));\n }\n\n return gcd;\n }\n}", "import java.io.*;", "io.*", "java", "class Main\n{\n public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n System.out.println(GCD(x, y));\n\n }catch(Exception e){\n System.out.println(e);\n }\n }\n\n public static int GCD(int x, int y)\n {\n int gcd;\n if(x % y == 0){\n gcd = y;\n }else {\n gcd = GCD(y, (x % y));\n }\n\n return gcd;\n }\n}", "Main", "public static void main(String[] args)\n {\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n System.out.println(GCD(x, y));\n\n }catch(Exception e){\n System.out.println(e);\n }\n }", "main", "{\n try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n System.out.println(GCD(x, y));\n\n }catch(Exception e){\n System.out.println(e);\n }\n }", "try{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n System.out.println(GCD(x, y));\n\n }catch(Exception e){\n System.out.println(e);\n }", "catch(Exception e){\n System.out.println(e);\n }", "Exception e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n System.out.println(GCD(x, y));\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(str[0]);", "x", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int y = Integer.parseInt(str[1]);", "y", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "System.out.println(GCD(x, y))", "System.out.println", "System.out", "System", "System.out", "GCD(x, y)", "GCD", "x", "y", "String[] args", "args", "public static int GCD(int x, int y)\n {\n int gcd;\n if(x % y == 0){\n gcd = y;\n }else {\n gcd = GCD(y, (x % y));\n }\n\n return gcd;\n }", "GCD", "{\n int gcd;\n if(x % y == 0){\n gcd = y;\n }else {\n gcd = GCD(y, (x % y));\n }\n\n return gcd;\n }", "int gcd;", "gcd", "if(x % y == 0){\n gcd = y;\n }else {\n gcd = GCD(y, (x % y));\n }", "x % y == 0", "x % y", "x", "y", "0", "{\n gcd = y;\n }", "gcd = y", "gcd", "y", "{\n gcd = GCD(y, (x % y));\n }", "gcd = GCD(y, (x % y))", "gcd", "GCD(y, (x % y))", "GCD", "y", "(x % y)", "x", "y", "return gcd;", "gcd", "int x", "x", "int y", "y" ]
/* ALDS1_1_B */ import java.io.*; class Main { public static void main(String[] args) { try{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); int x = Integer.parseInt(str[0]); int y = Integer.parseInt(str[1]); System.out.println(GCD(x, y)); }catch(Exception e){ System.out.println(e); } } public static int GCD(int x, int y) { int gcd; if(x % y == 0){ gcd = y; }else { gcd = GCD(y, (x % y)); } return gcd; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 67, 5 ], [ 67, 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 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 32, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 46, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 6, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int tmp = 0;\n int r = 0;\n \n if (a < b) {\n tmp = a;\n a = b;\n b = tmp;\n }\n \n while (b > 0) {\n r = a % b;\n a = b;\n b = r;\n }\n \n System.out.println(a);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int tmp = 0;\n int r = 0;\n \n if (a < b) {\n tmp = a;\n a = b;\n b = tmp;\n }\n \n while (b > 0) {\n r = a % b;\n a = b;\n b = r;\n }\n \n System.out.println(a);\n }\n}", "Main", "public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int tmp = 0;\n int r = 0;\n \n if (a < b) {\n tmp = a;\n a = b;\n b = tmp;\n }\n \n while (b > 0) {\n r = a % b;\n a = b;\n b = r;\n }\n \n System.out.println(a);\n }", "main", "{\n final Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int tmp = 0;\n int r = 0;\n \n if (a < b) {\n tmp = a;\n a = b;\n b = tmp;\n }\n \n while (b > 0) {\n r = a % b;\n a = b;\n b = r;\n }\n \n System.out.println(a);\n }", "final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int tmp = 0;", "tmp", "0", "int r = 0;", "r", "0", "if (a < b) {\n tmp = a;\n a = b;\n b = tmp;\n }", "a < b", "a", "b", "{\n tmp = a;\n a = b;\n b = tmp;\n }", "tmp = a", "tmp", "a", "a = b", "a", "b", "b = tmp", "b", "tmp", "while (b > 0) {\n r = a % b;\n a = b;\n b = r;\n }", "b > 0", "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", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int tmp = 0;\n int r = 0;\n \n if (a < b) {\n tmp = a;\n a = b;\n b = tmp;\n }\n \n while (b > 0) {\n r = a % b;\n a = b;\n b = r;\n }\n \n System.out.println(a);\n }\n}", "public class Main {\n public static void main(String[] args) {\n final Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int tmp = 0;\n int r = 0;\n \n if (a < b) {\n tmp = a;\n a = b;\n b = tmp;\n }\n \n while (b > 0) {\n r = a % b;\n a = b;\n b = r;\n }\n \n System.out.println(a);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { final Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int tmp = 0; int r = 0; if (a < b) { tmp = a; a = b; b = tmp; } while (b > 0) { r = a % b; a = b; b = r; } System.out.println(a); } }
[ 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, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 4, 18, 13, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 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, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 219, 26 ], [ 219, 27 ], [ 27, 28 ], [ 219, 29 ], [ 29, 30 ], [ 219, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 37, 39 ], [ 33, 40 ], [ 40, 41 ], [ 40, 42 ], [ 33, 43 ], [ 43, 44 ], [ 44, 45 ], [ 33, 46 ], [ 46, 47 ], [ 47, 48 ], [ 31, 49 ], [ 49, 50 ], [ 219, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 55, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 51, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 87, 89 ], [ 83, 90 ], [ 90, 91 ], [ 90, 92 ], [ 78, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 97, 103 ], [ 103, 104 ], [ 103, 105 ], [ 97, 106 ], [ 106, 107 ], [ 106, 108 ], [ 78, 109 ], [ 109, 110 ], [ 76, 111 ], [ 111, 112 ], [ 76, 113 ], [ 113, 114 ], [ 219, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 115, 119 ], [ 119, 120 ], [ 115, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 121, 127 ], [ 127, 128 ], [ 115, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 132, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 131, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 149, 150 ], [ 150, 151 ], [ 115, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 155, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 154, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 169, 172 ], [ 172, 173 ], [ 173, 174 ], [ 115, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 178, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 177, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 115, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 198, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 197, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 212, 215 ], [ 215, 216 ], [ 216, 217 ], [ 0, 218 ], [ 218, 219 ], [ 218, 220 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\nimport java.math.BigDecimal;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int x = in.nextInt();\n int y = in.nextInt();\n \n int gcd = gcd(x ,y);\n out.println(gcd);\n// End solve()\n }\n \n int gcd(int x, int y) {\n if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }\n while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }\n \n return x;\n }\n \n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int x = in.nextInt();\n int y = in.nextInt();\n \n int gcd = gcd(x ,y);\n out.println(gcd);\n// End solve()\n }\n \n int gcd(int x, int y) {\n if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }\n while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }\n \n return x;\n }\n \n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main", "static InputReader in;", "in", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "main", "{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "in = new InputReader(System.in)", "in", "new InputReader(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "Solution solver = new Solution();", "solver", "new Solution()", "solver.solve()", "solver.solve", "solver", "out.close()", "out.close", "out", "String[] args", "args", "static class Solution {\n void solve() throws IOException {\n int x = in.nextInt();\n int y = in.nextInt();\n \n int gcd = gcd(x ,y);\n out.println(gcd);\n// End solve()\n }\n \n int gcd(int x, int y) {\n if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }\n while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }\n \n return x;\n }\n \n// End Solution\n}", "Solution", "void solve() throws IOException {\n int x = in.nextInt();\n int y = in.nextInt();\n \n int gcd = gcd(x ,y);\n out.println(gcd);\n// End solve()\n }", "solve", "{\n int x = in.nextInt();\n int y = in.nextInt();\n \n int gcd = gcd(x ,y);\n out.println(gcd);\n// End solve()\n }", "int x = in.nextInt();", "x", "in.nextInt()", "in.nextInt", "in", "int y = in.nextInt();", "y", "in.nextInt()", "in.nextInt", "in", "int gcd = gcd(x ,y);", "gcd", "gcd(x ,y)", "gcd", "x", "y", "out.println(gcd)", "out.println", "out", "gcd", "int gcd(int x, int y) {\n if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }\n while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }\n \n return x;\n }", "gcd", "{\n if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }\n while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }\n \n return x;\n }", "if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }", "x < y", "x", "y", "{\n int tmp = x;\n x = y;\n y= tmp;\n }", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y= tmp", "y", "tmp", "while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }", "y > 0", "y", "0", "{\n int r = x % y;\n x = y;\n y = r; \n }", "int r = x % y;", "r", "x % y", "x", "y", "x = y", "x", "y", "y = r", "y", "r", "return x;", "x", "int x", "x", "int y", "y", "static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream));\n }", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "nextInt", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "nextLong", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Long.parseLong(st.nextToken());", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "nextDouble", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Double.parseDouble(st.nextToken());", "Double.parseDouble(st.nextToken())", "Double.parseDouble", "Double", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int x = in.nextInt();\n int y = in.nextInt();\n \n int gcd = gcd(x ,y);\n out.println(gcd);\n// End solve()\n }\n \n int gcd(int x, int y) {\n if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }\n while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }\n \n return x;\n }\n \n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int x = in.nextInt();\n int y = in.nextInt();\n \n int gcd = gcd(x ,y);\n out.println(gcd);\n// End solve()\n }\n \n int gcd(int x, int y) {\n if (x < y) {\n int tmp = x;\n x = y;\n y= tmp;\n }\n while (y > 0) {\n int r = x % y;\n x = y;\n y = r; \n }\n \n return x;\n }\n \n// End Solution\n}\n\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.Scanner; import java.util.StringTokenizer; import java.math.BigDecimal; public class Main { static InputReader in; static PrintWriter out; static class Solution { void solve() throws IOException { int x = in.nextInt(); int y = in.nextInt(); int gcd = gcd(x ,y); out.println(gcd); // End solve() } int gcd(int x, int y) { if (x < y) { int tmp = x; x = y; y= tmp; } while (y > 0) { int r = x % y; x = y; y = r; } return x; } // End Solution } public static void main(String[] args) throws IOException { in = new InputReader(System.in); out = new PrintWriter(System.out); Solution solver = new Solution(); solver.solve(); out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream)); } public int nextInt() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Integer.parseInt(st.nextToken()); } public long nextLong() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Long.parseLong(st.nextToken()); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } public double nextDouble() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Double.parseDouble(st.nextToken()); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 2, 13, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 65, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 10, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 28, 35 ], [ 35, 36 ], [ 35, 37 ], [ 10, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 44, 53 ], [ 53, 54 ], [ 53, 55 ], [ 10, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 8, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\nprivate static Scanner scanner;\n\npublic static void main(String args[])\n{\n\tscanner = new Scanner(System.in);\n\tint a = scanner.nextInt(),b = scanner.nextInt();\n\tif(a < b) {\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}\n\twhile(a%b != 0) {\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}\n\tSystem.out.println(b);\n}\n}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\nprivate static Scanner scanner;\n\npublic static void main(String args[])\n{\n\tscanner = new Scanner(System.in);\n\tint a = scanner.nextInt(),b = scanner.nextInt();\n\tif(a < b) {\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}\n\twhile(a%b != 0) {\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}\n\tSystem.out.println(b);\n}\n}", "Main", "private static Scanner scanner;", "scanner", "public static void main(String args[])\n{\n\tscanner = new Scanner(System.in);\n\tint a = scanner.nextInt(),b = scanner.nextInt();\n\tif(a < b) {\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}\n\twhile(a%b != 0) {\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}\n\tSystem.out.println(b);\n}", "main", "{\n\tscanner = new Scanner(System.in);\n\tint a = scanner.nextInt(),b = scanner.nextInt();\n\tif(a < b) {\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}\n\twhile(a%b != 0) {\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}\n\tSystem.out.println(b);\n}", "scanner = new Scanner(System.in)", "scanner", "new Scanner(System.in)", "int a = scanner.nextInt()", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(a < b) {\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}", "a < b", "a", "b", "{\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}", "int tmp = a;", "tmp", "a", "a = b", "a", "b", "b = tmp", "b", "tmp", "while(a%b != 0) {\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}", "a%b != 0", "a%b", "a", "b", "0", "{\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}", "int c = a%b;", "c", "a%b", "a", "b", "a = b", "a", "b", "b = c", "b", "c", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String args[]", "args", "public class Main {\nprivate static Scanner scanner;\n\npublic static void main(String args[])\n{\n\tscanner = new Scanner(System.in);\n\tint a = scanner.nextInt(),b = scanner.nextInt();\n\tif(a < b) {\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}\n\twhile(a%b != 0) {\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}\n\tSystem.out.println(b);\n}\n}", "public class Main {\nprivate static Scanner scanner;\n\npublic static void main(String args[])\n{\n\tscanner = new Scanner(System.in);\n\tint a = scanner.nextInt(),b = scanner.nextInt();\n\tif(a < b) {\n\t\tint tmp = a;\n\t\ta = b;\n\t\tb = tmp;\n\t}\n\twhile(a%b != 0) {\n\t\tint c = a%b;\n\t\ta = b;\n\t\tb = c;\n\t}\n\tSystem.out.println(b);\n}\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner scanner; public static void main(String args[]) { scanner = new Scanner(System.in); int a = scanner.nextInt(),b = scanner.nextInt(); if(a < b) { int tmp = a; a = b; b = tmp; } while(a%b != 0) { int c = a%b; a = b; b = c; } System.out.println(b); } }
[ 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, 4, 18, 13, 17, 4, 18, 13, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 111, 8 ], [ 111, 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 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 19, 31 ], [ 31, 32 ], [ 32, 33 ], [ 19, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 19, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 19, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 58, 61 ], [ 9, 62 ], [ 62, 63 ], [ 111, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 69, 74 ], [ 66, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 77, 82 ], [ 66, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 66, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 92, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 66, 104 ], [ 104, 105 ], [ 64, 106 ], [ 106, 107 ], [ 64, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tpublic static int euclidean(final int x, final int y) {\n\t\tint a = x<y ? y : x;\n\t\tint b = x<y ? x : y;\n\t\tint r = a % b;\n\t\t\n\t\twhile (r != 0) {\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}\n\t\t\n\t\treturn b;\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tpublic static int euclidean(final int x, final int y) {\n\t\tint a = x<y ? y : x;\n\t\tint b = x<y ? x : y;\n\t\tint r = a % b;\n\t\t\n\t\twhile (r != 0) {\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}\n\t\t\n\t\treturn b;\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry {\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t}", "final BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "final String[] line = in.readLine().split(\" \");", "line", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "in.close()", "in.close", "in", "final int x = Integer.parseInt(line[0]);", "x", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "final int y = Integer.parseInt(line[1]);", "y", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "System.out.println(String.valueOf(euclidean(x, y)))", "System.out.println", "System.out", "System", "System.out", "String.valueOf(euclidean(x, y))", "String.valueOf", "String", "euclidean(x, y)", "euclidean", "x", "y", "String[] args", "args", "public static int euclidean(final int x, final int y) {\n\t\tint a = x<y ? y : x;\n\t\tint b = x<y ? x : y;\n\t\tint r = a % b;\n\t\t\n\t\twhile (r != 0) {\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}\n\t\t\n\t\treturn b;\n\t}", "euclidean", "{\n\t\tint a = x<y ? y : x;\n\t\tint b = x<y ? x : y;\n\t\tint r = a % b;\n\t\t\n\t\twhile (r != 0) {\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}\n\t\t\n\t\treturn b;\n\t}", "int a = x<y ? y : x;", "a", "x<y ? y : x", "x<y", "x", "y", "y", "x", "int b = x<y ? x : y;", "b", "x<y ? x : y", "x<y", "x", "y", "x", "y", "int r = a % b;", "r", "a % b", "a", "b", "while (r != 0) {\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}", "r != 0", "r", "0", "{\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}", "a = b", "a", "b", "b = r", "b", "r", "r = a % b", "r", "a % b", "a", "b", "return b;", "b", "final int x", "x", "final int y", "y", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tpublic static int euclidean(final int x, final int y) {\n\t\tint a = x<y ? y : x;\n\t\tint b = x<y ? x : y;\n\t\tint r = a % b;\n\t\t\n\t\twhile (r != 0) {\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}\n\t\t\n\t\treturn b;\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tfinal BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tfinal String[] line = in.readLine().split(\" \");\n\t\t\tin.close();\n\t\t\t\n\t\t\tfinal int x = Integer.parseInt(line[0]);\n\t\t\tfinal int y = Integer.parseInt(line[1]);\n\t\t\t\n\t\t\tSystem.out.println(String.valueOf(euclidean(x, y)));\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\t\n\tpublic static int euclidean(final int x, final int y) {\n\t\tint a = x<y ? y : x;\n\t\tint b = x<y ? x : y;\n\t\tint r = a % b;\n\t\t\n\t\twhile (r != 0) {\n\t\t\ta = b;\n\t\t\tb = r;\n\t\t\tr = a % b;\n\t\t}\n\t\t\n\t\treturn b;\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { final BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); final String[] line = in.readLine().split(" "); in.close(); final int x = Integer.parseInt(line[0]); final int y = Integer.parseInt(line[1]); System.out.println(String.valueOf(euclidean(x, y))); } catch (Exception e) { e.printStackTrace(); } } public static int euclidean(final int x, final int y) { int a = x<y ? y : x; int b = x<y ? x : y; int r = a % b; while (r != 0) { a = b; b = r; r = a % b; } return b; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 30, 0, 13, 2, 13, 13, 42, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 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 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 38, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 28, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 24, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 66, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 56, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 6, 84 ], [ 84, 85 ] ]
[ "import java.util.*;\n \nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int i;\n \n if(x<=y){\n i = y%x;\n while(i!=0){\n y = x;\n x = i;\n i = y%x;\n }\n System.out.println(x);\n }else{\n i = x%y;\n while(i!=0){\n x = y;\n y = i;\n i = x%y;\n }\n System.out.println(y);\n }\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int i;\n \n if(x<=y){\n i = y%x;\n while(i!=0){\n y = x;\n x = i;\n i = y%x;\n }\n System.out.println(x);\n }else{\n i = x%y;\n while(i!=0){\n x = y;\n y = i;\n i = x%y;\n }\n System.out.println(y);\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int i;\n \n if(x<=y){\n i = y%x;\n while(i!=0){\n y = x;\n x = i;\n i = y%x;\n }\n System.out.println(x);\n }else{\n i = x%y;\n while(i!=0){\n x = y;\n y = i;\n i = x%y;\n }\n System.out.println(y);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int x = sc.nextInt();\n int y = sc.nextInt();\n int i;\n \n if(x<=y){\n i = y%x;\n while(i!=0){\n y = x;\n x = i;\n i = y%x;\n }\n System.out.println(x);\n }else{\n i = x%y;\n while(i!=0){\n x = y;\n y = i;\n i = x%y;\n }\n System.out.println(y);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int i;", "i", "if(x<=y){\n i = y%x;\n while(i!=0){\n y = x;\n x = i;\n i = y%x;\n }\n System.out.println(x);\n }else{\n i = x%y;\n while(i!=0){\n x = y;\n y = i;\n i = x%y;\n }\n System.out.println(y);\n }", "x<=y", "x", "y", "{\n i = y%x;\n while(i!=0){\n y = x;\n x = i;\n i = y%x;\n }\n System.out.println(x);\n }", "i = y%x", "i", "y%x", "y", "x", "while(i!=0){\n y = x;\n x = i;\n i = y%x;\n }", "i!=0", "i", "0", "{\n y = x;\n x = i;\n i = y%x;\n }", "y = x", "y", "x", "x = i", "x", "i", "i = y%x", "i", "y%x", "y", "x", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "{\n i = x%y;\n while(i!=0){\n x = y;\n y = i;\n i = x%y;\n }\n System.out.println(y);\n }", "i = x%y", "i", "x%y", "x", "y", "while(i!=0){\n x = y;\n y = i;\n i = x%y;\n }", "i!=0", "i", "0", "{\n x = y;\n y = i;\n i = x%y;\n }", "x = y", "x", "y", "y = i", "y", "i", "i = x%y", "i", "x%y", "x", "y", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int i; if(x<=y){ i = y%x; while(i!=0){ y = x; x = i; i = y%x; } System.out.println(x); }else{ i = x%y; while(i!=0){ x = y; y = i; i = x%y; } System.out.println(y); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 4, 18, 13, 13, 13, 4, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 70, 5 ], [ 70, 6 ], [ 6, 7 ], [ 6, 8 ], [ 70, 9 ], [ 9, 10 ], [ 9, 11 ], [ 70, 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 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 35, 39 ], [ 33, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 12, 45 ], [ 45, 46 ], [ 70, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 50, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 47, 65 ], [ 65, 66 ], [ 47, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static final int BIG_NUM = 200000000;\n public static final int MOD = 100000007;\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n \n System.out.println(gcd(Math.max(x, y), Math.min(x, y)));\n }\n \n public static int gcd(int x, int y) {\n if(y == 0) {\n return x;\n }else {\n return gcd(y, x % y);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static final int BIG_NUM = 200000000;\n public static final int MOD = 100000007;\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n \n System.out.println(gcd(Math.max(x, y), Math.min(x, y)));\n }\n \n public static int gcd(int x, int y) {\n if(y == 0) {\n return x;\n }else {\n return gcd(y, x % y);\n }\n }\n}", "Main", "public static final int BIG_NUM = 200000000;", "BIG_NUM", "200000000", "public static final int MOD = 100000007;", "MOD", "100000007", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n \n System.out.println(gcd(Math.max(x, y), Math.min(x, y)));\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n \n System.out.println(gcd(Math.max(x, y), Math.min(x, y)));\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int x = scanner.nextInt();", "x", "scanner.nextInt()", "scanner.nextInt", "scanner", "int y = scanner.nextInt();", "y", "scanner.nextInt()", "scanner.nextInt", "scanner", "System.out.println(gcd(Math.max(x, y), Math.min(x, y)))", "System.out.println", "System.out", "System", "System.out", "gcd(Math.max(x, y), Math.min(x, y))", "gcd", "Math.max(x, y)", "Math.max", "Math", "x", "y", "Math.min(x, y)", "Math.min", "Math", "x", "y", "String[] args", "args", "public static int gcd(int x, int y) {\n if(y == 0) {\n return x;\n }else {\n return gcd(y, x % y);\n }\n }", "gcd", "{\n if(y == 0) {\n return x;\n }else {\n return gcd(y, x % y);\n }\n }", "if(y == 0) {\n return x;\n }else {\n return gcd(y, x % y);\n }", "y == 0", "y", "0", "{\n return x;\n }", "return x;", "x", "{\n return gcd(y, x % y);\n }", "return gcd(y, x % y);", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y", "public class Main {\n public static final int BIG_NUM = 200000000;\n public static final int MOD = 100000007;\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n \n System.out.println(gcd(Math.max(x, y), Math.min(x, y)));\n }\n \n public static int gcd(int x, int y) {\n if(y == 0) {\n return x;\n }else {\n return gcd(y, x % y);\n }\n }\n}", "public class Main {\n public static final int BIG_NUM = 200000000;\n public static final int MOD = 100000007;\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n \n System.out.println(gcd(Math.max(x, y), Math.min(x, y)));\n }\n \n public static int gcd(int x, int y) {\n if(y == 0) {\n return x;\n }else {\n return gcd(y, x % y);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static final int BIG_NUM = 200000000; public static final int MOD = 100000007; public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int x = scanner.nextInt(); int y = scanner.nextInt(); System.out.println(gcd(Math.max(x, y), Math.min(x, y))); } public static int gcd(int x, int y) { if(y == 0) { return x; }else { return gcd(y, x % y); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 29, 4, 13, 13, 13, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 6, 31 ], [ 31, 32 ], [ 4, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 41, 44 ], [ 35, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 35, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 33, 58 ], [ 58, 59 ], [ 33, 60 ], [ 60, 61 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\tint x = sc.nextInt();\n\tint y = sc.nextInt();\n\tSystem.out.println(gcd(x, y));\n }\n private static int gcd(int x, int y) {\n if(x < y) return gcd(y, x);\n if(y == 0) return x;\n return gcd(y, x % y);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\tint x = sc.nextInt();\n\tint y = sc.nextInt();\n\tSystem.out.println(gcd(x, y));\n }\n private static int gcd(int x, int y) {\n if(x < y) return gcd(y, x);\n if(y == 0) return x;\n return gcd(y, x % y);\n }\n}", "Main", "public static void main(String[] args) {\n\tScanner sc = new Scanner(System.in);\n\tint x = sc.nextInt();\n\tint y = sc.nextInt();\n\tSystem.out.println(gcd(x, y));\n }", "main", "{\n\tScanner sc = new Scanner(System.in);\n\tint x = sc.nextInt();\n\tint y = sc.nextInt();\n\tSystem.out.println(gcd(x, y));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "String[] args", "args", "private static int gcd(int x, int y) {\n if(x < y) return gcd(y, x);\n if(y == 0) return x;\n return gcd(y, x % y);\n }", "gcd", "{\n if(x < y) return gcd(y, x);\n if(y == 0) return x;\n return gcd(y, x % y);\n }", "if(x < y) return gcd(y, x);", "x < y", "x", "y", "return gcd(y, x);", "gcd(y, x)", "gcd", "y", "x", "if(y == 0) return x;", "y == 0", "y", "0", "return x;", "x", "return gcd(y, x % y);", "gcd(y, x % y)", "gcd", "y", "x % y", "x", "y", "int x", "x", "int y", "y" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); System.out.println(gcd(x, y)); } private static int gcd(int x, int y) { if(x < y) return gcd(y, x); if(y == 0) return x; return gcd(y, x % y); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 41, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 30, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 89, 8 ], [ 89, 9 ], [ 9, 10 ], [ 9, 11 ], [ 89, 12 ], [ 12, 13 ], [ 89, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 89, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 24, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 42, 43 ], [ 24, 44 ], [ 44, 45 ], [ 24, 46 ], [ 46, 47 ], [ 24, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 48, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 24, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 70, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 24, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n private static StringTokenizer st;\n\n public static void main ( String [] args ) throws IOException\n {\n\tnew Main().cal();\n }\n\n \n private void cal() throws IOException \n {\n\tst = new StringTokenizer(br.readLine());\n\tint a = Integer.parseInt(st.nextToken());\n\tint b = Integer.parseInt(st.nextToken());\n\n\tint x, y;\n\tif ( a > b ) {\n\t x = a; y = b;\n\t} else {\n\t x = b; y = a;\n\t}\n\n\twhile( y > 0 ) {\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}\n\n\tSystem.out.println(x);\n\n\t\n\t\n\n }\n\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n private static StringTokenizer st;\n\n public static void main ( String [] args ) throws IOException\n {\n\tnew Main().cal();\n }\n\n \n private void cal() throws IOException \n {\n\tst = new StringTokenizer(br.readLine());\n\tint a = Integer.parseInt(st.nextToken());\n\tint b = Integer.parseInt(st.nextToken());\n\n\tint x, y;\n\tif ( a > b ) {\n\t x = a; y = b;\n\t} else {\n\t x = b; y = a;\n\t}\n\n\twhile( y > 0 ) {\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}\n\n\tSystem.out.println(x);\n\n\t\n\t\n\n }\n\n}", "Main", "private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "private static StringTokenizer st;", "st", "public static void main ( String [] args ) throws IOException\n {\n\tnew Main().cal();\n }", "main", "{\n\tnew Main().cal();\n }", "new Main().cal()", "new Main().cal", "new Main()", "String [] args", "args", "private void cal() throws IOException \n {\n\tst = new StringTokenizer(br.readLine());\n\tint a = Integer.parseInt(st.nextToken());\n\tint b = Integer.parseInt(st.nextToken());\n\n\tint x, y;\n\tif ( a > b ) {\n\t x = a; y = b;\n\t} else {\n\t x = b; y = a;\n\t}\n\n\twhile( y > 0 ) {\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}\n\n\tSystem.out.println(x);\n\n\t\n\t\n\n }", "cal", "{\n\tst = new StringTokenizer(br.readLine());\n\tint a = Integer.parseInt(st.nextToken());\n\tint b = Integer.parseInt(st.nextToken());\n\n\tint x, y;\n\tif ( a > b ) {\n\t x = a; y = b;\n\t} else {\n\t x = b; y = a;\n\t}\n\n\twhile( y > 0 ) {\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}\n\n\tSystem.out.println(x);\n\n\t\n\t\n\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "int a = Integer.parseInt(st.nextToken());", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "int b = Integer.parseInt(st.nextToken());", "b", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "int x", "x", "y;", "y", "if ( a > b ) {\n\t x = a; y = b;\n\t} else {\n\t x = b; y = a;\n\t}", "a > b", "a", "b", "{\n\t x = a; y = b;\n\t}", "x = a", "x", "a", "y = b", "y", "b", "{\n\t x = b; y = a;\n\t}", "x = b", "x", "b", "y = a", "y", "a", "while( y > 0 ) {\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}", "y > 0", "y", "0", "{\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}", "int temp = x;", "temp", "x", "x = y", "x", "y", "y = temp % y", "y", "temp % y", "temp", "y", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "public class Main {\n\n private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n private static StringTokenizer st;\n\n public static void main ( String [] args ) throws IOException\n {\n\tnew Main().cal();\n }\n\n \n private void cal() throws IOException \n {\n\tst = new StringTokenizer(br.readLine());\n\tint a = Integer.parseInt(st.nextToken());\n\tint b = Integer.parseInt(st.nextToken());\n\n\tint x, y;\n\tif ( a > b ) {\n\t x = a; y = b;\n\t} else {\n\t x = b; y = a;\n\t}\n\n\twhile( y > 0 ) {\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}\n\n\tSystem.out.println(x);\n\n\t\n\t\n\n }\n\n}", "public class Main {\n\n private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); \n private static StringTokenizer st;\n\n public static void main ( String [] args ) throws IOException\n {\n\tnew Main().cal();\n }\n\n \n private void cal() throws IOException \n {\n\tst = new StringTokenizer(br.readLine());\n\tint a = Integer.parseInt(st.nextToken());\n\tint b = Integer.parseInt(st.nextToken());\n\n\tint x, y;\n\tif ( a > b ) {\n\t x = a; y = b;\n\t} else {\n\t x = b; y = a;\n\t}\n\n\twhile( y > 0 ) {\n\t int temp = x;\n\t x = y;\n\t y = temp % y;\n\t}\n\n\tSystem.out.println(x);\n\n\t\n\t\n\n }\n\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); private static StringTokenizer st; public static void main ( String [] args ) throws IOException { new Main().cal(); } private void cal() throws IOException { st = new StringTokenizer(br.readLine()); int a = Integer.parseInt(st.nextToken()); int b = Integer.parseInt(st.nextToken()); int x, y; if ( a > b ) { x = a; y = b; } else { x = b; y = a; } while( y > 0 ) { int temp = x; x = y; y = temp % y; } System.out.println(x); } }
[ 7, 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, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 13, 30, 0, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 0, 13, 4, 18, 13, 2, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 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 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 34, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 48, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 63, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint num1 = Integer.parseInt(s.next());\n\t\tint num2 = Integer.parseInt(s.next());\n\t\tint sub;\n\t\t\n\t\tif(num2 > num1){\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}\n\t\t\n\t\twhile(num1 != num2){\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}\n\t\t\n\t\tSystem.out.println(num1);\n\t\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\tScanner s = new Scanner(System.in);\n\t\tint num1 = Integer.parseInt(s.next());\n\t\tint num2 = Integer.parseInt(s.next());\n\t\tint sub;\n\t\t\n\t\tif(num2 > num1){\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}\n\t\t\n\t\twhile(num1 != num2){\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}\n\t\t\n\t\tSystem.out.println(num1);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint num1 = Integer.parseInt(s.next());\n\t\tint num2 = Integer.parseInt(s.next());\n\t\tint sub;\n\t\t\n\t\tif(num2 > num1){\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}\n\t\t\n\t\twhile(num1 != num2){\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}\n\t\t\n\t\tSystem.out.println(num1);\n\t\t\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint num1 = Integer.parseInt(s.next());\n\t\tint num2 = Integer.parseInt(s.next());\n\t\tint sub;\n\t\t\n\t\tif(num2 > num1){\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}\n\t\t\n\t\twhile(num1 != num2){\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}\n\t\t\n\t\tSystem.out.println(num1);\n\t\t\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int num1 = Integer.parseInt(s.next());", "num1", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "int num2 = Integer.parseInt(s.next());", "num2", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "int sub;", "sub", "if(num2 > num1){\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}", "num2 > num1", "num2", "num1", "{\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}", "sub = num2", "sub", "num2", "num2 = num1", "num2", "num1", "num1 = sub", "num1", "sub", "while(num1 != num2){\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}", "num1 != num2", "num1", "num2", "{\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}", "sub = num1", "sub", "num1", "num1 = Math.max(num1 - num2, num2)", "num1", "Math.max(num1 - num2, num2)", "Math.max", "Math", "num1 - num2", "num1", "num2", "num2", "num2 = Math.min(sub - num2, num2)", "num2", "Math.min(sub - num2, num2)", "Math.min", "Math", "sub - num2", "sub", "num2", "num2", "System.out.println(num1)", "System.out.println", "System.out", "System", "System.out", "num1", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint num1 = Integer.parseInt(s.next());\n\t\tint num2 = Integer.parseInt(s.next());\n\t\tint sub;\n\t\t\n\t\tif(num2 > num1){\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}\n\t\t\n\t\twhile(num1 != num2){\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}\n\t\t\n\t\tSystem.out.println(num1);\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tint num1 = Integer.parseInt(s.next());\n\t\tint num2 = Integer.parseInt(s.next());\n\t\tint sub;\n\t\t\n\t\tif(num2 > num1){\n\t\t\tsub = num2;\n\t\t\tnum2 = num1;\n\t\t\tnum1 = sub;\n\t\t}\n\t\t\n\t\twhile(num1 != num2){\n\t\t\tsub = num1;\n\t\t\tnum1 = Math.max(num1 - num2, num2);\n\t\t\tnum2 = Math.min(sub - num2, num2);\n\t\t}\n\t\t\n\t\tSystem.out.println(num1);\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int num1 = Integer.parseInt(s.next()); int num2 = Integer.parseInt(s.next()); int sub; if(num2 > num1){ sub = num2; num2 = num1; num1 = sub; } while(num1 != num2){ sub = num1; num1 = Math.max(num1 - num2, num2); num2 = Math.min(sub - num2, num2); } System.out.println(num1); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 42, 2, 0, 13, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 13, 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 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 25, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 6, 45 ], [ 45, 46 ] ]
[ "import java.util.Scanner;\nclass Main {\n public static void main( String[] args ) {\nScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int r ;\n\n while( (r = a % b) != 0 ) {\n a = b;\n b = r;\n }\n System.out.println(b);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main( String[] args ) {\nScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int r ;\n\n while( (r = a % b) != 0 ) {\n a = b;\n b = r;\n }\n System.out.println(b);\n }\n}", "Main", "public static void main( String[] args ) {\nScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int r ;\n\n while( (r = a % b) != 0 ) {\n a = b;\n b = r;\n }\n System.out.println(b);\n }", "main", "{\nScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int r ;\n\n while( (r = a % b) != 0 ) {\n a = b;\n b = r;\n }\n System.out.println(b);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int r ;", "r", "while( (r = a % b) != 0 ) {\n a = b;\n b = r;\n }", "(r = a % b) != 0", "(r = a % b)", "r", "a % b", "a", "b", "0", "{\n a = b;\n b = r;\n }", "a = b", "a", "b", "b = r", "b", "r", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main( String[] args ) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int r ; while( (r = a % b) != 0 ) { a = b; b = r; } System.out.println(b); } }
[ 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, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 13, 17, 30, 41, 13, 2, 13, 13, 0, 13, 13, 0, 13, 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 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 38, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 61, 62 ], [ 61, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 12, 70 ], [ 70, 71 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\nclass Main{\n public static void main(String[] args) throws IOException{\n Scanner scan=new Scanner(System.in);\n int x=Integer.parseInt(scan.next());\n int y=Integer.parseInt(scan.next());\n if(x<y){\n int tmp=x;\n x=y;\n y=tmp;\n }\n while(y>0){\n int r=x%y;\n x=y;\n y=r;\n }\n\n System.out.println(x);\n }\n}\n", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "class Main{\n public static void main(String[] args) throws IOException{\n Scanner scan=new Scanner(System.in);\n int x=Integer.parseInt(scan.next());\n int y=Integer.parseInt(scan.next());\n if(x<y){\n int tmp=x;\n x=y;\n y=tmp;\n }\n while(y>0){\n int r=x%y;\n x=y;\n y=r;\n }\n\n System.out.println(x);\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n Scanner scan=new Scanner(System.in);\n int x=Integer.parseInt(scan.next());\n int y=Integer.parseInt(scan.next());\n if(x<y){\n int tmp=x;\n x=y;\n y=tmp;\n }\n while(y>0){\n int r=x%y;\n x=y;\n y=r;\n }\n\n System.out.println(x);\n }", "main", "{\n Scanner scan=new Scanner(System.in);\n int x=Integer.parseInt(scan.next());\n int y=Integer.parseInt(scan.next());\n if(x<y){\n int tmp=x;\n x=y;\n y=tmp;\n }\n while(y>0){\n int r=x%y;\n x=y;\n y=r;\n }\n\n System.out.println(x);\n }", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x=Integer.parseInt(scan.next());", "x", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "int y=Integer.parseInt(scan.next());", "y", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "if(x<y){\n int tmp=x;\n x=y;\n y=tmp;\n }", "x<y", "x", "y", "{\n int tmp=x;\n x=y;\n y=tmp;\n }", "int tmp=x;", "tmp", "x", "x=y", "x", "y", "y=tmp", "y", "tmp", "while(y>0){\n int r=x%y;\n x=y;\n y=r;\n }", "y>0", "y", "0", "{\n int r=x%y;\n x=y;\n y=r;\n }", "int r=x%y;", "r", "x%y", "x", "y", "x=y", "x", "y", "y=r", "y", "r", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args" ]
import java.io.*; import java.util.*; import java.lang.*; class Main{ public static void main(String[] args) throws IOException{ Scanner scan=new Scanner(System.in); int x=Integer.parseInt(scan.next()); int y=Integer.parseInt(scan.next()); if(x<y){ int tmp=x; x=y; y=tmp; } while(y>0){ int r=x%y; x=y; y=r; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 4, 18, 13, 4, 18, 13, 17, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 75, 5 ], [ 75, 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 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 6, 38 ], [ 38, 39 ], [ 75, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 47, 54 ], [ 54, 55 ], [ 54, 56 ], [ 42, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 40, 70 ], [ 70, 71 ], [ 40, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static int gcd(int a, int b) {\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b, a % b);\n\t}\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\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static int gcd(int a, int b) {\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b, a % b);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t\tSystem.exit(0);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t\tSystem.exit(0);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b = scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "System.out.println(gcd(a, b))", "System.out.println", "System.out", "System", "System.out", "gcd(a, b)", "gcd", "a", "b", "scan.close()", "scan.close", "scan", "System.exit(0)", "System.exit", "System", "0", "String[] args", "args", "private static int gcd(int a, int b) {\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b, a % b);\n\t}", "gcd", "{\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b, a % b);\n\t}", "if (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}", "a < b", "a", "b", "{\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}", "int tmp = a;", "tmp", "a", "a = b", "a", "b", "b = tmp", "b", "tmp", "if (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b, a % b);", "b == 0", "b", "0", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static int gcd(int a, int b) {\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b, a % b);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\n\t\tSystem.out.println(gcd(a, b));\n\n\t\tscan.close();\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static int gcd(int a, int b) {\n\t\tif (a < b) {\n\t\t\tint tmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b, a % b);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a = scan.nextInt(); int b = scan.nextInt(); System.out.println(gcd(a, b)); scan.close(); System.exit(0); } private static int gcd(int a, int b) { if (a < b) { int tmp = a; a = b; b = tmp; } if (b == 0) return a; else return gcd(b, a % b); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 41, 13, 2, 13, 13, 29, 4, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 104, 8 ], [ 104, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 11, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 51, 58 ], [ 58, 59 ], [ 58, 60 ], [ 11, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 63, 66 ], [ 11, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 11, 73 ], [ 73, 74 ], [ 74, 75 ], [ 9, 76 ], [ 76, 77 ], [ 104, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 81, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 95, 98 ], [ 78, 99 ], [ 99, 100 ], [ 78, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.io.*;\nimport java.util.*;\n\n\n\npublic class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n \n str = br.readLine();\n String[] line = str.split(\"\\\\s\");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n \n int temp = 0;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n\n temp = run(x,y);\n\n System.out.println(temp);\n \n br.close();\n }\n\n public static int run(int x,int y){\n if(x == 0){\n return y;\n }else{\n int m = y % x;\n return run(m,x);\n }\n }\n}\n", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n \n str = br.readLine();\n String[] line = str.split(\"\\\\s\");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n \n int temp = 0;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n\n temp = run(x,y);\n\n System.out.println(temp);\n \n br.close();\n }\n\n public static int run(int x,int y){\n if(x == 0){\n return y;\n }else{\n int m = y % x;\n return run(m,x);\n }\n }\n}", "Main", "public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n \n str = br.readLine();\n String[] line = str.split(\"\\\\s\");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n \n int temp = 0;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n\n temp = run(x,y);\n\n System.out.println(temp);\n \n br.close();\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n \n str = br.readLine();\n String[] line = str.split(\"\\\\s\");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n \n int temp = 0;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n\n temp = run(x,y);\n\n System.out.println(temp);\n \n br.close();\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str;", "str", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "String[] line = str.split(\"\\\\s\");", "line", "str.split(\"\\\\s\")", "str.split", "str", "\"\\\\s\"", "int x = Integer.parseInt(line[0]);", "x", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int y = Integer.parseInt(line[1]);", "y", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "int temp = 0;", "temp", "0", "if(x > y){\n temp = y;\n y = x;\n x = temp;\n }", "x > y", "x", "y", "{\n temp = y;\n y = x;\n x = temp;\n }", "temp = y", "temp", "y", "y = x", "y", "x", "x = temp", "x", "temp", "temp = run(x,y)", "temp", "run(x,y)", "run", "x", "y", "System.out.println(temp)", "System.out.println", "System.out", "System", "System.out", "temp", "br.close()", "br.close", "br", "String[] args", "args", "public static int run(int x,int y){\n if(x == 0){\n return y;\n }else{\n int m = y % x;\n return run(m,x);\n }\n }", "run", "{\n if(x == 0){\n return y;\n }else{\n int m = y % x;\n return run(m,x);\n }\n }", "if(x == 0){\n return y;\n }else{\n int m = y % x;\n return run(m,x);\n }", "x == 0", "x", "0", "{\n return y;\n }", "return y;", "y", "{\n int m = y % x;\n return run(m,x);\n }", "int m = y % x;", "m", "y % x", "y", "x", "return run(m,x);", "run(m,x)", "run", "m", "x", "int x", "x", "int y", "y", "public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n \n str = br.readLine();\n String[] line = str.split(\"\\\\s\");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n \n int temp = 0;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n\n temp = run(x,y);\n\n System.out.println(temp);\n \n br.close();\n }\n\n public static int run(int x,int y){\n if(x == 0){\n return y;\n }else{\n int m = y % x;\n return run(m,x);\n }\n }\n}", "public class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str;\n \n str = br.readLine();\n String[] line = str.split(\"\\\\s\");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n \n int temp = 0;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n\n temp = run(x,y);\n\n System.out.println(temp);\n \n br.close();\n }\n\n public static int run(int x,int y){\n if(x == 0){\n return y;\n }else{\n int m = y % x;\n return run(m,x);\n }\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String str; str = br.readLine(); String[] line = str.split("\\s"); int x = Integer.parseInt(line[0]); int y = Integer.parseInt(line[1]); int temp = 0; if(x > y){ temp = y; y = x; x = temp; } temp = run(x,y); System.out.println(temp); br.close(); } public static int run(int x,int y){ if(x == 0){ return y; }else{ int m = y % x; return run(m,x); } } }
[ 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, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 14, 2, 13, 13, 30, 42, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 41, 13, 13, 41, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 3, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 13, 30, 41, 13, 13, 41, 13, 13, 0, 13, 13, 0, 13, 13, 42, 2, 2, 2, 13, 13, 17, 2, 13, 17, 30, 41, 13, 13, 41, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 3, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 13, 29, 13, 23, 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 ], [ 0, 13 ], [ 13, 14 ], [ 13, 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 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 17, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 47, 50 ], [ 17, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 15, 57 ], [ 57, 58 ], [ 13, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 79, 86 ], [ 86, 87 ], [ 86, 88 ], [ 79, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 79, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 68, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 64, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 119, 121 ], [ 115, 122 ], [ 122, 123 ], [ 122, 124 ], [ 115, 125 ], [ 125, 126 ], [ 125, 127 ], [ 115, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 135, 137 ], [ 128, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 142, 144 ], [ 138, 145 ], [ 145, 146 ], [ 145, 147 ], [ 138, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 138, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 115, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 61, 174 ], [ 174, 175 ], [ 59, 176 ], [ 176, 177 ], [ 59, 178 ], [ 178, 179 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n\nclass Main{\n //่ชญใฟ่พผใฟใฎใƒ†ใƒณใƒ—ใƒฌ(stringใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใพใง)\n public static void main(String[] args) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String string = reader.readLine();\n StringTokenizer token = new StringTokenizer(string,\" \");\n \n int x = Integer.parseInt((String)token.nextElement());\n int y = Integer.parseInt((String)token.nextElement());\n \n int answer = gcd(x,y);\n System.out.println(answer);\n }\n \n public static int gcd(int x,int y){\n \n int answer;\n \n if(x > y){\n \n while(x%y != 0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n \n }else{\n int x_y = x;\n int y_x = y;\n \n x = y_x;\n y = x_y;\n \n while(x%y !=0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n }\n return answer;\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", "class Main{\n //่ชญใฟ่พผใฟใฎใƒ†ใƒณใƒ—ใƒฌ(stringใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใพใง)\n public static void main(String[] args) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String string = reader.readLine();\n StringTokenizer token = new StringTokenizer(string,\" \");\n \n int x = Integer.parseInt((String)token.nextElement());\n int y = Integer.parseInt((String)token.nextElement());\n \n int answer = gcd(x,y);\n System.out.println(answer);\n }\n \n public static int gcd(int x,int y){\n \n int answer;\n \n if(x > y){\n \n while(x%y != 0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n \n }else{\n int x_y = x;\n int y_x = y;\n \n x = y_x;\n y = x_y;\n \n while(x%y !=0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n }\n return answer;\n }\n}", "Main", "//่ชญใฟ่พผใฟใฎใƒ†ใƒณใƒ—ใƒฌ(stringใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใพใง)\n public static void main(String[] args) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String string = reader.readLine();\n StringTokenizer token = new StringTokenizer(string,\" \");\n \n int x = Integer.parseInt((String)token.nextElement());\n int y = Integer.parseInt((String)token.nextElement());\n \n int answer = gcd(x,y);\n System.out.println(answer);\n }", "main", "{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String string = reader.readLine();\n StringTokenizer token = new StringTokenizer(string,\" \");\n \n int x = Integer.parseInt((String)token.nextElement());\n int y = Integer.parseInt((String)token.nextElement());\n \n int answer = gcd(x,y);\n System.out.println(answer);\n }", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String string = reader.readLine();", "string", "reader.readLine()", "reader.readLine", "reader", "StringTokenizer token = new StringTokenizer(string,\" \");", "token", "new StringTokenizer(string,\" \")", "int x = Integer.parseInt((String)token.nextElement());", "x", "Integer.parseInt((String)token.nextElement())", "Integer.parseInt", "Integer", "(String)token.nextElement()", "token.nextElement", "token", "int y = Integer.parseInt((String)token.nextElement());", "y", "Integer.parseInt((String)token.nextElement())", "Integer.parseInt", "Integer", "(String)token.nextElement()", "token.nextElement", "token", "int answer = gcd(x,y);", "answer", "gcd(x,y)", "gcd", "x", "y", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "String[] args", "args", "public static int gcd(int x,int y){\n \n int answer;\n \n if(x > y){\n \n while(x%y != 0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n \n }else{\n int x_y = x;\n int y_x = y;\n \n x = y_x;\n y = x_y;\n \n while(x%y !=0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n }\n return answer;\n }", "gcd", "{\n \n int answer;\n \n if(x > y){\n \n while(x%y != 0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n \n }else{\n int x_y = x;\n int y_x = y;\n \n x = y_x;\n y = x_y;\n \n while(x%y !=0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n }\n return answer;\n }", "int answer;", "answer", "if(x > y){\n \n while(x%y != 0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n \n }else{\n int x_y = x;\n int y_x = y;\n \n x = y_x;\n y = x_y;\n \n while(x%y !=0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n }", "x > y", "x", "y", "{\n \n while(x%y != 0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n \n }", "while(x%y != 0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }", "x%y != 0 || y !=1", "x%y != 0", "x%y", "x", "y", "0", "y !=1", "y", "1", "{\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n \n if(y == 0){\n y = y_1;\n break;\n }\n }", "int x_1 = x;", "x_1", "x", "int y_1 = y;", "y_1", "y", "x = y", "x", "y", "y = x_1 % y", "y", "x_1 % y", "x_1", "y", "if(y == 0){\n y = y_1;\n break;\n }", "y == 0", "y", "0", "{\n y = y_1;\n break;\n }", "y = y_1", "y", "y_1", "break;", "if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }", "y == 1", "y", "1", "{\n answer = 1;\n }", "answer = 1", "answer", "1", "{\n answer = y;\n }", "answer = y", "answer", "y", "{\n int x_y = x;\n int y_x = y;\n \n x = y_x;\n y = x_y;\n \n while(x%y !=0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }\n if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }\n \n }", "int x_y = x;", "x_y", "x", "int y_x = y;", "y_x", "y", "x = y_x", "x", "y_x", "y = x_y", "y", "x_y", "while(x%y !=0 || y !=1){\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }", "x%y !=0 || y !=1", "x%y !=0", "x%y", "x", "y", "0", "y !=1", "y", "1", "{\n int x_1 = x;\n int y_1 = y;\n x = y;\n y = x_1 % y;\n if(y == 0){\n y = y_1;\n break;\n }\n }", "int x_1 = x;", "x_1", "x", "int y_1 = y;", "y_1", "y", "x = y", "x", "y", "y = x_1 % y", "y", "x_1 % y", "x_1", "y", "if(y == 0){\n y = y_1;\n break;\n }", "y == 0", "y", "0", "{\n y = y_1;\n break;\n }", "y = y_1", "y", "y_1", "break;", "if(y == 1){\n answer = 1;\n }else{\n answer = y;\n }", "y == 1", "y", "1", "{\n answer = 1;\n }", "answer = 1", "answer", "1", "{\n answer = y;\n }", "answer = y", "answer", "y", "return answer;", "answer", "int x", "x", "int y", "y" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main{ //่ชญใฟ่พผใฟใฎใƒ†ใƒณใƒ—ใƒฌ(stringใ‚ชใƒ–ใ‚ธใ‚งใ‚ฏใƒˆใพใง) public static void main(String[] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String string = reader.readLine(); StringTokenizer token = new StringTokenizer(string," "); int x = Integer.parseInt((String)token.nextElement()); int y = Integer.parseInt((String)token.nextElement()); int answer = gcd(x,y); System.out.println(answer); } public static int gcd(int x,int y){ int answer; if(x > y){ while(x%y != 0 || y !=1){ int x_1 = x; int y_1 = y; x = y; y = x_1 % y; if(y == 0){ y = y_1; break; } } if(y == 1){ answer = 1; }else{ answer = y; } }else{ int x_y = x; int y_x = y; x = y_x; y = x_y; while(x%y !=0 || y !=1){ int x_1 = x; int y_1 = y; x = y; y = x_1 % y; if(y == 0){ y = y_1; break; } } if(y == 1){ answer = 1; }else{ answer = y; } } return answer; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 17, 41, 13, 39, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 41, 13, 17, 41, 13, 17, 41, 13, 39, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 41, 13, 39, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 41, 13, 17, 42, 2, 0, 13, 4, 18, 18, 13, 13, 40, 17, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 18, 13, 13, 2, 13, 17, 40, 13, 40, 13, 14, 2, 13, 17, 30, 0, 18, 13, 13, 40, 17, 14, 2, 13, 17, 30, 0, 18, 13, 13, 13, 40, 13, 40, 13, 14, 2, 13, 17, 30, 0, 18, 13, 13, 13, 0, 13, 17, 40, 13, 14, 2, 13, 17, 30, 3, 41, 13, 39, 17, 17, 17, 17, 17, 17, 17, 17, 17, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 13, 2, 13, 17, 30, 42, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 0, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 0, 18, 13, 13, 2, 18, 13, 13, 17, 40, 13, 14, 2, 18, 13, 13, 17, 30, 14, 2, 18, 13, 13, 40, 17, 30, 0, 18, 13, 13, 2, 18, 13, 13, 40, 17, 40, 13, 40, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 42, 2, 13, 17, 30, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 308, 5 ], [ 308, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 16, 18 ], [ 16, 19 ], [ 16, 20 ], [ 16, 21 ], [ 16, 22 ], [ 16, 23 ], [ 16, 24 ], [ 16, 25 ], [ 16, 26 ], [ 16, 27 ], [ 16, 28 ], [ 16, 29 ], [ 16, 30 ], [ 16, 31 ], [ 16, 32 ], [ 16, 33 ], [ 16, 34 ], [ 16, 35 ], [ 16, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 45, 48 ], [ 45, 49 ], [ 45, 50 ], [ 45, 51 ], [ 45, 52 ], [ 45, 53 ], [ 45, 54 ], [ 45, 55 ], [ 45, 56 ], [ 45, 57 ], [ 45, 58 ], [ 45, 59 ], [ 45, 60 ], [ 45, 61 ], [ 45, 62 ], [ 45, 63 ], [ 45, 64 ], [ 45, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 68, 72 ], [ 68, 73 ], [ 68, 74 ], [ 68, 75 ], [ 68, 76 ], [ 68, 77 ], [ 68, 78 ], [ 68, 79 ], [ 68, 80 ], [ 68, 81 ], [ 68, 82 ], [ 68, 83 ], [ 68, 84 ], [ 68, 85 ], [ 68, 86 ], [ 68, 87 ], [ 68, 88 ], [ 8, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 92, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 117, 119 ], [ 112, 120 ], [ 120, 121 ], [ 112, 122 ], [ 122, 123 ], [ 103, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 103, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 139, 145 ], [ 145, 146 ], [ 139, 147 ], [ 147, 148 ], [ 103, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 153, 159 ], [ 159, 160 ], [ 159, 161 ], [ 153, 162 ], [ 162, 163 ], [ 103, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 168, 169 ], [ 8, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 172, 174 ], [ 172, 175 ], [ 172, 176 ], [ 172, 177 ], [ 172, 178 ], [ 172, 179 ], [ 172, 180 ], [ 172, 181 ], [ 172, 182 ], [ 8, 183 ], [ 183, 184 ], [ 183, 185 ], [ 8, 186 ], [ 186, 187 ], [ 186, 188 ], [ 8, 189 ], [ 189, 190 ], [ 189, 191 ], [ 8, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 195, 197 ], [ 192, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 204, 208 ], [ 199, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 210, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 214, 220 ], [ 220, 221 ], [ 220, 222 ], [ 209, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 209, 232 ], [ 232, 233 ], [ 198, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 234, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 242, 246 ], [ 246, 247 ], [ 241, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 257, 258 ], [ 240, 259 ], [ 259, 260 ], [ 240, 261 ], [ 261, 262 ], [ 8, 263 ], [ 263, 264 ], [ 263, 265 ], [ 265, 266 ], [ 265, 267 ], [ 8, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 270, 272 ], [ 8, 273 ], [ 273, 274 ], [ 8, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 275, 279 ], [ 279, 280 ], [ 280, 281 ], [ 281, 282 ], [ 281, 283 ], [ 280, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 284, 288 ], [ 288, 289 ], [ 288, 290 ], [ 284, 291 ], [ 291, 292 ], [ 291, 293 ], [ 279, 294 ], [ 294, 295 ], [ 294, 296 ], [ 296, 297 ], [ 296, 298 ], [ 8, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 299, 304 ], [ 6, 305 ], [ 305, 306 ], [ 0, 307 ], [ 307, 308 ], [ 307, 309 ] ]
[ "\n\nimport java.io.*;\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n // ?ยจ??????\\??????????????????????????????\n int c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // ???????????ยจ???????????ยจ????????ยฃ????????????\n int j = 0;\n int deru = 0;\n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//??? ????????ยจ???????????ยจ????????ยฃ???????????????????????????????????ยฐ????ยข??????? ?????????20???\n int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};//?ยฌ???????????????ยจ??????????????ยจ????????? ???????ยฌ???????????????????????????\\???\n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }\n // ?ยจ??????\\?????????????????????????????????????????????\n\n // ??ยฐ??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};//???????????ยจ????????? ??ยจ????????ยฃ????????????\n int k = 0;\n int m = 0;\n int n = 0;\n\n\n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }\n\n //??ยฐ??????????????\\???????????????\n /*\n for (int p = 0; p < k - 1 ; p++)\n\n {\n System.out.println(\"???????????ยฐ??????\" + hairetsu_suuchi[p]);\n }\n\n */\n int x = hairetsu_suuchi[0];\n int y = hairetsu_suuchi[1];\n int z;\n while(x != 0)\n {\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }\n \n \tSystem.out.println(y);\n\n }\n\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n // ?ยจ??????\\??????????????????????????????\n int c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // ???????????ยจ???????????ยจ????????ยฃ????????????\n int j = 0;\n int deru = 0;\n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//??? ????????ยจ???????????ยจ????????ยฃ???????????????????????????????????ยฐ????ยข??????? ?????????20???\n int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};//?ยฌ???????????????ยจ??????????????ยจ????????? ???????ยฌ???????????????????????????\\???\n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }\n // ?ยจ??????\\?????????????????????????????????????????????\n\n // ??ยฐ??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};//???????????ยจ????????? ??ยจ????????ยฃ????????????\n int k = 0;\n int m = 0;\n int n = 0;\n\n\n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }\n\n //??ยฐ??????????????\\???????????????\n /*\n for (int p = 0; p < k - 1 ; p++)\n\n {\n System.out.println(\"???????????ยฐ??????\" + hairetsu_suuchi[p]);\n }\n\n */\n int x = hairetsu_suuchi[0];\n int y = hairetsu_suuchi[1];\n int z;\n while(x != 0)\n {\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }\n \n \tSystem.out.println(y);\n\n }\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\n // ?ยจ??????\\??????????????????????????????\n int c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // ???????????ยจ???????????ยจ????????ยฃ????????????\n int j = 0;\n int deru = 0;\n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//??? ????????ยจ???????????ยจ????????ยฃ???????????????????????????????????ยฐ????ยข??????? ?????????20???\n int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};//?ยฌ???????????????ยจ??????????????ยจ????????? ???????ยฌ???????????????????????????\\???\n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }\n // ?ยจ??????\\?????????????????????????????????????????????\n\n // ??ยฐ??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};//???????????ยจ????????? ??ยจ????????ยฃ????????????\n int k = 0;\n int m = 0;\n int n = 0;\n\n\n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }\n\n //??ยฐ??????????????\\???????????????\n /*\n for (int p = 0; p < k - 1 ; p++)\n\n {\n System.out.println(\"???????????ยฐ??????\" + hairetsu_suuchi[p]);\n }\n\n */\n int x = hairetsu_suuchi[0];\n int y = hairetsu_suuchi[1];\n int z;\n while(x != 0)\n {\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }\n \n \tSystem.out.println(y);\n\n }", "main", "{\n\n // ?ยจ??????\\??????????????????????????????\n int c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // ???????????ยจ???????????ยจ????????ยฃ????????????\n int j = 0;\n int deru = 0;\n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//??? ????????ยจ???????????ยจ????????ยฃ???????????????????????????????????ยฐ????ยข??????? ?????????20???\n int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};//?ยฌ???????????????ยจ??????????????ยจ????????? ???????ยฌ???????????????????????????\\???\n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }\n // ?ยจ??????\\?????????????????????????????????????????????\n\n // ??ยฐ??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};//???????????ยจ????????? ??ยจ????????ยฃ????????????\n int k = 0;\n int m = 0;\n int n = 0;\n\n\n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }\n\n //??ยฐ??????????????\\???????????????\n /*\n for (int p = 0; p < k - 1 ; p++)\n\n {\n System.out.println(\"???????????ยฐ??????\" + hairetsu_suuchi[p]);\n }\n\n */\n int x = hairetsu_suuchi[0];\n int y = hairetsu_suuchi[1];\n int z;\n while(x != 0)\n {\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }\n \n \tSystem.out.println(y);\n\n }", "int c;", "c", "int keta = 0;", "keta", "0", "int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};", "hairetsu_keta", "{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "int j = 0;", "j", "0", "int deru = 0;", "deru", "0", "int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};", "hairetsu", "{0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};", "hairetsu_fugou", "{1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "int i= 0;", "i", "0", "while ((c = System.in.read()) != -1 )\n {\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }", "(c = System.in.read()) != -1", "(c = System.in.read())", "c", "System.in.read()", "System.in.read", "System.in", "System", "System.in", "-1", "1", "{\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }", "if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }", "c > 47 && c < 58", "c > 47", "c", "47", "c < 58", "c", "58", "{\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }", "hairetsu[i] = c-48", "hairetsu[i]", "hairetsu", "i", "c-48", "c", "48", "i++", "i", "keta++", "keta", "if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }", "c == 45", "c", "45", "{\n hairetsu_fugou[j] = -1;\n }", "hairetsu_fugou[j] = -1", "hairetsu_fugou[j]", "hairetsu_fugou", "j", "-1", "1", "if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }", "c == 10", "c", "10", "{\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }", "hairetsu_keta[j] = keta", "hairetsu_keta[j]", "hairetsu_keta", "j", "keta", "deru++", "deru", "j++", "j", "if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }", "c == 32", "c", "32", "{\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }", "hairetsu_keta[j] = keta", "hairetsu_keta[j]", "hairetsu_keta", "j", "keta", "keta = 0", "keta", "0", "j++", "j", "if (deru > 0)\n {\n break;\n }", "deru > 0", "deru", "0", "{\n break;\n }", "break;", "int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};", "hairetsu_suuchi", "{0,0,0,0,0,0,0,0,0,0}", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "int k = 0;", "k", "0", "int m = 0;", "m", "0", "int n = 0;", "n", "0", "while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }", "n < (j + 1)", "n", "(j + 1)", "j", "1", "{\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }", "while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }", "j > 0 && hairetsu_keta[n] > 0", "j > 0", "j", "0", "hairetsu_keta[n] > 0", "hairetsu_keta[n]", "hairetsu_keta", "n", "0", "{\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }", "hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m]", "hairetsu_suuchi[k]", "hairetsu_suuchi", "k", "hairetsu_suuchi[k]*10 + hairetsu[m]", "hairetsu_suuchi[k]*10", "hairetsu_suuchi[k]", "hairetsu_suuchi", "k", "10", "hairetsu[m]", "hairetsu", "m", "hairetsu_keta[n] = hairetsu_keta[n] - 1", "hairetsu_keta[n]", "hairetsu_keta", "n", "hairetsu_keta[n] - 1", "hairetsu_keta[n]", "hairetsu_keta", "n", "1", "m++", "m", "if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }", "hairetsu_keta[n] == 0", "hairetsu_keta[n]", "hairetsu_keta", "n", "0", "{\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }", "if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }", "hairetsu_fugou[n] == -1", "hairetsu_fugou[n]", "hairetsu_fugou", "n", "-1", "1", "{\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }", "hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1)", "hairetsu_suuchi[k]", "hairetsu_suuchi", "k", "hairetsu_suuchi[k]*(-1)", "hairetsu_suuchi[k]", "hairetsu_suuchi", "k", "(-1)", "1", "n++", "n", "k++", "k", "int x = hairetsu_suuchi[0];", "x", "hairetsu_suuchi[0]", "hairetsu_suuchi", "0", "int y = hairetsu_suuchi[1];", "y", "hairetsu_suuchi[1]", "hairetsu_suuchi", "1", "int z;", "z", "while(x != 0)\n {\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }", "x != 0", "x", "0", "{\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }", "if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }", "y > x", "y", "x", "{\n z = y;\n y = x;\n x = z;\n }", "z = y", "z", "y", "y = x", "y", "x", "x = z", "x", "z", "x = x%y", "x", "x%y", "x", "y", "System.out.println(y)", "System.out.println", "System.out", "System", "System.out", "y", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n // ?ยจ??????\\??????????????????????????????\n int c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // ???????????ยจ???????????ยจ????????ยฃ????????????\n int j = 0;\n int deru = 0;\n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//??? ????????ยจ???????????ยจ????????ยฃ???????????????????????????????????ยฐ????ยข??????? ?????????20???\n int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};//?ยฌ???????????????ยจ??????????????ยจ????????? ???????ยฌ???????????????????????????\\???\n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }\n // ?ยจ??????\\?????????????????????????????????????????????\n\n // ??ยฐ??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};//???????????ยจ????????? ??ยจ????????ยฃ????????????\n int k = 0;\n int m = 0;\n int n = 0;\n\n\n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }\n\n //??ยฐ??????????????\\???????????????\n /*\n for (int p = 0; p < k - 1 ; p++)\n\n {\n System.out.println(\"???????????ยฐ??????\" + hairetsu_suuchi[p]);\n }\n\n */\n int x = hairetsu_suuchi[0];\n int y = hairetsu_suuchi[1];\n int z;\n while(x != 0)\n {\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }\n \n \tSystem.out.println(y);\n\n }\n\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n\n // ?ยจ??????\\??????????????????????????????\n int c;\n int keta = 0;\n // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0;\n int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // ???????????ยจ???????????ยจ????????ยฃ????????????\n int j = 0;\n int deru = 0;\n // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0;\n int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//??? ????????ยจ???????????ยจ????????ยฃ???????????????????????????????????ยฐ????ยข??????? ?????????20???\n int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};//?ยฌ???????????????ยจ??????????????ยจ????????? ???????ยฌ???????????????????????????\\???\n int i= 0;\n while ((c = System.in.read()) != -1 )\n {\n // System.out.println(c);\n if ( c > 47 && c < 58) // suuji ga kita\n {\n hairetsu[i] = c-48;\n i++;\n keta++;\n\n // System.out.println(\"Qurege_no_kazu_keta_hantaikara:\" + Qurage_no_kazu);\n }\n if ( c == 45) // minus ga kita\n {\n hairetsu_fugou[j] = -1;\n }\n\n if ( c == 10) // return ga kita\n {\n hairetsu_keta[j] = keta;\n deru++; //return ga kitara while wo deru\n j++;\n }\n if ( c == 32) //space ga kita\n {\n\n hairetsu_keta[j] = keta;\n keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade\n j++;\n }\n if (deru > 0)\n {\n break;\n }\n }\n // ?ยจ??????\\?????????????????????????????????????????????\n\n // ??ยฐ??????????????\\??????\n //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0;\n int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};//???????????ยจ????????? ??ยจ????????ยฃ????????????\n int k = 0;\n int m = 0;\n int n = 0;\n\n\n while( n < (j + 1))\n {\n while(j > 0 && hairetsu_keta[n] > 0 )\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m];\n hairetsu_keta[n] = hairetsu_keta[n] - 1;\n m++;\n }\n if (hairetsu_keta[n] == 0)\n {\n if(hairetsu_fugou[n] == -1)\n {\n hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1);\n\n }\n n++;\n k++;\n }\n }\n\n //??ยฐ??????????????\\???????????????\n /*\n for (int p = 0; p < k - 1 ; p++)\n\n {\n System.out.println(\"???????????ยฐ??????\" + hairetsu_suuchi[p]);\n }\n\n */\n int x = hairetsu_suuchi[0];\n int y = hairetsu_suuchi[1];\n int z;\n while(x != 0)\n {\n if( y > x )\n {\n z = y;\n y = x;\n x = z;\n }\n x = x%y;\n }\n \n \tSystem.out.println(y);\n\n }\n\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) throws IOException { // ?ยจ??????\?????????????????????????????? int c; int keta = 0; // int hairetsu_keta[] = new int[4]; hairetsu_keta[0] = 0;hairetsu_keta[1] = 0;hairetsu_keta[2] = 0;hairetsu_keta[3] = 0; int hairetsu_keta[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; // ???????????ยจ???????????ยจ????????ยฃ???????????? int j = 0; int deru = 0; // int hairetsu[] = new int[4]; hairetsu[0] = 0; hairetsu[1] = 0; hairetsu[2] = 0; hairetsu[3] = 0; int hairetsu[] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0};//??? ????????ยจ???????????ยจ????????ยฃ???????????????????????????????????ยฐ????ยข??????? ?????????20??? int hairetsu_fugou[] = {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1};//?ยฌ???????????????ยจ??????????????ยจ????????? ???????ยฌ???????????????????????????\??? int i= 0; while ((c = System.in.read()) != -1 ) { // System.out.println(c); if ( c > 47 && c < 58) // suuji ga kita { hairetsu[i] = c-48; i++; keta++; // System.out.println("Qurege_no_kazu_keta_hantaikara:" + Qurage_no_kazu); } if ( c == 45) // minus ga kita { hairetsu_fugou[j] = -1; } if ( c == 10) // return ga kita { hairetsu_keta[j] = keta; deru++; //return ga kitara while wo deru j++; } if ( c == 32) //space ga kita { hairetsu_keta[j] = keta; keta = 0;//space ga kitara tsugi no moji no tame keta ha sokomade j++; } if (deru > 0) { break; } } // ?ยจ??????\????????????????????????????????????????????? // ??ยฐ??????????????\?????? //int hairetsu_suuchi[] = new int[4]; hairetsu_suuchi[0] = 0; hairetsu_suuchi[1] = 0; hairetsu_suuchi[2] = 0; hairetsu_suuchi[3] = 0; int hairetsu_suuchi[] = {0,0,0,0,0,0,0,0,0,0};//???????????ยจ????????? ??ยจ????????ยฃ???????????? int k = 0; int m = 0; int n = 0; while( n < (j + 1)) { while(j > 0 && hairetsu_keta[n] > 0 ) { hairetsu_suuchi[k] = hairetsu_suuchi[k]*10 + hairetsu[m]; hairetsu_keta[n] = hairetsu_keta[n] - 1; m++; } if (hairetsu_keta[n] == 0) { if(hairetsu_fugou[n] == -1) { hairetsu_suuchi[k] = hairetsu_suuchi[k]*(-1); } n++; k++; } } //??ยฐ??????????????\??????????????? /* for (int p = 0; p < k - 1 ; p++) { System.out.println("???????????ยฐ??????" + hairetsu_suuchi[p]); } */ int x = hairetsu_suuchi[0]; int y = hairetsu_suuchi[1]; int z; while(x != 0) { if( y > x ) { z = y; y = x; x = z; } x = x%y; } System.out.println(y); } }
[ 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, 41, 13, 4, 18, 13, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 13, 30, 4, 18, 18, 13, 13, 13, 30, 42, 2, 2, 13, 13, 17, 30, 0, 13, 13, 0, 13, 2, 13, 13, 0, 13, 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 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 38, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 48, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 66, 75 ], [ 75, 76 ], [ 75, 77 ], [ 59, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 12, 84 ], [ 84, 85 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = \n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tint temp = 0;\n\n\t\tif(b > a){\n\t\t\ttemp = a;\n\t\t\ta = b; \n\t\t\tb = temp;\n\t\t}\n\n\t\tif(a == b){\n\t\t\tSystem.out.println(b);\n\t\t}else{\n\t\t\twhile(a % b != 0){\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}\n\t\t\tSystem.out.println(b);\n\t\t}\n\t\t\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = \n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tint temp = 0;\n\n\t\tif(b > a){\n\t\t\ttemp = a;\n\t\t\ta = b; \n\t\t\tb = temp;\n\t\t}\n\n\t\tif(a == b){\n\t\t\tSystem.out.println(b);\n\t\t}else{\n\t\t\twhile(a % b != 0){\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}\n\t\t\tSystem.out.println(b);\n\t\t}\n\t\t\n\n\t}\n}", "Main", "public static void main(String[] args)throws Exception{\n\t\tBufferedReader br = \n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tint temp = 0;\n\n\t\tif(b > a){\n\t\t\ttemp = a;\n\t\t\ta = b; \n\t\t\tb = temp;\n\t\t}\n\n\t\tif(a == b){\n\t\t\tSystem.out.println(b);\n\t\t}else{\n\t\t\twhile(a % b != 0){\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}\n\t\t\tSystem.out.println(b);\n\t\t}\n\t\t\n\n\t}", "main", "{\n\t\tBufferedReader br = \n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tint temp = 0;\n\n\t\tif(b > a){\n\t\t\ttemp = a;\n\t\t\ta = b; \n\t\t\tb = temp;\n\t\t}\n\n\t\tif(a == b){\n\t\t\tSystem.out.println(b);\n\t\t}else{\n\t\t\twhile(a % b != 0){\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}\n\t\t\tSystem.out.println(b);\n\t\t}\n\t\t\n\n\t}", "BufferedReader br = \n\t\t\tnew BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "int b = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "int temp = 0;", "temp", "0", "if(b > a){\n\t\t\ttemp = a;\n\t\t\ta = b; \n\t\t\tb = temp;\n\t\t}", "b > a", "b", "a", "{\n\t\t\ttemp = a;\n\t\t\ta = b; \n\t\t\tb = temp;\n\t\t}", "temp = a", "temp", "a", "a = b", "a", "b", "b = temp", "b", "temp", "if(a == b){\n\t\t\tSystem.out.println(b);\n\t\t}else{\n\t\t\twhile(a % b != 0){\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}\n\t\t\tSystem.out.println(b);\n\t\t}", "a == b", "a", "b", "{\n\t\t\tSystem.out.println(b);\n\t\t}", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "{\n\t\t\twhile(a % b != 0){\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}\n\t\t\tSystem.out.println(b);\n\t\t}", "while(a % b != 0){\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}", "a % b != 0", "a % b", "a", "b", "0", "{\n\t\t\t\ttemp = b;\n\t\t\t\tb = a % b;\n\t\t\t\ta = temp;\n\t\t\t}", "temp = b", "temp", "b", "b = a % b", "b", "a % b", "a", "b", "a = temp", "a", "temp", "System.out.println(b)", "System.out.println", "System.out", "System", "System.out", "b", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; class Main{ public static void main(String[] args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int b = scanner.nextInt(); int temp = 0; if(b > a){ temp = a; a = b; b = temp; } if(a == b){ System.out.println(b); }else{ while(a % b != 0){ temp = b; b = a % b; a = temp; } System.out.println(b); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 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, 14, 2, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 70, 8 ], [ 70, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 12, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 9, 25 ], [ 25, 26 ], [ 9, 27 ], [ 27, 28 ], [ 70, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 31, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 54, 57 ], [ 45, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 63, 66 ], [ 29, 67 ], [ 67, 68 ], [ 0, 69 ], [ 69, 70 ], [ 69, 71 ] ]
[ "import java.io.File;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static int gcd(int x, int y) {\n\t\t// x <= y?????????\n\t\tif (x == 0)\n\t\t\treturn y;\n\t\telse\n\t\t\treturn gcd(y % x, x);\n\t}\n\t\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// Scanner sc = new Scanner(new File(\"test_1.txt\"));\n\t\t// Scanner sc = new Scanner(new File(\"test_2.txt\"));\n\t\tint x = sc.nextInt(), y = sc.nextInt();\n\t\tif (x <= y)\n\t\t\tSystem.out.println(gcd(x, y));\n\t\telse\n\t\t\tSystem.out.println(gcd(y, x));\n\t}\n}", "import java.io.File;", "File", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static int gcd(int x, int y) {\n\t\t// x <= y?????????\n\t\tif (x == 0)\n\t\t\treturn y;\n\t\telse\n\t\t\treturn gcd(y % x, x);\n\t}\n\t\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// Scanner sc = new Scanner(new File(\"test_1.txt\"));\n\t\t// Scanner sc = new Scanner(new File(\"test_2.txt\"));\n\t\tint x = sc.nextInt(), y = sc.nextInt();\n\t\tif (x <= y)\n\t\t\tSystem.out.println(gcd(x, y));\n\t\telse\n\t\t\tSystem.out.println(gcd(y, x));\n\t}\n}", "Main", "public static int gcd(int x, int y) {\n\t\t// x <= y?????????\n\t\tif (x == 0)\n\t\t\treturn y;\n\t\telse\n\t\t\treturn gcd(y % x, x);\n\t}", "gcd", "{\n\t\t// x <= y?????????\n\t\tif (x == 0)\n\t\t\treturn y;\n\t\telse\n\t\t\treturn gcd(y % x, x);\n\t}", "if (x == 0)\n\t\t\treturn y;\n\t\telse\n\t\t\treturn gcd(y % x, x);", "x == 0", "x", "0", "return y;", "y", "return gcd(y % x, x);", "gcd(y % x, x)", "gcd", "y % x", "y", "x", "x", "int x", "x", "int y", "y", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// Scanner sc = new Scanner(new File(\"test_1.txt\"));\n\t\t// Scanner sc = new Scanner(new File(\"test_2.txt\"));\n\t\tint x = sc.nextInt(), y = sc.nextInt();\n\t\tif (x <= y)\n\t\t\tSystem.out.println(gcd(x, y));\n\t\telse\n\t\t\tSystem.out.println(gcd(y, x));\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// Scanner sc = new Scanner(new File(\"test_1.txt\"));\n\t\t// Scanner sc = new Scanner(new File(\"test_2.txt\"));\n\t\tint x = sc.nextInt(), y = sc.nextInt();\n\t\tif (x <= y)\n\t\t\tSystem.out.println(gcd(x, y));\n\t\telse\n\t\t\tSystem.out.println(gcd(y, x));\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "if (x <= y)\n\t\t\tSystem.out.println(gcd(x, y));\n\t\telse\n\t\t\tSystem.out.println(gcd(y, x));", "x <= y", "x", "y", "System.out.println(gcd(x, y))", "System.out.println", "System.out", "System", "System.out", "gcd(x, y)", "gcd", "x", "y", "System.out.println(gcd(y, x))", "System.out.println", "System.out", "System", "System.out", "gcd(y, x)", "gcd", "y", "x", "String[] args", "args", "public class Main {\n\tpublic static int gcd(int x, int y) {\n\t\t// x <= y?????????\n\t\tif (x == 0)\n\t\t\treturn y;\n\t\telse\n\t\t\treturn gcd(y % x, x);\n\t}\n\t\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// Scanner sc = new Scanner(new File(\"test_1.txt\"));\n\t\t// Scanner sc = new Scanner(new File(\"test_2.txt\"));\n\t\tint x = sc.nextInt(), y = sc.nextInt();\n\t\tif (x <= y)\n\t\t\tSystem.out.println(gcd(x, y));\n\t\telse\n\t\t\tSystem.out.println(gcd(y, x));\n\t}\n}", "public class Main {\n\tpublic static int gcd(int x, int y) {\n\t\t// x <= y?????????\n\t\tif (x == 0)\n\t\t\treturn y;\n\t\telse\n\t\t\treturn gcd(y % x, x);\n\t}\n\t\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t// Scanner sc = new Scanner(new File(\"test_1.txt\"));\n\t\t// Scanner sc = new Scanner(new File(\"test_2.txt\"));\n\t\tint x = sc.nextInt(), y = sc.nextInt();\n\t\tif (x <= y)\n\t\t\tSystem.out.println(gcd(x, y));\n\t\telse\n\t\t\tSystem.out.println(gcd(y, x));\n\t}\n}", "Main" ]
import java.io.File; import java.util.Scanner; public class Main { public static int gcd(int x, int y) { // x <= y????????? if (x == 0) return y; else return gcd(y % x, x); } public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); // Scanner sc = new Scanner(new File("test_1.txt")); // Scanner sc = new Scanner(new File("test_2.txt")); int x = sc.nextInt(), y = sc.nextInt(); if (x <= y) System.out.println(gcd(x, y)); else System.out.println(gcd(y, x)); } }
[ 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, 42, 17, 30, 0, 13, 2, 13, 13, 0, 13, 13, 0, 13, 13, 14, 2, 13, 17, 3, 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 ], [ 55, 8 ], [ 55, 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 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 29, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 11, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 9, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r; //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n while(true) {\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }\n System.out.println(x);\n }\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 Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r; //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n while(true) {\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }\n System.out.println(x);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r; //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n while(true) {\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }\n System.out.println(x);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r; //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n while(true) {\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }\n System.out.println(x);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int r;", "r", "while(true) {\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }", "true", "{\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }", "r=x%y", "r", "x%y", "x", "y", "x=y", "x", "y", "y=r", "y", "r", "if(r==0) break;", "r==0", "r", "0", "break;", "System.out.println(x)", "System.out.println", "System.out", "System", "System.out", "x", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r; //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n while(true) {\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }\n System.out.println(x);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int r; //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ\n while(true) {\n r=x%y;\n x=y;\n y=r;\n if(r==0) break;\n }\n System.out.println(x);\n }\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int y = sc.nextInt(); int r; //ๆœ€ๅคงๅ…ฌ็ด„ๆ•ฐ while(true) { r=x%y; x=y; y=r; if(r==0) break; } System.out.println(x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 13, 29, 4, 13, 13, 13, 14, 2, 13, 17, 29, 13, 14, 2, 13, 13, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 14, 17 ], [ 8, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 6, 37 ], [ 37, 38 ], [ 6, 39 ], [ 39, 40 ], [ 4, 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 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 41, 66 ], [ 66, 67 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static int gcd(int n1, int n2){\n\t\t\tif (n1 < n2) return gcd(n2,n1);\n\t\t\tif (n2 == 0) return n1;\n\t\t\tif (n1 == n2) return n1;\n\t\t\treturn gcd(n2, n1%n2);\n\t\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tSystem.out.println(gcd(a,b));\n\t\t\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static int gcd(int n1, int n2){\n\t\t\tif (n1 < n2) return gcd(n2,n1);\n\t\t\tif (n2 == 0) return n1;\n\t\t\tif (n1 == n2) return n1;\n\t\t\treturn gcd(n2, n1%n2);\n\t\t}\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tSystem.out.println(gcd(a,b));\n\t\t\n\t}\n}", "Main", "public static int gcd(int n1, int n2){\n\t\t\tif (n1 < n2) return gcd(n2,n1);\n\t\t\tif (n2 == 0) return n1;\n\t\t\tif (n1 == n2) return n1;\n\t\t\treturn gcd(n2, n1%n2);\n\t\t}", "gcd", "{\n\t\t\tif (n1 < n2) return gcd(n2,n1);\n\t\t\tif (n2 == 0) return n1;\n\t\t\tif (n1 == n2) return n1;\n\t\t\treturn gcd(n2, n1%n2);\n\t\t}", "if (n1 < n2) return gcd(n2,n1);", "n1 < n2", "n1", "n2", "return gcd(n2,n1);", "gcd(n2,n1)", "gcd", "n2", "n1", "if (n2 == 0) return n1;", "n2 == 0", "n2", "0", "return n1;", "n1", "if (n1 == n2) return n1;", "n1 == n2", "n1", "n2", "return n1;", "n1", "return gcd(n2, n1%n2);", "gcd(n2, n1%n2)", "gcd", "n2", "n1%n2", "n1", "n2", "int n1", "n1", "int n2", "n2", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tSystem.out.println(gcd(a,b));\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\t\n\t\tSystem.out.println(gcd(a,b));\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(gcd(a,b))", "System.out.println", "System.out", "System", "System.out", "gcd(a,b)", "gcd", "a", "b", "String[] args", "args" ]
import java.util.Scanner; class Main { public static int gcd(int n1, int n2){ if (n1 < n2) return gcd(n2,n1); if (n2 == 0) return n1; if (n1 == n2) return n1; return gcd(n2, n1%n2); } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); System.out.println(gcd(a,b)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 30, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 59, 5 ], [ 59, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 24, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 6, 34 ], [ 34, 35 ], [ 59, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 39, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 36, 54 ], [ 54, 55 ], [ 36, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int res = (int)gcd(a,b);\n System.out.println(res);\n\n }\n public static long gcd(long a, long b) {\n if(b == 0) {\n return a;\n } else {\n return gcd(b, a % b);\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int res = (int)gcd(a,b);\n System.out.println(res);\n\n }\n public static long gcd(long a, long b) {\n if(b == 0) {\n return a;\n } else {\n return gcd(b, a % b);\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int res = (int)gcd(a,b);\n System.out.println(res);\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int res = (int)gcd(a,b);\n System.out.println(res);\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int res = (int)gcd(a,b);", "res", "(int)gcd(a,b)", "gcd", "a", "b", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "String[] args", "args", "public static long gcd(long a, long b) {\n if(b == 0) {\n return a;\n } else {\n return gcd(b, a % b);\n }\n }", "gcd", "{\n if(b == 0) {\n return a;\n } else {\n return gcd(b, a % b);\n }\n }", "if(b == 0) {\n return a;\n } else {\n return gcd(b, a % b);\n }", "b == 0", "b", "0", "{\n return a;\n }", "return a;", "a", "{\n return gcd(b, a % b);\n }", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "long a", "a", "long b", "b", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int res = (int)gcd(a,b);\n System.out.println(res);\n\n }\n public static long gcd(long a, long b) {\n if(b == 0) {\n return a;\n } else {\n return gcd(b, a % b);\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n int b = sc.nextInt();\n int res = (int)gcd(a,b);\n System.out.println(res);\n\n }\n public static long gcd(long a, long b) {\n if(b == 0) {\n return a;\n } else {\n return gcd(b, a % b);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int res = (int)gcd(a,b); System.out.println(res); } public static long gcd(long a, long b) { if(b == 0) { return a; } else { return gcd(b, a % b); } } }
[ 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, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 42, 17, 30, 14, 2, 2, 13, 13, 17, 30, 3, 41, 13, 13, 0, 13, 2, 13, 13, 0, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 90, 11 ], [ 90, 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 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 14, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 14, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 61, 70 ], [ 70, 71 ], [ 70, 72 ], [ 61, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 61, 78 ], [ 78, 79 ], [ 78, 80 ], [ 14, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 12, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] numbers = line.split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(numbers[0]);\n\t\tint y = Integer.parseInt(numbers[1]);\n\t\t\n\t\tint max = Math.max(x, y);\n\t\tint min = Math.min(x, y);\n\t\t\t\t\n\t\twhile(true){\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\t\t\n\t}\n\t\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] numbers = line.split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(numbers[0]);\n\t\tint y = Integer.parseInt(numbers[1]);\n\t\t\n\t\tint max = Math.max(x, y);\n\t\tint min = Math.min(x, y);\n\t\t\t\t\n\t\twhile(true){\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\t\t\n\t}\n\t\n}", "Main", "public static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] numbers = line.split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(numbers[0]);\n\t\tint y = Integer.parseInt(numbers[1]);\n\t\t\n\t\tint max = Math.max(x, y);\n\t\tint min = Math.min(x, y);\n\t\t\t\t\n\t\twhile(true){\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\t\t\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] numbers = line.split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(numbers[0]);\n\t\tint y = Integer.parseInt(numbers[1]);\n\t\t\n\t\tint max = Math.max(x, y);\n\t\tint min = Math.min(x, y);\n\t\t\t\t\n\t\twhile(true){\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\t\t\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] numbers = line.split(\" \");", "numbers", "line.split(\" \")", "line.split", "line", "\" \"", "int x = Integer.parseInt(numbers[0]);", "x", "Integer.parseInt(numbers[0])", "Integer.parseInt", "Integer", "numbers[0]", "numbers", "0", "int y = Integer.parseInt(numbers[1]);", "y", "Integer.parseInt(numbers[1])", "Integer.parseInt", "Integer", "numbers[1]", "numbers", "1", "int max = Math.max(x, y);", "max", "Math.max(x, y)", "Math.max", "Math", "x", "y", "int min = Math.min(x, y);", "min", "Math.min(x, y)", "Math.min", "Math", "x", "y", "while(true){\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}", "true", "{\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}", "if(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}", "max % min == 0", "max % min", "max", "min", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "int v = min;", "v", "min", "min = max % min", "min", "max % min", "max", "min", "max = v", "max", "v", "System.out.println(min)", "System.out.println", "System.out", "System", "System.out", "min", "String[] args", "args", "public class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] numbers = line.split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(numbers[0]);\n\t\tint y = Integer.parseInt(numbers[1]);\n\t\t\n\t\tint max = Math.max(x, y);\n\t\tint min = Math.min(x, y);\n\t\t\t\t\n\t\twhile(true){\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\t\t\n\t}\n\t\n}", "public class Main {\n\n\tpublic static void main (String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tString[] numbers = line.split(\" \");\n\t\t\n\t\tint x = Integer.parseInt(numbers[0]);\n\t\tint y = Integer.parseInt(numbers[1]);\n\t\t\n\t\tint max = Math.max(x, y);\n\t\tint min = Math.min(x, y);\n\t\t\t\t\n\t\twhile(true){\n\t\t\tif(max % min == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\t//ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ•\n\t\t\tint v = min;\n\t\t\tmin = max % min;\n\t\t\tmax = v;\n\t\t}\n\t\t\n\t\tSystem.out.println(min);\n\t\t\n\t}\n\t\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main (String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String[] numbers = line.split(" "); int x = Integer.parseInt(numbers[0]); int y = Integer.parseInt(numbers[1]); int max = Math.max(x, y); int min = Math.min(x, y); while(true){ if(max % min == 0){ break; } //ใƒฆใƒผใ‚ฏใƒชใƒƒใƒ‰ใฎไบ’้™คๆณ• int v = min; min = max % min; max = v; } System.out.println(min); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 4, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 13, 29, 13, 29, 4, 13, 2, 13, 13, 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 ], [ 94, 20 ], [ 94, 21 ], [ 21, 22 ], [ 94, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 25, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 47, 49 ], [ 43, 50 ], [ 50, 51 ], [ 50, 52 ], [ 25, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 55, 58 ], [ 25, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 23, 65 ], [ 65, 66 ], [ 94, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 69, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 69, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 67, 89 ], [ 89, 90 ], [ 67, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.io.*;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.Scanner;\npublic class Main {\n\tstatic String a;\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\t\t\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tint ans = gcd(x,y);\n\t\tSystem.out.println(ans);\n\t}\n\tpublic static int gcd(int x, int y) {\n\t\tif(x == 0) return y;\n\t\tif(x == y) return x;\n\t\treturn gcd(y%x,x);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.ArrayDeque;", "ArrayDeque", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Comparator;", "Comparator", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic String a;\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\t\t\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tint ans = gcd(x,y);\n\t\tSystem.out.println(ans);\n\t}\n\tpublic static int gcd(int x, int y) {\n\t\tif(x == 0) return y;\n\t\tif(x == y) return x;\n\t\treturn gcd(y%x,x);\n\t}\n}", "Main", "static String a;", "a", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\t\t\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tint ans = gcd(x,y);\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\t\t\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tint ans = gcd(x,y);\n\t\tSystem.out.println(ans);\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int x = stdIn.nextInt();", "x", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int y = stdIn.nextInt();", "y", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "if(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "x < y", "x", "y", "{\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}", "int tmp = x;", "tmp", "x", "x = y", "x", "y", "y = tmp", "y", "tmp", "int ans = gcd(x,y);", "ans", "gcd(x,y)", "gcd", "x", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public static int gcd(int x, int y) {\n\t\tif(x == 0) return y;\n\t\tif(x == y) return x;\n\t\treturn gcd(y%x,x);\n\t}", "gcd", "{\n\t\tif(x == 0) return y;\n\t\tif(x == y) return x;\n\t\treturn gcd(y%x,x);\n\t}", "if(x == 0) return y;", "x == 0", "x", "0", "return y;", "y", "if(x == y) return x;", "x == y", "x", "y", "return x;", "x", "return gcd(y%x,x);", "gcd(y%x,x)", "gcd", "y%x", "y", "x", "x", "int x", "x", "int y", "y", "public class Main {\n\tstatic String a;\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\t\t\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tint ans = gcd(x,y);\n\t\tSystem.out.println(ans);\n\t}\n\tpublic static int gcd(int x, int y) {\n\t\tif(x == 0) return y;\n\t\tif(x == y) return x;\n\t\treturn gcd(y%x,x);\n\t}\n}", "public class Main {\n\tstatic String a;\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x = stdIn.nextInt();\n\t\tint y = stdIn.nextInt();\n\t\t\n\t\tif(x < y) {\n\t\t\tint tmp = x;\n\t\t\tx = y;\n\t\t\ty = tmp;\n\t\t}\n\t\t\n\t\tint ans = gcd(x,y);\n\t\tSystem.out.println(ans);\n\t}\n\tpublic static int gcd(int x, int y) {\n\t\tif(x == 0) return y;\n\t\tif(x == y) return x;\n\t\treturn gcd(y%x,x);\n\t}\n}", "Main" ]
import java.io.*; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.Comparator; import java.util.Scanner; public class Main { static String a; public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int x = stdIn.nextInt(); int y = stdIn.nextInt(); if(x < y) { int tmp = x; x = y; y = tmp; } int ans = gcd(x,y); System.out.println(ans); } public static int gcd(int x, int y) { if(x == 0) return y; if(x == y) return x; return gcd(y%x,x); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 8, 2, 13, 13, 13, 13, 41, 13, 8, 2, 13, 13, 13, 13, 0, 13, 2, 13, 13, 0, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 29, 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 ], [ 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 ], [ 41, 43 ], [ 40, 44 ], [ 40, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 48, 53 ], [ 37, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 37, 59 ], [ 59, 60 ], [ 59, 61 ], [ 37, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 6, 74 ], [ 74, 75 ] ]
[ "import java.util.Scanner;\n \n class Main {\n public static void main(String[] args){ \n \n Scanner shuru = new Scanner(System.in); \n\n \n int a = shuru.nextInt();\n \n int b = shuru.nextInt();\n int hhh = a;\n \n for( int i = 1;i <= hhh;i ++){\n\n int c = a > b ? a : b;\n int d = a < b ? a : b;\n\n a = c % d;\n b = d;\n\n if(a == 0) {\n System.out.println(d);\n return;\n }\n\n }\n\n\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args){ \n \n Scanner shuru = new Scanner(System.in); \n\n \n int a = shuru.nextInt();\n \n int b = shuru.nextInt();\n int hhh = a;\n \n for( int i = 1;i <= hhh;i ++){\n\n int c = a > b ? a : b;\n int d = a < b ? a : b;\n\n a = c % d;\n b = d;\n\n if(a == 0) {\n System.out.println(d);\n return;\n }\n\n }\n\n\n}\n}", "Main", "public static void main(String[] args){ \n \n Scanner shuru = new Scanner(System.in); \n\n \n int a = shuru.nextInt();\n \n int b = shuru.nextInt();\n int hhh = a;\n \n for( int i = 1;i <= hhh;i ++){\n\n int c = a > b ? a : b;\n int d = a < b ? a : b;\n\n a = c % d;\n b = d;\n\n if(a == 0) {\n System.out.println(d);\n return;\n }\n\n }\n\n\n}", "main", "{ \n \n Scanner shuru = new Scanner(System.in); \n\n \n int a = shuru.nextInt();\n \n int b = shuru.nextInt();\n int hhh = a;\n \n for( int i = 1;i <= hhh;i ++){\n\n int c = a > b ? a : b;\n int d = a < b ? a : b;\n\n a = c % d;\n b = d;\n\n if(a == 0) {\n System.out.println(d);\n return;\n }\n\n }\n\n\n}", "Scanner shuru = new Scanner(System.in);", "shuru", "new Scanner(System.in)", "int a = shuru.nextInt();", "a", "shuru.nextInt()", "shuru.nextInt", "shuru", "int b = shuru.nextInt();", "b", "shuru.nextInt()", "shuru.nextInt", "shuru", "int hhh = a;", "hhh", "a", "for( int i = 1;i <= hhh;i ++){\n\n int c = a > b ? a : b;\n int d = a < b ? a : b;\n\n a = c % d;\n b = d;\n\n if(a == 0) {\n System.out.println(d);\n return;\n }\n\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= hhh", "i", "hhh", "i ++", "i ++", "i", "{\n\n int c = a > b ? a : b;\n int d = a < b ? a : b;\n\n a = c % d;\n b = d;\n\n if(a == 0) {\n System.out.println(d);\n return;\n }\n\n }", "{\n\n int c = a > b ? a : b;\n int d = a < b ? a : b;\n\n a = c % d;\n b = d;\n\n if(a == 0) {\n System.out.println(d);\n return;\n }\n\n }", "int c = a > b ? a : b;", "c", "a > b ? a : b", "a > b", "a", "b", "a", "b", "int d = a < b ? a : b;", "d", "a < b ? a : b", "a < b", "a", "b", "a", "b", "a = c % d", "a", "c % d", "c", "d", "b = d", "b", "d", "if(a == 0) {\n System.out.println(d);\n return;\n }", "a == 0", "a", "0", "{\n System.out.println(d);\n return;\n }", "System.out.println(d)", "System.out.println", "System.out", "System", "System.out", "d", "return;", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner shuru = new Scanner(System.in); int a = shuru.nextInt(); int b = shuru.nextInt(); int hhh = a; for( int i = 1;i <= hhh;i ++){ int c = a > b ? a : b; int d = a < b ? a : b; a = c % d; b = d; if(a == 0) { System.out.println(d); return; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 2, 13, 17, 14, 2, 2, 2, 13, 17, 17, 2, 2, 13, 17, 17, 30, 29, 17, 41, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 14, 2, 2, 2, 13, 13, 17, 2, 2, 13, 2, 13, 17, 17, 30, 29, 17, 29, 17, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 13, 42, 2, 2, 13, 17, 17, 30, 0, 18, 13, 13, 4, 18, 13, 40, 13, 40, 13, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 13, 18, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 149, 5 ], [ 149, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 9, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 19, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 18, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 39, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 60, 66 ], [ 53, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 6, 72 ], [ 72, 73 ], [ 149, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 76, 85 ], [ 85, 86 ], [ 85, 87 ], [ 76, 88 ], [ 88, 89 ], [ 88, 90 ], [ 76, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 98, 106 ], [ 106, 107 ], [ 98, 108 ], [ 108, 109 ], [ 76, 110 ], [ 110, 111 ], [ 110, 112 ], [ 76, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 113, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 76, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 76, 143 ], [ 143, 144 ], [ 144, 145 ], [ 74, 146 ], [ 146, 147 ], [ 0, 148 ], [ 148, 149 ], [ 148, 150 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tstatic boolean is_prime(int n) {\n\t if (n <= 3) {\n\t return n > 1;\n\t }\n\t if (n % 6 != 1 && n % 6 != 5) {\n\t return false;\n\t }\n\t int sqrt = (int) Math.sqrt(n);\n\t for (int i = 5; i <= sqrt; i += 6) {\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count=0;\n\t\tint x[] = new int[n];\n\t\twhile(n-1>=0) {\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}\n\t\tcount = 0;\n\t\tfor(int i=0;i<x.length;i++) {\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\t\t}\n\n\t}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic boolean is_prime(int n) {\n\t if (n <= 3) {\n\t return n > 1;\n\t }\n\t if (n % 6 != 1 && n % 6 != 5) {\n\t return false;\n\t }\n\t int sqrt = (int) Math.sqrt(n);\n\t for (int i = 5; i <= sqrt; i += 6) {\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count=0;\n\t\tint x[] = new int[n];\n\t\twhile(n-1>=0) {\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}\n\t\tcount = 0;\n\t\tfor(int i=0;i<x.length;i++) {\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\t\t}\n\n\t}", "Main", "static boolean is_prime(int n) {\n\t if (n <= 3) {\n\t return n > 1;\n\t }\n\t if (n % 6 != 1 && n % 6 != 5) {\n\t return false;\n\t }\n\t int sqrt = (int) Math.sqrt(n);\n\t for (int i = 5; i <= sqrt; i += 6) {\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }", "is_prime", "{\n\t if (n <= 3) {\n\t return n > 1;\n\t }\n\t if (n % 6 != 1 && n % 6 != 5) {\n\t return false;\n\t }\n\t int sqrt = (int) Math.sqrt(n);\n\t for (int i = 5; i <= sqrt; i += 6) {\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }", "if (n <= 3) {\n\t return n > 1;\n\t }", "n <= 3", "n", "3", "{\n\t return n > 1;\n\t }", "return n > 1;", "n > 1", "n", "1", "if (n % 6 != 1 && n % 6 != 5) {\n\t return false;\n\t }", "n % 6 != 1 && n % 6 != 5", "n % 6 != 1", "n % 6", "n", "6", "1", "n % 6 != 5", "n % 6", "n", "6", "5", "{\n\t return false;\n\t }", "return false;", "false", "int sqrt = (int) Math.sqrt(n);", "sqrt", "(int) Math.sqrt(n)", "Math.sqrt", "Math", "n", "for (int i = 5; i <= sqrt; i += 6) {\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }", "int i = 5;", "int i = 5;", "i", "5", "i <= sqrt", "i", "sqrt", "i += 6", "i += 6", "i", "6", "{\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }", "{\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }", "if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }", "n % i == 0 || n % (i + 2) == 0", "n % i == 0", "n % i", "n", "i", "0", "n % (i + 2) == 0", "n % (i + 2)", "n", "(i + 2)", "i", "2", "0", "{\n\t return false;\n\t }", "return false;", "false", "return true;", "true", "int n", "n", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count=0;\n\t\tint x[] = new int[n];\n\t\twhile(n-1>=0) {\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}\n\t\tcount = 0;\n\t\tfor(int i=0;i<x.length;i++) {\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\t\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count=0;\n\t\tint x[] = new int[n];\n\t\twhile(n-1>=0) {\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}\n\t\tcount = 0;\n\t\tfor(int i=0;i<x.length;i++) {\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\t\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int count=0;", "count", "0", "int x[] = new int[n];", "x", "new int[n]", "n", "while(n-1>=0) {\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}", "n-1>=0", "n-1", "n", "1", "0", "{\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}", "x[count] = sc.nextInt()", "x[count]", "x", "count", "sc.nextInt()", "sc.nextInt", "sc", "count++", "count", "n--", "n", "count = 0", "count", "0", "for(int i=0;i<x.length;i++) {\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<x.length", "i", "x.length", "x", "x.length", "i++", "i++", "i", "{\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}", "if(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}", "is_prime(x[i])", "is_prime", "x[i]", "x", "i", "{\n\t\t\t\tcount++;\n\t\t\t\t}", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tstatic boolean is_prime(int n) {\n\t if (n <= 3) {\n\t return n > 1;\n\t }\n\t if (n % 6 != 1 && n % 6 != 5) {\n\t return false;\n\t }\n\t int sqrt = (int) Math.sqrt(n);\n\t for (int i = 5; i <= sqrt; i += 6) {\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count=0;\n\t\tint x[] = new int[n];\n\t\twhile(n-1>=0) {\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}\n\t\tcount = 0;\n\t\tfor(int i=0;i<x.length;i++) {\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\t\t}\n\n\t}", "public class Main {\n\tstatic boolean is_prime(int n) {\n\t if (n <= 3) {\n\t return n > 1;\n\t }\n\t if (n % 6 != 1 && n % 6 != 5) {\n\t return false;\n\t }\n\t int sqrt = (int) Math.sqrt(n);\n\t for (int i = 5; i <= sqrt; i += 6) {\n\t if (n % i == 0 || n % (i + 2) == 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count=0;\n\t\tint x[] = new int[n];\n\t\twhile(n-1>=0) {\n\t\t\tx[count] = sc.nextInt();\n\t\t\tcount++;\n\t\t\tn--;\n\n\t\t}\n\t\tcount = 0;\n\t\tfor(int i=0;i<x.length;i++) {\n\t\t\tif(is_prime(x[i])) {\n\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\t\tSystem.out.println(count);\n\t\tsc.close();\n\t\t}\n\n\t}", "Main" ]
import java.util.Scanner; public class Main { static boolean is_prime(int n) { if (n <= 3) { return n > 1; } if (n % 6 != 1 && n % 6 != 5) { return false; } int sqrt = (int) Math.sqrt(n); for (int i = 5; i <= sqrt; i += 6) { if (n % i == 0 || n % (i + 2) == 0) { return false; } } return true; } public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int count=0; int x[] = new int[n]; while(n-1>=0) { x[count] = sc.nextInt(); count++; n--; } count = 0; for(int i=0;i<x.length;i++) { if(is_prime(x[i])) { count++; } } System.out.println(count); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 5, 13, 30, 4, 18, 13, 17, 5, 13, 30, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 2, 4, 18, 13, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 14, 2, 2, 13, 4, 18, 13, 13, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 3, 14, 2, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 160, 11 ], [ 160, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 30, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 30, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 30, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 51, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 51, 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 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 84, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 84, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 106, 111 ], [ 99, 112 ], [ 112, 113 ], [ 113, 114 ], [ 99, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 125, 132 ], [ 132, 133 ], [ 132, 134 ], [ 124, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 117, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 84, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 148, 149 ], [ 149, 150 ], [ 51, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 12, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\n\t\tBufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str=\"\";\n\t\tint ipt=0;\n\t\tint pkz=0;\n\t\tboolean isp=true;\n\t\ttry {\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t} catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}\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", "public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tBufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str=\"\";\n\t\tint ipt=0;\n\t\tint pkz=0;\n\t\tboolean isp=true;\n\t\ttry {\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t} catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tBufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str=\"\";\n\t\tint ipt=0;\n\t\tint pkz=0;\n\t\tboolean isp=true;\n\t\ttry {\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t} catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}", "main", "{\n\n\t\tBufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str=\"\";\n\t\tint ipt=0;\n\t\tint pkz=0;\n\t\tboolean isp=true;\n\t\ttry {\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t} catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}", "BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));", "bfr", "new BufferedReader(new InputStreamReader(System.in))", "String str=\"\";", "str", "\"\"", "int ipt=0;", "ipt", "0", "int pkz=0;", "pkz", "0", "boolean isp=true;", "isp", "true", "try {\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t} catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}", "catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "catch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}", "NumberFormatException e", "{\n\t\t\tSystem.exit(0);\n\t\t}", "System.exit(0)", "System.exit", "System", "0", "catch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}", "NullPointerException e", "{\n\t\t\tSystem.exit(0);\n\t\t}", "System.exit(0)", "System.exit", "System", "0", "{\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t}", "str=bfr.readLine()", "str", "bfr.readLine()", "bfr.readLine", "bfr", "int kazu=Integer.parseInt(str);", "kazu", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "if(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "str==\"\"", "str", "\"\"", "{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.exit(0)", "System.exit", "System", "0", "for(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<kazu", "i", "kazu", "i++", "i++", "i", "{\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}", "isp=true", "isp", "true", "str=bfr.readLine()", "str", "bfr.readLine()", "bfr.readLine", "bfr", "ipt=Integer.parseInt(str)", "ipt", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "for(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "int j=2;", "int j=2;", "j", "2", "j<(int)Math.sqrt(ipt)+1", "j", "(int)Math.sqrt(ipt)+1", "(int)Math.sqrt(ipt)", "Math.sqrt", "Math", "ipt", "1", "j++", "j++", "j", "{\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "if(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "ipt%j!=0", "ipt%j", "ipt", "j", "0", "{\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}", "j==(int)Math.sqrt(ipt) && isp==true", "j==(int)Math.sqrt(ipt)", "j", "(int)Math.sqrt(ipt)", "Math.sqrt", "Math", "ipt", "isp==true", "isp", "true", "{\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}", "isp=true", "isp", "true", "{\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "isp=false", "isp", "false", "break;", "if(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}", "isp==true", "isp", "true", "{\n\t\t\t\t\tpkz++;\n\t\t\t\t}", "pkz++", "pkz", "System.out.println(pkz)", "System.out.println", "System.out", "System", "System.out", "pkz", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tBufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str=\"\";\n\t\tint ipt=0;\n\t\tint pkz=0;\n\t\tboolean isp=true;\n\t\ttry {\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t} catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}\n\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tBufferedReader bfr=new BufferedReader(new InputStreamReader(System.in));\n\t\tString str=\"\";\n\t\tint ipt=0;\n\t\tint pkz=0;\n\t\tboolean isp=true;\n\t\ttry {\n\t\t\tstr=bfr.readLine();\n\t\t\tint kazu=Integer.parseInt(str);\n\n\t\t\tif(str==\"\") {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\n\t\t\tfor(int i=0; i<kazu; i++) {\n\t\t\t\tisp=true;\n\t\t\t\tstr=bfr.readLine();\n\t\t\t\tipt=Integer.parseInt(str);\n\n\t\t\t\tfor(int j=2; j<(int)Math.sqrt(ipt)+1; j++) {\n\t\t\t\t\tif(ipt%j!=0) {\n\t\t\t\t\t\t// nann mo sen\n\t\t\t\t\t\tif(j==(int)Math.sqrt(ipt) && isp==true) {\n\t\t\t\t\t\t\tisp=true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\telse {\n\t\t\t\t\t\tisp=false;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(isp==true) {\n\t\t\t\t\tpkz++;\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(pkz);\n\t\t} catch (IOException e) {\n\t\t\t// TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tcatch(NumberFormatException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t\tcatch(NullPointerException e) {\n\t\t\tSystem.exit(0);\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) { BufferedReader bfr=new BufferedReader(new InputStreamReader(System.in)); String str=""; int ipt=0; int pkz=0; boolean isp=true; try { str=bfr.readLine(); int kazu=Integer.parseInt(str); if(str=="") { System.exit(0); } for(int i=0; i<kazu; i++) { isp=true; str=bfr.readLine(); ipt=Integer.parseInt(str); for(int j=2; j<(int)Math.sqrt(ipt)+1; j++) { if(ipt%j!=0) { // nann mo sen if(j==(int)Math.sqrt(ipt) && isp==true) { isp=true; } } else { isp=false; break; } } if(isp==true) { pkz++; } } System.out.println(pkz); } catch (IOException e) { // TODO ่‡ชๅ‹•็”Ÿๆˆใ•ใ‚ŒใŸ catch ใƒ–ใƒญใƒƒใ‚ฏ e.printStackTrace(); } catch(NumberFormatException e) { System.exit(0); } catch(NullPointerException e) { System.exit(0); } } }