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,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
38,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile (true) {\n\t\t\tx = scanner.nextInt();\n\t\t\ty = scanner.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tif (x < y)\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\telse\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile (true) {\n\t\t\tx = scanner.nextInt();\n\t\t\ty = scanner.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tif (x < y)\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\telse\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t}\n\t\tscanner.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile (true) {\n\t\t\tx = scanner.nextInt();\n\t\t\ty = scanner.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tif (x < y)\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\telse\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t}\n\t\tscanner.close();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile (true) {\n\t\t\tx = scanner.nextInt();\n\t\t\ty = scanner.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tif (x < y)\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\telse\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t}\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"while (true) {\n\t\t\tx = scanner.nextInt();\n\t\t\ty = scanner.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tif (x < y)\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\telse\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t}",
"true",
"{\n\t\t\tx = scanner.nextInt();\n\t\t\ty = scanner.nextInt();\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tif (x < y)\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\telse\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t}",
"x = scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"y = scanner.nextInt()",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (x == 0 && y == 0)\n\t\t\t\tbreak;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if (x < y)\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\telse\n\t\t\t\tSystem.out.println(y + \" \" + x);",
"x < y",
"x",
"y",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int x, y;
while (true) {
x = scanner.nextInt();
y = scanner.nextInt();
if (x == 0 && y == 0)
break;
if (x < y)
System.out.println(x + " " + y);
else
System.out.println(y + " " + x);
}
scanner.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
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
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
31,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
30,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
30,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"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\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\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\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\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\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\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\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\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(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}",
"if(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\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\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\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(x != 0 || y != 0){
if(x > y){
System.out.println(y + " " + x);
}else{
System.out.println(x + " " + y);
}
x = scan.nextInt();
y = scan.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
40,
17,
41,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
53,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
73,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
89,
89
],
[
89,
90
],
[
89,
91
],
[
89,
92
],
[
6,
93
],
[
93,
94
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) {\n \n\t Scanner sc = new Scanner(System.in);\n\t \n\t int x = -1;\n\t \n\t int y = 1;\n\t \n\t while(x!=0 || y!=0){\n\t\t \n\t\t x = sc.nextInt();\n\t\t \n\t\t y = sc.nextInt();\n\t\t \n\t\t if(x > y){\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }else if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t } \n\t\t \n\t }\n \n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args) {\n \n\t Scanner sc = new Scanner(System.in);\n\t \n\t int x = -1;\n\t \n\t int y = 1;\n\t \n\t while(x!=0 || y!=0){\n\t\t \n\t\t x = sc.nextInt();\n\t\t \n\t\t y = sc.nextInt();\n\t\t \n\t\t if(x > y){\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }else if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t } \n\t\t \n\t }\n \n\n }\n}",
"Main",
"public static void main(String[] args) {\n \n\t Scanner sc = new Scanner(System.in);\n\t \n\t int x = -1;\n\t \n\t int y = 1;\n\t \n\t while(x!=0 || y!=0){\n\t\t \n\t\t x = sc.nextInt();\n\t\t \n\t\t y = sc.nextInt();\n\t\t \n\t\t if(x > y){\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }else if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t } \n\t\t \n\t }\n \n\n }",
"main",
"{\n \n\t Scanner sc = new Scanner(System.in);\n\t \n\t int x = -1;\n\t \n\t int y = 1;\n\t \n\t while(x!=0 || y!=0){\n\t\t \n\t\t x = sc.nextInt();\n\t\t \n\t\t y = sc.nextInt();\n\t\t \n\t\t if(x > y){\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }else if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t } \n\t\t \n\t }\n \n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = -1;",
"x",
"-1",
"1",
"int y = 1;",
"y",
"1",
"while(x!=0 || y!=0){\n\t\t \n\t\t x = sc.nextInt();\n\t\t \n\t\t y = sc.nextInt();\n\t\t \n\t\t if(x > y){\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }else if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t } \n\t\t \n\t }",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n\t\t \n\t\t x = sc.nextInt();\n\t\t \n\t\t y = sc.nextInt();\n\t\t \n\t\t if(x > y){\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }else if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t } \n\t\t \n\t }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x > y){\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }else if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t }",
"x > y",
"x",
"y",
"{\n\t\t\t System.out.println(y+\" \"+x);\n\t\t }",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"if (x < y){\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }else if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t }",
"x < y",
"x",
"y",
"{\n\t\t\t System.out.println(x+\" \"+y);\n\t\t }",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"if(x == y){\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t }",
"x == y",
"x",
"y",
"{\n\t\t\t if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }\n\t\t }",
"if(x==0 && y==0){\n\t\t\t\t //何もしない\n\t\t\t }else{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n\t\t\t\t //何もしない\n\t\t\t }",
"{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x = -1;
int y = 1;
while(x!=0 || y!=0){
x = sc.nextInt();
y = sc.nextInt();
if(x > y){
System.out.println(y+" "+x);
}else if (x < y){
System.out.println(x+" "+y);
}else if(x == y){
if(x==0 && y==0){
//何もしない
}else{
System.out.println(x+" "+y);
}
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
38,
5,
13,
30,
30,
42,
17,
30,
0,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
30,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
30,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
64,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
9,
88
],
[
88,
89
]
] | [
"import java.io.*;\nimport java.util.StringTokenizer;\n\nclass Main {\n\tpublic static void main (String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"class Main {\n\tpublic static void main (String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}\n\t}\n}",
"Main",
"public static void main (String args[]) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\tString buf;\n\t\tint count = 1;\n\n\t\ttry {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"String buf;",
"buf",
"int count = 1;",
"count",
"1",
"try {\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\t//Exception\n\t\t}",
"catch (Exception e) {\n\t\t\t//Exception\n\t\t}",
"Exception e",
"{\n\t\t\t//Exception\n\t\t}",
"{\n\t\t\twhile (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}\n\t\t}",
"while (true) {\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}",
"true",
"{\n\t\t\t\tbuf = br.readLine();\n\t\t\t\tStringTokenizer st = new StringTokenizer(buf);\n\t\t\t\tint a = Integer.parseInt(st.nextToken());\n\t\t\t\tint b = Integer.parseInt(st.nextToken());\n\t\t\t\tif (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);\n\t\t\t}",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st = new StringTokenizer(buf);",
"st",
"new StringTokenizer(buf)",
"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",
"if (a==0 && b==0) break;\n\t\t\t\telse if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"if (a<b) System.out.println(a+\" \"+b);\n\t\t\t\telse System.out.println(b+\" \"+a);",
"a<b",
"a",
"b",
"System.out.println(a+\" \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+\" \"+b",
"a+\" \"+b",
"a",
"\" \"",
"b",
"System.out.println(b+\" \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b+\" \"+a",
"b+\" \"+a",
"b",
"\" \"",
"a",
"String args[]",
"args"
] | import java.io.*;
import java.util.StringTokenizer;
class Main {
public static void main (String args[]) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
String buf;
int count = 1;
try {
while (true) {
buf = br.readLine();
StringTokenizer st = new StringTokenizer(buf);
int a = Integer.parseInt(st.nextToken());
int b = Integer.parseInt(st.nextToken());
if (a==0 && b==0) break;
else if (a<b) System.out.println(a+" "+b);
else System.out.println(b+" "+a);
}
} catch (Exception e) {
//Exception
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
68,
8
],
[
68,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
19,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
39,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\nimport java.io.IOException;\npublic class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a == 0 && b == 0)\n break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }",
"a>=b",
"a",
"b",
"{\n System.out.println(b + \" \" + a);\n }",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"{\n System.out.println(a + \" \" + b);\n }",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n while (sc.hasNext()){\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0)\n break;\n if (a>=b){\n System.out.println(b + \" \" + a);\n }else{\n System.out.println(a + \" \" + b);\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()){
int a = sc.nextInt();
int b = sc.nextInt();
if (a == 0 && b == 0)
break;
if (a>=b){
System.out.println(b + " " + a);
}else{
System.out.println(a + " " + b);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
4,
18,
18,
13,
13,
17,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
38,
44
],
[
38,
45
],
[
34,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
46,
52
],
[
46,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.util.Scanner;\nclass Main\n {\n public static void main(String[] args)\n {\n Scanner S = new Scanner(System.in);\n\n while(true){\n\n int x = S.nextInt();\n int y = S.nextInt();\n\n if (x == 0 && y ==0)break;\n\n if(x < y) System.out.printf(\"%d %d\\n\",x, y);\n\n else System.out.printf(\"%d %d\\n\",y, x);\n\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n {\n public static void main(String[] args)\n {\n Scanner S = new Scanner(System.in);\n\n while(true){\n\n int x = S.nextInt();\n int y = S.nextInt();\n\n if (x == 0 && y ==0)break;\n\n if(x < y) System.out.printf(\"%d %d\\n\",x, y);\n\n else System.out.printf(\"%d %d\\n\",y, x);\n\n }\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner S = new Scanner(System.in);\n\n while(true){\n\n int x = S.nextInt();\n int y = S.nextInt();\n\n if (x == 0 && y ==0)break;\n\n if(x < y) System.out.printf(\"%d %d\\n\",x, y);\n\n else System.out.printf(\"%d %d\\n\",y, x);\n\n }\n }",
"main",
"{\n Scanner S = new Scanner(System.in);\n\n while(true){\n\n int x = S.nextInt();\n int y = S.nextInt();\n\n if (x == 0 && y ==0)break;\n\n if(x < y) System.out.printf(\"%d %d\\n\",x, y);\n\n else System.out.printf(\"%d %d\\n\",y, x);\n\n }\n }",
"Scanner S = new Scanner(System.in);",
"S",
"new Scanner(System.in)",
"while(true){\n\n int x = S.nextInt();\n int y = S.nextInt();\n\n if (x == 0 && y ==0)break;\n\n if(x < y) System.out.printf(\"%d %d\\n\",x, y);\n\n else System.out.printf(\"%d %d\\n\",y, x);\n\n }",
"true",
"{\n\n int x = S.nextInt();\n int y = S.nextInt();\n\n if (x == 0 && y ==0)break;\n\n if(x < y) System.out.printf(\"%d %d\\n\",x, y);\n\n else System.out.printf(\"%d %d\\n\",y, x);\n\n }",
"int x = S.nextInt();",
"x",
"S.nextInt()",
"S.nextInt",
"S",
"int y = S.nextInt();",
"y",
"S.nextInt()",
"S.nextInt",
"S",
"if (x == 0 && y ==0)break;",
"x == 0 && y ==0",
"x == 0",
"x",
"0",
"y ==0",
"y",
"0",
"break;",
"if(x < y) System.out.printf(\"%d %d\\n\",x, y);\n\n else System.out.printf(\"%d %d\\n\",y, x);",
"x < y",
"x",
"y",
"System.out.printf(\"%d %d\\n\",x, y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"x",
"y",
"System.out.printf(\"%d %d\\n\",y, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"y",
"x",
"String[] args",
"args"
] | import java.util.Scanner;
class Main
{
public static void main(String[] args)
{
Scanner S = new Scanner(System.in);
while(true){
int x = S.nextInt();
int y = S.nextInt();
if (x == 0 && y ==0)break;
if(x < y) System.out.printf("%d %d\n",x, y);
else System.out.printf("%d %d\n",y, x);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
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
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
58,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
58,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
14,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
81,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
102,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
12,
112
],
[
112,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\tint x =0;\n\tint y =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listx = new ArrayList<Integer>();\n\tArrayList<Integer> listy = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\ty = scan.nextInt();\n\t\t\t\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<listx.size();i++){\n\t\t\tSystem.out.println(listx.get(i)+\" \"+listy.get(i));\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String[] args){\n\tint x =0;\n\tint y =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listx = new ArrayList<Integer>();\n\tArrayList<Integer> listy = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\ty = scan.nextInt();\n\t\t\t\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<listx.size();i++){\n\t\t\tSystem.out.println(listx.get(i)+\" \"+listy.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\tint x =0;\n\tint y =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listx = new ArrayList<Integer>();\n\tArrayList<Integer> listy = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\ty = scan.nextInt();\n\t\t\t\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<listx.size();i++){\n\t\t\tSystem.out.println(listx.get(i)+\" \"+listy.get(i));\n\t\t}\n\t}",
"main",
"{\n\tint x =0;\n\tint y =0;\n\tint t =0;\n\tScanner scan = new Scanner(System.in);\n\tArrayList<Integer> listx = new ArrayList<Integer>();\n\tArrayList<Integer> listy = new ArrayList<Integer>();\n\t\twhile(scan.hasNextLine()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\ty = scan.nextInt();\n\t\t\t\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<listx.size();i++){\n\t\t\tSystem.out.println(listx.get(i)+\" \"+listy.get(i));\n\t\t}\n\t}",
"int x =0;",
"x",
"0",
"int y =0;",
"y",
"0",
"int t =0;",
"t",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<Integer> listx = new ArrayList<Integer>();",
"listx",
"new ArrayList<Integer>()",
"ArrayList<Integer> listy = new ArrayList<Integer>();",
"listy",
"new ArrayList<Integer>()",
"while(scan.hasNextLine()){\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\ty = scan.nextInt();\n\t\t\t\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}\n\t\t}",
"scan.hasNextLine()",
"scan.hasNextLine",
"scan",
"{\n\t\t\tx = scan.nextInt();\t\t\t\n\t\t\ty = scan.nextInt();\n\t\t\t\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}\n\t\t}",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tif(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}\n\t\t\t\tlistx.add(x);\t\t\t\n\t\t\t\tlisty.add(y);\n\t\t\t}",
"if(x>y){\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}",
"x>y",
"x",
"y",
"{\n\t\t\t\t\tt=x;\n\t\t\t\t\tx=y;\n\t\t\t\t\ty=t;\n\t\t\t\t}",
"t=x",
"t",
"x",
"x=y",
"x",
"y",
"y=t",
"y",
"t",
"listx.add(x)",
"listx.add",
"listx",
"x",
"listy.add(y)",
"listy.add",
"listy",
"y",
"for(int i=0;i<listx.size();i++){\n\t\t\tSystem.out.println(listx.get(i)+\" \"+listy.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<listx.size()",
"i",
"listx.size()",
"listx.size",
"listx",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(listx.get(i)+\" \"+listy.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(listx.get(i)+\" \"+listy.get(i));\n\t\t}",
"System.out.println(listx.get(i)+\" \"+listy.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"listx.get(i)+\" \"+listy.get(i)",
"listx.get(i)+\" \"+listy.get(i)",
"listx.get(i)",
"listx.get",
"listx",
"i",
"\" \"",
"listy.get(i)",
"listy.get",
"listy",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
class Main{
public static void main(String[] args){
int x =0;
int y =0;
int t =0;
Scanner scan = new Scanner(System.in);
ArrayList<Integer> listx = new ArrayList<Integer>();
ArrayList<Integer> listy = new ArrayList<Integer>();
while(scan.hasNextLine()){
x = scan.nextInt();
y = scan.nextInt();
if(x==0 && y==0){
break;
}
else{
if(x>y){
t=x;
x=y;
y=t;
}
listx.add(x);
listy.add(y);
}
}
for(int i=0;i<listx.size();i++){
System.out.println(listx.get(i)+" "+listy.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
42,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
118,
11
],
[
118,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
44,
49
],
[
41,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
41,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
41,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
66,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
80,
87
],
[
87,
88
],
[
87,
89
],
[
75,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
94,
103
],
[
92,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
90,
108
],
[
14,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
12,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder=new StringBuilder();\n\t\tString[] str=new String[2];\n\t\tint x, y, z;\n\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.print(builder);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder=new StringBuilder();\n\t\tString[] str=new String[2];\n\t\tint x, y, z;\n\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder=new StringBuilder();\n\t\tString[] str=new String[2];\n\t\tint x, y, z;\n\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.print(builder);\n\t}",
"main",
"{\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder=new StringBuilder();\n\t\tString[] str=new String[2];\n\t\tint x, y, z;\n\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.print(builder);\n\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder=new StringBuilder();",
"builder",
"new StringBuilder()",
"String[] str=new String[2];",
"str",
"new String[2]",
"2",
"int x",
"x",
"y",
"y",
"z;",
"z",
"try{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}",
"catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"while(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}",
"str=reader.readLine().split(\" \")",
"str",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"x=Integer.parseInt(str[0])",
"x",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"y=Integer.parseInt(str[1])",
"y",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}",
"if(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}",
"x>y",
"x",
"y",
"{\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}",
"z=x",
"z",
"x",
"x=y",
"x",
"y",
"y=z",
"y",
"z",
"builder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\")",
"builder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append",
"builder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y))",
"builder.append(Integer.toString(x)).append(\" \").append",
"builder.append(Integer.toString(x)).append(\" \")",
"builder.append(Integer.toString(x)).append",
"builder.append(Integer.toString(x))",
"builder.append",
"builder",
"Integer.toString(x)",
"Integer.toString",
"Integer",
"x",
"\" \"",
"Integer.toString(y)",
"Integer.toString",
"Integer",
"y",
"\"\\n\"",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder=new StringBuilder();\n\t\tString[] str=new String[2];\n\t\tint x, y, z;\n\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.print(builder);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder=new StringBuilder();\n\t\tString[] str=new String[2];\n\t\tint x, y, z;\n\n\t\ttry{\n\t\t\twhile(true){\n\t\t\t\tstr=reader.readLine().split(\" \");\n\t\t\t\tx=Integer.parseInt(str[0]);\n\t\t\t\ty=Integer.parseInt(str[1]);\n\t\t\t\tif(x==0&&y==0)break;\n\t\t\t\telse{\n\t\t\t\t\tif(x>y){\n\t\t\t\t\t\tz=x;\n\t\t\t\t\t\tx=y;\n\t\t\t\t\t\ty=z;\n\t\t\t\t\t}\n\t\t\t\t\tbuilder.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}\n\n\t\tSystem.out.print(builder);\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){
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder=new StringBuilder();
String[] str=new String[2];
int x, y, z;
try{
while(true){
str=reader.readLine().split(" ");
x=Integer.parseInt(str[0]);
y=Integer.parseInt(str[1]);
if(x==0&&y==0)break;
else{
if(x>y){
z=x;
x=y;
y=z;
}
builder.append(Integer.toString(x)).append(" ").append(Integer.toString(y)).append("\n");
}
}
}catch(IOException e){
e.printStackTrace();
}
System.out.print(builder);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
53,
60
],
[
60,
61
],
[
60,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
69,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\n }\n }\n}",
"Main",
"public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\n }",
"true",
"{\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\n }",
"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",
"if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }",
"x > y",
"x",
"y",
"{\n int swp = x;\n x = y;\n y = swp;\n }",
"int swp = x;",
"swp",
"x",
"x = y",
"x",
"y",
"y = swp",
"y",
"swp",
"System.out.println(x +\" \"+ y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x +\" \"+ y",
"x +\" \"+ y",
"x",
"\" \"",
"y",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\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 while(true){\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n\n if(x == 0 && y == 0){\n break;\n }else if(x > y){\n int swp = x;\n x = y;\n y = swp;\n }\n System.out.println(x +\" \"+ y);\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] str = br.readLine().split(" ");
int x = Integer.parseInt(str[0]);
int y = Integer.parseInt(str[1]);
if(x == 0 && y == 0){
break;
}else if(x > y){
int swp = x;
x = y;
y = swp;
}
System.out.println(x +" "+ y);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
13,
17,
12,
13,
30,
4,
18,
18,
13,
13,
4,
13,
4,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
41,
13,
20,
28,
13,
13,
30,
30,
41,
13,
4,
13,
13,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
4,
18,
4,
18,
13,
18,
13,
17,
17,
18,
13,
17,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
14,
2,
13,
17,
30,
38,
5,
13,
30,
30,
4,
18,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
4,
18,
13,
13,
17,
29,
4,
18,
13,
23,
13,
12,
13,
30,
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,
29,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
248,
17
],
[
248,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
248,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
24,
39
],
[
39,
40
],
[
248,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
49,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
56,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
56,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
77,
79
],
[
72,
80
],
[
80,
81
],
[
56,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
83,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
56,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
56,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
97,
108
],
[
108,
109
],
[
108,
110
],
[
43,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
41,
115
],
[
115,
116
],
[
248,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
123,
125
],
[
119,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
126,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
132,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
126,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
163,
164
],
[
163,
165
],
[
159,
166
],
[
166,
167
],
[
166,
168
],
[
159,
169
],
[
169,
170
],
[
159,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
172,
178
],
[
171,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
180,
186
],
[
159,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
117,
191
],
[
191,
192
],
[
248,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
195,
202
],
[
202,
203
],
[
202,
204
],
[
205,
206
],
[
205,
207
],
[
195,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
208,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
215,
217
],
[
208,
218
],
[
218,
219
],
[
219,
220
],
[
208,
221
],
[
222,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
228,
229
],
[
227,
230
],
[
230,
231
],
[
230,
232
],
[
195,
233
],
[
233,
234
],
[
193,
235
],
[
235,
236
],
[
248,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
241,
244
],
[
237,
245
],
[
245,
246
],
[
0,
247
],
[
247,
248
],
[
247,
249
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\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.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"Main",
"private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");",
"LINE_SEPARATOR",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }",
"main",
"{\n System.out.println(process(readAll(System.in)));\n }",
"System.out.println(process(readAll(System.in)))",
"System.out.println",
"System.out",
"System",
"System.out",
"process(readAll(System.in))",
"process",
"readAll(System.in)",
"readAll",
"System.in",
"System",
"System.in",
"String[] args",
"args",
"protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }\n\n return sb.toString();\n }",
"process",
"{\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }\n\n return sb.toString();\n }",
"final String[] lines = splitForLines(data);",
"lines",
"splitForLines(data)",
"splitForLines",
"data",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (String s : lines) {\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }",
"String s",
"lines",
"{\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }",
"{\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }",
"final int[] intArray = split(s);",
"intArray",
"split(s)",
"split",
"s",
"int x = intArray[0];",
"x",
"intArray[0]",
"intArray",
"0",
"int y = intArray[1];",
"y",
"intArray[1]",
"intArray",
"1",
"if (x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }",
"sb.length() > 0",
"sb.length()",
"sb.length",
"sb",
"0",
"{\n sb.append(LINE_SEPARATOR);\n }",
"sb.append(LINE_SEPARATOR)",
"sb.append",
"sb",
"LINE_SEPARATOR",
"Arrays.sort(intArray)",
"Arrays.sort",
"Arrays",
"intArray",
"sb.append(intArray[0]).append(' ').append(intArray[1])",
"sb.append(intArray[0]).append(' ').append",
"sb.append(intArray[0]).append(' ')",
"sb.append(intArray[0]).append",
"sb.append(intArray[0])",
"sb.append",
"sb",
"intArray[0]",
"intArray",
"0",
"' '",
"intArray[1]",
"intArray",
"1",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"String data",
"data",
"private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"readAll",
"{\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }",
"InputStreamReader r = null;",
"r",
"null",
"BufferedReader br = null;",
"br",
"null",
"try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }",
"if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"br != null",
"br",
"null",
"{\n try {\n br.close();\n } catch (IOException e) {\n }\n }",
"try {\n br.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n br.close();\n }",
"br.close()",
"br.close",
"br",
"if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"r != null",
"r",
"null",
"{\n try {\n r.close();\n } catch (IOException e) {\n }\n }",
"try {\n r.close();\n } catch (IOException e) {\n }",
"catch (IOException e) {\n }",
"IOException e",
"{\n }",
"{\n r.close();\n }",
"r.close()",
"r.close",
"r",
"{\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n }",
"r = new InputStreamReader(is)",
"r",
"new InputStreamReader(is)",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String s;",
"s",
"while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }",
"(s = br.readLine()) != null",
"(s = br.readLine())",
"s",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n sb.append(s).append('\\n');\n }",
"sb.append(s).append('\\n')",
"sb.append(s).append",
"sb.append(s)",
"sb.append",
"sb",
"s",
"'\\n'",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"InputStream is",
"is",
"private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }",
"split",
"{\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }",
"final String[] s0 = s.split(\" \");",
"s0",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int[] ia = new int[s0.length];",
"ia",
"new int[s0.length]",
"s0.length",
"s0",
"s0.length",
"for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s0.length",
"i",
"s0.length",
"s0",
"s0.length",
"i++",
"i++",
"i",
"{\n ia[i] = Integer.parseInt(s0[i]);\n }",
"{\n ia[i] = Integer.parseInt(s0[i]);\n }",
"ia[i] = Integer.parseInt(s0[i])",
"ia[i]",
"ia",
"i",
"Integer.parseInt(s0[i])",
"Integer.parseInt",
"Integer",
"s0[i]",
"s0",
"i",
"return ia;",
"ia",
"String s",
"s",
"private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }",
"splitForLines",
"{\n return lines.split(\"\\\\n\");\n }",
"return lines.split(\"\\\\n\");",
"lines.split(\"\\\\n\")",
"lines.split",
"lines",
"\"\\\\n\"",
"String lines",
"lines",
"public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"public class Main {\n\n private static final String LINE_SEPARATOR = System.getProperty(\"line.separator\");\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n StringBuilder sb = new StringBuilder();\n for (String s : lines) {\n\n final int[] intArray = split(s);\n int x = intArray[0];\n int y = intArray[1];\n\n if (x == 0 && y == 0) {\n break;\n }\n\n if (sb.length() > 0) {\n sb.append(LINE_SEPARATOR);\n }\n\n Arrays.sort(intArray);\n\n sb.append(intArray[0]).append(' ').append(intArray[1]);\n }\n\n return sb.toString();\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
private static final String LINE_SEPARATOR = System.getProperty("line.separator");
public static void main(String[] args) {
System.out.println(process(readAll(System.in)));
}
protected static String process(String data) {
final String[] lines = splitForLines(data);
StringBuilder sb = new StringBuilder();
for (String s : lines) {
final int[] intArray = split(s);
int x = intArray[0];
int y = intArray[1];
if (x == 0 && y == 0) {
break;
}
if (sb.length() > 0) {
sb.append(LINE_SEPARATOR);
}
Arrays.sort(intArray);
sb.append(intArray[0]).append(' ').append(intArray[1]);
}
return sb.toString();
}
private static String readAll(InputStream is) {
InputStreamReader r = null;
BufferedReader br = null;
try {
r = new InputStreamReader(is);
br = new BufferedReader(r);
StringBuilder sb = new StringBuilder();
String s;
while ((s = br.readLine()) != null) {
sb.append(s).append('\n');
}
return sb.toString();
} catch (IOException e) {
throw new RuntimeException(e);
} finally {
if (br != null) {
try {
br.close();
} catch (IOException e) {
}
}
if (r != null) {
try {
r.close();
} catch (IOException e) {
}
}
}
}
private static int[] split(String s) {
final String[] s0 = s.split(" ");
int[] ia = new int[s0.length];
for (int i = 0; i < s0.length; i++) {
ia[i] = Integer.parseInt(s0[i]);
}
return ia;
}
private static String[] splitForLines(String lines) {
return lines.split("\\n");
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
42,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
40,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
10,
12
],
[
4,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
15,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
34,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
33,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
33,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
33,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
4,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
]
] | [
"import java.util.Scanner;\nclass Main{\n int x, y, z = 0;\n public void aaaa(){\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n while(z == 0){\n if (x < y){\n System.out.println(x + \" \" + y);\n }else{\n System.out.println(y + \" \" + x);\n }\n x = sc.nextInt();\n y = sc.nextInt();\n if(x == 0 && y == 0){\n z++;\n }\n }\n \n }\n public static void main(String[] args){\n new Main().aaaa();\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n int x, y, z = 0;\n public void aaaa(){\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n while(z == 0){\n if (x < y){\n System.out.println(x + \" \" + y);\n }else{\n System.out.println(y + \" \" + x);\n }\n x = sc.nextInt();\n y = sc.nextInt();\n if(x == 0 && y == 0){\n z++;\n }\n }\n \n }\n public static void main(String[] args){\n new Main().aaaa();\n }\n \n}",
"Main",
"int x",
"x",
"y",
"y",
"z = 0;",
"z",
"0",
"public void aaaa(){\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n while(z == 0){\n if (x < y){\n System.out.println(x + \" \" + y);\n }else{\n System.out.println(y + \" \" + x);\n }\n x = sc.nextInt();\n y = sc.nextInt();\n if(x == 0 && y == 0){\n z++;\n }\n }\n \n }",
"aaaa",
"{\n Scanner sc = new Scanner(System.in);\n x = sc.nextInt();\n y = sc.nextInt();\n while(z == 0){\n if (x < y){\n System.out.println(x + \" \" + y);\n }else{\n System.out.println(y + \" \" + x);\n }\n x = sc.nextInt();\n y = sc.nextInt();\n if(x == 0 && y == 0){\n z++;\n }\n }\n \n }",
"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(z == 0){\n if (x < y){\n System.out.println(x + \" \" + y);\n }else{\n System.out.println(y + \" \" + x);\n }\n x = sc.nextInt();\n y = sc.nextInt();\n if(x == 0 && y == 0){\n z++;\n }\n }",
"z == 0",
"z",
"0",
"{\n if (x < y){\n System.out.println(x + \" \" + y);\n }else{\n System.out.println(y + \" \" + x);\n }\n x = sc.nextInt();\n y = sc.nextInt();\n if(x == 0 && y == 0){\n z++;\n }\n }",
"if (x < y){\n System.out.println(x + \" \" + y);\n }else{\n System.out.println(y + \" \" + x);\n }",
"x < y",
"x",
"y",
"{\n System.out.println(x + \" \" + y);\n }",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n System.out.println(y + \" \" + x);\n }",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0 && y == 0){\n z++;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n z++;\n }",
"z++",
"z",
"public static void main(String[] args){\n new Main().aaaa();\n }",
"main",
"{\n new Main().aaaa();\n }",
"new Main().aaaa()",
"new Main().aaaa",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
int x, y, z = 0;
public void aaaa(){
Scanner sc = new Scanner(System.in);
x = sc.nextInt();
y = sc.nextInt();
while(z == 0){
if (x < y){
System.out.println(x + " " + y);
}else{
System.out.println(y + " " + x);
}
x = sc.nextInt();
y = sc.nextInt();
if(x == 0 && y == 0){
z++;
}
}
}
public static void main(String[] args){
new Main().aaaa();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
13,
41,
13,
4,
13,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
13,
17,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
3,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
13,
17,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
4,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
122,
5
],
[
122,
6
],
[
6,
7
],
[
6,
8
],
[
122,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
35,
35
],
[
35,
36
],
[
35,
37
],
[
35,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
64,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
60,
72
],
[
52,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
82,
82
],
[
82,
83
],
[
82,
84
],
[
82,
85
],
[
17,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
11,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
11,
96
],
[
96,
97
],
[
9,
98
],
[
98,
99
],
[
122,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
108,
109
],
[
122,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\n\t\tclose();\n\n\t}",
"main",
"{\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\n\t\tclose();\n\n\t}",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"while (true) {\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}",
"true",
"{\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}",
"int number1 = input();",
"number1",
"input()",
"input",
"int number2 = input();",
"number2",
"input()",
"input",
"if (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}",
"number1 < number2",
"number1",
"number2",
"{\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}",
"output.append(number1 + \" \" + number2)",
"output.append",
"output",
"number1 + \" \" + number2",
"number1 + \" \" + number2",
"number1",
"\" \"",
"number2",
"if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}",
"number2 < number1",
"number2",
"number1",
"{\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t}",
"output.append(number2 + \" \" + number1)",
"output.append",
"output",
"number2 + \" \" + number1",
"number2 + \" \" + number1",
"number2",
"\" \"",
"number1",
"if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}",
"number1 ==0 && number2 == 0",
"number1 ==0",
"number1",
"0",
"number2 == 0",
"number2",
"0",
"{\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t}",
"output.delete(output.length() -1, output.length())",
"output.delete",
"output",
"output.length() -1",
"output.length()",
"output.length",
"output",
"1",
"output.length()",
"output.length",
"output",
"break;",
"if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}",
"number1 == number2",
"number1",
"number2",
"{\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}",
"output.append(number1 + \" \" + number2)",
"output.append",
"output",
"number1 + \" \" + number2",
"number1 + \" \" + number2",
"number1",
"\" \"",
"number2",
"output.append(\"\\n\")",
"output.append",
"output",
"\"\\n\"",
"System.out.println(output)",
"System.out.println",
"System.out",
"System",
"System.out",
"output",
"close()",
"close",
"String[] args",
"args",
"public static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}",
"input",
"{\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}",
"return Integer.parseInt(scanner.next());",
"Integer.parseInt(scanner.next())",
"Integer.parseInt",
"Integer",
"scanner.next()",
"scanner.next",
"scanner",
"public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"close",
"{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}",
"if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner != null",
"scanner",
"null",
"{\n\n\t\t\tscanner.close();\n\n\t\t}",
"scanner.close()",
"scanner.close",
"scanner",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tStringBuilder output = new StringBuilder();\n\n\t\twhile (true) {\n\n\t\t\tint number1 = input();\n\t\t\tint number2 = input();\n\n\t\t\tif (number1 < number2) {\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t} else if (number2 < number1) {\n\n\t\t\t\toutput.append(number2 + \" \" + number1);\n\n\t\t\t} else if (number1 ==0 && number2 == 0) {\n\n\t\t\t\toutput.delete(output.length() -1, output.length());\n\t\t\t\tbreak;\n\n\t\t\t} else if (number1 == number2){\n\n\t\t\t\toutput.append(number1 + \" \" + number2);\n\n\t\t\t}\n\n\t\t\toutput.append(\"\\n\");\n\n\t\t}\n\n\t\tSystem.out.println(output);\n\n\t\tclose();\n\n\t}\n\n\tpublic static int input() {\n\n\t\treturn Integer.parseInt(scanner.next());\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
StringBuilder output = new StringBuilder();
while (true) {
int number1 = input();
int number2 = input();
if (number1 < number2) {
output.append(number1 + " " + number2);
} else if (number2 < number1) {
output.append(number2 + " " + number1);
} else if (number1 ==0 && number2 == 0) {
output.delete(output.length() -1, output.length());
break;
} else if (number1 == number2){
output.append(number1 + " " + number2);
}
output.append("\n");
}
System.out.println(output);
close();
}
public static int input() {
return Integer.parseInt(scanner.next());
}
public static void close() {
if (scanner != null) {
scanner.close();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
23,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
20,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
20,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
65,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
65,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
76,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
76,
80
],
[
11,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
9,
87
],
[
87,
88
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\n\t\t\tint y = Integer.parseInt(line[1]);\n\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(x <= y){\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n\n\tpublic static void main(String[] args) throws Exception{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\n\t\t\tint y = Integer.parseInt(line[1]);\n\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(x <= y){\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\n\t\t\tint y = Integer.parseInt(line[1]);\n\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(x <= y){\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true){\n\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\n\t\t\tint y = Integer.parseInt(line[1]);\n\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(x <= y){\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}\n\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\n\t\t\tint y = Integer.parseInt(line[1]);\n\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(x <= y){\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}\n\n\t\t}",
"true",
"{\n\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\n\t\t\tint y = Integer.parseInt(line[1]);\n\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif(x <= y){\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}\n\n\t\t}",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"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",
"if(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x <= y){\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}",
"x <= y",
"x",
"y",
"{\n\t\t\t\tsb.append(x + \" \" + y + \"\\n\");\n\t\t\t}",
"sb.append(x + \" \" + y + \"\\n\")",
"sb.append",
"sb",
"x + \" \" + y + \"\\n\"",
"y",
"x + \" \" + y + \"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"{\n\t\t\t\tsb.append(y + \" \" + x + \"\\n\");\n\t\t\t}",
"sb.append(y + \" \" + x + \"\\n\")",
"sb.append",
"sb",
"y + \" \" + x + \"\\n\"",
"x",
"y + \" \" + x + \"\\n\"",
"y",
"\" \"",
"x",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
String[] line = br.readLine().split(" ");
int x = Integer.parseInt(line[0]);
int y = Integer.parseInt(line[1]);
if(x == 0 && y == 0){
break;
}
if(x <= y){
sb.append(x + " " + y + "\n");
}else{
sb.append(y + " " + x + "\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
105,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
29,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
62,
63
],
[
29,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
73,
79
],
[
71,
80
],
[
69,
81
],
[
64,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
87,
93
],
[
85,
94
],
[
83,
95
],
[
14,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
12,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder str = new StringBuilder();\n String[] data;\n int x, y;\n while (true) {\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }\n System.out.print(str);\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 public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder str = new StringBuilder();\n String[] data;\n int x, y;\n while (true) {\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }\n System.out.print(str);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder str = new StringBuilder();\n String[] data;\n int x, y;\n while (true) {\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }\n System.out.print(str);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder str = new StringBuilder();\n String[] data;\n int x, y;\n while (true) {\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }\n System.out.print(str);\n }",
"BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));",
"br",
"new BufferedReader(\n new InputStreamReader(System.in))",
"StringBuilder str = new StringBuilder();",
"str",
"new StringBuilder()",
"String[] data;",
"data",
"int x",
"x",
"y;",
"y",
"while (true) {\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }",
"true",
"{\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }",
"data = br.readLine().split(\" \")",
"data",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(data[0])",
"x",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"y = Integer.parseInt(data[1])",
"y",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"if (x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }",
"x < y",
"x",
"y",
"{\n str.append(x).append(\" \").append(y).append(\"\\n\");\n }",
"str.append(x).append(\" \").append(y).append(\"\\n\")",
"str.append(x).append(\" \").append(y).append",
"str.append(x).append(\" \").append(y)",
"str.append(x).append(\" \").append",
"str.append(x).append(\" \")",
"str.append(x).append",
"str.append(x)",
"str.append",
"str",
"x",
"\" \"",
"y",
"\"\\n\"",
"{\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }",
"str.append(y).append(\" \").append(x).append(\"\\n\")",
"str.append(y).append(\" \").append(x).append",
"str.append(y).append(\" \").append(x)",
"str.append(y).append(\" \").append",
"str.append(y).append(\" \")",
"str.append(y).append",
"str.append(y)",
"str.append",
"str",
"y",
"\" \"",
"x",
"\"\\n\"",
"System.out.print(str)",
"System.out.print",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder str = new StringBuilder();\n String[] data;\n int x, y;\n while (true) {\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }\n System.out.print(str);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n StringBuilder str = new StringBuilder();\n String[] data;\n int x, y;\n while (true) {\n data = br.readLine().split(\" \");\n x = Integer.parseInt(data[0]);\n y = Integer.parseInt(data[1]);\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n str.append(x).append(\" \").append(y).append(\"\\n\");\n } else {\n str.append(y).append(\" \").append(x).append(\"\\n\");\n }\n }\n System.out.print(str);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(
new InputStreamReader(System.in));
StringBuilder str = new StringBuilder();
String[] data;
int x, y;
while (true) {
data = br.readLine().split(" ");
x = Integer.parseInt(data[0]);
y = Integer.parseInt(data[1]);
if (x == 0 && y == 0) {
break;
}
if (x < y) {
str.append(x).append(" ").append(y).append("\n");
} else {
str.append(y).append(" ").append(x).append("\n");
}
}
System.out.print(str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
105,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
29,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
29,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
29,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
81,
90
],
[
79,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
77,
95
],
[
14,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
12,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x,y,temp;\n while(true){\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x,y,temp;\n while(true){\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x,y,temp;\n while(true){\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x,y,temp;\n while(true){\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int x",
"x",
"y",
"y",
"temp;",
"temp",
"while(true){\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }",
"true",
"{\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }",
"String str[] = br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(str[0])",
"x",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"y = Integer.parseInt(str[1])",
"y",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(x == 0 && y == 0) break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"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",
"sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\")",
"sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append",
"sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y))",
"sb.append(Integer.toString(x)).append(\" \").append",
"sb.append(Integer.toString(x)).append(\" \")",
"sb.append(Integer.toString(x)).append",
"sb.append(Integer.toString(x))",
"sb.append",
"sb",
"Integer.toString(x)",
"Integer.toString",
"Integer",
"x",
"\" \"",
"Integer.toString(y)",
"Integer.toString",
"Integer",
"y",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x,y,temp;\n while(true){\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x,y,temp;\n while(true){\n String str[] = br.readLine().split(\" \");\n x = Integer.parseInt(str[0]);\n y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) break;\n if(x > y){\n temp = y;\n y = x;\n x = temp;\n }\n sb.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int x,y,temp;
while(true){
String str[] = br.readLine().split(" ");
x = Integer.parseInt(str[0]);
y = Integer.parseInt(str[1]);
if(x == 0 && y == 0) break;
if(x > y){
temp = y;
y = x;
x = temp;
}
sb.append(Integer.toString(x)).append(" ").append(Integer.toString(y)).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
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,
13,
41,
13,
20,
17,
42,
2,
4,
18,
13,
17,
17,
30,
0,
13,
4,
18,
13,
17,
14,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
110,
14
],
[
110,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
28,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
48,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
55,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
55,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
48,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
28,
104
],
[
104,
105
],
[
105,
106
],
[
15,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n } catch (IOException e) {\n System.err.println(e);\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.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }",
"main",
"{\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }",
"try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }",
"catch (IOException e) {\n System.err.println(e);\n }",
"IOException e",
"{\n System.err.println(e);\n }",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n }",
"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[] strArray = new String[2];",
"strArray",
"new String[2]",
"2",
"while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }",
"line.equals(\"0 0\") == false",
"line.equals(\"0 0\")",
"line.equals",
"line",
"\"0 0\"",
"false",
"{\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }",
"strArray = line.split(\"\\\\s\")",
"strArray",
"line.split(\"\\\\s\")",
"line.split",
"line",
"\"\\\\s\"",
"if(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}",
"Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"{\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}",
"System.out.println(strArray[1] + \" \" + strArray[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"strArray[1] + \" \" + strArray[0]",
"strArray[1] + \" \" + strArray[0]",
"strArray[1]",
"strArray",
"1",
"\" \"",
"strArray[0]",
"strArray",
"0",
"{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}",
"System.out.println(strArray[0] + \" \" + strArray[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"strArray[0] + \" \" + strArray[1]",
"strArray[0] + \" \" + strArray[1]",
"strArray[0]",
"strArray",
"0",
"\" \"",
"strArray[1]",
"strArray",
"1",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] strArray = new String[2];\n \n while(line.equals(\"0 0\") == false){\n \tstrArray = line.split(\"\\\\s\");\n \tif(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){\n \t\tSystem.out.println(strArray[1] + \" \" + strArray[0]);\n \t}else{\n \t\tSystem.out.println(strArray[0] + \" \" + strArray[1]);\n \t}\n \t\n line = br.readLine();\n }\n br.close();\n } catch (IOException e) {\n System.err.println(e);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
String[] strArray = new String[2];
while(line.equals("0 0") == false){
strArray = line.split("\\s");
if(Integer.parseInt(strArray[0]) > Integer.parseInt(strArray[1])){
System.out.println(strArray[1] + " " + strArray[0]);
}else{
System.out.println(strArray[0] + " " + strArray[1]);
}
line = br.readLine();
}
br.close();
} catch (IOException e) {
System.err.println(e);
}
}
} |
[
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
135,
11
],
[
135,
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
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
45,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
69,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
91,
91
],
[
91,
92
],
[
91,
93
],
[
91,
94
],
[
68,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
68,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
68,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
68,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
68,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
121,
122
],
[
121,
123
],
[
68,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
129,
131
],
[
12,
132
],
[
132,
133
],
[
0,
134
],
[
134,
135
],
[
134,
136
]
] | [
"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 str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tfor(int i = 0; i<3000; i++){\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tfor(int i = 0; i<3000; i++){\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\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 str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tfor(int i = 0; i<3000; i++){\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tfor(int i = 0; i<3000; i++){\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\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 str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String strArray[] = str.split(\" \");",
"strArray",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int a = Integer.parseInt(strArray[0]);",
"a",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"int b = Integer.parseInt(strArray[1]);",
"b",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"for(int i = 0; i<3000; i++){\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}\n\t\t}",
"if(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}",
"if(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}",
"a<b",
"a",
"b",
"{\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"strArray[0] = null",
"strArray[0]",
"strArray",
"0",
"null",
"strArray[1] = null",
"strArray[1]",
"strArray",
"1",
"null",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"strArray = str.split(\" \")",
"strArray",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a = Integer.parseInt(strArray[0])",
"a",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"b = Integer.parseInt(strArray[1])",
"b",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"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 str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tfor(int i = 0; i<3000; i++){\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}\n\t\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 str = br.readLine();\n\t\tString strArray[] = str.split(\" \");\n\n\t\tint a = Integer.parseInt(strArray[0]);\n\t\tint b = Integer.parseInt(strArray[1]);\n\t\tfor(int i = 0; i<3000; i++){\n\t\t\tif(a==0 && b==0){\n\t\t\t\tbreak;\n\t\t\t}else{\n\t\tif(a<b){\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}else{\n\t\t\tSystem.out.println(b + \" \" + a);\n\t\t}\n\t\tstrArray[0] = null;\n\t\tstrArray[1] = null;\n\t\tstr = br.readLine();\n\t\tstrArray = str.split(\" \");\n\t\t a = Integer.parseInt(strArray[0]);\n\t\tb = Integer.parseInt(strArray[1]);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String strArray[] = str.split(" ");
int a = Integer.parseInt(strArray[0]);
int b = Integer.parseInt(strArray[1]);
for(int i = 0; i<3000; i++){
if(a==0 && b==0){
break;
}else{
if(a<b){
System.out.println(a + " " + b);
}else{
System.out.println(b + " " + a);
}
strArray[0] = null;
strArray[1] = null;
str = br.readLine();
strArray = str.split(" ");
a = Integer.parseInt(strArray[0]);
b = Integer.parseInt(strArray[1]);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
40,
13,
12,
13,
30,
41,
13,
20,
4,
18,
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
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
17,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
17,
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
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
17,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
17,
67
],
[
67,
68
],
[
81,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
69,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"Main",
"private void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}",
"calc",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"short i=1;",
"i",
"1",
"while(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}",
"int x=scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int y=scanner.nextInt();",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int temp;",
"temp",
"if(x==0 && y==0)break;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"if(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}",
"y<x",
"y",
"x",
"{\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}",
"temp=x",
"temp",
"x",
"x=y",
"x",
"y",
"y=temp",
"y",
"temp",
"System.out.print(x+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"x+\" \"",
"x",
"\" \"",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"i++",
"i",
"public static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}",
"main",
"{\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}",
"Main run =new Main();",
"run",
"new Main()",
"run.calc()",
"run.calc",
"run",
"String[] args",
"args",
"public class Main {\n\t\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"public class Main {\n\t\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tshort i=1;\n\t\twhile(true){\n\t\t\tint x=scanner.nextInt();\n\t\t\tint y=scanner.nextInt();\n\t\t\tint temp;\n\t\t\t\n\t\t\tif(x==0 && y==0)break;\n\t\t\t\n\t\t\tif(y<x){\n\t\t\t\ttemp=x;\n\t\t\t\tx=y;\n\t\t\t\ty=temp;\n\t\t\t}\n\t\t\tSystem.out.print(x+\" \");\n\t\t\tSystem.out.println(y);\n\t\t\ti++;\n\t\t\t\n\t\t}\n\t\t\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private void calc(){
Scanner scanner = new Scanner(System.in);
short i=1;
while(true){
int x=scanner.nextInt();
int y=scanner.nextInt();
int temp;
if(x==0 && y==0)break;
if(y<x){
temp=x;
x=y;
y=temp;
}
System.out.print(x+" ");
System.out.println(y);
i++;
}
}
public static void main(String[] args) {
Main run =new Main();
run.calc();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
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
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
21,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
21,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
]
] | [
"import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String args[]){\n\tScanner scan = new Scanner(System.in);\n\tint i = 1;\n\tint x,y;\n\t\tdo{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x < y){\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(true);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String args[]){\n\tScanner scan = new Scanner(System.in);\n\tint i = 1;\n\tint x,y;\n\t\tdo{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x < y){\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(true);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\tScanner scan = new Scanner(System.in);\n\tint i = 1;\n\tint x,y;\n\t\tdo{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x < y){\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(true);\n\t}",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint i = 1;\n\tint x,y;\n\t\tdo{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x < y){\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(true);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"int x",
"x",
"y;",
"y",
"do{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x < y){\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\ti++;\n\t\t}while(true);",
"true",
"{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x < y){\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x < y){\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"x < y",
"x",
"y",
"{\t\n\t\t\t\tSystem.out.println(x + \" \" + y);\t\t\t\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"i++",
"i",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
int i = 1;
int x,y;
do{
x = scan.nextInt();
y = scan.nextInt();
if(x == 0 && y == 0){
break;
}
if(x < y){
System.out.println(x + " " + y);
}
else{
System.out.println(y + " " + x);
}
i++;
}while(true);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
34,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
4,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
58,
64
],
[
64,
65
]
] | [
"import java.util.*;\nclass Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\twhile(true){\n\t int x=sc.nextInt();\n\t int y=sc.nextInt();\n\t if(x==0&&y==0)break;\n\t if(x<y)System.out.println(x+\" \"+y);\n\t else System.out.println(y+\" \"+x);\n\t}\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n Scanner sc=new Scanner(System.in);\n void main(){\n\twhile(true){\n\t int x=sc.nextInt();\n\t int y=sc.nextInt();\n\t if(x==0&&y==0)break;\n\t if(x<y)System.out.println(x+\" \"+y);\n\t else System.out.println(y+\" \"+x);\n\t}\n }\n public static void main(String[]ag){\n\tnew Main().main();\n }\n}",
"Main",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"void main(){\n\twhile(true){\n\t int x=sc.nextInt();\n\t int y=sc.nextInt();\n\t if(x==0&&y==0)break;\n\t if(x<y)System.out.println(x+\" \"+y);\n\t else System.out.println(y+\" \"+x);\n\t}\n }",
"main",
"{\n\twhile(true){\n\t int x=sc.nextInt();\n\t int y=sc.nextInt();\n\t if(x==0&&y==0)break;\n\t if(x<y)System.out.println(x+\" \"+y);\n\t else System.out.println(y+\" \"+x);\n\t}\n }",
"while(true){\n\t int x=sc.nextInt();\n\t int y=sc.nextInt();\n\t if(x==0&&y==0)break;\n\t if(x<y)System.out.println(x+\" \"+y);\n\t else System.out.println(y+\" \"+x);\n\t}",
"true",
"{\n\t int x=sc.nextInt();\n\t int y=sc.nextInt();\n\t if(x==0&&y==0)break;\n\t if(x<y)System.out.println(x+\" \"+y);\n\t else System.out.println(y+\" \"+x);\n\t}",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y=sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0&&y==0)break;",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"if(x<y)System.out.println(x+\" \"+y);\n\t else System.out.println(y+\" \"+x);",
"x<y",
"x",
"y",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"public static void main(String[]ag){\n\tnew Main().main();\n }",
"main",
"{\n\tnew Main().main();\n }",
"new Main().main()",
"new Main().main",
"new Main()",
"String[]ag",
"ag"
] | import java.util.*;
class Main{
Scanner sc=new Scanner(System.in);
void main(){
while(true){
int x=sc.nextInt();
int y=sc.nextInt();
if(x==0&&y==0)break;
if(x<y)System.out.println(x+" "+y);
else System.out.println(y+" "+x);
}
}
public static void main(String[]ag){
new Main().main();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
40,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
50,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
62,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
82,
82
],
[
82,
83
],
[
82,
84
],
[
82,
85
],
[
23,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString ans = \"\";\n\t\tint a, b;\n\t\twhile(scan.hasNext()){\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\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\tString ans = \"\";\n\t\tint a, b;\n\t\twhile(scan.hasNext()){\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString ans = \"\";\n\t\tint a, b;\n\t\twhile(scan.hasNext()){\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString ans = \"\";\n\t\tint a, b;\n\t\twhile(scan.hasNext()){\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"String ans = \"\";",
"ans",
"\"\"",
"int a",
"a",
"b;",
"b",
"while(scan.hasNext()){\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\n\t\t}",
"a = Integer.parseInt(scan.next())",
"a",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"b = Integer.parseInt(scan.next())",
"b",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}",
"a < b",
"a",
"b",
"{\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}",
"ans = a + \" \" + b",
"ans",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}",
"b < a",
"b",
"a",
"{\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}",
"ans = b + \" \" + a",
"ans",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}",
"a == b",
"a",
"b",
"{\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}",
"ans = a + \" \" + b",
"ans",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString ans = \"\";\n\t\tint a, b;\n\t\twhile(scan.hasNext()){\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\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\tString ans = \"\";\n\t\tint a, b;\n\t\twhile(scan.hasNext()){\n\t\t\t//scan.useDelimiter(\" |\\n\");\n\t\t\ta = Integer.parseInt(scan.next());\n\t\t\tb = Integer.parseInt(scan.next());\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(a < b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}else if(b < a){\n\t\t\t\tans = b + \" \" + a;\n\t\t\t}else if(a == b){\n\t\t\t\tans = a + \" \" + b;\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\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);
String ans = "";
int a, b;
while(scan.hasNext()){
//scan.useDelimiter(" |\n");
a = Integer.parseInt(scan.next());
b = Integer.parseInt(scan.next());
if(a == 0 && b == 0){
break;
}else if(a < b){
ans = a + " " + b;
}else if(b < a){
ans = b + " " + a;
}else if(a == b){
ans = a + " " + b;
}
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
0,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
4,
18,
13,
3,
30,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
127,
8
],
[
127,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
22,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
22,
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
],
[
56,
57
],
[
57,
58
],
[
55,
59
],
[
43,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
11,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
79,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
86,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
9,
124
],
[
124,
125
],
[
0,
126
],
[
126,
127
],
[
126,
128
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"ArrayList<Integer[]> list = new ArrayList<Integer[]>();",
"list",
"new ArrayList<Integer[]>()",
"while(scan.hasNext()){\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}",
"Integer ary[];",
"ary",
"ary = new Integer[2]",
"ary",
"new Integer[2]",
"2",
"ary[0] = scan.nextInt()",
"ary[0]",
"ary",
"0",
"scan.nextInt()",
"scan.nextInt",
"scan",
"ary[1] = scan.nextInt()",
"ary[1]",
"ary",
"1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}",
"ary[0] == 0 && ary[1] == 0",
"ary[0] == 0",
"ary[0]",
"ary",
"0",
"0",
"ary[1] == 0",
"ary[1]",
"ary",
"1",
"0",
"{\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"break;",
"{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}",
"list.add(ary)",
"list.add",
"list",
"ary",
"for(int i = 0; i < list.size(); i++){\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}",
"{\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}",
"Integer[] ary = list.get(i);",
"ary",
"list.get(i)",
"list.get",
"list",
"i",
"if(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}",
"ary[0] < ary[1]",
"ary[0]",
"ary",
"0",
"ary[1]",
"ary",
"1",
"{\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}",
"System.out.println( ary[0] + \" \" + ary[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"ary[0] + \" \" + ary[1]",
"ary[0] + \" \" + ary[1]",
"ary[0]",
"ary",
"0",
"\" \"",
"ary[1]",
"ary",
"1",
"{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}",
"System.out.println( ary[1] + \" \" + ary[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"ary[1] + \" \" + ary[0]",
"ary[1] + \" \" + ary[0]",
"ary[1]",
"ary",
"1",
"\" \"",
"ary[0]",
"ary",
"0",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//System.out.println(\"??\\???>>\");\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer[]> list = new ArrayList<Integer[]>();\n\n\n\n\t\twhile(scan.hasNext()){\n\n\t\t\tInteger ary[];\n\t\t\tary = new Integer[2];\n\t\t\tary[0] = scan.nextInt();\n\t\t\tary[1] = scan.nextInt();\n\n\t\t\tif(ary[0] == 0 && ary[1] == 0 ){\n\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else{\n\n\t\t\t\tlist.add(ary);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < list.size(); i++){\n\n\t\t\tInteger[] ary = list.get(i);\n\n\t\t\tif(ary[0] < ary[1]){\n\n\t\t\t\tSystem.out.println( ary[0] + \" \" + ary[1]);\n\t\t\t}else{\n\n\t\t\t\tSystem.out.println( ary[1] + \" \" + ary[0]);\n\t\t\t}\n\n\t\t\t//System.out.println(\"ary[0]:\" + ary[0] + \"ary[1]:\" + ary[1]);\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
//System.out.println("??\???>>");
Scanner scan = new Scanner(System.in);
ArrayList<Integer[]> list = new ArrayList<Integer[]>();
while(scan.hasNext()){
Integer ary[];
ary = new Integer[2];
ary[0] = scan.nextInt();
ary[1] = scan.nextInt();
if(ary[0] == 0 && ary[1] == 0 ){
scan.close();
break;
}else{
list.add(ary);
}
}
for(int i = 0; i < list.size(); i++){
Integer[] ary = list.get(i);
if(ary[0] < ary[1]){
System.out.println( ary[0] + " " + ary[1]);
}else{
System.out.println( ary[1] + " " + ary[0]);
}
//System.out.println("ary[0]:" + ary[0] + "ary[1]:" + ary[1]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
77,
14
],
[
77,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
45,
49
],
[
37,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
50,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
15,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(input);\n\t\t\n\t while(true){\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}\n\t }\n\t \t\n\t}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(input);\n\t\t\n\t while(true){\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}\n\t }\n\t \t\n\t}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(input);\n\t\t\n\t while(true){\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}\n\t }",
"main",
"{\n\t\t\t\t\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(input);\n\t\t\n\t while(true){\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}\n\t }",
"BufferedReader input=new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"Scanner sc = new Scanner(input);",
"sc",
"new Scanner(input)",
"while(true){\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}",
"true",
"{\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);",
"a==0&&b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"{sc.close();break;}",
"sc.close()",
"sc.close",
"sc",
"break;",
"if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);",
"a<b",
"a",
"b",
"System.out.println(a+\" \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+\" \"+b",
"a+\" \"+b",
"a",
"\" \"",
"b",
"System.out.println(b+\" \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b+\" \"+a",
"b+\" \"+a",
"b",
"\" \"",
"a",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(input);\n\t\t\n\t while(true){\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}\n\t }\n\t \t\n\t}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\t\t\t\n\t\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner sc = new Scanner(input);\n\t\t\n\t while(true){\n\t \tint a=sc.nextInt();\n\t \tint b=sc.nextInt();\n\t \tif(a==0&&b==0){sc.close();break;}\n\t \telse if(a<b)System.out.println(a+\" \"+b);\n\t \telse System.out.println(b+\" \"+a);\n\t \t}\n\t }\n\t \t\n\t}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
Scanner sc = new Scanner(input);
while(true){
int a=sc.nextInt();
int b=sc.nextInt();
if(a==0&&b==0){sc.close();break;}
else if(a<b)System.out.println(a+" "+b);
else System.out.println(b+" "+a);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
2,
0,
13,
4,
18,
13,
17,
40,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
85,
11
],
[
85,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
20,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
34,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
34,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
34,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
58,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
78,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
12,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while( ((line = br.readLine()) != null) && !(line.equals(\"0 0\"))){\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while( ((line = br.readLine()) != null) && !(line.equals(\"0 0\"))){\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while( ((line = br.readLine()) != null) && !(line.equals(\"0 0\"))){\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while( ((line = br.readLine()) != null) && !(line.equals(\"0 0\"))){\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\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.equals(\"0 0\"))){\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }",
"((line = br.readLine()) != null) && !(line.equals(\"0 0\"))",
"((line = br.readLine()) != null)",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"!(line.equals(\"0 0\"))",
"(line.equals(\"0 0\"))",
"line.equals",
"line",
"\"0 0\"",
"{\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }",
"String[] input = line.split(\" \" , 2);",
"input",
"line.split(\" \" , 2)",
"line.split",
"line",
"\" \"",
"2",
"int a = Integer.valueOf(input[0]);",
"a",
"Integer.valueOf(input[0])",
"Integer.valueOf",
"Integer",
"input[0]",
"input",
"0",
"int b = Integer.valueOf(input[1]);",
"b",
"Integer.valueOf(input[1])",
"Integer.valueOf",
"Integer",
"input[1]",
"input",
"1",
"if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);",
"a > b",
"a",
"b",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while( ((line = br.readLine()) != null) && !(line.equals(\"0 0\"))){\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }\n}",
"public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n while( ((line = br.readLine()) != null) && !(line.equals(\"0 0\"))){\n String[] input = line.split(\" \" , 2);\n int a = Integer.valueOf(input[0]);\n int b = Integer.valueOf(input[1]);\n if(a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }\n}",
"Main"
] | import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line;
while( ((line = br.readLine()) != null) && !(line.equals("0 0"))){
String[] input = line.split(" " , 2);
int a = Integer.valueOf(input[0]);
int b = Integer.valueOf(input[1]);
if(a > b) System.out.println(b + " " + a);
else System.out.println(a + " " + b);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
13,
17,
4,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
59,
8
],
[
59,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
17,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
44,
50
],
[
44,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
51,
55
],
[
9,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
] | [
"import java.util.Arrays;\nimport 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\t\n\t\twhile(true){\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}\n\t\t\n\t\t\n\t}\n\t\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}\n\t\t\n\t\t\n\t}\n\t\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}\n\t\t\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}",
"true",
"{\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}",
"final long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"final long b = sc.nextLong();",
"b",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(Math.min(a, b) + \" \" + Math.max(a, b))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(a, b) + \" \" + Math.max(a, b)",
"Math.min(a, b) + \" \" + Math.max(a, b)",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"\" \"",
"Math.max(a, b)",
"Math.max",
"Math",
"a",
"b",
"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\t\n\t\twhile(true){\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}\n\t\t\n\t\t\n\t}\n\t\n}",
"public class Main {\n\t\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile(true){\n\t\t\tfinal long a = sc.nextLong();\n\t\t\tfinal long b = sc.nextLong();\n\t\t\t\n\t\t\tif(a == 0 && b == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Math.min(a, b) + \" \" + Math.max(a, b));\n\t\t}\n\t\t\n\t\t\n\t}\n\t\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);
while(true){
final long a = sc.nextLong();
final long b = sc.nextLong();
if(a == 0 && b == 0){
break;
}
System.out.println(Math.min(a, b) + " " + Math.max(a, b));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
23,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
65,
72
],
[
72,
73
],
[
72,
74
],
[
23,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
79,
85
],
[
77,
86
],
[
75,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
6,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.io.*;\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n int x,y,tmp;\n while(true){\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n int x,y,tmp;\n while(true){\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n int x,y,tmp;\n while(true){\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n int x,y,tmp;\n while(true){\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"int x",
"x",
"y",
"y",
"tmp;",
"tmp",
"while(true){\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }",
"true",
"{\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }",
"String str=buf.readLine();",
"str",
"buf.readLine()",
"buf.readLine",
"buf",
"String[] yuu=str.split(\" \");",
"yuu",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"x=Integer.parseInt(yuu[0])",
"x",
"Integer.parseInt(yuu[0])",
"Integer.parseInt",
"Integer",
"yuu[0]",
"yuu",
"0",
"y=Integer.parseInt(yuu[1])",
"y",
"Integer.parseInt(yuu[1])",
"Integer.parseInt",
"Integer",
"yuu[1]",
"yuu",
"1",
"if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n break;\n }",
"break;",
"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",
"sb.append(x).append(\" \").append(y).append(\"\\n\")",
"sb.append(x).append(\" \").append(y).append",
"sb.append(x).append(\" \").append(y)",
"sb.append(x).append(\" \").append",
"sb.append(x).append(\" \")",
"sb.append(x).append",
"sb.append(x)",
"sb.append",
"sb",
"x",
"\" \"",
"y",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n int x,y,tmp;\n while(true){\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb=new StringBuilder();\n int x,y,tmp;\n while(true){\n String str=buf.readLine();\n String[] yuu=str.split(\" \");\n \n x=Integer.parseInt(yuu[0]);\n y=Integer.parseInt(yuu[1]);\n \n if(x==0 && y==0){\n break;\n }else if(x>y){\n tmp=x;\n x=y;\n y=tmp;\n }\n sb.append(x).append(\" \").append(y).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb=new StringBuilder();
int x,y,tmp;
while(true){
String str=buf.readLine();
String[] yuu=str.split(" ");
x=Integer.parseInt(yuu[0]);
y=Integer.parseInt(yuu[1]);
if(x==0 && y==0){
break;
}else if(x>y){
tmp=x;
x=y;
y=tmp;
}
sb.append(x).append(" ").append(y).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
42,
43
],
[
23,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
44,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
66,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
9,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = 1;\n\t\tint y = 1;\n\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}\n\t}\n\n}\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = 1;\n\t\tint y = 1;\n\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = 1;\n\t\tint y = 1;\n\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}\n\t}",
"main",
"{\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = 1;\n\t\tint y = 1;\n\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = 1;",
"x",
"1",
"int y = 1;",
"y",
"1",
"while(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}",
"true",
"{\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = 1;\n\t\tint y = 1;\n\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint x = 1;\n\t\tint y = 1;\n\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\n\t\t\t//xが0のとき、終了\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\t//処理 xとyを小大の順で並べる\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\n\t\t}\n\t}\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 = 1;
int y = 1;
while(true) {
x = sc.nextInt();
y = sc.nextInt();
//xが0のとき、終了
if(x == 0 && y == 0) {
break;
}
//処理 xとyを小大の順で並べる
if(x > y) {
System.out.println(y + " " + x);
}else {
System.out.println(x + " " + y);
}
}
}
}
|
[
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,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
37,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
36,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
36,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=Integer.parseInt(sc.next());\n\t\tint y=Integer.parseInt(sc.next());\n\t\twhile(x!=0 || y!=0){\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=Integer.parseInt(sc.next());\n\t\tint y=Integer.parseInt(sc.next());\n\t\twhile(x!=0 || y!=0){\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=Integer.parseInt(sc.next());\n\t\tint y=Integer.parseInt(sc.next());\n\t\twhile(x!=0 || y!=0){\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}\n\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=Integer.parseInt(sc.next());\n\t\tint y=Integer.parseInt(sc.next());\n\t\twhile(x!=0 || y!=0){\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x=Integer.parseInt(sc.next());",
"x",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int y=Integer.parseInt(sc.next());",
"y",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"while(x!=0 || y!=0){\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}",
"if(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);",
"x<y",
"x",
"y",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"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",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=Integer.parseInt(sc.next());\n\t\tint y=Integer.parseInt(sc.next());\n\t\twhile(x!=0 || y!=0){\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x=Integer.parseInt(sc.next());\n\t\tint y=Integer.parseInt(sc.next());\n\t\twhile(x!=0 || y!=0){\n\t\t\tif(x<y) System.out.println(x+\" \"+y);\n\t\t\telse System.out.println(y+\" \"+x);\n\t\t\tx=Integer.parseInt(sc.next());\n\t\t\ty=Integer.parseInt(sc.next());\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
int x=Integer.parseInt(sc.next());
int y=Integer.parseInt(sc.next());
while(x!=0 || y!=0){
if(x<y) System.out.println(x+" "+y);
else System.out.println(y+" "+x);
x=Integer.parseInt(sc.next());
y=Integer.parseInt(sc.next());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
3,
30,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
123,
11
],
[
123,
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
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
24,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
59,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
72,
74
],
[
59,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
59,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
96,
103
],
[
103,
104
],
[
103,
105
],
[
91,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
112,
112
],
[
112,
113
],
[
112,
114
],
[
112,
115
],
[
83,
116
],
[
116,
117
],
[
55,
118
],
[
118,
119
],
[
12,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint inty = 0;\n\t\tint intWork = 0;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint inty = 0;\n\t\tint intWork = 0;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint inty = 0;\n\t\tint intWork = 0;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}",
"main",
"{\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint inty = 0;\n\t\tint intWork = 0;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}",
"int intx = 0;",
"intx",
"0",
"int inty = 0;",
"inty",
"0",
"int intWork = 0;",
"intWork",
"0",
"try {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}",
"catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}",
"IOException e1",
"{\n\t\t\tSystem.out.println(e1);\n\t\t}",
"System.out.println(e1)",
"System.out.println",
"System.out",
"System",
"System.out",
"e1",
"catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}",
"NumberFormatException e2",
"{\n\t\t\tSystem.out.println(e2);\n\t\t}",
"System.out.println(e2)",
"System.out.println",
"System.out",
"System",
"System.out",
"e2",
"{\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"String strLine = br.readLine();",
"strLine",
"br.readLine()",
"br.readLine",
"br",
"if (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"strLine != null",
"strLine",
"null",
"{\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}",
"String[] strNumList = strLine.split(\" \", 0);",
"strNumList",
"strLine.split(\" \", 0)",
"strLine.split",
"strLine",
"\" \"",
"0",
"intx = Integer.parseInt(strNumList[0])",
"intx",
"Integer.parseInt(strNumList[0])",
"Integer.parseInt",
"Integer",
"strNumList[0]",
"strNumList",
"0",
"inty = Integer.parseInt(strNumList[1])",
"inty",
"Integer.parseInt(strNumList[1])",
"Integer.parseInt",
"Integer",
"strNumList[1]",
"strNumList",
"1",
"if(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"intx != 0 || inty != 0",
"intx != 0",
"intx",
"0",
"inty != 0",
"inty",
"0",
"{\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}",
"if (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}",
"intx > inty",
"intx",
"inty",
"{\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}",
"intWork = intx",
"intWork",
"intx",
"intx = inty",
"intx",
"inty",
"inty = intWork",
"inty",
"intWork",
"System.out.println(intx + \" \" + inty)",
"System.out.println",
"System.out",
"System",
"System.out",
"intx + \" \" + inty",
"intx + \" \" + inty",
"intx",
"\" \"",
"inty",
"{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"break;",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint inty = 0;\n\t\tint intWork = 0;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t//?????£?????????\n\t\tint intx = 0;\n\t\tint inty = 0;\n\t\tint intWork = 0;\n\n\t\ttry {\n\t\t\t//??\\????????????\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\twhile (true) {\n\t\t\t\tString strLine = br.readLine();\n\n\t\t\t\tif (strLine != null) {\n\t\t\t\t\tString[] strNumList = strLine.split(\" \", 0);\n\n\t\t\t\t\tintx = Integer.parseInt(strNumList[0]);\n\t\t\t\t\tinty = Integer.parseInt(strNumList[1]);\n\n\t\t\t\t\tif(intx != 0 || inty != 0){\n\t\t\t\t\t\tif (intx > inty) {\n\t\t\t\t\t\t\tintWork = intx;\n\t\t\t\t\t\t\tintx = inty;\n\t\t\t\t\t\t\tinty = intWork;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tSystem.out.println(intx + \" \" + inty);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}else {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}catch(IOException e1){\n\t\t\tSystem.out.println(e1);\n\t\t}catch (NumberFormatException e2) {\n\t\t\tSystem.out.println(e2);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
//?????£?????????
int intx = 0;
int inty = 0;
int intWork = 0;
try {
//??\????????????
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String strLine = br.readLine();
if (strLine != null) {
String[] strNumList = strLine.split(" ", 0);
intx = Integer.parseInt(strNumList[0]);
inty = Integer.parseInt(strNumList[1]);
if(intx != 0 || inty != 0){
if (intx > inty) {
intWork = intx;
intx = inty;
inty = intWork;
}
System.out.println(intx + " " + inty);
}else{
break;
}
}else {
break;
}
}
}catch(IOException e1){
System.out.println(e1);
}catch (NumberFormatException e2) {
System.out.println(e2);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
8,
2,
13,
13,
13,
13,
17,
4,
18,
13,
8,
2,
13,
13,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
65,
70
],
[
57,
71
],
[
55,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
75,
80
],
[
53,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
]
] | [
"import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString line[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\t\t\t\t\n\t\t\tint y = Integer.parseInt(line[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString line[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\t\t\t\t\n\t\t\tint y = Integer.parseInt(line[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString line[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\t\t\t\t\n\t\t\tint y = Integer.parseInt(line[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString line[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\t\t\t\t\n\t\t\tint y = Integer.parseInt(line[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tString line[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\t\t\t\t\n\t\t\tint y = Integer.parseInt(line[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString line[] = br.readLine().split(\" \");\n\t\t\tint x = Integer.parseInt(line[0]);\t\t\t\t\n\t\t\tint y = Integer.parseInt(line[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}\n\t\t}",
"String line[] = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"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",
"if(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tsb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\");\n\t\t\t}",
"sb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append(\"\\n\")",
"sb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x)).append",
"sb.append(Integer.toString(x < y ? x : y)).append(\" \").append(Integer.toString(x < y ? y : x))",
"sb.append(Integer.toString(x < y ? x : y)).append(\" \").append",
"sb.append(Integer.toString(x < y ? x : y)).append(\" \")",
"sb.append(Integer.toString(x < y ? x : y)).append",
"sb.append(Integer.toString(x < y ? x : y))",
"sb.append",
"sb",
"Integer.toString(x < y ? x : y)",
"Integer.toString",
"Integer",
"x < y ? x : y",
"x < y",
"x",
"y",
"x",
"y",
"\" \"",
"Integer.toString(x < y ? y : x)",
"Integer.toString",
"Integer",
"x < y ? y : x",
"x < y",
"x",
"y",
"y",
"x",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
String line[] = br.readLine().split(" ");
int x = Integer.parseInt(line[0]);
int y = Integer.parseInt(line[1]);
if(x == 0 && y == 0){
break;
}
else{
sb.append(Integer.toString(x < y ? x : y)).append(" ").append(Integer.toString(x < y ? y : x)).append("\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
13,
17,
4,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
42,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
6,
54
],
[
54,
55
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\t\t\t\n\t\t\tif(num1 == 0 && num2 == 0){\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\n\t\t\t}\n\t\t}\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\twhile(true){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\t\t\t\n\t\t\tif(num1 == 0 && num2 == 0){\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\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\twhile(true){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\t\t\t\n\t\t\tif(num1 == 0 && num2 == 0){\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\t\t\t\n\t\t\tif(num1 == 0 && num2 == 0){\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\t\t\t\n\t\t\tif(num1 == 0 && num2 == 0){\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\t\t\t\n\t\t\tif(num1 == 0 && num2 == 0){\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\n\t\t\t}\n\t\t}",
"int num1 = scan.nextInt();",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int num2 = scan.nextInt();",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(num1 == 0 && num2 == 0){\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\n\t\t\t}",
"num1 == 0 && num2 == 0",
"num1 == 0",
"num1",
"0",
"num2 == 0",
"num2",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t\t\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2));\n\t\t\t}",
"System.out.println(Math.min(num1,num2) + \" \" + Math.max(num1,num2))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(num1,num2) + \" \" + Math.max(num1,num2)",
"Math.min(num1,num2) + \" \" + Math.max(num1,num2)",
"Math.min(num1,num2)",
"Math.min",
"Math",
"num1",
"num2",
"\" \"",
"Math.max(num1,num2)",
"Math.max",
"Math",
"num1",
"num2",
"String args[]",
"args"
] | import java.util.*;
class Main{
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
while(true){
int num1 = scan.nextInt();
int num2 = scan.nextInt();
if(num1 == 0 && num2 == 0){
break;
}
else{
System.out.println(Math.min(num1,num2) + " " + Math.max(num1,num2));
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
12,
13,
30,
4,
18,
20,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
39,
45
],
[
39,
46
],
[
34,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
47,
54
],
[
64,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main",
"void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}\n\t}",
"run",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}",
"true",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (x == 0 && y == 0) break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);",
"x < y",
"x",
"y",
"{\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t}",
"System.out.printf(\"%d %d\\n\", x, y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"x",
"y",
"System.out.printf(\"%d %d\\n\", y, x)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"y",
"x",
"public static void main(String[] args) {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\tif (x < y) {\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", x, y);\n\t\t\t} else System.out.printf(\"%d %d\\n\", y, x);\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().run();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run() {
Scanner scan = new Scanner(System.in);
while (true) {
int x = scan.nextInt();
int y = scan.nextInt();
if (x == 0 && y == 0) break;
if (x < y) {
System.out.printf("%d %d\n", x, y);
} else System.out.printf("%d %d\n", y, x);
}
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
22,
23
],
[
16,
24
],
[
25,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
25,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
45,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"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 int x,y;\n for(int count = 1; ;count++){\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x,y;\n for(int count = 1; ;count++){\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x,y;\n for(int count = 1; ;count++){\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n int x,y;\n for(int count = 1; ;count++){\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"for(int count = 1; ;count++){\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }",
"int count = 1;",
"int count = 1;",
"count",
"1",
"count++",
"count++",
"count",
"{\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }",
"{\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x == 0 && y == 0)\n \t \tbreak;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }",
"x < y",
"x",
"y",
"{\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n \t \t System.out.println(y + \" \" + x);\n\n \t }",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x,y;\n for(int count = 1; ;count++){\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n int x,y;\n for(int count = 1; ;count++){\n \tx = scan.nextInt();\n \t y = scan.nextInt();\n \t if(x == 0 && y == 0)\n \t \tbreak;\n\n\n \t if(x < y){\n\n \t \t System.out.println(x + \" \" + y);\n\n \t }else{\n \t \t System.out.println(y + \" \" + x);\n\n \t }\n }\n\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;
for(int count = 1; ;count++){
x = scan.nextInt();
y = scan.nextInt();
if(x == 0 && y == 0)
break;
if(x < y){
System.out.println(x + " " + y);
}else{
System.out.println(y + " " + x);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
13,
30,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
23,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
69,
71
],
[
23,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
78,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
9,
82
],
[
82,
83
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String[] args) throws Exception{\n int x,y,tmp;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true){\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n if(x==0 && x==y){\n break;\n }else if(x>y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(x+\" \"+y);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main{\n public static void main(String[] args) throws Exception{\n int x,y,tmp;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true){\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n if(x==0 && x==y){\n break;\n }else if(x>y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(x+\" \"+y);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n int x,y,tmp;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true){\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n if(x==0 && x==y){\n break;\n }else if(x>y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(x+\" \"+y);\n }\n }",
"main",
"{\n int x,y,tmp;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while (true){\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n if(x==0 && x==y){\n break;\n }else if(x>y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(x+\" \"+y);\n }\n }",
"int x",
"x",
"y",
"y",
"tmp;",
"tmp",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true){\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n if(x==0 && x==y){\n break;\n }else if(x>y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(x+\" \"+y);\n }",
"true",
"{\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n if(x==0 && x==y){\n break;\n }else if(x>y){\n tmp = x;\n x = y;\n y = tmp;\n }\n System.out.println(x+\" \"+y);\n }",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(line[0])",
"x",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"y = Integer.parseInt(line[1])",
"y",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"if(x==0 && x==y){\n break;\n }else if(x>y){\n tmp = x;\n x = y;\n y = tmp;\n }",
"x==0 && x==y",
"x==0",
"x",
"0",
"x==y",
"x",
"y",
"{\n break;\n }",
"break;",
"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(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main{
public static void main(String[] args) throws Exception{
int x,y,tmp;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true){
String[] line = br.readLine().split(" ");
x = Integer.parseInt(line[0]);
y = Integer.parseInt(line[1]);
if(x==0 && x==y){
break;
}else if(x>y){
tmp = x;
x = y;
y = tmp;
}
System.out.println(x+" "+y);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
41,
13,
8,
2,
13,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
37,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\n\t\twhile(true){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}\n\n\t\tscan.close();\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\n\n\t\twhile(true){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}\n\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\n\t\twhile(true){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}\n\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\n\t\twhile(true){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}\n\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}",
"true",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x==0 & y==0){break;}",
"x==0 & y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{break;}",
"break;",
"String result = x < y ? x + \" \" + y : y + \" \" + x;",
"result",
"x < y ? x + \" \" + y : y + \" \" + x",
"x < y",
"x",
"y",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"scan.close()",
"scan.close",
"scan",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\n\t\twhile(true){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}\n\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\n\n\t\twhile(true){\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif(x==0 & y==0){break;}\n\n\t\t\tString result = x < y ? x + \" \" + y : y + \" \" + x;\n\n\t\t\tSystem.out.println(result);\n\n\t\t}\n\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
while(true){
int x = scan.nextInt();
int y = scan.nextInt();
if(x==0 & y==0){break;}
String result = x < y ? x + " " + y : y + " " + x;
System.out.println(result);
}
scan.close();
}
} |
[
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,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
40,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
40,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
13,
18
],
[
9,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
26,
28
],
[
19,
29
],
[
29,
30
],
[
29,
31
],
[
19,
32
],
[
32,
33
],
[
32,
34
],
[
19,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
38,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
38,
66
],
[
66,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
68,
83
],
[
83,
84
],
[
83,
85
],
[
66,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
66,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
105,
105
],
[
105,
106
],
[
105,
107
],
[
105,
108
],
[
90,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
120,
120
],
[
120,
121
],
[
120,
122
],
[
120,
123
],
[
38,
124
],
[
124,
125
],
[
6,
126
],
[
126,
127
]
] | [
"import java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = 0;\n int y = 0;\n int cnt = 0;\n boolean end = false;\n \n while(!end){\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }\n \n\n } catch (Exception e) {\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = 0;\n int y = 0;\n int cnt = 0;\n boolean end = false;\n \n while(!end){\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }\n \n\n } catch (Exception e) {\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = 0;\n int y = 0;\n int cnt = 0;\n boolean end = false;\n \n while(!end){\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }\n \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 int x = 0;\n int y = 0;\n int cnt = 0;\n boolean end = false;\n \n while(!end){\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }\n \n\n } catch (Exception e) {\n System.out.println(e);\n }\n }",
"try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int x = 0;\n int y = 0;\n int cnt = 0;\n boolean end = false;\n \n while(!end){\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }\n \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 int x = 0;\n int y = 0;\n int cnt = 0;\n boolean end = false;\n \n while(!end){\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }\n \n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int x = 0;",
"x",
"0",
"int y = 0;",
"y",
"0",
"int cnt = 0;",
"cnt",
"0",
"boolean end = false;",
"end",
"false",
"while(!end){\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }",
"!end",
"end",
"{\n \tString temp = br.readLine();\n \tString[] numbers = temp.split(\" \");\n \tx = Integer.parseInt(numbers[0]);\n \ty = Integer.parseInt(numbers[1]);\n \t\n \tif((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}\n \tcnt++;\n }",
"String temp = br.readLine();",
"temp",
"br.readLine()",
"br.readLine",
"br",
"String[] numbers = temp.split(\" \");",
"numbers",
"temp.split(\" \")",
"temp.split",
"temp",
"\" \"",
"x = Integer.parseInt(numbers[0])",
"x",
"Integer.parseInt(numbers[0])",
"Integer.parseInt",
"Integer",
"numbers[0]",
"numbers",
"0",
"y = Integer.parseInt(numbers[1])",
"y",
"Integer.parseInt(numbers[1])",
"Integer.parseInt",
"Integer",
"numbers[1]",
"numbers",
"1",
"if((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){\n \t\tend = true;\n \t}else if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}",
"(x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000",
"(x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000",
"(x < 0 && y > 10000)",
"x < 0",
"x",
"0",
"y > 10000",
"y",
"10000",
"(x == 0 && y == 0)",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"cnt > 3000",
"cnt",
"3000",
"{\n \t\tend = true;\n \t}",
"end = true",
"end",
"true",
"if(x > y || x == y){\n \t\tSystem.out.println(y + \" \" + x);\n \t}else if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}",
"x > y || x == y",
"x > y",
"x",
"y",
"x == y",
"x",
"y",
"{\n \t\tSystem.out.println(y + \" \" + x);\n \t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"if(x < y){\n \t\tSystem.out.println(x + \" \" + y);\n \t}",
"x < y",
"x",
"y",
"{\n \t\tSystem.out.println(x + \" \" + y);\n \t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"cnt++",
"cnt",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = 0;
int y = 0;
int cnt = 0;
boolean end = false;
while(!end){
String temp = br.readLine();
String[] numbers = temp.split(" ");
x = Integer.parseInt(numbers[0]);
y = Integer.parseInt(numbers[1]);
if((x < 0 && y > 10000) || (x == 0 && y == 0) || cnt > 3000){
end = true;
}else if(x > y || x == y){
System.out.println(y + " " + x);
}else if(x < y){
System.out.println(x + " " + y);
}
cnt++;
}
} catch (Exception e) {
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
42,
17,
30,
4,
18,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
4,
13,
4,
18,
13,
13,
0,
18,
13,
13,
4,
18,
13,
4,
13,
4,
18,
13,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
14,
2,
2,
2,
18,
13,
13,
18,
13,
13,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
3,
0,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
29,
4,
18,
13,
2,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
14,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
37,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
37,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
71,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
70,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
98,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
98,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
126,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
136,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
136,
141
],
[
141,
142
],
[
141,
143
],
[
121,
144
],
[
144,
145
],
[
146,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
146,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
146,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
144,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
165,
170
],
[
171,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
171,
176
],
[
176,
177
],
[
176,
178
],
[
82,
179
],
[
37,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
12,
185
],
[
185,
186
],
[
10,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
189,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
197,
201
],
[
187,
202
],
[
202,
203
],
[
10,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
206,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
214,
217
],
[
217,
218
],
[
217,
219
],
[
204,
220
],
[
220,
221
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tArrayList<String> list1 = new ArrayList<String>();\n\t\tint[] list2 = new int[3001];\n\t\tint[] list3 = new int[3001];\n\t\tint i = 0;\n\t\twhile (true) {\n\t\t\tlist1.add(br.readLine());\n\n\t\t\tlist2[i] = Integer.parseInt(SubStringStart(list1.get(i)));//???????????°???\n\t\t\tlist3[i] = Integer.parseInt(SubStringEnd(list1.get(i)));//????°??????°???\n\t\t\tif (list2[i] == 0 && list3[i] == 0) {\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti = i + 1;\n\t\t}\n\t}\n\n\tpublic static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}\n\n\tpublic static String SubStringEnd(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}\n}\n//class Main {\n//\tpublic static void main(String[] args) throws Exception {\n//\t\tInputStreamReader is = new InputStreamReader(System.in);\n//\t\tBufferedReader br = new BufferedReader(is);\n//\n//\t\tString[] list1 = new String[3001];\n//\t\tint[] list2 = new int[3001];\n//\t\tint[] list3 = new int[3001];\n//\t\tint i = 0;\n//\t\twhile (true) {\n//\t\t\tlist1[i] = br.readLine();\n//\n//\t\t\tlist2[i] = Integer.parseInt(SubStringStart(list1[i]));//???????????°???\n//\t\t\tlist3[i] = Integer.parseInt(SubStringEnd(list1[i]));//????°??????°???\n//\t\t\tif (list2[i] == 0 || list3[i] == 0) {\n//\t\t\t\tfor (int k = 0; k < list1.length; k++) {\n//\t\t\t\t\tif (list2[k] > list3[k]) {\n//\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n//\t\t\t\t\t} else if(list2[k] < list3[k]){\n//\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n//\t\t\t\t\t}else if(list2[k] == list3[k]|| list2[k]!=0|| list3[k]!=0){\n//\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\ti = i + 1;\n//\t\t}\n//\t}\n//\n//\tpublic static String SubStringStart(String str) {\n//\t\tint index = str.indexOf(\" \");\n//\t\treturn (str.substring(0, index));\n//\t}\n//\n//\tpublic static String SubStringEnd(String str) {\n//\t\tint index = str.indexOf(\" \");\n//\t\treturn (str.substring(index + 1));\n//\t}\n//}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tArrayList<String> list1 = new ArrayList<String>();\n\t\tint[] list2 = new int[3001];\n\t\tint[] list3 = new int[3001];\n\t\tint i = 0;\n\t\twhile (true) {\n\t\t\tlist1.add(br.readLine());\n\n\t\t\tlist2[i] = Integer.parseInt(SubStringStart(list1.get(i)));//???????????°???\n\t\t\tlist3[i] = Integer.parseInt(SubStringEnd(list1.get(i)));//????°??????°???\n\t\t\tif (list2[i] == 0 && list3[i] == 0) {\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti = i + 1;\n\t\t}\n\t}\n\n\tpublic static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}\n\n\tpublic static String SubStringEnd(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tArrayList<String> list1 = new ArrayList<String>();\n\t\tint[] list2 = new int[3001];\n\t\tint[] list3 = new int[3001];\n\t\tint i = 0;\n\t\twhile (true) {\n\t\t\tlist1.add(br.readLine());\n\n\t\t\tlist2[i] = Integer.parseInt(SubStringStart(list1.get(i)));//???????????°???\n\t\t\tlist3[i] = Integer.parseInt(SubStringEnd(list1.get(i)));//????°??????°???\n\t\t\tif (list2[i] == 0 && list3[i] == 0) {\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti = i + 1;\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tArrayList<String> list1 = new ArrayList<String>();\n\t\tint[] list2 = new int[3001];\n\t\tint[] list3 = new int[3001];\n\t\tint i = 0;\n\t\twhile (true) {\n\t\t\tlist1.add(br.readLine());\n\n\t\t\tlist2[i] = Integer.parseInt(SubStringStart(list1.get(i)));//???????????°???\n\t\t\tlist3[i] = Integer.parseInt(SubStringEnd(list1.get(i)));//????°??????°???\n\t\t\tif (list2[i] == 0 && list3[i] == 0) {\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti = i + 1;\n\t\t}\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"ArrayList<String> list1 = new ArrayList<String>();",
"list1",
"new ArrayList<String>()",
"int[] list2 = new int[3001];",
"list2",
"new int[3001]",
"3001",
"int[] list3 = new int[3001];",
"list3",
"new int[3001]",
"3001",
"int i = 0;",
"i",
"0",
"while (true) {\n\t\t\tlist1.add(br.readLine());\n\n\t\t\tlist2[i] = Integer.parseInt(SubStringStart(list1.get(i)));//???????????°???\n\t\t\tlist3[i] = Integer.parseInt(SubStringEnd(list1.get(i)));//????°??????°???\n\t\t\tif (list2[i] == 0 && list3[i] == 0) {\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti = i + 1;\n\t\t}",
"true",
"{\n\t\t\tlist1.add(br.readLine());\n\n\t\t\tlist2[i] = Integer.parseInt(SubStringStart(list1.get(i)));//???????????°???\n\t\t\tlist3[i] = Integer.parseInt(SubStringEnd(list1.get(i)));//????°??????°???\n\t\t\tif (list2[i] == 0 && list3[i] == 0) {\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ti = i + 1;\n\t\t}",
"list1.add(br.readLine())",
"list1.add",
"list1",
"br.readLine()",
"br.readLine",
"br",
"list2[i] = Integer.parseInt(SubStringStart(list1.get(i)))",
"list2[i]",
"list2",
"i",
"Integer.parseInt(SubStringStart(list1.get(i)))",
"Integer.parseInt",
"Integer",
"SubStringStart(list1.get(i))",
"SubStringStart",
"list1.get(i)",
"list1.get",
"list1",
"i",
"list3[i] = Integer.parseInt(SubStringEnd(list1.get(i)))",
"list3[i]",
"list3",
"i",
"Integer.parseInt(SubStringEnd(list1.get(i)))",
"Integer.parseInt",
"Integer",
"SubStringEnd(list1.get(i))",
"SubStringEnd",
"list1.get(i)",
"list1.get",
"list1",
"i",
"if (list2[i] == 0 && list3[i] == 0) {\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}",
"list2[i] == 0 && list3[i] == 0",
"list2[i] == 0",
"list2[i]",
"list2",
"i",
"0",
"list3[i] == 0",
"list3[i]",
"list3",
"i",
"0",
"{\n\t\t\t\tfor (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}",
"for (int k = 0; k < list1.size(); k++) {\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}",
"int k = 0;",
"int k = 0;",
"k",
"0",
"k < list1.size()",
"k",
"list1.size()",
"list1.size",
"list1",
"k++",
"k++",
"k",
"{\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tif (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}\n\t\t\t\t}",
"if (list2[k] > list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t} else if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}",
"list2[k] > list3[k]",
"list2[k]",
"list2",
"k",
"list3[k]",
"list3",
"k",
"{\n\t\t\t\t\t\tSystem.out.println(list3[k] + \" \" + list2[k]);\n\t\t\t\t\t}",
"System.out.println(list3[k] + \" \" + list2[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"list3[k] + \" \" + list2[k]",
"list3[k] + \" \" + list2[k]",
"list3[k]",
"list3",
"k",
"\" \"",
"list2[k]",
"list2",
"k",
"if (list2[k] < list3[k]) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}",
"list2[k] < list3[k]",
"list2[k]",
"list2",
"k",
"list3[k]",
"list3",
"k",
"{\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}",
"System.out.println(list2[k] + \" \" + list3[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"list2[k] + \" \" + list3[k]",
"list2[k] + \" \" + list3[k]",
"list2[k]",
"list2",
"k",
"\" \"",
"list3[k]",
"list3",
"k",
"if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}",
"list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0",
"list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0",
"list2[k] == list3[k]",
"list2[k]",
"list2",
"k",
"list3[k]",
"list3",
"k",
"list2[k] != 0",
"list2[k]",
"list2",
"k",
"0",
"list3[k] != 0",
"list3[k]",
"list3",
"k",
"0",
"{\n\t\t\t\t\t\tSystem.out.println(list2[k] + \" \" + list3[k]);\n\t\t\t\t\t}",
"System.out.println(list2[k] + \" \" + list3[k])",
"System.out.println",
"System.out",
"System",
"System.out",
"list2[k] + \" \" + list3[k]",
"list2[k] + \" \" + list3[k]",
"list2[k]",
"list2",
"k",
"\" \"",
"list3[k]",
"list3",
"k",
"break;",
"i = i + 1",
"i",
"i + 1",
"i",
"1",
"String[] args",
"args",
"public static String SubStringStart(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}",
"SubStringStart",
"{\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(0, index));\n\t}",
"int index = str.indexOf(\" \");",
"index",
"str.indexOf(\" \")",
"str.indexOf",
"str",
"\" \"",
"return (str.substring(0, index));",
"(str.substring(0, index))",
"str.substring",
"str",
"0",
"index",
"String str",
"str",
"public static String SubStringEnd(String str) {\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}",
"SubStringEnd",
"{\n\t\tint index = str.indexOf(\" \");\n\t\treturn (str.substring(index + 1));\n\t}",
"int index = str.indexOf(\" \");",
"index",
"str.indexOf(\" \")",
"str.indexOf",
"str",
"\" \"",
"return (str.substring(index + 1));",
"(str.substring(index + 1))",
"str.substring",
"str",
"index + 1",
"index",
"1",
"String str",
"str"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
class Main {
public static void main(String[] args) throws Exception {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
ArrayList<String> list1 = new ArrayList<String>();
int[] list2 = new int[3001];
int[] list3 = new int[3001];
int i = 0;
while (true) {
list1.add(br.readLine());
list2[i] = Integer.parseInt(SubStringStart(list1.get(i)));//???????????°???
list3[i] = Integer.parseInt(SubStringEnd(list1.get(i)));//????°??????°???
if (list2[i] == 0 && list3[i] == 0) {
for (int k = 0; k < list1.size(); k++) {
if (list2[k] > list3[k]) {
System.out.println(list3[k] + " " + list2[k]);
} else if (list2[k] < list3[k]) {
System.out.println(list2[k] + " " + list3[k]);
} else if (list2[k] == list3[k] && list2[k] != 0 && list3[k] != 0) {
System.out.println(list2[k] + " " + list3[k]);
}
}
break;
}
i = i + 1;
}
}
public static String SubStringStart(String str) {
int index = str.indexOf(" ");
return (str.substring(0, index));
}
public static String SubStringEnd(String str) {
int index = str.indexOf(" ");
return (str.substring(index + 1));
}
}
//class Main {
// public static void main(String[] args) throws Exception {
// InputStreamReader is = new InputStreamReader(System.in);
// BufferedReader br = new BufferedReader(is);
//
// String[] list1 = new String[3001];
// int[] list2 = new int[3001];
// int[] list3 = new int[3001];
// int i = 0;
// while (true) {
// list1[i] = br.readLine();
//
// list2[i] = Integer.parseInt(SubStringStart(list1[i]));//???????????°???
// list3[i] = Integer.parseInt(SubStringEnd(list1[i]));//????°??????°???
// if (list2[i] == 0 || list3[i] == 0) {
// for (int k = 0; k < list1.length; k++) {
// if (list2[k] > list3[k]) {
// System.out.println(list3[k] + " " + list2[k]);
// } else if(list2[k] < list3[k]){
// System.out.println(list2[k] + " " + list3[k]);
// }else if(list2[k] == list3[k]|| list2[k]!=0|| list3[k]!=0){
// System.out.println(list2[k] + " " + list3[k]);
// }
// }
// break;
// }
// i = i + 1;
// }
// }
//
// public static String SubStringStart(String str) {
// int index = str.indexOf(" ");
// return (str.substring(0, index));
// }
//
// public static String SubStringEnd(String str) {
// int index = str.indexOf(" ");
// return (str.substring(index + 1));
// }
//} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
17,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }\n \n \n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }\n \n \n \n }\n}",
"Main",
"public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }\n \n \n \n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }\n \n \n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }",
"true",
"{\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }",
"String[]str= br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(str[0]);",
"a",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int b = Integer.parseInt(str[1]);",
"b",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"{\n break;\n }",
"break;",
"{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }",
"if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }",
"a>b",
"a",
"b",
"{\n System.out.println(b+ \" \"+ a);\n }",
"System.out.println(b+ \" \"+ a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b+ \" \"+ a",
"b+ \" \"+ a",
"b",
"\" \"",
"a",
"{\n System.out.println(a+ \" \"+ b);\n }",
"System.out.println(a+ \" \"+ b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+ \" \"+ b",
"a+ \" \"+ b",
"a",
"\" \"",
"b",
"String[]args",
"args",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }\n \n \n \n }\n}",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n \n if(a==0 && b==0){\n break;\n }else{\n if(a>b){\n System.out.println(b+ \" \"+ a);\n }else{\n System.out.println(a+ \" \"+ b);\n }\n }\n }\n \n \n \n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[]str= br.readLine().split(" ");
int a = Integer.parseInt(str[0]);
int b = Integer.parseInt(str[1]);
if(a==0 && b==0){
break;
}else{
if(a>b){
System.out.println(b+ " "+ a);
}else{
System.out.println(a+ " "+ b);
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
25,
5
],
[
25,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
6,
22
],
[
22,
23
],
[
0,
24
],
[
24,
25
],
[
24,
26
]
] | [
"import java.io.*;\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\t\n\t\tString[] str = new String[1];\n\t\tint x, y, temp;\n\t\t\n\t\tLOOP : do {\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tif (str.length > 1) {\n\t\t\t\ttry {\n\t\t\t\t\tx = Integer.parseInt(str[0]);\n\t\t\t\t\ty = Integer.parseInt(str[1]);\n\t\t\t\t\n\t\t\t\t\tif (x == 0 && y == 0) break LOOP;\n\t\t\t\t\t\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\ttemp = x;\n\t\t\t\t\t\tx = y;\n\t\t\t\t\t\ty = temp;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t\t} catch (Exception NumberFormatException) {\n\t\t\t\t\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t}\n\t\t} while (true);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"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\t\n\t\tString[] str = new String[1];\n\t\tint x, y, temp;\n\t\t\n\t\tLOOP : do {\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tif (str.length > 1) {\n\t\t\t\ttry {\n\t\t\t\t\tx = Integer.parseInt(str[0]);\n\t\t\t\t\ty = Integer.parseInt(str[1]);\n\t\t\t\t\n\t\t\t\t\tif (x == 0 && y == 0) break LOOP;\n\t\t\t\t\t\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\ttemp = x;\n\t\t\t\t\t\tx = y;\n\t\t\t\t\t\ty = temp;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t\t} catch (Exception NumberFormatException) {\n\t\t\t\t\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t}\n\t\t} while (true);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] str = new String[1];\n\t\tint x, y, temp;\n\t\t\n\t\tLOOP : do {\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tif (str.length > 1) {\n\t\t\t\ttry {\n\t\t\t\t\tx = Integer.parseInt(str[0]);\n\t\t\t\t\ty = Integer.parseInt(str[1]);\n\t\t\t\t\n\t\t\t\t\tif (x == 0 && y == 0) break LOOP;\n\t\t\t\t\t\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\ttemp = x;\n\t\t\t\t\t\tx = y;\n\t\t\t\t\t\ty = temp;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t\t} catch (Exception NumberFormatException) {\n\t\t\t\t\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t}\n\t\t} while (true);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] str = new String[1];\n\t\tint x, y, temp;\n\t\t\n\t\tLOOP : do {\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tif (str.length > 1) {\n\t\t\t\ttry {\n\t\t\t\t\tx = Integer.parseInt(str[0]);\n\t\t\t\t\ty = Integer.parseInt(str[1]);\n\t\t\t\t\n\t\t\t\t\tif (x == 0 && y == 0) break LOOP;\n\t\t\t\t\t\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\ttemp = x;\n\t\t\t\t\t\tx = y;\n\t\t\t\t\t\ty = temp;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t\t} catch (Exception NumberFormatException) {\n\t\t\t\t\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t}\n\t\t} while (true);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] str = new String[1];",
"str",
"new String[1]",
"1",
"int x",
"x",
"y",
"y",
"temp;",
"temp",
"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\t\n\t\tString[] str = new String[1];\n\t\tint x, y, temp;\n\t\t\n\t\tLOOP : do {\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tif (str.length > 1) {\n\t\t\t\ttry {\n\t\t\t\t\tx = Integer.parseInt(str[0]);\n\t\t\t\t\ty = Integer.parseInt(str[1]);\n\t\t\t\t\n\t\t\t\t\tif (x == 0 && y == 0) break LOOP;\n\t\t\t\t\t\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\ttemp = x;\n\t\t\t\t\t\tx = y;\n\t\t\t\t\t\ty = temp;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t\t} catch (Exception NumberFormatException) {\n\t\t\t\t\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t}\n\t\t} while (true);\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\t\n\t\tString[] str = new String[1];\n\t\tint x, y, temp;\n\t\t\n\t\tLOOP : do {\n\t\t\tstr = br.readLine().split(\"\\\\s+\");\n\t\t\t\n\t\t\tif (str.length > 1) {\n\t\t\t\ttry {\n\t\t\t\t\tx = Integer.parseInt(str[0]);\n\t\t\t\t\ty = Integer.parseInt(str[1]);\n\t\t\t\t\n\t\t\t\t\tif (x == 0 && y == 0) break LOOP;\n\t\t\t\t\t\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\ttemp = x;\n\t\t\t\t\t\tx = y;\n\t\t\t\t\t\ty = temp;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t\t} catch (Exception NumberFormatException) {\n\t\t\t\t\tcontinue LOOP;\n\t\t\t\t}\n\t\t\t}\n\t\t} while (true);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] str = new String[1];
int x, y, temp;
LOOP : do {
str = br.readLine().split("\\s+");
if (str.length > 1) {
try {
x = Integer.parseInt(str[0]);
y = Integer.parseInt(str[1]);
if (x == 0 && y == 0) break LOOP;
if (x > y) {
temp = x;
x = y;
y = temp;
}
System.out.println(x + " " + y);
} catch (Exception NumberFormatException) {
continue LOOP;
}
}
} while (true);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
2,
2,
13,
17,
2,
13,
17,
1,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
30,
30,
41,
13,
8,
2,
13,
13,
13,
13,
41,
13,
8,
2,
13,
13,
13,
13,
4,
18,
18,
13,
13,
17,
13,
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
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
6,
17
],
[
17,
18
],
[
81,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
22,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
22,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
56,
61
],
[
53,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
64,
69
],
[
53,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
70,
76
],
[
70,
77
],
[
19,
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 try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int x = in.nextInt(), y = in.nextInt();\n x != 0 || y != 0;\n x = in.nextInt(), y = in.nextInt()) {\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int x = in.nextInt(), y = in.nextInt();\n x != 0 || y != 0;\n x = in.nextInt(), y = in.nextInt()) {\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"main",
"{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }",
"try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }",
"{\n solve(in);\n }",
"Scanner in = new Scanner(System.in)",
"Scanner in = new Scanner(System.in)",
"new Scanner(System.in)",
"solve(in)",
"solve",
"in",
"String[] args",
"args",
"private static void solve(Scanner in) {\n for (int x = in.nextInt(), y = in.nextInt();\n x != 0 || y != 0;\n x = in.nextInt(), y = in.nextInt()) {\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }\n }",
"solve",
"{\n for (int x = in.nextInt(), y = in.nextInt();\n x != 0 || y != 0;\n x = in.nextInt(), y = in.nextInt()) {\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }\n }",
"for (int x = in.nextInt(), y = in.nextInt();\n x != 0 || y != 0;\n x = in.nextInt(), y = in.nextInt()) {\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }",
"int x = in.nextInt(), y = in.nextInt();",
"int x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"y = in.nextInt();",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"x = in.nextInt(), y = in.nextInt()",
"x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"y = in.nextInt()",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"{\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }",
"{\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }",
"int a = x < y ? x : y",
"a",
"x < y ? x : y",
"x < y",
"x",
"y",
"x",
"y",
"b = x < y ? y : x;",
"b",
"x < y ? y : x",
"x < y",
"x",
"y",
"y",
"x",
"System.out.printf(\"%d %d\\n\", a, b)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a",
"b",
"Scanner in",
"in",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int x = in.nextInt(), y = in.nextInt();\n x != 0 || y != 0;\n x = in.nextInt(), y = in.nextInt()) {\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n for (int x = in.nextInt(), y = in.nextInt();\n x != 0 || y != 0;\n x = in.nextInt(), y = in.nextInt()) {\n int a = x < y ? x : y, b = x < y ? y : x;\n System.out.printf(\"%d %d\\n\", a, b);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner in = new Scanner(System.in)) {
solve(in);
}
}
private static void solve(Scanner in) {
for (int x = in.nextInt(), y = in.nextInt();
x != 0 || y != 0;
x = in.nextInt(), y = in.nextInt()) {
int a = x < y ? x : y, b = x < y ? y : x;
System.out.printf("%d %d\n", a, b);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
13,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
91,
9
],
[
9,
10
],
[
9,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
29,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
59,
65
],
[
57,
66
],
[
55,
67
],
[
50,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
73,
79
],
[
71,
80
],
[
69,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
12,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n static final String SPACE = \" \";\n static final String RN = \"\\n\";\n\n public static void main(String[] args) {\n // input\n int x;\n int y;\n\n StringBuilder sb = new StringBuilder();\n Scanner sc = new Scanner(System.in);\n int temp;\n\n while (true) {\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }\n\n // output\n System.out.print(sb);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n static final String SPACE = \" \";\n static final String RN = \"\\n\";\n\n public static void main(String[] args) {\n // input\n int x;\n int y;\n\n StringBuilder sb = new StringBuilder();\n Scanner sc = new Scanner(System.in);\n int temp;\n\n while (true) {\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }\n\n // output\n System.out.print(sb);\n }\n}",
"Main",
"static final String SPACE = \" \";",
"SPACE",
"\" \"",
"static final String RN = \"\\n\";",
"RN",
"\"\\n\"",
"public static void main(String[] args) {\n // input\n int x;\n int y;\n\n StringBuilder sb = new StringBuilder();\n Scanner sc = new Scanner(System.in);\n int temp;\n\n while (true) {\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }\n\n // output\n System.out.print(sb);\n }",
"main",
"{\n // input\n int x;\n int y;\n\n StringBuilder sb = new StringBuilder();\n Scanner sc = new Scanner(System.in);\n int temp;\n\n while (true) {\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }\n\n // output\n System.out.print(sb);\n }",
"int x;",
"x",
"int y;",
"y",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int temp;",
"temp",
"while (true) {\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }",
"true",
"{\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }",
"x > y",
"x",
"y",
"{\n sb.append(y).append(SPACE).append(x).append(RN);\n }",
"sb.append(y).append(SPACE).append(x).append(RN)",
"sb.append(y).append(SPACE).append(x).append",
"sb.append(y).append(SPACE).append(x)",
"sb.append(y).append(SPACE).append",
"sb.append(y).append(SPACE)",
"sb.append(y).append",
"sb.append(y)",
"sb.append",
"sb",
"y",
"SPACE",
"x",
"RN",
"{\n sb.append(x).append(SPACE).append(y).append(RN);\n }",
"sb.append(x).append(SPACE).append(y).append(RN)",
"sb.append(x).append(SPACE).append(y).append",
"sb.append(x).append(SPACE).append(y)",
"sb.append(x).append(SPACE).append",
"sb.append(x).append(SPACE)",
"sb.append(x).append",
"sb.append(x)",
"sb.append",
"sb",
"x",
"SPACE",
"y",
"RN",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n static final String SPACE = \" \";\n static final String RN = \"\\n\";\n\n public static void main(String[] args) {\n // input\n int x;\n int y;\n\n StringBuilder sb = new StringBuilder();\n Scanner sc = new Scanner(System.in);\n int temp;\n\n while (true) {\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }\n\n // output\n System.out.print(sb);\n }\n}",
"public class Main {\n\n static final String SPACE = \" \";\n static final String RN = \"\\n\";\n\n public static void main(String[] args) {\n // input\n int x;\n int y;\n\n StringBuilder sb = new StringBuilder();\n Scanner sc = new Scanner(System.in);\n int temp;\n\n while (true) {\n x = sc.nextInt();\n y = sc.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x > y) {\n sb.append(y).append(SPACE).append(x).append(RN);\n } else {\n sb.append(x).append(SPACE).append(y).append(RN);\n }\n }\n\n // output\n System.out.print(sb);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
static final String SPACE = " ";
static final String RN = "\n";
public static void main(String[] args) {
// input
int x;
int y;
StringBuilder sb = new StringBuilder();
Scanner sc = new Scanner(System.in);
int temp;
while (true) {
x = sc.nextInt();
y = sc.nextInt();
if (x == 0 && y == 0) {
break;
}
if (x > y) {
sb.append(y).append(SPACE).append(x).append(RN);
} else {
sb.append(x).append(SPACE).append(y).append(RN);
}
}
// output
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
20,
14,
4,
18,
13,
17,
30,
3,
30,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
4,
18,
13,
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,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
35,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
42,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
59,
65
],
[
56,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
56,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
56,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
93,
93
],
[
93,
94
],
[
93,
95
],
[
93,
96
],
[
82,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
104,
104
],
[
104,
105
],
[
104,
106
],
[
104,
107
],
[
15,
108
],
[
108,
109
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0 0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tString[] sss = ss.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[1]);\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0 0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tString[] sss = ss.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[1]);\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0 0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tString[] sss = ss.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[1]);\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tArrayList<String> ss = new ArrayList<String>();\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0 0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tfor(int i = 0;i < ss.size() ;i++){\n\t\t\tString[] sss = ss.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[1]);\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t}",
"ArrayList<String> ss = new ArrayList<String>();",
"ss",
"new ArrayList<String>()",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0 0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tString i = new String(in.readLine());\n\t\t\tif(i.equals(\"0 0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}\n\t\t\t\n\t\t}",
"String i = new String(in.readLine());",
"i",
"new String(in.readLine())",
"if(i.equals(\"0 0\")){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tss.add(i);\n\t\t\t}",
"i.equals(\"0 0\")",
"i.equals",
"i",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tss.add(i);\n\t\t\t}",
"ss.add(i)",
"ss.add",
"ss",
"i",
"for(int i = 0;i < ss.size() ;i++){\n\t\t\tString[] sss = ss.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[1]);\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ss.size()",
"i",
"ss.size()",
"ss.size",
"ss",
"i++",
"i++",
"i",
"{\n\t\t\tString[] sss = ss.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[1]);\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\n\t\t}",
"{\n\t\t\tString[] sss = ss.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(sss[0]);\n\t\t\tint b = Integer.parseInt(sss[1]);\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\n\t\t}",
"String[] sss = ss.get(i).split(\" \");",
"sss",
"ss.get(i).split(\" \")",
"ss.get(i).split",
"ss.get(i)",
"ss.get",
"ss",
"i",
"\" \"",
"int a = Integer.parseInt(sss[0]);",
"a",
"Integer.parseInt(sss[0])",
"Integer.parseInt",
"Integer",
"sss[0]",
"sss",
"0",
"int b = Integer.parseInt(sss[1]);",
"b",
"Integer.parseInt(sss[1])",
"Integer.parseInt",
"Integer",
"sss[1]",
"sss",
"1",
"if(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
class Main {
public static void main(String[] args) throws IOException {
ArrayList<String> ss = new ArrayList<String>();
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
while(true){
String i = new String(in.readLine());
if(i.equals("0 0")){
break;
}
else{
ss.add(i);
}
}
for(int i = 0;i < ss.size() ;i++){
String[] sss = ss.get(i).split(" ");
int a = Integer.parseInt(sss[0]);
int b = Integer.parseInt(sss[1]);
if(a > b){
System.out.println(b + " " + a);
}
else{
System.out.println(a + " " + b);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
8,
2,
13,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
15,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
40,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (;;) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (;;) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (;;) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (;;) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}\n\t\t\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (;;) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}",
";",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}",
"{\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (a == 0 && b == 0) break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"System.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a))",
"System.out.println",
"System.out",
"System",
"System.out",
"a < b ? (a + \" \" + b) : (b + \" \" + a)",
"a < b",
"a",
"b",
"(a + \" \" + b)",
"a + \" \" + b",
"a",
"\" \"",
"b",
"(b + \" \" + a)",
"b + \" \" + a",
"b",
"\" \"",
"a",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (;;) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tfor (;;) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif (a == 0 && b == 0) break;\n\t\t\tSystem.out.println(a < b ? (a + \" \" + b) : (b + \" \" + a));\n\t\t}\n\t\t\n\t\tsc.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main (String[] args) {
Scanner sc = new Scanner(System.in);
for (;;) {
int a = sc.nextInt();
int b = sc.nextInt();
if (a == 0 && b == 0) break;
System.out.println(a < b ? (a + " " + b) : (b + " " + a));
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
17,
13,
30,
3,
41,
13,
4,
18,
13,
17,
14,
2,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
30,
4,
18,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
30,
4,
18,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
] | [
[
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
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
35,
40
],
[
40,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
29,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
49,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
48,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
48,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
17,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
88,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
15,
112
],
[
112,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> numList = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] numArrays = strNum.split(\" \");\n\t\t\tif (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t} else {\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numList.size(); i++) {\n\t\t\tSystem.out.println(numList.get(i));\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"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 strNum = \"\";\n\t\tArrayList<String> numList = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] numArrays = strNum.split(\" \");\n\t\t\tif (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t} else {\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numList.size(); i++) {\n\t\t\tSystem.out.println(numList.get(i));\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> numList = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] numArrays = strNum.split(\" \");\n\t\t\tif (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t} else {\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numList.size(); i++) {\n\t\t\tSystem.out.println(numList.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString strNum = \"\";\n\t\tArrayList<String> numList = new ArrayList<String>();\n\t\twhile (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] numArrays = strNum.split(\" \");\n\t\t\tif (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t} else {\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < numList.size(); i++) {\n\t\t\tSystem.out.println(numList.get(i));\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String strNum = \"\";",
"strNum",
"\"\"",
"ArrayList<String> numList = new ArrayList<String>();",
"numList",
"new ArrayList<String>()",
"while (true) {\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] numArrays = strNum.split(\" \");\n\t\t\tif (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t} else {\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tstrNum = br.readLine();\n\t\t\tif (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] numArrays = strNum.split(\" \");\n\t\t\tif (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t} else {\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}\n\t\t}",
"strNum = br.readLine()",
"strNum",
"br.readLine()",
"br.readLine",
"br",
"if (\"0 0\".equals(strNum)) {\n\t\t\t\tbreak;\n\t\t\t}",
"\"0 0\".equals(strNum)",
"\"0 0\".equals",
"\"0 0\"",
"strNum",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] numArrays = strNum.split(\" \");",
"numArrays",
"strNum.split(\" \")",
"strNum.split",
"strNum",
"\" \"",
"if (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t} else {\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}",
"Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])",
"Integer.parseInt(numArrays[0])",
"Integer.parseInt",
"Integer",
"numArrays[0]",
"numArrays",
"0",
"Integer.parseInt(numArrays[1])",
"Integer.parseInt",
"Integer",
"numArrays[1]",
"numArrays",
"1",
"{\n\t\t\t\tnumList.add(numArrays[1] + \" \" + numArrays[0]);\n\t\t\t}",
"numList.add(numArrays[1] + \" \" + numArrays[0])",
"numList.add",
"numList",
"numArrays[1] + \" \" + numArrays[0]",
"numArrays[1] + \" \" + numArrays[0]",
"numArrays[1]",
"numArrays",
"1",
"\" \"",
"numArrays[0]",
"numArrays",
"0",
"{\n\t\t\t\tnumList.add(numArrays[0] + \" \" + numArrays[1]);\n\t\t\t}",
"numList.add(numArrays[0] + \" \" + numArrays[1])",
"numList.add",
"numList",
"numArrays[0] + \" \" + numArrays[1]",
"numArrays[0] + \" \" + numArrays[1]",
"numArrays[0]",
"numArrays",
"0",
"\" \"",
"numArrays[1]",
"numArrays",
"1",
"for (int i = 0; i < numList.size(); i++) {\n\t\t\tSystem.out.println(numList.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numList.size()",
"i",
"numList.size()",
"numList.size",
"numList",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(numList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(numList.get(i));\n\t\t}",
"System.out.println(numList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"numList.get(i)",
"numList.get",
"numList",
"i",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String strNum = "";
ArrayList<String> numList = new ArrayList<String>();
while (true) {
strNum = br.readLine();
if ("0 0".equals(strNum)) {
break;
}
String[] numArrays = strNum.split(" ");
if (Integer.parseInt(numArrays[0]) > Integer.parseInt(numArrays[1])) {
numList.add(numArrays[1] + " " + numArrays[0]);
} else {
numList.add(numArrays[0] + " " + numArrays[1]);
}
}
for (int i = 0; i < numList.size(); i++) {
System.out.println(numList.get(i));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
80,
14
],
[
80,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
24,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
33,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
33,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
53,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
15,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tfor (int i = 0;; i++) {\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\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",
"import java.util.Scanner;",
"Scanner",
"java.util",
"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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tfor (int i = 0;; i++) {\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tfor (int i = 0;; i++) {\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tfor (int i = 0;; i++) {\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}\n\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"for (int i = 0;; i++) {\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}",
"{\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}",
"int x=scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y=scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x==0 && y==0)\n\t\t\t\tbreak;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"if(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);",
"x>y",
"x",
"y",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tfor (int i = 0;; i++) {\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}\n\n\t}\n\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\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tfor (int i = 0;; i++) {\n\t\t\tint x=scan.nextInt();\n\t\t\tint y=scan.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tif(x>y)\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\telse\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));
for (int i = 0;; i++) {
int x=scan.nextInt();
int y=scan.nextInt();
if(x==0 && y==0)
break;
if(x>y)
System.out.println(y+" "+x);
else
System.out.println(x+" "+y);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
17,
8,
2,
13,
13,
13,
13,
8,
2,
13,
13,
13,
13,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
21,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
47,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"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\tint value1,value2;\n\t\tint i = 0;\n\n\t\twhile(true){\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\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 value1,value2;\n\t\tint i = 0;\n\n\t\twhile(true){\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1,value2;\n\t\tint i = 0;\n\n\t\twhile(true){\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1,value2;\n\t\tint i = 0;\n\n\t\twhile(true){\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int value1",
"value1",
"value2;",
"value2",
"int i = 0;",
"i",
"0",
"while(true){\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\n\t\t}",
"true",
"{\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\n\t\t}",
"value1 = scan.nextInt()",
"value1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"value2 = scan.nextInt()",
"value2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;",
"value1 == 0 && value2 == 0",
"value1 == 0",
"value1",
"0",
"value2 == 0",
"value2",
"0",
"break;",
"System.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"value1 < value2? value1 : value2",
"value1 < value2",
"value1",
"value2",
"value1",
"value2",
"value1 > value2? value1 : value2",
"value1 > value2",
"value1",
"value2",
"value1",
"value2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint value1,value2;\n\t\tint i = 0;\n\n\t\twhile(true){\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\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 value1,value2;\n\t\tint i = 0;\n\n\t\twhile(true){\n\t\t\tvalue1 = scan.nextInt();\n\t\t\tvalue2 = scan.nextInt();\n\n\t\t\tif (value1 == 0 && value2 == 0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.printf(\"%d %d\\n\", value1 < value2? value1 : value2, value1 > value2? value1 : value2);\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 value1,value2;
int i = 0;
while(true){
value1 = scan.nextInt();
value2 = scan.nextInt();
if (value1 == 0 && value2 == 0)
break;
System.out.printf("%d %d\n", value1 < value2? value1 : value2, value1 > value2? value1 : value2);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
13,
13,
4,
18,
13,
13,
41,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
27,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
11,
55
],
[
55,
56
],
[
11,
57
],
[
57,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
59,
72
],
[
73,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
73,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
73,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
90,
97
],
[
97,
98
],
[
97,
99
],
[
73,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
106,
106
],
[
106,
107
],
[
106,
108
],
[
106,
109
],
[
9,
110
],
[
110,
111
]
] | [
"import java.util.Scanner;\nimport java.util.ArrayList;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tArrayList<Integer> y = new ArrayList<Integer>();\n\t\t\n\t\tint a,b;\n\t\t\n\t\twhile(true){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tx.add(a);\n\t\t\ty.add(b);\n\t\t\t\n\t\t}\n\t\t\n\t\tint temp;\n\t\tint i;\n\t\t\n\t\tfor(i = 0; i < x.size(); i++){\n\t\t\tint val1 = x.get(i);\n\t\t\tint val2 = y.get(i);\n\t\t\t\n\t\t\tif(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(val1 + \" \" + val2);\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tArrayList<Integer> y = new ArrayList<Integer>();\n\t\t\n\t\tint a,b;\n\t\t\n\t\twhile(true){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tx.add(a);\n\t\t\ty.add(b);\n\t\t\t\n\t\t}\n\t\t\n\t\tint temp;\n\t\tint i;\n\t\t\n\t\tfor(i = 0; i < x.size(); i++){\n\t\t\tint val1 = x.get(i);\n\t\t\tint val2 = y.get(i);\n\t\t\t\n\t\t\tif(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(val1 + \" \" + val2);\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tArrayList<Integer> y = new ArrayList<Integer>();\n\t\t\n\t\tint a,b;\n\t\t\n\t\twhile(true){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tx.add(a);\n\t\t\ty.add(b);\n\t\t\t\n\t\t}\n\t\t\n\t\tint temp;\n\t\tint i;\n\t\t\n\t\tfor(i = 0; i < x.size(); i++){\n\t\t\tint val1 = x.get(i);\n\t\t\tint val2 = y.get(i);\n\t\t\t\n\t\t\tif(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(val1 + \" \" + val2);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tArrayList<Integer> x = new ArrayList<Integer>();\n\t\tArrayList<Integer> y = new ArrayList<Integer>();\n\t\t\n\t\tint a,b;\n\t\t\n\t\twhile(true){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tx.add(a);\n\t\t\ty.add(b);\n\t\t\t\n\t\t}\n\t\t\n\t\tint temp;\n\t\tint i;\n\t\t\n\t\tfor(i = 0; i < x.size(); i++){\n\t\t\tint val1 = x.get(i);\n\t\t\tint val2 = y.get(i);\n\t\t\t\n\t\t\tif(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(val1 + \" \" + val2);\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> x = new ArrayList<Integer>();",
"x",
"new ArrayList<Integer>()",
"ArrayList<Integer> y = new ArrayList<Integer>();",
"y",
"new ArrayList<Integer>()",
"int a",
"a",
"b;",
"b",
"while(true){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tx.add(a);\n\t\t\ty.add(b);\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\t\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tx.add(a);\n\t\t\ty.add(b);\n\t\t\t\n\t\t}",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a == 0 && b == 0)\n\t\t\t\tbreak;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"x.add(a)",
"x.add",
"x",
"a",
"y.add(b)",
"y.add",
"y",
"b",
"int temp;",
"temp",
"int i;",
"i",
"for(i = 0; i < x.size(); i++){\n\t\t\tint val1 = x.get(i);\n\t\t\tint val2 = y.get(i);\n\t\t\t\n\t\t\tif(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(val1 + \" \" + val2);\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i < x.size()",
"i",
"x.size()",
"x.size",
"x",
"i++",
"i++",
"i",
"{\n\t\t\tint val1 = x.get(i);\n\t\t\tint val2 = y.get(i);\n\t\t\t\n\t\t\tif(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(val1 + \" \" + val2);\n\t\t}",
"{\n\t\t\tint val1 = x.get(i);\n\t\t\tint val2 = y.get(i);\n\t\t\t\n\t\t\tif(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(val1 + \" \" + val2);\n\t\t}",
"int val1 = x.get(i);",
"val1",
"x.get(i)",
"x.get",
"x",
"i",
"int val2 = y.get(i);",
"val2",
"y.get(i)",
"y.get",
"y",
"i",
"if(val1 > val2){\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}",
"val1 > val2",
"val1",
"val2",
"{\n\t\t\t\ttemp = val2;\n\t\t\t\tval2 = val1;\n\t\t\t\tval1 = temp;\n\t\t\t}",
"temp = val2",
"temp",
"val2",
"val2 = val1",
"val2",
"val1",
"val1 = temp",
"val1",
"temp",
"System.out.println(val1 + \" \" + val2)",
"System.out.println",
"System.out",
"System",
"System.out",
"val1 + \" \" + val2",
"val1 + \" \" + val2",
"val1",
"\" \"",
"val2",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.ArrayList;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> x = new ArrayList<Integer>();
ArrayList<Integer> y = new ArrayList<Integer>();
int a,b;
while(true){
a = sc.nextInt();
b = sc.nextInt();
if(a == 0 && b == 0)
break;
x.add(a);
y.add(b);
}
int temp;
int i;
for(i = 0; i < x.size(); i++){
int val1 = x.get(i);
int val2 = y.get(i);
if(val1 > val2){
temp = val2;
val2 = val1;
val1 = temp;
}
System.out.println(val1 + " " + val2);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
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
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
42,
44
],
[
30,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
30,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
30,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input1 = kbScanner.nextInt();\n\t\tint input2 = kbScanner.nextInt();\n\t\t\n\t\twhile((input1 != 0) || (input2 != 0)){\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\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 kbScanner = new Scanner(System.in);\n\t\tint input1 = kbScanner.nextInt();\n\t\tint input2 = kbScanner.nextInt();\n\t\t\n\t\twhile((input1 != 0) || (input2 != 0)){\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input1 = kbScanner.nextInt();\n\t\tint input2 = kbScanner.nextInt();\n\t\t\n\t\twhile((input1 != 0) || (input2 != 0)){\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input1 = kbScanner.nextInt();\n\t\tint input2 = kbScanner.nextInt();\n\t\t\n\t\twhile((input1 != 0) || (input2 != 0)){\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\n\t\t}\n\t}",
"Scanner kbScanner = new Scanner(System.in);",
"kbScanner",
"new Scanner(System.in)",
"int input1 = kbScanner.nextInt();",
"input1",
"kbScanner.nextInt()",
"kbScanner.nextInt",
"kbScanner",
"int input2 = kbScanner.nextInt();",
"input2",
"kbScanner.nextInt()",
"kbScanner.nextInt",
"kbScanner",
"while((input1 != 0) || (input2 != 0)){\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\n\t\t}",
"(input1 != 0) || (input2 != 0)",
"(input1 != 0)",
"input1",
"0",
"(input2 != 0)",
"input2",
"0",
"{\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\n\t\t}",
"if(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}",
"input1 > input2",
"input1",
"input2",
"{\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}",
"int oki = input1;",
"oki",
"input1",
"input1 = input2",
"input1",
"input2",
"input2 = oki",
"input2",
"oki",
"System.out.println(input1 + \" \" + input2)",
"System.out.println",
"System.out",
"System",
"System.out",
"input1 + \" \" + input2",
"input1 + \" \" + input2",
"input1",
"\" \"",
"input2",
"input1 = kbScanner.nextInt()",
"input1",
"kbScanner.nextInt()",
"kbScanner.nextInt",
"kbScanner",
"input2 = kbScanner.nextInt()",
"input2",
"kbScanner.nextInt()",
"kbScanner.nextInt",
"kbScanner",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input1 = kbScanner.nextInt();\n\t\tint input2 = kbScanner.nextInt();\n\t\t\n\t\twhile((input1 != 0) || (input2 != 0)){\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner kbScanner = new Scanner(System.in);\n\t\tint input1 = kbScanner.nextInt();\n\t\tint input2 = kbScanner.nextInt();\n\t\t\n\t\twhile((input1 != 0) || (input2 != 0)){\n\t\t\tif(input1 > input2){\n\t\t\t\tint oki = input1;\n\t\t\t\tinput1 = input2;\n\t\t\t\tinput2 = oki;\n\t\t\t}\n\t\t\tSystem.out.println(input1 + \" \" + input2);\n\t\t\tinput1 = kbScanner.nextInt();\n\t\t\tinput2 = kbScanner.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner kbScanner = new Scanner(System.in);
int input1 = kbScanner.nextInt();
int input2 = kbScanner.nextInt();
while((input1 != 0) || (input2 != 0)){
if(input1 > input2){
int oki = input1;
input1 = input2;
input2 = oki;
}
System.out.println(input1 + " " + input2);
input1 = kbScanner.nextInt();
input2 = kbScanner.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
40,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
12,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
34,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
34,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
34,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
75,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
97,
97
],
[
97,
98
],
[
97,
99
],
[
97,
100
],
[
6,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"Main",
"public static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }",
"catch (IOException e) {\n System.out.println(e);\n }",
"IOException e",
"{\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch (NumberFormatException e) {\n System.out.println(\"error\");\n }",
"NumberFormatException e",
"{\n System.out.println(\"error\");\n }",
"System.out.println(\"error\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"error\"",
"{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n }",
"while(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}",
"true",
"{\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] num = line.split(\" \", -1);",
"num",
"line.split(\" \", -1)",
"line.split",
"line",
"\" \"",
"-1",
"1",
"int x = Integer.parseInt(num[0]);",
"x",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"int y = Integer.parseInt(num[1]);",
"y",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"if (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n \t\t\tbreak;\n \t\t}",
"break;",
"{\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}",
"if (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}",
"x > y",
"x",
"y",
"{\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"{\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n \twhile(true) {\n \t\tString line = reader.readLine();\n \t\tString[] num = line.split(\" \", -1);\n \t\tint x = Integer.parseInt(num[0]);\n \t\tint y = Integer.parseInt(num[1]);\n \t\tif (x == 0 && y == 0) {\n \t\t\tbreak;\n \t\t} else {\n \t\t\tif (x > y) {\n \t\t\t\tSystem.out.println(y + \" \" + x);\n \t\t\t} else {\n \t\t\t\tSystem.out.println(x + \" \" + y);\n \t\t\t}\n \t\t}\n \t}\n } catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try{
while(true) {
String line = reader.readLine();
String[] num = line.split(" ", -1);
int x = Integer.parseInt(num[0]);
int y = Integer.parseInt(num[1]);
if (x == 0 && y == 0) {
break;
} else {
if (x > y) {
System.out.println(y + " " + x);
} else {
System.out.println(x + " " + y);
}
}
}
} catch (IOException e) {
System.out.println(e);
} catch (NumberFormatException e) {
System.out.println("error");
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
58,
65
],
[
65,
66
],
[
65,
67
],
[
17,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
72,
78
],
[
70,
79
],
[
68,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
]
] | [
"import java.io.*;\n \nclass Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String datas = br.readLine();\n String[] data = datas.split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n \n if(a > b){\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }\n \n sb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String datas = br.readLine();\n String[] data = datas.split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n \n if(a > b){\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }\n \n sb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String datas = br.readLine();\n String[] data = datas.split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n \n if(a > b){\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }\n \n sb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n while(true){\n String datas = br.readLine();\n String[] data = datas.split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n \n if(a > b){\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }\n \n sb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n String datas = br.readLine();\n String[] data = datas.split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n \n if(a > b){\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }\n \n sb.append(a).append(\" \").append(b).append(\"\\n\");\n }",
"true",
"{\n String datas = br.readLine();\n String[] data = datas.split(\" \");\n int a = Integer.parseInt(data[0]);\n int b = Integer.parseInt(data[1]);\n if(a == 0 && b == 0)\n \t break;\n \n if(a > b){\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }\n \n sb.append(a).append(\" \").append(b).append(\"\\n\");\n }",
"String datas = br.readLine();",
"datas",
"br.readLine()",
"br.readLine",
"br",
"String[] data = datas.split(\" \");",
"data",
"datas.split(\" \")",
"datas.split",
"datas",
"\" \"",
"int a = Integer.parseInt(data[0]);",
"a",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"int b = Integer.parseInt(data[1]);",
"b",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"if(a == 0 && b == 0)\n \t break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"if(a > b){\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }",
"a > b",
"a",
"b",
"{\n \t int tmp = a;\n \t a = b;\n \t b = tmp;\n }",
"int tmp = a;",
"tmp",
"a",
"a = b",
"a",
"b",
"b = tmp",
"b",
"tmp",
"sb.append(a).append(\" \").append(b).append(\"\\n\")",
"sb.append(a).append(\" \").append(b).append",
"sb.append(a).append(\" \").append(b)",
"sb.append(a).append(\" \").append",
"sb.append(a).append(\" \")",
"sb.append(a).append",
"sb.append(a)",
"sb.append",
"sb",
"a",
"\" \"",
"b",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
String datas = br.readLine();
String[] data = datas.split(" ");
int a = Integer.parseInt(data[0]);
int b = Integer.parseInt(data[1]);
if(a == 0 && b == 0)
break;
if(a > b){
int tmp = a;
a = b;
b = tmp;
}
sb.append(a).append(" ").append(b).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
11,
1,
2,
13,
17,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
21,
23
],
[
19,
24
],
[
25,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
25,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
6,
80
],
[
80,
81
]
] | [
"import java.util.Scanner;\n\tclass Main{\n\n\t\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\nint x;\nint y;\nint hantei =9;\nfor(;hantei!=0;){\n\tx=sc.nextInt();\n\ty=sc.nextInt();\n\t\n\tif(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}\n\tif(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}\n\t\n\t\n}\n\t\n\t\n\t\n\t}\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\n\t\tpublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\nint x;\nint y;\nint hantei =9;\nfor(;hantei!=0;){\n\tx=sc.nextInt();\n\ty=sc.nextInt();\n\t\n\tif(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}\n\tif(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}\n\t\n\t\n}\n\t\n\t\n\t\n\t}\n\t}",
"Main",
"public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\nint x;\nint y;\nint hantei =9;\nfor(;hantei!=0;){\n\tx=sc.nextInt();\n\ty=sc.nextInt();\n\t\n\tif(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}\n\tif(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}\n\t\n\t\n}\n\t\n\t\n\t\n\t}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\nint x;\nint y;\nint hantei =9;\nfor(;hantei!=0;){\n\tx=sc.nextInt();\n\ty=sc.nextInt();\n\t\n\tif(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}\n\tif(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}\n\t\n\t\n}\n\t\n\t\n\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x;",
"x",
"int y;",
"y",
"int hantei =9;",
"hantei",
"9",
"for(;hantei!=0;){\n\tx=sc.nextInt();\n\ty=sc.nextInt();\n\t\n\tif(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}\n\tif(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}\n\t\n\t\n}",
";",
"hantei!=0",
"hantei",
"0",
"{\n\tx=sc.nextInt();\n\ty=sc.nextInt();\n\t\n\tif(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}\n\tif(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}\n\t\n\t\n}",
"{\n\tx=sc.nextInt();\n\ty=sc.nextInt();\n\t\n\tif(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}\n\tif(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}\n\t\n\t\n}",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y=sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0){\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}",
"x==0",
"x",
"0",
"{\n\t\tif(y==0){\n\t\tSystem.exit(0);\t\n\t\t}\n\t}",
"if(y==0){\n\t\tSystem.exit(0);\t\n\t\t}",
"y==0",
"y",
"0",
"{\n\t\tSystem.exit(0);\t\n\t\t}",
"System.exit(0)",
"System.exit",
"System",
"0",
"if(x<=y){\n\t\tSystem.out.println(x + \" \"+y);\n\t}else if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}",
"x<=y",
"x",
"y",
"{\n\t\tSystem.out.println(x + \" \"+y);\n\t}",
"System.out.println(x + \" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \"+y",
"x + \" \"+y",
"x",
"\" \"",
"y",
"if(y<x){\n\t\tSystem.out.println(y + \" \"+x);\n\t}",
"y<x",
"y",
"x",
"{\n\t\tSystem.out.println(y + \" \"+x);\n\t}",
"System.out.println(y + \" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \"+x",
"y + \" \"+x",
"y",
"\" \"",
"x",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int x;
int y;
int hantei =9;
for(;hantei!=0;){
x=sc.nextInt();
y=sc.nextInt();
if(x==0){
if(y==0){
System.exit(0);
}
}
if(x<=y){
System.out.println(x + " "+y);
}else if(y<x){
System.out.println(y + " "+x);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
41,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\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\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\n\t\t}\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"while(true){\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\n\t\t}",
"true",
"{\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\n\t\t}",
"int x = Integer.parseInt(s.next());",
"x",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"int y = Integer.parseInt(s.next());",
"y",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n\t\t\t\t break;\n\t\t\t }",
"break;",
"if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }",
"x<y",
"x",
"y",
"{\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\t\n\t\t\n\t\twhile(true){\n\t\t\t \n\t\t\t int x = Integer.parseInt(s.next());\n\t\t\t int y = Integer.parseInt(s.next());\n\t\t\t \n\t\t\t if(x==0 && y==0){\n\t\t\t\t break;\n\t\t\t }\n\t\t\t if(x<y){\n\t\t\t\t System.out.println(x+\" \"+y);\n\t\t\t }else{\n\t\t\t\t System.out.println(y+\" \"+x);\n\t\t\t }\t \n\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);
while(true){
int x = Integer.parseInt(s.next());
int y = Integer.parseInt(s.next());
if(x==0 && y==0){
break;
}
if(x<y){
System.out.println(x+" "+y);
}else{
System.out.println(y+" "+x);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
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
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
21,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.*;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a ,b;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tscanner.close();\n\t\t\n\t\t\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a ,b;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tscanner.close();\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a ,b;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tscanner.close();\n\t\t\n\t\t\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a ,b;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tscanner.close();\n\t\t\n\t\t\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"int count = 0;",
"count",
"0",
"while(true){\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}",
"true",
"{\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"b = scanner.nextInt()",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(a == 0 && b == 0){break;}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{break;}",
"break;",
"if(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a ,b;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tscanner.close();\n\t\t\n\t\t\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint a ,b;\n\t\tint count = 0;\n\t\twhile(true){\n\t\t\ta = scanner.nextInt();\n\t\t\tb = scanner.nextInt();\n\t\t\tif(a == 0 && b == 0){break;}\n\t\t\tif(a > b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tscanner.close();\n\t\t\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a ,b;
int count = 0;
while(true){
a = scanner.nextInt();
b = scanner.nextInt();
if(a == 0 && b == 0){break;}
if(a > b){
System.out.println(b + " " + a);
}
else{
System.out.println(a + " " + b);
}
}
scanner.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
4,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
4,
18,
13,
13,
13,
17,
4,
18,
4,
18,
13,
13,
2,
13,
17,
14,
2,
13,
4,
18,
4,
18,
13,
13,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
140,
11
],
[
140,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
23,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
23,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
23,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
23,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
14,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
75,
79
],
[
68,
80
],
[
80,
81
],
[
81,
82
],
[
68,
83
],
[
84,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
85,
98
],
[
98,
99
],
[
99,
100
],
[
85,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
110,
116
],
[
109,
117
],
[
109,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
118,
124
],
[
124,
125
],
[
124,
126
],
[
102,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
102,
136
],
[
12,
137
],
[
137,
138
],
[
0,
139
],
[
139,
140
],
[
139,
141
]
] | [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\n/**\n * Created 2017/06/01.\n */\npublic class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }\n //System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????\n\n //????????¨???????????????????°?????°???????\n for (int i = 0; i < ary_ans.size() - 1; i++) {\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }\n //System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????\n\n //????????¨???????????????????°?????°???????\n for (int i = 0; i < ary_ans.size() - 1; i++) {\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }\n //System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????\n\n //????????¨???????????????????°?????°???????\n for (int i = 0; i < ary_ans.size() - 1; i++) {\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }\n }",
"main",
"{\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }\n //System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????\n\n //????????¨???????????????????°?????°???????\n for (int i = 0; i < ary_ans.size() - 1; i++) {\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();",
"ary_ans",
"new ArrayList<>()",
"while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }",
"true",
"{\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }",
"ArrayList<Integer> ary = new ArrayList<>();",
"ary",
"new ArrayList<>()",
"int input1 = Integer.parseInt(sc.next());",
"input1",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int input2 = Integer.parseInt(sc.next());",
"input2",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"ary.add(input1)",
"ary.add",
"ary",
"input1",
"ary.add(input2)",
"ary.add",
"ary",
"input2",
"Collections.sort(ary)",
"Collections.sort",
"Collections",
"ary",
"ary_ans.add(ary)",
"ary_ans.add",
"ary_ans",
"ary",
"if (input1 == 0 && input2 == 0) break;",
"input1 == 0 && input2 == 0",
"input1 == 0",
"input1",
"0",
"input2 == 0",
"input2",
"0",
"break;",
"for (int i = 0; i < ary_ans.size() - 1; i++) {\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ary_ans.size() - 1",
"i",
"ary_ans.size() - 1",
"ary_ans.size()",
"ary_ans.size",
"ary_ans",
"1",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }",
"{\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }",
"for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < ary_ans.get(i).size()",
"j",
"ary_ans.get(i).size()",
"ary_ans.get(i).size",
"ary_ans.get(i)",
"ary_ans.get",
"ary_ans",
"i",
"j++",
"j++",
"j",
"{\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }",
"{\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }",
"System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1)",
"ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1)",
"ary_ans.get(i).get(j)",
"ary_ans.get(i).get",
"ary_ans.get(i)",
"ary_ans.get",
"ary_ans",
"i",
"j",
"\" \"",
"ary_ans.get(i).get(j + 1)",
"ary_ans.get(i).get",
"ary_ans.get(i)",
"ary_ans.get",
"ary_ans",
"i",
"j + 1",
"j",
"1",
"if (j == ary_ans.get(i).size()) ;",
"j == ary_ans.get(i).size()",
"j",
"ary_ans.get(i).size()",
"ary_ans.get(i).size",
"ary_ans.get(i)",
"ary_ans.get",
"ary_ans",
"i",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }\n //System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????\n\n //????????¨???????????????????°?????°???????\n for (int i = 0; i < ary_ans.size() - 1; i++) {\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n //??\\?????¨?????????\n Scanner sc = new Scanner(System.in);\n ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();\n while (true) {\n ArrayList<Integer> ary = new ArrayList<>();\n int input1 = Integer.parseInt(sc.next());\n int input2 = Integer.parseInt(sc.next());\n ary.add(input1);\n ary.add(input2);\n Collections.sort(ary); //??????????????§?????????????????????????´???´????????????\n ary_ans.add(ary);\n if (input1 == 0 && input2 == 0) break;\n }\n //System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????\n\n //????????¨???????????????????°?????°???????\n for (int i = 0; i < ary_ans.size() - 1; i++) {\n for (int j = 0; j < ary_ans.get(i).size(); j++) {\n System.out.println(ary_ans.get(i).get(j) + \" \" + ary_ans.get(i).get(j + 1));\n if (j == ary_ans.get(i).size()) ;\n break;\n }\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
/**
* Created 2017/06/01.
*/
public class Main {
public static void main(String[] args) {
//??\?????¨?????????
Scanner sc = new Scanner(System.in);
ArrayList<ArrayList<Integer>> ary_ans = new ArrayList<>();
while (true) {
ArrayList<Integer> ary = new ArrayList<>();
int input1 = Integer.parseInt(sc.next());
int input2 = Integer.parseInt(sc.next());
ary.add(input1);
ary.add(input2);
Collections.sort(ary); //??????????????§?????????????????????????´???´????????????
ary_ans.add(ary);
if (input1 == 0 && input2 == 0) break;
}
//System.out.println(ary_ans);//????????????????´???´???????????? ????????????????????????????´???´???????????????????????????
//????????¨???????????????????°?????°???????
for (int i = 0; i < ary_ans.size() - 1; i++) {
for (int j = 0; j < ary_ans.get(i).size(); j++) {
System.out.println(ary_ans.get(i).get(j) + " " + ary_ans.get(i).get(j + 1));
if (j == ary_ans.get(i).size()) ;
break;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
8,
2,
4,
18,
13,
13,
4,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
114,
11
],
[
114,
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
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
27,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
27,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
14,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
56,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
77,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
76,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
87,
92
],
[
87,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
76,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
98,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
14,
108
],
[
108,
109
],
[
109,
110
],
[
12,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> x = new ArrayList<Integer>();\n\t\tList<Integer> y = new ArrayList<Integer>();\n\n\t\tfor (;;) {\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}\n\n\t\tfor (int i = 0; i < x.size(); i++) {\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> x = new ArrayList<Integer>();\n\t\tList<Integer> y = new ArrayList<Integer>();\n\n\t\tfor (;;) {\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}\n\n\t\tfor (int i = 0; i < x.size(); i++) {\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\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);\t\t\n\n\t\tList<Integer> x = new ArrayList<Integer>();\n\t\tList<Integer> y = new ArrayList<Integer>();\n\n\t\tfor (;;) {\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}\n\n\t\tfor (int i = 0; i < x.size(); i++) {\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}\n\t\tscan.close();\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> x = new ArrayList<Integer>();\n\t\tList<Integer> y = new ArrayList<Integer>();\n\n\t\tfor (;;) {\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}\n\n\t\tfor (int i = 0; i < x.size(); i++) {\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}\n\t\tscan.close();\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"List<Integer> x = new ArrayList<Integer>();",
"x",
"new ArrayList<Integer>()",
"List<Integer> y = new ArrayList<Integer>();",
"y",
"new ArrayList<Integer>()",
"for (;;) {\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}",
";",
"{\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}",
"{\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}",
"int xNum = scan.nextInt();",
"xNum",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int yNum = scan.nextInt();",
"yNum",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"xNum == 0&& yNum == 0",
"xNum == 0",
"xNum",
"0",
"yNum == 0",
"yNum",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"x.add(xNum)",
"x.add",
"x",
"xNum",
"y.add(yNum)",
"y.add",
"y",
"yNum",
"for (int i = 0; i < x.size(); i++) {\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x.size()",
"i",
"x.size()",
"x.size",
"x",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}",
"System.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i)",
"x.get(i) < y.get(i)",
"x.get(i)",
"x.get",
"x",
"i",
"y.get(i)",
"y.get",
"y",
"i",
"x.get(i) + \" \" + y.get(i)",
"x.get(i) + \" \" + y.get(i)",
"x.get(i)",
"x.get",
"x",
"i",
"\" \"",
"y.get(i)",
"y.get",
"y",
"i",
"y.get(i) + \" \" + x.get(i)",
"y.get(i) + \" \" + x.get(i)",
"y.get(i)",
"y.get",
"y",
"i",
"\" \"",
"x.get(i)",
"x.get",
"x",
"i",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> x = new ArrayList<Integer>();\n\t\tList<Integer> y = new ArrayList<Integer>();\n\n\t\tfor (;;) {\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}\n\n\t\tfor (int i = 0; i < x.size(); i++) {\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\t\t\n\n\t\tList<Integer> x = new ArrayList<Integer>();\n\t\tList<Integer> y = new ArrayList<Integer>();\n\n\t\tfor (;;) {\n\t\t\tint xNum = scan.nextInt();\n\t\t\tint yNum = scan.nextInt();\n\t\t\tif (xNum == 0&& yNum == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tx.add(xNum);\n\t\t\ty.add(yNum);\n\t\t}\n\n\t\tfor (int i = 0; i < x.size(); i++) {\n\t\t\tSystem.out.println(x.get(i) < y.get(i) ? x.get(i) + \" \" + y.get(i) : y.get(i) + \" \" + x.get(i));\n\t\t}\n\t\tscan.close();\n\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
List<Integer> x = new ArrayList<Integer>();
List<Integer> y = new ArrayList<Integer>();
for (;;) {
int xNum = scan.nextInt();
int yNum = scan.nextInt();
if (xNum == 0&& yNum == 0) {
break;
}
x.add(xNum);
y.add(yNum);
}
for (int i = 0; i < x.size(); i++) {
System.out.println(x.get(i) < y.get(i) ? x.get(i) + " " + y.get(i) : y.get(i) + " " + x.get(i));
}
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
41,
13,
18,
13,
17,
41,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
121,
5
],
[
121,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
32,
33
],
[
32,
34
],
[
17,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
35,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
17,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
17,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
17,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
89,
95
],
[
87,
96
],
[
85,
97
],
[
80,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
103,
109
],
[
101,
110
],
[
99,
111
],
[
8,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
6,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
] | [
"import java.io.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder out = new StringBuilder();\n\t\twhile(true){\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(out);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder out = new StringBuilder();\n\t\twhile(true){\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(out);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder out = new StringBuilder();\n\t\twhile(true){\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(out);\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder out = new StringBuilder();\n\t\twhile(true){\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(out);\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder out = new StringBuilder();",
"out",
"new StringBuilder()",
"while(true){\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}",
"String str = in.readLine();",
"str",
"in.readLine()",
"in.readLine",
"in",
"String[] words = str.split(\"\\\\s\");",
"words",
"str.split(\"\\\\s\")",
"str.split",
"str",
"\"\\\\s\"",
"int[] data = new int[words.length];",
"data",
"new int[words.length]",
"words.length",
"words",
"words.length",
"for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i < words.length",
"i",
"words.length",
"words",
"words.length",
"i++",
"i++",
"i",
"{\n data[i] = Integer.parseInt(words[i]);\n }",
"{\n data[i] = Integer.parseInt(words[i]);\n }",
"data[i] = Integer.parseInt(words[i])",
"data[i]",
"data",
"i",
"Integer.parseInt(words[i])",
"Integer.parseInt",
"Integer",
"words[i]",
"words",
"i",
"int x = data[0];",
"x",
"data[0]",
"data",
"0",
"int y = data[1];",
"y",
"data[1]",
"data",
"1",
"if( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}",
"out.append(x).append(\" \").append(y).append(\"\\n\")",
"out.append(x).append(\" \").append(y).append",
"out.append(x).append(\" \").append(y)",
"out.append(x).append(\" \").append",
"out.append(x).append(\" \")",
"out.append(x).append",
"out.append(x)",
"out.append",
"out",
"x",
"\" \"",
"y",
"\"\\n\"",
"{\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}",
"out.append(y).append(\" \").append(x).append(\"\\n\")",
"out.append(y).append(\" \").append(x).append",
"out.append(y).append(\" \").append(x)",
"out.append(y).append(\" \").append",
"out.append(y).append(\" \")",
"out.append(y).append",
"out.append(y)",
"out.append",
"out",
"y",
"\" \"",
"x",
"\"\\n\"",
"System.out.print(out)",
"System.out.print",
"System.out",
"System",
"System.out",
"out",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder out = new StringBuilder();\n\t\twhile(true){\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(out);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder out = new StringBuilder();\n\t\twhile(true){\n\t\t\tString str = in.readLine();\n String[] words = str.split(\"\\\\s\");\n\t\t\tint[] data = new int[words.length];\n for(int i=0; i < words.length; i++){\n data[i] = Integer.parseInt(words[i]);\n }\n\t\t\tint x = data[0];\n\t\t\tint y = data[1];\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if( x < y ){\n\t\t\t\tout.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else {\n\t\t\t\tout.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(out);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
StringBuilder out = new StringBuilder();
while(true){
String str = in.readLine();
String[] words = str.split("\\s");
int[] data = new int[words.length];
for(int i=0; i < words.length; i++){
data[i] = Integer.parseInt(words[i]);
}
int x = data[0];
int y = data[1];
if( x == 0 && y == 0){
break;
}else if( x < y ){
out.append(x).append(" ").append(y).append("\n");
}else {
out.append(y).append(" ").append(x).append("\n");
}
}
System.out.print(out);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
13,
17,
30,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
66,
5
],
[
66,
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
],
[
23,
27
],
[
22,
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
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
28,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
28,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n while( x+y > 0 ){\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n while( x+y > 0 ){\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n while( x+y > 0 ){\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n while( x+y > 0 ){\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\n }\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",
"while( x+y > 0 ){\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\n }",
"x+y > 0",
"x+y",
"x",
"y",
"0",
"{\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\n }",
"if(x > y){\n int a = x;\n x = y;\n y = a;\n }",
"x > y",
"x",
"y",
"{\n int a = x;\n x = y;\n y = a;\n }",
"int a = x;",
"a",
"x",
"x = y",
"x",
"y",
"y = a",
"y",
"a",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"x = scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"y = scanner.nextInt()",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n while( x+y > 0 ){\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n while( x+y > 0 ){\n if(x > y){\n int a = x;\n x = y;\n y = a;\n }\n \n System.out.println(x+\" \"+y);\n x = scanner.nextInt();\n y = scanner.nextInt();\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();
while( x+y > 0 ){
if(x > y){
int a = x;
x = y;
y = a;
}
System.out.println(x+" "+y);
x = scanner.nextInt();
y = scanner.nextInt();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
41,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
35,
44
],
[
44,
45
],
[
44,
46
],
[
20,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
20,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1;\n int b = 1;\n\n while (true) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1;\n int b = 1;\n\n while (true) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1;\n int b = 1;\n\n while (true) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n int a = 1;\n int b = 1;\n\n while (true) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"int a = 1;",
"a",
"1",
"int b = 1;",
"b",
"1",
"while (true) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }",
"true",
"{\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }",
"a = scanner.nextInt()",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"b = scanner.nextInt()",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }",
"a > b",
"a",
"b",
"{\n int c;\n c = a;\n a = b;\n b = c;\n }",
"int c;",
"c",
"c = a",
"c",
"a",
"a = b",
"a",
"b",
"b = c",
"b",
"c",
"if (a == 0 && b ==0) {\n break;\n }",
"a == 0 && b ==0",
"a == 0",
"a",
"0",
"b ==0",
"b",
"0",
"{\n break;\n }",
"break;",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1;\n int b = 1;\n\n while (true) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int a = 1;\n int b = 1;\n\n while (true) {\n a = scanner.nextInt();\n b = scanner.nextInt();\n if (a > b) {\n int c;\n c = a;\n a = b;\n b = c;\n }\n if (a == 0 && b ==0) {\n break;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int a = 1;
int b = 1;
while (true) {
a = scanner.nextInt();
b = scanner.nextInt();
if (a > b) {
int c;
c = a;
a = b;
b = c;
}
if (a == 0 && b ==0) {
break;
}
System.out.println(a + " " + b);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
37,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
51,
61
],
[
61,
62
],
[
61,
63
],
[
51,
64
],
[
64,
65
],
[
64,
66
],
[
51,
67
],
[
67,
68
],
[
67,
69
],
[
36,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
76,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
36,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
36,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
4,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
90,
96
],
[
96,
97
]
] | [
"import java.util.Scanner;\n\tclass Main{\n\tpublic void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x,y,z;\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}else{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}\npublic static void main(String[] args) {\n\tnew Main().Germany();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x,y,z;\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}else{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}\npublic static void main(String[] args) {\n\tnew Main().Germany();\n\t}\n}",
"Main",
"public void Germany() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x,y,z;\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}else{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}",
"Germany",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x,y,z;\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\twhile(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}else{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x",
"x",
"y",
"y",
"z;",
"z",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x != 0 || y != 0){\n\t\t\tif(x > y){\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}else{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\tif(x > y){\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}else{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}",
"if(x > y){\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}else{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}",
"z = x",
"z",
"x",
"x = y",
"x",
"y",
"y = z",
"y",
"z",
"{\n\t\t\t\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t\tz = y;\n\t\t\t\ty = x;\n\t\t\t\tx = z;\t\t\t\t\n\t\t\t}",
"z = x",
"z",
"x",
"x = y",
"x",
"y",
"y = z",
"y",
"z",
"z = y",
"z",
"y",
"y = x",
"y",
"x",
"x = z",
"x",
"z",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[] args) {\n\tnew Main().Germany();\n\t}",
"main",
"{\n\tnew Main().Germany();\n\t}",
"new Main().Germany()",
"new Main().Germany",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public void Germany() {
Scanner sc = new Scanner(System.in);
int x,y,z;
x = sc.nextInt();
y = sc.nextInt();
while(x != 0 || y != 0){
if(x > y){
z = x;
x = y;
y = z;
}else{
z = x;
x = y;
y = z;
z = y;
y = x;
x = z;
}
System.out.println(x + " " + y);
x = sc.nextInt();
y = sc.nextInt();
}
}
public static void main(String[] args) {
new Main().Germany();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
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,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
129,
8
],
[
129,
9
],
[
9,
10
],
[
9,
11
],
[
129,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
38,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
38,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
65,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
65,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
65,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
61,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
94,
96
],
[
89,
97
],
[
97,
98
],
[
89,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
99,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
99,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
99,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
24,
123
],
[
123,
124
],
[
124,
125
],
[
12,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n \n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n \n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"Main",
"private final static String SPACE = \" \";",
"SPACE",
"\" \"",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }",
"main",
"{\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }",
"try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }",
"catch (Exception e) {\n System.exit(-1);\n }",
"Exception e",
"{\n System.exit(-1);\n }",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n }",
"BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(\n new InputStreamReader(System.in))",
"String sStr;",
"sStr",
"while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }",
"(sStr = stdReader.readLine()) != null",
"(sStr = stdReader.readLine())",
"sStr",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }",
"String[] inputs = sStr.split(\" \");",
"inputs",
"sStr.split(\" \")",
"sStr.split",
"sStr",
"\" \"",
"int x = Integer.valueOf(inputs[0]);",
"x",
"Integer.valueOf(inputs[0])",
"Integer.valueOf",
"Integer",
"inputs[0]",
"inputs",
"0",
"int y = Integer.valueOf(inputs[1]);",
"y",
"Integer.valueOf(inputs[1])",
"Integer.valueOf",
"Integer",
"inputs[1]",
"inputs",
"1",
"if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }",
"x < y",
"x",
"y",
"{\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n }",
"System.out.print(x)",
"System.out.print",
"System.out",
"System",
"System.out",
"x",
"System.out.print(SPACE)",
"System.out.print",
"System.out",
"System",
"System.out",
"SPACE",
"System.out.print(y)",
"System.out.print",
"System.out",
"System",
"System.out",
"y",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n // nothing to do\n }",
"break;",
"{\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }",
"System.out.print(y)",
"System.out.print",
"System.out",
"System",
"System.out",
"y",
"System.out.print(SPACE)",
"System.out.print",
"System.out",
"System",
"System.out",
"SPACE",
"System.out.print(x)",
"System.out.print",
"System.out",
"System",
"System.out",
"x",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n \n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"public class Main {\n \n private final static String SPACE = \" \";\n \n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(\n new InputStreamReader(System.in));\n \n String sStr;\n while ((sStr = stdReader.readLine()) != null) {\n String[] inputs = sStr.split(\" \");\n \n int x = Integer.valueOf(inputs[0]);\n int y = Integer.valueOf(inputs[1]);\n \n if (x < y) {\n System.out.print(x);\n System.out.print(SPACE);\n System.out.print(y);\n System.out.println();\n } else if (x == 0 && y == 0) {\n break;\n // nothing to do\n } else {\n System.out.print(y);\n System.out.print(SPACE);\n System.out.print(x);\n System.out.println();\n }\n }\n \n stdReader.close();\n } catch (Exception e) {\n System.exit(-1);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
private final static String SPACE = " ";
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(
new InputStreamReader(System.in));
String sStr;
while ((sStr = stdReader.readLine()) != null) {
String[] inputs = sStr.split(" ");
int x = Integer.valueOf(inputs[0]);
int y = Integer.valueOf(inputs[1]);
if (x < y) {
System.out.print(x);
System.out.print(SPACE);
System.out.print(y);
System.out.println();
} else if (x == 0 && y == 0) {
break;
// nothing to do
} else {
System.out.print(y);
System.out.print(SPACE);
System.out.print(x);
System.out.println();
}
}
stdReader.close();
} catch (Exception e) {
System.exit(-1);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
17,
13,
30,
3,
30,
41,
13,
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,
13,
2,
2,
13,
17,
13,
30,
4,
18,
13,
2,
2,
13,
17,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
39,
44
],
[
44,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
46,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
46,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
78,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
69,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
87,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
46,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
22,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
104,
105
],
[
12,
106
],
[
106,
107
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\n try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n StringBuilder sb = new StringBuilder();\n while(true){\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }\n System.out.print(sb.toString());\n\n } catch (IOException e) {\n e.printStackTrace();\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",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\n try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n StringBuilder sb = new StringBuilder();\n while(true){\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }\n System.out.print(sb.toString());\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\n try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n StringBuilder sb = new StringBuilder();\n while(true){\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }\n System.out.print(sb.toString());\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\t}",
"main",
"{\n\n\n try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n StringBuilder sb = new StringBuilder();\n while(true){\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }\n System.out.print(sb.toString());\n\n } catch (IOException e) {\n e.printStackTrace();\n }\n\t}",
"try {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n StringBuilder sb = new StringBuilder();\n while(true){\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }\n System.out.print(sb.toString());\n\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String inputData;\n StringBuilder sb = new StringBuilder();\n while(true){\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }\n System.out.print(sb.toString());\n\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String inputData;",
"inputData",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }",
"true",
"{\n\t inputData = reader.readLine();\n\t if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }\n }",
"inputData = reader.readLine()",
"inputData",
"reader.readLine()",
"reader.readLine",
"reader",
"if(\"0 0\".equals(inputData)){\n\t \tbreak;\n\t }else{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }",
"\"0 0\".equals(inputData)",
"\"0 0\".equals",
"\"0 0\"",
"inputData",
"{\n\t \tbreak;\n\t }",
"break;",
"{\n\t\t\t\t\tString[] strNumber = inputData.split(\" \");\n\t\t\t\t\tint a = Integer.parseInt(strNumber[0]);\n\t\t\t\t\tint b = Integer.parseInt(strNumber[1]);\n\t\t\t\t\tif(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t }",
"String[] strNumber = inputData.split(\" \");",
"strNumber",
"inputData.split(\" \")",
"inputData.split",
"inputData",
"\" \"",
"int a = Integer.parseInt(strNumber[0]);",
"a",
"Integer.parseInt(strNumber[0])",
"Integer.parseInt",
"Integer",
"strNumber[0]",
"strNumber",
"0",
"int b = Integer.parseInt(strNumber[1]);",
"b",
"Integer.parseInt(strNumber[1])",
"Integer.parseInt",
"Integer",
"strNumber[1]",
"strNumber",
"1",
"if(a > b){\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}else{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\t\t\t\tsb.append(b + \" \" + a);\n\t\t\t\t\t}",
"sb.append(b + \" \" + a)",
"sb.append",
"sb",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"{\n\t\t\t\t\t\tsb.append(a + \" \" + b);\n\t\t\t\t\t}",
"sb.append(a + \" \" + b)",
"sb.append",
"sb",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"sb.append(System.getProperty(\"line.separator\"))",
"sb.append",
"sb",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String inputData;
StringBuilder sb = new StringBuilder();
while(true){
inputData = reader.readLine();
if("0 0".equals(inputData)){
break;
}else{
String[] strNumber = inputData.split(" ");
int a = Integer.parseInt(strNumber[0]);
int b = Integer.parseInt(strNumber[1]);
if(a > b){
sb.append(b + " " + a);
}else{
sb.append(a + " " + b);
}
sb.append(System.getProperty("line.separator"));
}
}
System.out.print(sb.toString());
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
35,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
6,
61
],
[
61,
62
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x == 0 && y == 0){\n break;\n }else if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x == 0 && y == 0){\n break;\n }else if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x == 0 && y == 0){\n break;\n }else if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x == 0 && y == 0){\n break;\n }else if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x == 0 && y == 0){\n break;\n }else if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
"true",
"{\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x == 0 && y == 0){\n break;\n }else if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0 && y == 0){\n break;\n }else if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if(x <= y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }",
"x <= y",
"x",
"y",
"{\n System.out.println(x+\" \"+y);\n }",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"{\n System.out.println(y+\" \"+x);\n }",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"String args[]",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
while(true){
int x = sc.nextInt();
int y = sc.nextInt();
if(x == 0 && y == 0){
break;
}else if(x <= y){
System.out.println(x+" "+y);
}else{
System.out.println(y+" "+x);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
103,
11
],
[
103,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
30,
35
],
[
27,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
27,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
27,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
71,
77
],
[
69,
78
],
[
67,
79
],
[
62,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
85,
91
],
[
83,
92
],
[
81,
93
],
[
14,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
12,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int a",
"a",
"b;",
"b",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}",
"true",
"{\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}",
"String[] spl = br.readLine().split(\" \");",
"spl",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"a=Integer.parseInt(spl[0])",
"a",
"Integer.parseInt(spl[0])",
"Integer.parseInt",
"Integer",
"spl[0]",
"spl",
"0",
"b=Integer.parseInt(spl[1])",
"b",
"Integer.parseInt(spl[1])",
"Integer.parseInt",
"Integer",
"spl[1]",
"spl",
"1",
"if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"{\n \tbreak;\n }",
"break;",
"if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }",
"a>b",
"a",
"b",
"{\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }",
"sb.append(b).append(\" \").append(a).append(\"\\n\")",
"sb.append(b).append(\" \").append(a).append",
"sb.append(b).append(\" \").append(a)",
"sb.append(b).append(\" \").append",
"sb.append(b).append(\" \")",
"sb.append(b).append",
"sb.append(b)",
"sb.append",
"sb",
"b",
"\" \"",
"a",
"\"\\n\"",
"{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }",
"sb.append(a).append(\" \").append(b).append(\"\\n\")",
"sb.append(a).append(\" \").append(b).append",
"sb.append(a).append(\" \").append(b)",
"sb.append(a).append(\" \").append",
"sb.append(a).append(\" \")",
"sb.append(a).append",
"sb.append(a)",
"sb.append",
"sb",
"a",
"\" \"",
"b",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint a,b;\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] spl = br.readLine().split(\" \");\n a=Integer.parseInt(spl[0]);\n b=Integer.parseInt(spl[1]);\n\n if(a==0 && b==0){\n \tbreak;\n }\n else if(a>b){\n \tsb.append(b).append(\" \").append(a).append(\"\\n\");\n }else{\n \tsb.append(a).append(\" \").append(b).append(\"\\n\");\n }\n\n\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a,b;
StringBuilder sb = new StringBuilder();
while(true){
String[] spl = br.readLine().split(" ");
a=Integer.parseInt(spl[0]);
b=Integer.parseInt(spl[1]);
if(a==0 && b==0){
break;
}
else if(a>b){
sb.append(b).append(" ").append(a).append("\n");
}else{
sb.append(a).append(" ").append(b).append("\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
16,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
37,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
6,
63
],
[
63,
64
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) throws Exception{\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(x == 0 && y == 0){\n break;\n }\n if(x < y){\n System.out.println(x + \" \" + y);\n }else {\n System.out.println(y + \" \" + x);\n }\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args) throws Exception{\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(x == 0 && y == 0){\n break;\n }\n if(x < y){\n System.out.println(x + \" \" + y);\n }else {\n System.out.println(y + \" \" + x);\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(x == 0 && y == 0){\n break;\n }\n if(x < y){\n System.out.println(x + \" \" + y);\n }else {\n System.out.println(y + \" \" + x);\n }\n }\n\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n while(sc.hasNext()){\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(x == 0 && y == 0){\n break;\n }\n if(x < y){\n System.out.println(x + \" \" + y);\n }else {\n System.out.println(y + \" \" + x);\n }\n }\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(x == 0 && y == 0){\n break;\n }\n if(x < y){\n System.out.println(x + \" \" + y);\n }else {\n System.out.println(y + \" \" + x);\n }\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\n int x = sc.nextInt();\n int y = sc.nextInt();\n\n if(x == 0 && y == 0){\n break;\n }\n if(x < y){\n System.out.println(x + \" \" + y);\n }else {\n System.out.println(y + \" \" + x);\n }\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x == 0 && y == 0){\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if(x < y){\n System.out.println(x + \" \" + y);\n }else {\n System.out.println(y + \" \" + x);\n }",
"x < y",
"x",
"y",
"{\n System.out.println(x + \" \" + y);\n }",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n System.out.println(y + \" \" + x);\n }",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
int x = sc.nextInt();
int y = sc.nextInt();
if(x == 0 && y == 0){
break;
}
if(x < y){
System.out.println(x + " " + y);
}else {
System.out.println(y + " " + x);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
4,
18,
18,
13,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
17,
30,
3,
41,
13,
4,
18,
18,
13,
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,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
124,
5
],
[
124,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
38,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
62,
69
],
[
69,
70
],
[
61,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
61,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
61,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
92,
94
],
[
61,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
106,
106
],
[
106,
107
],
[
106,
108
],
[
106,
109
],
[
95,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
117,
117
],
[
117,
118
],
[
117,
119
],
[
117,
120
],
[
6,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[3001];\n\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < line.length; i++) {\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[3001];\n\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < line.length; i++) {\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[3001];\n\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < line.length; i++) {\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[3001];\n\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < line.length; i++) {\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] line = new String[3001];",
"line",
"new String[3001]",
"3001",
"for (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length",
"i",
"line.length",
"line",
"line.length",
"i++",
"i++",
"i",
"{\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"line[i] = sc.nextLine()",
"line[i]",
"line",
"i",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"line[i].equals(\"0 0\")",
"line[i].equals",
"line[i]",
"line",
"i",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < line.length; i++) {\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < line.length",
"i",
"line.length",
"line",
"line.length",
"i++",
"i++",
"i",
"{\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}",
"{\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}",
"if (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"line[i].equals(\"0 0\")",
"line[i].equals",
"line[i]",
"line",
"i",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] lined = line[i].split(\" \");",
"lined",
"line[i].split(\" \")",
"line[i].split",
"line[i]",
"line",
"i",
"\" \"",
"int v = Integer.parseInt(lined[0]);",
"v",
"Integer.parseInt(lined[0])",
"Integer.parseInt",
"Integer",
"lined[0]",
"lined",
"0",
"int v2 = Integer.parseInt(lined[1]);",
"v2",
"Integer.parseInt(lined[1])",
"Integer.parseInt",
"Integer",
"lined[1]",
"lined",
"1",
"if (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}",
"v > v2",
"v",
"v2",
"{\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t}",
"System.out.println(v2 + \" \" + v)",
"System.out.println",
"System.out",
"System",
"System.out",
"v2 + \" \" + v",
"v2 + \" \" + v",
"v2",
"\" \"",
"v",
"{\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}",
"System.out.println(v + \" \" + v2)",
"System.out.println",
"System.out",
"System",
"System.out",
"v + \" \" + v2",
"v + \" \" + v2",
"v",
"\" \"",
"v2",
"String[] arges",
"arges",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[3001];\n\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < line.length; i++) {\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString[] line = new String[3001];\n\n\t\tfor (int i = 0; i < line.length; i++) {\n\t\t\tline[i] = sc.nextLine();\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < line.length; i++) {\n\n\t\t\tif (line[i].equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] lined = line[i].split(\" \");\n\t\t\tint v = Integer.parseInt(lined[0]);\n\t\t\tint v2 = Integer.parseInt(lined[1]);\n\t\t\tif (v > v2) {\n\t\t\t\tSystem.out.println(v2 + \" \" + v);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(v + \" \" + v2);\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] arges) {
Scanner sc = new Scanner(System.in);
String[] line = new String[3001];
for (int i = 0; i < line.length; i++) {
line[i] = sc.nextLine();
if (line[i].equals("0 0")) {
break;
}
}
for (int i = 0; i < line.length; i++) {
if (line[i].equals("0 0")) {
break;
}
String[] lined = line[i].split(" ");
int v = Integer.parseInt(lined[0]);
int v2 = Integer.parseInt(lined[1]);
if (v > v2) {
System.out.println(v2 + " " + v);
} else {
System.out.println(v + " " + v2);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
2,
17,
4,
18,
13,
13,
13,
17,
4,
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
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
15,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
42,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
41,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
50,
54
],
[
6,
55
],
[
55,
56
]
] | [
"import java.util.*;\nclass Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b));\n }\n }\n}",
"Main",
"public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b));\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b));\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;;) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b));\n }",
";",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b));\n }",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b));\n }",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a == 0 && b == 0) break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"System.out.println(\"\" + Math.min(a, b) + \" \" + Math.max(a,b))",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\" + Math.min(a, b) + \" \" + Math.max(a,b)",
"\" \"",
"\"\" + Math.min(a, b) + \" \" + Math.max(a,b)",
"\"\"",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"\" \"",
"Math.max(a,b)",
"Math.max",
"Math",
"a",
"b",
"String[]args",
"args"
] | import java.util.*;
class Main {
public static void main(String[]args)throws Exception {
Scanner sc = new Scanner(System.in);
for(;;) {
int a = sc.nextInt();
int b = sc.nextInt();
if(a == 0 && b == 0) break;
System.out.println("" + Math.min(a, b) + " " + Math.max(a,b));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
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,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
24,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
24,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
24,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
6,
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\tfor(int i = 1 ; i <= 10000; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + 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 sc = new Scanner(System.in);\n\t\tfor(int i = 1 ; i <= 10000; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i = 1 ; i <= 10000; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i = 1 ; i <= 10000; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 1 ; i <= 10000; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"int i = 1 ;",
"int i = 1 ;",
"i",
"1",
"i <= 10000",
"i",
"10000",
"i++",
"i++",
"i",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int t = 0;",
"t",
"0",
"if(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}",
"t = x",
"t",
"x",
"x = y",
"x",
"y",
"y = t",
"y",
"t",
"if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i = 1 ; i <= 10000; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i = 1 ; i <= 10000; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tint t = 0;\n\t\t\tif(x > y) {\n\t\t\t\tt = x;\n\t\t\t\tx = y;\n\t\t\t\ty = t;\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(int i = 1 ; i <= 10000; i++) {
int x = sc.nextInt();
int y = sc.nextInt();
int t = 0;
if(x > y) {
t = x;
x = y;
y = t;
}
if(x == 0 && y == 0) {
break;
}
System.out.println(x + " " + y);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
0,
13,
20,
41,
13,
17,
41,
13,
41,
13,
41,
13,
11,
1,
13,
30,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
115,
11
],
[
115,
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
],
[
14,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
37,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
37,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
37,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
37,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
37,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
97,
97
],
[
97,
98
],
[
97,
99
],
[
97,
100
],
[
86,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
108,
108
],
[
108,
109
],
[
108,
110
],
[
108,
111
],
[
12,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args){\n\n\t\tString str = null;\n\t\tBufferedReader br = null;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tboolean b = true;\n\t\tString[] str1;\n\t\tint n1,n2;\n\t\t\n\t\tfor(;b;){\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}\n\t\t\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args){\n\n\t\tString str = null;\n\t\tBufferedReader br = null;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tboolean b = true;\n\t\tString[] str1;\n\t\tint n1,n2;\n\t\t\n\t\tfor(;b;){\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args){\n\n\t\tString str = null;\n\t\tBufferedReader br = null;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tboolean b = true;\n\t\tString[] str1;\n\t\tint n1,n2;\n\t\t\n\t\tfor(;b;){\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}\n\t\t\n\t}",
"main",
"{\n\n\t\tString str = null;\n\t\tBufferedReader br = null;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tboolean b = true;\n\t\tString[] str1;\n\t\tint n1,n2;\n\t\t\n\t\tfor(;b;){\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}\n\t\t\n\t}",
"String str = null;",
"str",
"null",
"BufferedReader br = null;",
"br",
"null",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"boolean b = true;",
"b",
"true",
"String[] str1;",
"str1",
"int n1",
"n1",
"n2;",
"n2",
"for(;b;){\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}",
";",
"b",
"{\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}",
"{\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}",
"try {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\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",
"{\n\t\t\tstr = br.readLine();\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"str1 = str.split(\" \")",
"str1",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"n1 = Integer.parseInt(str1[0])",
"n1",
"Integer.parseInt(str1[0])",
"Integer.parseInt",
"Integer",
"str1[0]",
"str1",
"0",
"n2 = Integer.parseInt(str1[1])",
"n2",
"Integer.parseInt(str1[1])",
"Integer.parseInt",
"Integer",
"str1[1]",
"str1",
"1",
"if(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}",
"n1==0 && n2==0",
"n1==0",
"n1",
"0",
"n2==0",
"n2",
"0",
"{\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}",
"b = false",
"b",
"false",
"break;",
"if(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}",
"n1>n2",
"n1",
"n2",
"{\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}",
"System.out.println(n2+\" \"+n1)",
"System.out.println",
"System.out",
"System",
"System.out",
"n2+\" \"+n1",
"n2+\" \"+n1",
"n2",
"\" \"",
"n1",
"{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}",
"System.out.println(n1+\" \"+n2)",
"System.out.println",
"System.out",
"System",
"System.out",
"n1+\" \"+n2",
"n1+\" \"+n2",
"n1",
"\" \"",
"n2",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args){\n\n\t\tString str = null;\n\t\tBufferedReader br = null;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tboolean b = true;\n\t\tString[] str1;\n\t\tint n1,n2;\n\t\t\n\t\tfor(;b;){\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}\n\t\t\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args){\n\n\t\tString str = null;\n\t\tBufferedReader br = null;\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tboolean b = true;\n\t\tString[] str1;\n\t\tint n1,n2;\n\t\t\n\t\tfor(;b;){\n\t\t\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\t// TODO ????????????????????? catch ????????????\n\t\t\te.printStackTrace();\n\t\t}\n\t\t\n\t\t\n\t\tstr1 = str.split(\" \");\n\t\tn1 = Integer.parseInt(str1[0]);\n\t\tn2 = Integer.parseInt(str1[1]);\n\t\t\n\t\tif(n1==0 && n2==0){\n\t\t\tb = false;\n\t\t\tbreak;\n\t\t\t}\n\t\t\n\t\tif(n1>n2){\n\t\tSystem.out.println(n2+\" \"+n1);\n\t\t}else{\n\t\t\tSystem.out.println(n1+\" \"+n2);\n\t\t}\n\t\t\n\t\t\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args){
String str = null;
BufferedReader br = null;
br = new BufferedReader(new InputStreamReader(System.in));
boolean b = true;
String[] str1;
int n1,n2;
for(;b;){
try {
str = br.readLine();
} catch (IOException e) {
// TODO ????????????????????? catch ????????????
e.printStackTrace();
}
str1 = str.split(" ");
n1 = Integer.parseInt(str1[0]);
n2 = Integer.parseInt(str1[1]);
if(n1==0 && n2==0){
b = false;
break;
}
if(n1>n2){
System.out.println(n2+" "+n1);
}else{
System.out.println(n1+" "+n2);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
41,
13,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
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
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
34,
43
],
[
43,
44
],
[
43,
45
],
[
19,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
46,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(i == 1){\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}",
"i == 1",
"i",
"1",
"{\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}",
"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\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}",
"X > Y",
"X",
"Y",
"{\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}",
"int tmp;",
"tmp",
"tmp = X",
"tmp",
"X",
"X = Y",
"X",
"Y",
"Y = tmp",
"Y",
"tmp",
"if(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);",
"X == 0 && Y == 0",
"X == 0",
"X",
"0",
"Y == 0",
"Y",
"0",
"break;",
"System.out.println(X +\" \"+ Y)",
"System.out.println",
"System.out",
"System",
"System.out",
"X +\" \"+ Y",
"X +\" \"+ Y",
"X",
"\" \"",
"Y",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i = 1;\n\t\twhile(i == 1){\n\t\t\tint X = sc.nextInt();\n\t\t\tint Y = sc.nextInt();\n\t\t\tif(X > Y){\n\t\t\t\tint tmp;\n\t\t\t\ttmp = X;\n\t\t\t\tX = Y;\n\t\t\t\tY = tmp;\n\t\t\t}\n\t\t\tif(X == 0 && Y == 0)\n\t\t\t\tbreak;\n\t\t\telse\n\t\t\t\tSystem.out.println(X +\" \"+ Y);\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i = 1;
while(i == 1){
int X = sc.nextInt();
int Y = sc.nextInt();
if(X > Y){
int tmp;
tmp = X;
X = Y;
Y = tmp;
}
if(X == 0 && Y == 0)
break;
else
System.out.println(X +" "+ Y);
}
sc.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,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
17,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
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
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
32,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
47,
53
],
[
47,
54
],
[
32,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
32,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
]
] | [
"import java.util.*;\n\nclass Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int work;\n while (x != 0 || y != 0) {\n if (x > y) {\n work = x;\n x = y;\n y = work;\n }\n System.out.printf(\"%d %d\\n\", x, y);\n x = sc.nextInt();\n y = sc.nextInt();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int work;\n while (x != 0 || y != 0) {\n if (x > y) {\n work = x;\n x = y;\n y = work;\n }\n System.out.printf(\"%d %d\\n\", x, y);\n x = sc.nextInt();\n y = sc.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int work;\n while (x != 0 || y != 0) {\n if (x > y) {\n work = x;\n x = y;\n y = work;\n }\n System.out.printf(\"%d %d\\n\", x, y);\n x = sc.nextInt();\n y = sc.nextInt();\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int y = sc.nextInt();\n int work;\n while (x != 0 || y != 0) {\n if (x > y) {\n work = x;\n x = y;\n y = work;\n }\n System.out.printf(\"%d %d\\n\", x, y);\n x = sc.nextInt();\n y = sc.nextInt();\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 work;",
"work",
"while (x != 0 || y != 0) {\n if (x > y) {\n work = x;\n x = y;\n y = work;\n }\n System.out.printf(\"%d %d\\n\", x, y);\n x = sc.nextInt();\n y = sc.nextInt();\n }",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n if (x > y) {\n work = x;\n x = y;\n y = work;\n }\n System.out.printf(\"%d %d\\n\", x, y);\n x = sc.nextInt();\n y = sc.nextInt();\n }",
"if (x > y) {\n work = x;\n x = y;\n y = work;\n }",
"x > y",
"x",
"y",
"{\n work = x;\n x = y;\n y = work;\n }",
"work = x",
"work",
"x",
"x = y",
"x",
"y",
"y = work",
"y",
"work",
"System.out.printf(\"%d %d\\n\", x, y)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"x",
"y",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int work;
while (x != 0 || y != 0) {
if (x > y) {
work = x;
x = y;
y = work;
}
System.out.printf("%d %d\n", x, y);
x = sc.nextInt();
y = sc.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
14,
2,
4,
18,
20,
17,
4,
18,
20,
17,
3,
14,
2,
20,
20,
30,
4,
18,
13,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
18,
13,
17,
30,
4,
18,
13,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
102,
11
],
[
102,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
35,
45
],
[
23,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
46,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
67,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
23,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
14,
88
],
[
88,
89
],
[
88,
90
],
[
88,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
12,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> list = new ArrayList<String>();\n while(true) {\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }\n for(String s: list) {\n\t System.out.print(s);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> list = new ArrayList<String>();\n while(true) {\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }\n for(String s: list) {\n\t System.out.print(s);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> list = new ArrayList<String>();\n while(true) {\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }\n for(String s: list) {\n\t System.out.print(s);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> list = new ArrayList<String>();\n while(true) {\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }\n for(String s: list) {\n\t System.out.print(s);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"List<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"while(true) {\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }",
"true",
"{\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] ary = line.split(\" \");",
"ary",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;",
"new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0)",
"new Integer(ary[0]).equals(0)",
"new Integer(ary[0]).equals",
"new Integer(ary[0])",
"0",
"new Integer(ary[1]).equals(0)",
"new Integer(ary[1]).equals",
"new Integer(ary[1])",
"0",
"break;",
"if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }",
"new Integer(ary[0]) >= new Integer(ary[1])",
"new Integer(ary[0])",
"new Integer(ary[1])",
"{\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }",
"list.add(ary[1])",
"list.add",
"list",
"ary[1]",
"ary",
"1",
"list.add(\" \")",
"list.add",
"list",
"\" \"",
"list.add(ary[0])",
"list.add",
"list",
"ary[0]",
"ary",
"0",
"{\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }",
"list.add(ary[0])",
"list.add",
"list",
"ary[0]",
"ary",
"0",
"list.add(\" \")",
"list.add",
"list",
"\" \"",
"list.add(ary[1])",
"list.add",
"list",
"ary[1]",
"ary",
"1",
"list.add(\"\\n\")",
"list.add",
"list",
"\"\\n\"",
"for(String s: list) {\n\t System.out.print(s);\n }",
"String s",
"list",
"{\n\t System.out.print(s);\n }",
"{\n\t System.out.print(s);\n }",
"System.out.print(s)",
"System.out.print",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> list = new ArrayList<String>();\n while(true) {\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }\n for(String s: list) {\n\t System.out.print(s);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n List<String> list = new ArrayList<String>();\n while(true) {\n\t String line = br.readLine();\n\t String[] ary = line.split(\" \");\n\t if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) ) \n\t \tbreak;\n\t if(new Integer(ary[0]) >= new Integer(ary[1])) {\n\t\t list.add(ary[1]);\n\t\t list.add(\" \");\n\t\t list.add(ary[0]);\n\t }else {\n\t\t list.add(ary[0]);\n\t\t list.add(\" \");\n\t\t list.add(ary[1]);\n\t }\n\t list.add(\"\\n\");\n }\n for(String s: list) {\n\t System.out.print(s);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
List<String> list = new ArrayList<String>();
while(true) {
String line = br.readLine();
String[] ary = line.split(" ");
if(new Integer(ary[0]).equals(0) && new Integer(ary[1]).equals(0) )
break;
if(new Integer(ary[0]) >= new Integer(ary[1])) {
list.add(ary[1]);
list.add(" ");
list.add(ary[0]);
}else {
list.add(ary[0]);
list.add(" ");
list.add(ary[1]);
}
list.add("\n");
}
for(String s: list) {
System.out.print(s);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
13,
13,
4,
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
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
33,
41
],
[
41,
42
],
[
22,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
57,
61
],
[
12,
62
],
[
62,
63
]
] | [
"import java.lang.Math;\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n while (sn.hasNext()) {\n int a = sn.nextInt();\n int b = sn.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n System.out.println(String.format(\"%d %d\", Math.min(a, b), Math.max(a, b)));\n }\n }\n}",
"import java.lang.Math;",
"Math",
"java.lang",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n while (sn.hasNext()) {\n int a = sn.nextInt();\n int b = sn.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n System.out.println(String.format(\"%d %d\", Math.min(a, b), Math.max(a, b)));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sn = new Scanner(System.in);\n while (sn.hasNext()) {\n int a = sn.nextInt();\n int b = sn.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n System.out.println(String.format(\"%d %d\", Math.min(a, b), Math.max(a, b)));\n }\n }",
"main",
"{\n Scanner sn = new Scanner(System.in);\n while (sn.hasNext()) {\n int a = sn.nextInt();\n int b = sn.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n System.out.println(String.format(\"%d %d\", Math.min(a, b), Math.max(a, b)));\n }\n }",
"Scanner sn = new Scanner(System.in);",
"sn",
"new Scanner(System.in)",
"while (sn.hasNext()) {\n int a = sn.nextInt();\n int b = sn.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n System.out.println(String.format(\"%d %d\", Math.min(a, b), Math.max(a, b)));\n }",
"sn.hasNext()",
"sn.hasNext",
"sn",
"{\n int a = sn.nextInt();\n int b = sn.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n System.out.println(String.format(\"%d %d\", Math.min(a, b), Math.max(a, b)));\n }",
"int a = sn.nextInt();",
"a",
"sn.nextInt()",
"sn.nextInt",
"sn",
"int b = sn.nextInt();",
"b",
"sn.nextInt()",
"sn.nextInt",
"sn",
"if (a == 0 && b == 0) {\n break;\n }",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n break;\n }",
"break;",
"System.out.println(String.format(\"%d %d\", Math.min(a, b), Math.max(a, b)))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%d %d\", Math.min(a, b), Math.max(a, b))",
"String.format",
"String",
"\"%d %d\"",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"Math.max(a, b)",
"Math.max",
"Math",
"a",
"b",
"String[] args",
"args"
] | import java.lang.Math;
import java.util.ArrayList;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sn = new Scanner(System.in);
while (sn.hasNext()) {
int a = sn.nextInt();
int b = sn.nextInt();
if (a == 0 && b == 0) {
break;
}
System.out.println(String.format("%d %d", Math.min(a, b), Math.max(a, b)));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
14,
2,
18,
13,
17,
18,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
18,
13,
17,
17,
18,
13,
17,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
18,
13,
17,
17,
18,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
130,
11
],
[
130,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
38,
39
],
[
38,
40
],
[
23,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
23,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
23,
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
],
[
23,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
93,
95
],
[
88,
96
],
[
86,
97
],
[
97,
98
],
[
97,
99
],
[
84,
100
],
[
75,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
111,
113
],
[
106,
114
],
[
104,
115
],
[
115,
116
],
[
115,
117
],
[
102,
118
],
[
14,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
125,
126
],
[
12,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(true) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\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\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(true) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(true) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(true) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"while(true) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"String[] strArray = line.split(\" \");",
"strArray",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int[] intArray = new int[strArray.length];",
"intArray",
"new int[strArray.length]",
"strArray.length",
"strArray",
"strArray.length",
"intArray[0] = Integer.parseInt(strArray[0])",
"intArray[0]",
"intArray",
"0",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"intArray[1] = Integer.parseInt(strArray[1])",
"intArray[1]",
"intArray",
"1",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"if (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}",
"intArray[0] == 0 && intArray\t[1] ==0",
"intArray[0] == 0",
"intArray[0]",
"intArray",
"0",
"0",
"intArray\t[1] ==0",
"intArray\t[1]",
"intArray",
"1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}",
"intArray[0] < intArray[1]",
"intArray[0]",
"intArray",
"0",
"intArray[1]",
"intArray",
"1",
"{\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t}",
"sb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\")",
"sb.append(intArray[0]).append(\" \").append(intArray[1]).append",
"sb.append(intArray[0]).append(\" \").append(intArray[1])",
"sb.append(intArray[0]).append(\" \").append",
"sb.append(intArray[0]).append(\" \")",
"sb.append(intArray[0]).append",
"sb.append(intArray[0])",
"sb.append",
"sb",
"intArray[0]",
"intArray",
"0",
"\" \"",
"intArray[1]",
"intArray",
"1",
"\"\\n\"",
"{\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}",
"sb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\")",
"sb.append(intArray[1]).append(\" \").append(intArray[0]).append",
"sb.append(intArray[1]).append(\" \").append(intArray[0])",
"sb.append(intArray[1]).append(\" \").append",
"sb.append(intArray[1]).append(\" \")",
"sb.append(intArray[1]).append",
"sb.append(intArray[1])",
"sb.append",
"sb",
"intArray[1]",
"intArray",
"1",
"\" \"",
"intArray[0]",
"intArray",
"0",
"\"\\n\"",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(true) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(true) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] strArray = line.split(\" \");\n\t\t\tint[] intArray = new int[strArray.length];\n\t\t\tintArray[0] = Integer.parseInt(strArray[0]);\n\t\t\tintArray[1] = Integer.parseInt(strArray[1]);\n\n\t\t\tif (intArray[0] == 0 && intArray\t[1] ==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif (intArray[0] < intArray[1]) {\n\t\t\t\tsb.append(intArray[0]).append(\" \").append(intArray[1]).append(\"\\n\");\n\t\t\t} else {\n\t\t\t\tsb.append(intArray[1]).append(\" \").append(intArray[0]).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\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));
StringBuffer sb = new StringBuffer();
while(true) {
String line = br.readLine();
String[] strArray = line.split(" ");
int[] intArray = new int[strArray.length];
intArray[0] = Integer.parseInt(strArray[0]);
intArray[1] = Integer.parseInt(strArray[1]);
if (intArray[0] == 0 && intArray [1] ==0) {
break;
}
if (intArray[0] < intArray[1]) {
sb.append(intArray[0]).append(" ").append(intArray[1]).append("\n");
} else {
sb.append(intArray[1]).append(" ").append(intArray[0]).append("\n");
}
}
System.out.print(sb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
3,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
40,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
66,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
6,
70
],
[
70,
71
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\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)",
"for(;;){\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tint num1 = scan.nextInt();\n\t\t\tint num2 = scan.nextInt();\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int num1 = scan.nextInt();",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int num2 = scan.nextInt();",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(num1 == 0 && num2 ==0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}",
"num1 == 0 && num2 ==0",
"num1 == 0",
"num1",
"0",
"num2 ==0",
"num2",
"0",
"{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"break;",
"{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}",
"if(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}",
"num1 <= num2",
"num1",
"num2",
"{\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}",
"System.out.println(num1 + \" \" + num2)",
"System.out.println",
"System.out",
"System",
"System.out",
"num1 + \" \" + num2",
"num1 + \" \" + num2",
"num1",
"\" \"",
"num2",
"if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}",
"num2 < num1",
"num2",
"num1",
"{\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}",
"System.out.println(num2 + \" \" + num1)",
"System.out.println",
"System.out",
"System",
"System.out",
"num2 + \" \" + num1",
"num2 + \" \" + num1",
"num2",
"\" \"",
"num1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for(;;){
int num1 = scan.nextInt();
int num2 = scan.nextInt();
if(num1 == 0 && num2 ==0){
scan.close();
break;
}
else{
if(num1 <= num2){
System.out.println(num1 + " " + num2);
}
else if(num2 < num1){
System.out.println(num2 + " " + num1);
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
79,
5
],
[
79,
6
],
[
6,
7
],
[
79,
8
],
[
8,
9
],
[
79,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
28,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
10,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n private static int x;\n private static int y;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n for (int i = 0; i < 3000 ; i++ ) {\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n private static int x;\n private static int y;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n for (int i = 0; i < 3000 ; i++ ) {\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n }\n}",
"Main",
"private static int x;",
"x",
"private static int y;",
"y",
"public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n for (int i = 0; i < 3000 ; i++ ) {\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n }",
"main",
"{\n Scanner stdIn = new Scanner(System.in);\n for (int i = 0; i < 3000 ; i++ ) {\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n }",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"for (int i = 0; i < 3000 ; i++ ) {\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }",
"{\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }",
"x = stdIn.nextInt()",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"y = stdIn.nextInt()",
"y",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"{\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }",
"if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }",
"x <= y",
"x",
"y",
"{\n System.out.println(x + \" \" + y);\n }",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n System.out.println(y + \" \" + x);\n }",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"String[] args",
"args",
"public class Main {\n\n private static int x;\n private static int y;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n for (int i = 0; i < 3000 ; i++ ) {\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n }\n}",
"public class Main {\n\n private static int x;\n private static int y;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n for (int i = 0; i < 3000 ; i++ ) {\n x = stdIn.nextInt();\n y = stdIn.nextInt();\n if (x == 0 && y == 0) {\n break;\n } else {\n if (x <= y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static int x;
private static int y;
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
for (int i = 0; i < 3000 ; i++ ) {
x = stdIn.nextInt();
y = stdIn.nextInt();
if (x == 0 && y == 0) {
break;
} else {
if (x <= y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
42,
40,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
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
],
[
8,
14
],
[
14,
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
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
26,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
47,
47
],
[
47,
48
],
[
47,
49
],
[
47,
50
],
[
36,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
35,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
35,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
6,
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 a,b;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\twhile(!(a == 0 && b == 0)){\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\twhile(!(a == 0 && b == 0)){\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\twhile(!(a == 0 && b == 0)){\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\twhile(!(a == 0 && b == 0)){\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(!(a == 0 && b == 0)){\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}",
"!(a == 0 && b == 0)",
"(a == 0 && b == 0)",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}",
"if(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"a >= b",
"a",
"b",
"{\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String [] args",
"args",
"public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\twhile(!(a == 0 && b == 0)){\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\twhile(!(a == 0 && b == 0)){\n\t\t\tif(a >= b){\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String [] args){
Scanner sc = new Scanner(System.in);
int a,b;
a = sc.nextInt();
b = sc.nextInt();
while(!(a == 0 && b == 0)){
if(a >= b){
System.out.println(b + " " + a);
}else{
System.out.println(a + " " + b);
}
a = sc.nextInt();
b = sc.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
41,
13,
20,
17,
42,
17,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
14,
2,
18,
13,
13,
18,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
25,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
40,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
61,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
25,
79
],
[
79,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
99,
104
],
[
104,
105
],
[
104,
106
],
[
6,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint x[]=new int[10000];\n\t\tint y[]=new int[10000];\n\t\twhile(true){\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(x[j]+\" \"+y[j]);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint x[]=new int[10000];\n\t\tint y[]=new int[10000];\n\t\twhile(true){\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(x[j]+\" \"+y[j]);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint x[]=new int[10000];\n\t\tint y[]=new int[10000];\n\t\twhile(true){\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(x[j]+\" \"+y[j]);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint x[]=new int[10000];\n\t\tint y[]=new int[10000];\n\t\twhile(true){\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(x[j]+\" \"+y[j]);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=0;",
"i",
"0",
"int x[]=new int[10000];",
"x",
"new int[10000]",
"10000",
"int y[]=new int[10000];",
"y",
"new int[10000]",
"10000",
"while(true){\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}",
"true",
"{\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}",
"x[i]=sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y[i]=sc.nextInt()",
"y[i]",
"y",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}",
"x[i]==0&&y[i]==0",
"x[i]==0",
"x[i]",
"x",
"i",
"0",
"y[i]==0",
"y[i]",
"y",
"i",
"0",
"break;",
"if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}",
"x[i]>y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"{\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}",
"int val=x[i];",
"val",
"x[i]",
"x",
"i",
"x[i]=y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"y[i]=val",
"y[i]",
"y",
"i",
"val",
"i++",
"i",
"for(int j=0;j<i;j++)\tSystem.out.println(x[j]+\" \"+y[j]);",
"int j=0;",
"int j=0;",
"j",
"0",
"j<i",
"j",
"i",
"j++",
"j++",
"j",
"System.out.println(x[j]+\" \"+y[j]);",
"System.out.println(x[j]+\" \"+y[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[j]+\" \"+y[j]",
"x[j]+\" \"+y[j]",
"x[j]",
"x",
"j",
"\" \"",
"y[j]",
"y",
"j",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint x[]=new int[10000];\n\t\tint y[]=new int[10000];\n\t\twhile(true){\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(x[j]+\" \"+y[j]);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint i=0;\n\t\tint x[]=new int[10000];\n\t\tint y[]=new int[10000];\n\t\twhile(true){\n\t\t\tx[i]=sc.nextInt();\n\t\t\ty[i]=sc.nextInt();\n\n\t\t\tif(x[i]==0&&y[i]==0)\tbreak;\n\t\t\telse if(x[i]>y[i]){\n\t\t\t\tint val=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=val;\n\t\t\t}\n\n\t\t\ti++;\n\t\t}\n\n\t\tfor(int j=0;j<i;j++)\tSystem.out.println(x[j]+\" \"+y[j]);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int i=0;
int x[]=new int[10000];
int y[]=new int[10000];
while(true){
x[i]=sc.nextInt();
y[i]=sc.nextInt();
if(x[i]==0&&y[i]==0) break;
else if(x[i]>y[i]){
int val=x[i];
x[i]=y[i];
y[i]=val;
}
i++;
}
for(int j=0;j<i;j++) System.out.println(x[j]+" "+y[j]);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
14,
2,
4,
18,
17,
18,
13,
17,
4,
18,
17,
18,
13,
17,
3,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
23,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
30,
44
],
[
23,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
23,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
58,
60
],
[
23,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
71,
71
],
[
71,
72
],
[
71,
73
],
[
71,
74
],
[
61,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
6,
85
],
[
85,
86
]
] | [
"import java.io.*;\n class Main{\n public static void main(String[] args) throws Exception {\n BufferedReader line = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n while ((str = line.readLine()) != null) {\n String[] arr = str.split(\" \");\n if (\"0\".equals(arr[0]) && \"0\".equals(arr[1]))\n break;\n int x = Integer.parseInt(arr[0]);\n int y = Integer.parseInt(arr[1]);\n \n if (x > y)\n System.out.println(y + \" \" + x);\n else\n System.out.println(x + \" \" + y);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) throws Exception {\n BufferedReader line = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n while ((str = line.readLine()) != null) {\n String[] arr = str.split(\" \");\n if (\"0\".equals(arr[0]) && \"0\".equals(arr[1]))\n break;\n int x = Integer.parseInt(arr[0]);\n int y = Integer.parseInt(arr[1]);\n \n if (x > y)\n System.out.println(y + \" \" + x);\n else\n System.out.println(x + \" \" + y);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader line = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n while ((str = line.readLine()) != null) {\n String[] arr = str.split(\" \");\n if (\"0\".equals(arr[0]) && \"0\".equals(arr[1]))\n break;\n int x = Integer.parseInt(arr[0]);\n int y = Integer.parseInt(arr[1]);\n \n if (x > y)\n System.out.println(y + \" \" + x);\n else\n System.out.println(x + \" \" + y);\n }\n }",
"main",
"{\n BufferedReader line = new BufferedReader(new InputStreamReader(System.in));\n String str = null;\n while ((str = line.readLine()) != null) {\n String[] arr = str.split(\" \");\n if (\"0\".equals(arr[0]) && \"0\".equals(arr[1]))\n break;\n int x = Integer.parseInt(arr[0]);\n int y = Integer.parseInt(arr[1]);\n \n if (x > y)\n System.out.println(y + \" \" + x);\n else\n System.out.println(x + \" \" + y);\n }\n }",
"BufferedReader line = new BufferedReader(new InputStreamReader(System.in));",
"line",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = null;",
"str",
"null",
"while ((str = line.readLine()) != null) {\n String[] arr = str.split(\" \");\n if (\"0\".equals(arr[0]) && \"0\".equals(arr[1]))\n break;\n int x = Integer.parseInt(arr[0]);\n int y = Integer.parseInt(arr[1]);\n \n if (x > y)\n System.out.println(y + \" \" + x);\n else\n System.out.println(x + \" \" + y);\n }",
"(str = line.readLine()) != null",
"(str = line.readLine())",
"str",
"line.readLine()",
"line.readLine",
"line",
"null",
"{\n String[] arr = str.split(\" \");\n if (\"0\".equals(arr[0]) && \"0\".equals(arr[1]))\n break;\n int x = Integer.parseInt(arr[0]);\n int y = Integer.parseInt(arr[1]);\n \n if (x > y)\n System.out.println(y + \" \" + x);\n else\n System.out.println(x + \" \" + y);\n }",
"String[] arr = str.split(\" \");",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"if (\"0\".equals(arr[0]) && \"0\".equals(arr[1]))\n break;",
"\"0\".equals(arr[0]) && \"0\".equals(arr[1])",
"\"0\".equals(arr[0])",
"\"0\".equals",
"\"0\"",
"arr[0]",
"arr",
"0",
"\"0\".equals(arr[1])",
"\"0\".equals",
"\"0\"",
"arr[1]",
"arr",
"1",
"break;",
"int x = Integer.parseInt(arr[0]);",
"x",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"int y = Integer.parseInt(arr[1]);",
"y",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"if (x > y)\n System.out.println(y + \" \" + x);\n else\n System.out.println(x + \" \" + y);",
"x > y",
"x",
"y",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args) throws Exception {
BufferedReader line = new BufferedReader(new InputStreamReader(System.in));
String str = null;
while ((str = line.readLine()) != null) {
String[] arr = str.split(" ");
if ("0".equals(arr[0]) && "0".equals(arr[1]))
break;
int x = Integer.parseInt(arr[0]);
int y = Integer.parseInt(arr[1]);
if (x > y)
System.out.println(y + " " + x);
else
System.out.println(x + " " + y);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
3,
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,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
23,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
17,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
50,
55
],
[
17,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
66,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
66,
70
],
[
56,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
77,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
77,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t int x=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t int y=Integer.parseInt(s.substring(s.indexOf(\" \")+1));\n\t if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t int x=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t int y=Integer.parseInt(s.substring(s.indexOf(\" \")+1));\n\t if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t int x=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t int y=Integer.parseInt(s.substring(s.indexOf(\" \")+1));\n\t if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\twhile(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t int x=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t int y=Integer.parseInt(s.substring(s.indexOf(\" \")+1));\n\t if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t int x=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t int y=Integer.parseInt(s.substring(s.indexOf(\" \")+1));\n\t if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}",
"true",
"{\n\t\t\tString s=br.readLine();\n\t\t\tif(s.equals(\"0 0\")) break;\n\t int x=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t int y=Integer.parseInt(s.substring(s.indexOf(\" \")+1));\n\t if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}",
"String s=br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"if(s.equals(\"0 0\")) break;",
"s.equals(\"0 0\")",
"s.equals",
"s",
"\"0 0\"",
"break;",
"int x=Integer.parseInt(s.substring(0, s.indexOf(\" \")));",
"x",
"Integer.parseInt(s.substring(0, s.indexOf(\" \")))",
"Integer.parseInt",
"Integer",
"s.substring(0, s.indexOf(\" \"))",
"s.substring",
"s",
"0",
"s.indexOf(\" \")",
"s.indexOf",
"s",
"\" \"",
"int y=Integer.parseInt(s.substring(s.indexOf(\" \")+1));",
"y",
"Integer.parseInt(s.substring(s.indexOf(\" \")+1))",
"Integer.parseInt",
"Integer",
"s.substring(s.indexOf(\" \")+1)",
"s.substring",
"s",
"s.indexOf(\" \")+1",
"s.indexOf(\" \")",
"s.indexOf",
"s",
"\" \"",
"1",
"if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"x>y",
"x",
"y",
"{\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }",
"sb.append(y+\" \"+x+\"\\n\")",
"sb.append",
"sb",
"y+\" \"+x+\"\\n\"",
"x",
"y+\" \"+x+\"\\n\"",
"y",
"\" \"",
"x",
"\"\\n\"",
"{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"sb.append(x+\" \"+y+\"\\n\")",
"sb.append",
"sb",
"x+\" \"+y+\"\\n\"",
"y",
"x+\" \"+y+\"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb=new StringBuilder();
while(true){
String s=br.readLine();
if(s.equals("0 0")) break;
int x=Integer.parseInt(s.substring(0, s.indexOf(" ")));
int y=Integer.parseInt(s.substring(s.indexOf(" ")+1));
if(x>y){
sb.append(y+" "+x+"\n");
}else{
sb.append(x+" "+y+"\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
42,
2,
2,
17,
0,
13,
4,
18,
13,
2,
17,
0,
13,
4,
18,
13,
30,
14,
2,
13,
13,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
20,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
19,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
45,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
45,
49
],
[
36,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
55,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
55,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x,y;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x,y;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x,y;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x,y;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int x",
"x",
"y;",
"y",
"while ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}",
"0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() )",
"0 != ( x = sc.nextInt() )",
"0",
"( x = sc.nextInt() )",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0 != ( y = sc.nextInt() )",
"0",
"( y = sc.nextInt() )",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"{\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}",
"if ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );",
"x < y",
"x",
"y",
"sb.append( x + \" \" + y + \"\\n\" )",
"sb.append",
"sb",
"x + \" \" + y + \"\\n\"",
"y",
"x + \" \" + y + \"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"sb.append( y + \" \" + x + \"\\n\" )",
"sb.append",
"sb",
"y + \" \" + x + \"\\n\"",
"x",
"y + \" \" + x + \"\\n\"",
"y",
"\" \"",
"x",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x,y;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint x,y;\n\n\t\twhile ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {\n\t\t\tif ( x < y )\n\t\t\t\tsb.append( x + \" \" + y + \"\\n\" );\n\t\t\telse\n\t\t\t\tsb.append( y + \" \" + x + \"\\n\" );\n\t\t}\n\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
int x,y;
while ( 0 != ( x = sc.nextInt() ) | 0 != ( y = sc.nextInt() ) ) {
if ( x < y )
sb.append( x + " " + y + "\n" );
else
sb.append( y + " " + x + "\n" );
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
40,
13,
17,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
40,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
40,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
90,
5
],
[
90,
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
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
18,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
18,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
18,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
] | [
"\nimport 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, y;\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"while(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}",
"System.out.println(+y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"+y + \" \" + x",
"+y + \" \" + x",
"+y",
"y",
"\" \"",
"x",
"if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\n\t\t\t}",
"break;",
"if(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}",
"System.out.println(+x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"+x + \" \" + y",
"+x + \" \" + y",
"+x",
"x",
"\" \"",
"y",
"if(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}",
"x == y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}",
"System.out.println(+x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"+x + \" \" + y",
"+x + \" \" + y",
"+x",
"x",
"\" \"",
"y",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x, y;\n\t\twhile(true) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(+y + \" \" + x);\n\t\t\t}\n\t\t\tif(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\n\t\t\t}\n\n\t\t\tif(x < y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y) {\n\t\t\t\tSystem.out.println(+x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
int x, y;
while(true) {
x = sc.nextInt();
y = sc.nextInt();
if(x > y) {
System.out.println(+y + " " + x);
}
if(x == 0 && y == 0) {
break;
}
if(x < y) {
System.out.println(+x + " " + y);
}
if(x == y) {
System.out.println(+x + " " + y);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
42,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
18,
13,
17,
18,
13,
17,
17,
4,
18,
13,
18,
13,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
103,
11
],
[
103,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
31,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
31,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
31,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
60,
72
],
[
72,
73
],
[
31,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
81,
87
],
[
87,
88
],
[
87,
89
],
[
80,
90
],
[
80,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
12,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }\n \n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }\n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder st = new StringBuilder();",
"st",
"new StringBuilder()",
"String[] ary = new String[2];",
"ary",
"new String[2]",
"2",
"int[] num = new int[2];",
"num",
"new int[2]",
"2",
"while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }",
"true",
"{\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }",
"ary = br.readLine().split(\" \")",
"ary",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"num[0] = Integer.parseInt(ary[0])",
"num[0]",
"num",
"0",
"Integer.parseInt(ary[0])",
"Integer.parseInt",
"Integer",
"ary[0]",
"ary",
"0",
"num[1] = Integer.parseInt(ary[1])",
"num[1]",
"num",
"1",
"Integer.parseInt(ary[1])",
"Integer.parseInt",
"Integer",
"ary[1]",
"ary",
"1",
"if(num[0] == 0 && num[1] == 0){\n break;\n }",
"num[0] == 0 && num[1] == 0",
"num[0] == 0",
"num[0]",
"num",
"0",
"0",
"num[1] == 0",
"num[1]",
"num",
"1",
"0",
"{\n break;\n }",
"break;",
"System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1])",
"Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1])",
"Math.min(num[0], num[1])",
"Math.min",
"Math",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"\" \"",
"Math.max(num[0], num[1])",
"Math.max",
"Math",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n System.out.println(Math.min(num[0], num[1]) + \" \" + Math.max(num[0], num[1]));\n }\n \n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder st = new StringBuilder();
String[] ary = new String[2];
int[] num = new int[2];
while(true){
ary = br.readLine().split(" ");
//ary = inputStr.split(" ");
num[0] = Integer.parseInt(ary[0]);
num[1] = Integer.parseInt(ary[1]);
if(num[0] == 0 && num[1] == 0){
break;
}
System.out.println(Math.min(num[0], num[1]) + " " + Math.max(num[0], num[1]));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
20,
21
],
[
14,
22
],
[
23,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
23,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
56,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
77,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int num_mem;\n for(int i=1;; i++)\n {\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }\n }\n \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int num_mem;\n for(int i=1;; i++)\n {\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }\n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int num_mem;\n for(int i=1;; i++)\n {\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int num_mem;\n for(int i=1;; i++)\n {\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int num_mem;",
"num_mem",
"for(int i=1;; i++)\n {\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }",
"{\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }",
"String str1 = in.next();",
"str1",
"in.next()",
"in.next",
"in",
"String str2 = in.next();",
"str2",
"in.next()",
"in.next",
"in",
"int num1 = Integer.parseInt(str1);",
"num1",
"Integer.parseInt(str1)",
"Integer.parseInt",
"Integer",
"str1",
"int num2 = Integer.parseInt(str2);",
"num2",
"Integer.parseInt(str2)",
"Integer.parseInt",
"Integer",
"str2",
"if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }",
"num1 == 0 && num2 == 0",
"num1 == 0",
"num1",
"0",
"num2 == 0",
"num2",
"0",
"{break;}",
"break;",
"{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }",
"if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }",
"num1 > num2",
"num1",
"num2",
"{num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }",
"num_mem = num1",
"num_mem",
"num1",
"num1 = num2",
"num1",
"num2",
"num2 = num_mem",
"num2",
"num_mem",
"System.out.println(num1+\" \"+num2)",
"System.out.println",
"System.out",
"System",
"System.out",
"num1+\" \"+num2",
"num1+\" \"+num2",
"num1",
"\" \"",
"num2",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int num_mem;\n for(int i=1;; i++)\n {\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }\n }\n \n}",
"public class Main {\n\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int num_mem;\n for(int i=1;; i++)\n {\n String str1 = in.next();\n String str2 = in.next();\n int num1 = Integer.parseInt(str1);\n int num2 = Integer.parseInt(str2);\n if(num1 == 0 && num2 == 0){break;}\n else{\n if(num1 > num2)\n {num_mem = num1;\n num1 = num2;\n num2 = num_mem;\n }\n System.out.println(num1+\" \"+num2);\n }\n }\n }\n \n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int num_mem;
for(int i=1;; i++)
{
String str1 = in.next();
String str2 = in.next();
int num1 = Integer.parseInt(str1);
int num2 = Integer.parseInt(str2);
if(num1 == 0 && num2 == 0){break;}
else{
if(num1 > num2)
{num_mem = num1;
num1 = num2;
num2 = num_mem;
}
System.out.println(num1+" "+num2);
}
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
2,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
105,
2
],
[
105,
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
],
[
5,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
33,
34
],
[
36,
35
],
[
43,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
49,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
71,
71
],
[
71,
72
],
[
71,
73
],
[
71,
74
],
[
60,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
79,
86
],
[
86,
87
],
[
86,
88
],
[
79,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
95,
95
],
[
95,
96
],
[
95,
97
],
[
95,
98
],
[
22,
99
],
[
99,
100
],
[
99,
101
],
[
3,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tint i;\n\t\tint t = 0;\n\t\t\n\t\tdo{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}while(t < 3000);\n}\n}",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tint i;\n\t\tint t = 0;\n\t\t\n\t\tdo{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}while(t < 3000);\n}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tint i;\n\t\tint t = 0;\n\t\t\n\t\tdo{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}while(t < 3000);\n}",
"main",
"{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tint i;\n\t\tint t = 0;\n\t\t\n\t\tdo{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}while(t < 3000);\n}",
"java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"int x;",
"x",
"int y;",
"y",
"int i;",
"i",
"int t = 0;",
"t",
"0",
"do{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}while(t < 3000);",
"t < 3000",
"t",
"3000",
"{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}",
"0<=x && x<=10000 && 0<=y && y<=10000",
"0<=y",
"0<=x && x<=10000 && 0<=y && y<=10000",
"0<=x",
"0",
"x",
"x<=10000",
"x",
"10000",
"0<=y",
"0",
"y",
"y<=10000",
"y",
"10000",
"{\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}",
"if(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}",
"x<=y",
"x",
"y",
"{\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}",
"x>y",
"x",
"y",
"{\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}",
"i = x",
"i",
"x",
"x = y",
"x",
"y",
"y = i",
"y",
"i",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"t += 1",
"t",
"1",
"String[] args",
"args",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tint i;\n\t\tint t = 0;\n\t\t\n\t\tdo{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}while(t < 3000);\n}\n}",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tint i;\n\t\tint t = 0;\n\t\t\n\t\tdo{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif(0<=x && x<=10000 && 0<=y && y<=10000){\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x<=y){\n\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}else if(x>y){\n\t\t\t\ti = x;\n\t\t\t\tx = y;\n\t\t\t\ty = i;\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t}\n\t\tt += 1;\n\t\t\n\n\t}while(t < 3000);\n}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner scan = new java.util.Scanner(System.in);
int x;
int y;
int i;
int t = 0;
do{
x = scan.nextInt();
y = scan.nextInt();
if(0<=x && x<=10000 && 0<=y && y<=10000){
if(x == 0 && y == 0){
break;
}
if(x<=y){
System.out.println(x+" "+y);
}else if(x>y){
i = x;
x = y;
y = i;
System.out.println(x+" "+y);
}
}
t += 1;
}while(t < 3000);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
17,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
68,
8
],
[
68,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
15,
18
],
[
19,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
19,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
39,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.*;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(;true;){\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(;true;){\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(;true;){\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n for(;true;){\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;true;){\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
";",
"true",
"{\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
"{\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0 && y==0)break;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }",
"x < y",
"x",
"y",
"{\n System.out.println(x+\" \"+y);\n }",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"{\n System.out.println(y+\" \"+x);\n }",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(;true;){\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n for(;true;){\n int x = sc.nextInt();\n int y = sc.nextInt();\n \n if(x==0 && y==0)break;\n \n if(x < y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }\n}",
"Main"
] | import java.util.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
for(;true;){
int x = sc.nextInt();
int y = sc.nextInt();
if(x==0 && y==0)break;
if(x < y){
System.out.println(x+" "+y);
}else{
System.out.println(y+" "+x);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
62,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
62,
66
],
[
52,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
73,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
73,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
6,
86
],
[
86,
87
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}",
"true",
"{\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}",
"String[] array = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(array[0]);",
"x",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int y = Integer.parseInt(array[1]);",
"y",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n\t \tbreak;\n\t }",
"break;",
"if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"x>y",
"x",
"y",
"{\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }",
"sb.append(y+\" \"+x+\"\\n\")",
"sb.append",
"sb",
"y+\" \"+x+\"\\n\"",
"x",
"y+\" \"+x+\"\\n\"",
"y",
"\" \"",
"x",
"\"\\n\"",
"{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"sb.append(x+\" \"+y+\"\\n\")",
"sb.append",
"sb",
"x+\" \"+y+\"\\n\"",
"y",
"x+\" \"+y+\"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"System.out.print(sb.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
String[] array = br.readLine().split(" ");
int x = Integer.parseInt(array[0]);
int y = Integer.parseInt(array[1]);
if(x==0&&y==0){
break;
}else if(x>y){
sb.append(y+" "+x+"\n");
}else{
sb.append(x+" "+y+"\n");
}
}
System.out.print(sb.toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
89,
5
],
[
89,
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
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
24,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
24,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
52,
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
],
[
24,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
82,
82
],
[
82,
83
],
[
82,
84
],
[
82,
85
],
[
6,
86
],
[
86,
87
],
[
0,
88
],
[
88,
89
],
[
88,
90
]
] | [
"import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint x;\n\t\tint y;\n\t\tint w;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}//while\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint x;\n\t\tint y;\n\t\tint w;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}//while\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint x;\n\t\tint y;\n\t\tint w;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}//while\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint x;\n\t\tint y;\n\t\tint w;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}//while\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"String[] strs;",
"strs",
"int x;",
"x",
"int y;",
"y",
"int w;",
"w",
"while(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}//while",
"true",
"{\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"strs = str.split(\" \")",
"strs",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"x = Integer.parseInt(strs[0])",
"x",
"Integer.parseInt(strs[0])",
"Integer.parseInt",
"Integer",
"strs[0]",
"strs",
"0",
"y = Integer.parseInt(strs[1])",
"y",
"Integer.parseInt(strs[1])",
"Integer.parseInt",
"Integer",
"strs[1]",
"strs",
"1",
"if(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if",
"x > y",
"x",
"y",
"{\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}",
"w = y",
"w",
"y",
"y = x",
"y",
"x",
"x = w",
"x",
"w",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint x;\n\t\tint y;\n\t\tint w;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}//while\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tString[] strs;\n\t\tint x;\n\t\tint y;\n\t\tint w;\n\t\twhile(true){\n\t\t\tstr = br.readLine();\n\t\t\tstrs = str.split(\" \");\n\t\t\tx = Integer.parseInt(strs[0]);\n\t\t\ty = Integer.parseInt(strs[1]);\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if(x > y){\n\t\t\t\tw = y;\n\t\t\t\ty = x;\n\t\t\t\tx = w;\n\t\t\t}//if\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}//while\n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
String[] strs;
int x;
int y;
int w;
while(true){
str = br.readLine();
strs = str.split(" ");
x = Integer.parseInt(strs[0]);
y = Integer.parseInt(strs[1]);
if(x == 0 && y == 0){
break;
}else if(x > y){
w = y;
y = x;
x = w;
}//if
System.out.println(x + " " + y);
}//while
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
35,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
54,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\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 sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t}",
"System.out.print(x + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"x + \" \"",
"x",
"\" \"",
"System.out.println(y)",
"System.out.println",
"System.out",
"System",
"System.out",
"y",
"{\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}",
"System.out.print(y + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"y + \" \"",
"y",
"\" \"",
"System.out.println(x)",
"System.out.println",
"System.out",
"System",
"System.out",
"x",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.print(x + \" \");\n\t\t\t\tSystem.out.println(y);\n\t\t\t} else {\n\t\t\t\tSystem.out.print(y + \" \");\n\t\t\t\tSystem.out.println(x);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int x = sc.nextInt();
int y = sc.nextInt();
if (x == 0 && y == 0) {
break;
} else if (x < y) {
System.out.print(x + " ");
System.out.println(y);
} else {
System.out.print(y + " ");
System.out.println(x);
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
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
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
6,
58
],
[
58,
59
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\n do{\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n if (a == 0 && b == 0)\n break;\n \n if (a > b){\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n System.out.println(a + \" \" + b);\n }while(true);\n }\n}\n\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\n do{\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n if (a == 0 && b == 0)\n break;\n \n if (a > b){\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n System.out.println(a + \" \" + b);\n }while(true);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\n do{\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n if (a == 0 && b == 0)\n break;\n \n if (a > b){\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n System.out.println(a + \" \" + b);\n }while(true);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n do{\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n if (a == 0 && b == 0)\n break;\n \n if (a > b){\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n System.out.println(a + \" \" + b);\n }while(true);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"do{\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n if (a == 0 && b == 0)\n break;\n \n if (a > b){\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n System.out.println(a + \" \" + b);\n }while(true);",
"true",
"{\n int a = scan.nextInt();\n int b = scan.nextInt();\n\n if (a == 0 && b == 0)\n break;\n \n if (a > b){\n int tmp = a;\n a = b;\n b = tmp;\n }\n\n System.out.println(a + \" \" + b);\n }",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (a == 0 && b == 0)\n break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"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(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
do{
int a = scan.nextInt();
int b = scan.nextInt();
if (a == 0 && b == 0)
break;
if (a > b){
int tmp = a;
a = b;
b = tmp;
}
System.out.println(a + " " + b);
}while(true);
}
}
|
[
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,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
79,
20
],
[
79,
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
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
32,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
32,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
21,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
] | [
"import java.io.File;\nimport java.io.IOException;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Deque;\nimport java.util.Scanner;\n \n/*\n * メモ\n * Scanner:nextは空白か改行までの単語\n * String[][] c = new String[h][w];\n * TemplateMain,\"template_input.txt\"\n * 0.5 == 1.0/2\n * Integer.valueOf(char)はダメ、(String)\n */\n \npublic class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}\n\t}\n}",
"import java.io.File;",
"File",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}\n\t}",
"main",
"{\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(true){\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}",
"true",
"{\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}",
"int in1 = sc.nextInt();",
"in1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int in2 = sc.nextInt();",
"in2",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(in1 == 0 && in2 == 0) break;",
"in1 == 0 && in2 == 0",
"in1 == 0",
"in1",
"0",
"in2 == 0",
"in2",
"0",
"break;",
"if(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}",
"in1 > in2",
"in1",
"in2",
"{\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}",
"int d = in1;",
"d",
"in1",
"in1 = in2",
"in1",
"in2",
"in2 = d",
"in2",
"d",
"System.out.println(in1 + \" \" + in2)",
"System.out.println",
"System.out",
"System",
"System.out",
"in1 + \" \" + in2",
"in1 + \" \" + in2",
"in1",
"\" \"",
"in2",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}\n\t}\n}",
"public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint i = 1;\n\t\twhile(true){\n\t\t\tint in1 = sc.nextInt();\n\t\t\tint in2 = sc.nextInt();\n\t\t\tif(in1 == 0 && in2 == 0) break;\n\t\t\tif(in1 > in2){\n\t\t\t\tint d = in1;\n\t\t\t\tin1 = in2;\n\t\t\t\tin2 = d;\n\t\t\t}\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.File;
import java.io.IOException;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Deque;
import java.util.Scanner;
/*
* メモ
* Scanner:nextは空白か改行までの単語
* String[][] c = new String[h][w];
* TemplateMain,"template_input.txt"
* 0.5 == 1.0/2
* Integer.valueOf(char)はダメ、(String)
*/
public class Main {
public static void main(String[] args) throws IOException {
//File file = new File("input.txt");
//Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
int i = 1;
while(true){
int in1 = sc.nextInt();
int in2 = sc.nextInt();
if(in1 == 0 && in2 == 0) break;
if(in1 > in2){
int d = in1;
in1 = in2;
in2 = d;
}
System.out.println(in1 + " " + in2);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
88,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
20,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
20,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
20,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
20,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
59,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
12,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] x_y = str.split(\" \", 0);",
"x_y",
"str.split(\" \", 0)",
"str.split",
"str",
"\" \"",
"0",
"int x = Integer.parseInt(x_y[0]);",
"x",
"Integer.parseInt(x_y[0])",
"Integer.parseInt",
"Integer",
"x_y[0]",
"x_y",
"0",
"int y = Integer.parseInt(x_y[1]);",
"y",
"Integer.parseInt(x_y[1])",
"Integer.parseInt",
"Integer",
"x_y[1]",
"x_y",
"1",
"if (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"x <= y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] x_y = str.split(\" \", 0);\n\t\t\tint x = Integer.parseInt(x_y[0]);\n\t\t\tint y = Integer.parseInt(x_y[1]);\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x <= y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String str = br.readLine();
String[] x_y = str.split(" ", 0);
int x = Integer.parseInt(x_y[0]);
int y = Integer.parseInt(x_y[1]);
if (x == 0 && y == 0) {
break;
}
if (x <= y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
13,
13,
14,
2,
13,
17,
30,
3,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
13,
38,
5,
13,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
0,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
29,
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
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
18,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
44
],
[
44,
45
],
[
44,
46
],
[
37,
47
],
[
47,
48
],
[
47,
49
],
[
37,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
52,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
37,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
73,
86
],
[
87,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
15,
97
],
[
97,
98
],
[
13,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
101,
108
],
[
108,
109
],
[
108,
110
],
[
101,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
111,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
127,
129
],
[
121,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
135,
137
],
[
121,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
146,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
121,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
154,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
101,
166
],
[
166,
167
],
[
99,
168
],
[
168,
169
]
] | [
"/*\n * 2つの整数 x, y を読み込み、それらを値が小さい順に出力するプログラム\n * @author 前島佑介\n * @version 2014/12/2\n */\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\n// 3-C 2つの整数 x, y を読み込み、それらを値が小さい順に出力するプログラム\nclass Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}\n\n\t/**\n\t * 「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t * もし数字が両方0ならnullが返ってくるメソッド\n\t * @param strLine\n\t * @return strReplacement\n\t */\n\tpublic static String NumSort(String strLine) {\n\n\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t//returnで返す値を引数で初期化\n\t\tString strReplacement = strLine;\n\n\n\t\ttry{\n\t\t\t//大小の比較をするために、int型にキャスト\n\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//大小の比較で昇順にしたいので、降順なら\n\t\t\tif(intNum2 < intNum1) {\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}\n\n\t\t\tif(intNum1 == 0 && intNum2 == 0) {\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}\n\t\t//例外処理\n\t\t} catch(NumberFormatException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(\"数字で入力して下さいNumSort\");\n\n\n\t\t}\n\n\t\t//問題なければ、引数がそのまま入っている。\n\t\t//降順だったら、昇順に並び替えられている\n\t\t//値が両方0ならnull\n\t\treturn strReplacement;\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",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"class Main {\n\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}\n\n\t/**\n\t * 「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t * もし数字が両方0ならnullが返ってくるメソッド\n\t * @param strLine\n\t * @return strReplacement\n\t */\n\tpublic static String NumSort(String strLine) {\n\n\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t//returnで返す値を引数で初期化\n\t\tString strReplacement = strLine;\n\n\n\t\ttry{\n\t\t\t//大小の比較をするために、int型にキャスト\n\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//大小の比較で昇順にしたいので、降順なら\n\t\t\tif(intNum2 < intNum1) {\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}\n\n\t\t\tif(intNum1 == 0 && intNum2 == 0) {\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}\n\t\t//例外処理\n\t\t} catch(NumberFormatException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(\"数字で入力して下さいNumSort\");\n\n\n\t\t}\n\n\t\t//問題なければ、引数がそのまま入っている。\n\t\t//降順だったら、昇順に並び替えられている\n\t\t//値が両方0ならnull\n\t\treturn strReplacement;\n\n\t}\n}",
"Main",
"// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}",
"main",
"{\n\n\t\ttry{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}\n\t}",
"try{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"catch(IOException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}",
"IOException e",
"{\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(e);\n\t\t}",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"catch(NumberFormatException e) {\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"NumberFormatException e",
"{\n\n\n\t\t\t//数値以外の入力値で出力\n\t\t\tSystem.out.println(\"数値で入力して下さい\");\n\t\t}",
"System.out.println(\"数値で入力して下さい\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"数値で入力して下さい\"",
"{\n\t\t\t//キーボードからの入力準備\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\t//入力値を格納する場所を初期化\n\t\t\tString strLine = \"\";\n\n\t\t\t//入力値をint型に置き換える場所を0以外で初期化\n\t\t\tint intNum = 1;\n\n\t\t\t//入力値をint型で保存する場所\n\t\t\tArrayList<String> strArray = new ArrayList<String>();\n\n\t\t\t//入力値の取得にループさせる\n\t\t\twhile(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}\n\n\t\t\t//ループさせる\n\t\t\tfor(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}\n\n\t\t//例外処理\n\t\t}",
"BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));",
"insBR",
"new BufferedReader(new InputStreamReader(System.in))",
"String strLine = \"\";",
"strLine",
"\"\"",
"int intNum = 1;",
"intNum",
"1",
"ArrayList<String> strArray = new ArrayList<String>();",
"strArray",
"new ArrayList<String>()",
"while(true) {\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}",
"true",
"{\n\n\t\t\t\t//1行読み込む\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t\t\t\t//もし数字が両方0ならnullが返ってくるメソッド\n\t\t\t\tstrLine = NumSort(strLine);\n\n\t\t\t\t//入力値が0だったら\n\t\t\t\tif(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\t//入力値を保存\n\t\t\t\tstrArray.add(strLine);\n\t\t\t}",
"strLine = insBR.readLine()",
"strLine",
"insBR.readLine()",
"insBR.readLine",
"insBR",
"strLine = NumSort(strLine)",
"strLine",
"NumSort(strLine)",
"NumSort",
"strLine",
"if(strLine == null) {\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"strLine == null",
"strLine",
"null",
"{\n\n\t\t\t\t\t//ループから抜ける\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"strArray.add(strLine)",
"strArray.add",
"strArray",
"strLine",
"for(int i = 0; i < strArray.size(); i++) {\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < strArray.size()",
"i",
"strArray.size()",
"strArray.size",
"strArray",
"i++",
"i++",
"i",
"{\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}",
"{\n\n\t\t\t\t//出力\n\t\t\t\tSystem.out.println(strArray.get(i));\n\t\t\t}",
"System.out.println(strArray.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"strArray.get(i)",
"strArray.get",
"strArray",
"i",
"String[] args",
"args",
"/**\n\t * 「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする\n\t * もし数字が両方0ならnullが返ってくるメソッド\n\t * @param strLine\n\t * @return strReplacement\n\t */\n\tpublic static String NumSort(String strLine) {\n\n\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t//returnで返す値を引数で初期化\n\t\tString strReplacement = strLine;\n\n\n\t\ttry{\n\t\t\t//大小の比較をするために、int型にキャスト\n\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//大小の比較で昇順にしたいので、降順なら\n\t\t\tif(intNum2 < intNum1) {\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}\n\n\t\t\tif(intNum1 == 0 && intNum2 == 0) {\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}\n\t\t//例外処理\n\t\t} catch(NumberFormatException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(\"数字で入力して下さいNumSort\");\n\n\n\t\t}\n\n\t\t//問題なければ、引数がそのまま入っている。\n\t\t//降順だったら、昇順に並び替えられている\n\t\t//値が両方0ならnull\n\t\treturn strReplacement;\n\n\t}",
"NumSort",
"{\n\n\t\t//文字列の分割:入力値を\" \"で分ける\n\t\t//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる\n\t\tString[] strLineAry = strLine.split(\" \");\n\n\n\t\t//returnで返す値を引数で初期化\n\t\tString strReplacement = strLine;\n\n\n\t\ttry{\n\t\t\t//大小の比較をするために、int型にキャスト\n\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//大小の比較で昇順にしたいので、降順なら\n\t\t\tif(intNum2 < intNum1) {\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}\n\n\t\t\tif(intNum1 == 0 && intNum2 == 0) {\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}\n\t\t//例外処理\n\t\t} catch(NumberFormatException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(\"数字で入力して下さいNumSort\");\n\n\n\t\t}\n\n\t\t//問題なければ、引数がそのまま入っている。\n\t\t//降順だったら、昇順に並び替えられている\n\t\t//値が両方0ならnull\n\t\treturn strReplacement;\n\n\t}",
"String[] strLineAry = strLine.split(\" \");",
"strLineAry",
"strLine.split(\" \")",
"strLine.split",
"strLine",
"\" \"",
"String strReplacement = strLine;",
"strReplacement",
"strLine",
"try{\n\t\t\t//大小の比較をするために、int型にキャスト\n\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//大小の比較で昇順にしたいので、降順なら\n\t\t\tif(intNum2 < intNum1) {\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}\n\n\t\t\tif(intNum1 == 0 && intNum2 == 0) {\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}\n\t\t//例外処理\n\t\t} catch(NumberFormatException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(\"数字で入力して下さいNumSort\");\n\n\n\t\t}",
"catch(NumberFormatException e) {\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(\"数字で入力して下さいNumSort\");\n\n\n\t\t}",
"NumberFormatException e",
"{\n\n\t\t\t//例外時の出力\n\t\t\tSystem.out.println(\"数字で入力して下さいNumSort\");\n\n\n\t\t}",
"System.out.println(\"数字で入力して下さいNumSort\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"数字で入力して下さいNumSort\"",
"{\n\t\t\t//大小の比較をするために、int型にキャスト\n\t\t\tint intNum1 = Integer.parseInt(strLineAry[0]);\n\t\t\tint intNum2 = Integer.parseInt(strLineAry[1]);\n\n\t\t\t//大小の比較で昇順にしたいので、降順なら\n\t\t\tif(intNum2 < intNum1) {\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}\n\n\t\t\tif(intNum1 == 0 && intNum2 == 0) {\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}\n\t\t//例外処理\n\t\t}",
"int intNum1 = Integer.parseInt(strLineAry[0]);",
"intNum1",
"Integer.parseInt(strLineAry[0])",
"Integer.parseInt",
"Integer",
"strLineAry[0]",
"strLineAry",
"0",
"int intNum2 = Integer.parseInt(strLineAry[1]);",
"intNum2",
"Integer.parseInt(strLineAry[1])",
"Integer.parseInt",
"Integer",
"strLineAry[1]",
"strLineAry",
"1",
"if(intNum2 < intNum1) {\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}",
"intNum2 < intNum1",
"intNum2",
"intNum1",
"{\n\n\t\t\t\t//入れ替えした数字で文字列を作成\n\t\t\t\tstrReplacement = strLineAry[1] + \" \" + strLineAry[0];\n\t\t\t}",
"strReplacement = strLineAry[1] + \" \" + strLineAry[0]",
"strReplacement",
"strLineAry[1] + \" \" + strLineAry[0]",
"strLineAry[1] + \" \" + strLineAry[0]",
"strLineAry[1]",
"strLineAry",
"1",
"\" \"",
"strLineAry[0]",
"strLineAry",
"0",
"if(intNum1 == 0 && intNum2 == 0) {\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}",
"intNum1 == 0 && intNum2 == 0",
"intNum1 == 0",
"intNum1",
"0",
"intNum2 == 0",
"intNum2",
"0",
"{\n\n\t\t\t\tstrReplacement = null;\n\t\t\t}",
"strReplacement = null",
"strReplacement",
"null",
"return strReplacement;",
"strReplacement",
"String strLine",
"strLine"
] | /*
* 2つの整数 x, y を読み込み、それらを値が小さい順に出力するプログラム
* @author 前島佑介
* @version 2014/12/2
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
// 3-C 2つの整数 x, y を読み込み、それらを値が小さい順に出力するプログラム
class Main {
// プログラムのエントリポイント
public static void main(String[] args) {
try{
//キーボードからの入力準備
BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));
//入力値を格納する場所を初期化
String strLine = "";
//入力値をint型に置き換える場所を0以外で初期化
int intNum = 1;
//入力値をint型で保存する場所
ArrayList<String> strArray = new ArrayList<String>();
//入力値の取得にループさせる
while(true) {
//1行読み込む
strLine = insBR.readLine();
//「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする
//もし数字が両方0ならnullが返ってくるメソッド
strLine = NumSort(strLine);
//入力値が0だったら
if(strLine == null) {
//ループから抜ける
break;
}
//入力値を保存
strArray.add(strLine);
}
//ループさせる
for(int i = 0; i < strArray.size(); i++) {
//出力
System.out.println(strArray.get(i));
}
//例外処理
}catch(IOException e) {
//例外時の出力
System.out.println(e);
}catch(NumberFormatException e) {
//数値以外の入力値で出力
System.out.println("数値で入力して下さい");
}
}
/**
* 「数字、スペース、数字」となっているStringデータで、2つの数字を昇順にする
* もし数字が両方0ならnullが返ってくるメソッド
* @param strLine
* @return strReplacement
*/
public static String NumSort(String strLine) {
//文字列の分割:入力値を" "で分ける
//分けた文字列はstrLineAry[0]とstrLineAry[1]に分けられる
String[] strLineAry = strLine.split(" ");
//returnで返す値を引数で初期化
String strReplacement = strLine;
try{
//大小の比較をするために、int型にキャスト
int intNum1 = Integer.parseInt(strLineAry[0]);
int intNum2 = Integer.parseInt(strLineAry[1]);
//大小の比較で昇順にしたいので、降順なら
if(intNum2 < intNum1) {
//入れ替えした数字で文字列を作成
strReplacement = strLineAry[1] + " " + strLineAry[0];
}
if(intNum1 == 0 && intNum2 == 0) {
strReplacement = null;
}
//例外処理
} catch(NumberFormatException e) {
//例外時の出力
System.out.println("数字で入力して下さいNumSort");
}
//問題なければ、引数がそのまま入っている。
//降順だったら、昇順に並び替えられている
//値が両方0ならnull
return strReplacement;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
17,
13,
30,
3,
41,
13,
4,
18,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
18,
13,
17,
18,
13,
17,
30,
41,
13,
18,
13,
17,
0,
18,
13,
17,
18,
13,
17,
0,
18,
13,
17,
13,
4,
18,
13,
2,
2,
2,
4,
18,
13,
18,
13,
17,
17,
4,
18,
13,
18,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
126,
11
],
[
126,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
29,
34
],
[
34,
35
],
[
23,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
23,
42
],
[
42,
43
],
[
42,
44
],
[
23,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
23,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
79,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
23,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
102,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
106,
108
],
[
102,
109
],
[
101,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
113,
115
],
[
102,
116
],
[
14,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
12,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\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) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (true) {\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}",
"\"0 0\".equals(str)",
"\"0 0\".equals",
"\"0 0\"",
"str",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] strS = str.split(\" \");",
"strS",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int[] n = new int[2];",
"n",
"new int[2]",
"2",
"for (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n.length",
"i",
"n.length",
"n",
"n.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}",
"{\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}",
"n[i] = Integer.parseInt(strS[i])",
"n[i]",
"n",
"i",
"Integer.parseInt(strS[i])",
"Integer.parseInt",
"Integer",
"strS[i]",
"strS",
"i",
"if(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}",
"n[0] > n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"{\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}",
"int temp = n[0];",
"temp",
"n[0]",
"n",
"0",
"n[0] = n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"n[1] = temp",
"n[1]",
"n",
"1",
"temp",
"sb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\")",
"sb.append",
"sb",
"Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\"",
"Integer.toString(n[1])",
"Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\"",
"Integer.toString(n[0])",
"Integer.toString",
"Integer",
"n[0]",
"n",
"0",
"\" \"",
"Integer.toString(n[1])",
"Integer.toString",
"Integer",
"n[1]",
"n",
"1",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tString[] strS = str.split(\" \");\n\t\t\tint[] n = new int[2];\n\t\t\tfor (int i = 0; i < n.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(strS[i]);\n\t\t\t}\n\t\t\tif(n[0] > n[1]) {\n\t\t\t\tint temp = n[0];\n\t\t\t\tn[0] = n[1];\n\t\t\t\tn[1] = temp;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(n[0]) + \" \" + Integer.toString(n[1]) + \"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\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 {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while (true) {
String str = br.readLine();
if ("0 0".equals(str)) {
break;
}
String[] strS = str.split(" ");
int[] n = new int[2];
for (int i = 0; i < n.length; i++) {
n[i] = Integer.parseInt(strS[i]);
}
if(n[0] > n[1]) {
int temp = n[0];
n[0] = n[1];
n[1] = temp;
}
sb.append(Integer.toString(n[0]) + " " + Integer.toString(n[1]) + "\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
17,
13,
41,
13,
4,
18,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
4,
18,
13,
8,
2,
13,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
17,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
67,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
77,
80
],
[
62,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.io.*;\n\npublic class Main {\n public static void main(String... args) throws IOException {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final StringBuilder sb = new StringBuilder();\n while (true) {\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String... args) throws IOException {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final StringBuilder sb = new StringBuilder();\n while (true) {\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String... args) throws IOException {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final StringBuilder sb = new StringBuilder();\n while (true) {\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final StringBuilder sb = new StringBuilder();\n while (true) {\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"final StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (true) {\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }",
"true",
"{\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }",
"final String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"final int index = line.indexOf(\" \");",
"index",
"line.indexOf(\" \")",
"line.indexOf",
"line",
"\" \"",
"final int x = Integer.parseInt(line.substring(0, index));",
"x",
"Integer.parseInt(line.substring(0, index))",
"Integer.parseInt",
"Integer",
"line.substring(0, index)",
"line.substring",
"line",
"0",
"index",
"final int y = Integer.parseInt(line.substring(index+1, line.length()));",
"y",
"Integer.parseInt(line.substring(index+1, line.length()))",
"Integer.parseInt",
"Integer",
"line.substring(index+1, line.length())",
"line.substring",
"line",
"index+1",
"index",
"1",
"line.length()",
"line.length",
"line",
"if (x == 0 && y == 0) break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\")",
"sb.append(x < y ? x + \" \" + y : y + \" \" + x).append",
"sb.append(x < y ? x + \" \" + y : y + \" \" + x)",
"sb.append",
"sb",
"x < y ? x + \" \" + y : y + \" \" + x",
"x < y",
"x",
"y",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String... args",
"args",
"public class Main {\n public static void main(String... args) throws IOException {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final StringBuilder sb = new StringBuilder();\n while (true) {\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"public class Main {\n public static void main(String... args) throws IOException {\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final StringBuilder sb = new StringBuilder();\n while (true) {\n final String line = br.readLine();\n final int index = line.indexOf(\" \");\n final int x = Integer.parseInt(line.substring(0, index));\n final int y = Integer.parseInt(line.substring(index+1, line.length()));\n if (x == 0 && y == 0) break;\n sb.append(x < y ? x + \" \" + y : y + \" \" + x).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String... args) throws IOException {
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
final StringBuilder sb = new StringBuilder();
while (true) {
final String line = br.readLine();
final int index = line.indexOf(" ");
final int x = Integer.parseInt(line.substring(0, index));
final int y = Integer.parseInt(line.substring(index+1, line.length()));
if (x == 0 && y == 0) break;
sb.append(x < y ? x + " " + y : y + " " + x).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
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,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
18,
13,
17,
18,
13,
17,
17,
4,
18,
13,
18,
13,
17,
18,
13,
17,
40,
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
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
38,
39
],
[
38,
40
],
[
23,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
23,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
67,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
66,
78
],
[
78,
79
],
[
23,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
93,
94
],
[
93,
95
],
[
86,
96
],
[
86,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
103,
104
],
[
103,
105
],
[
23,
106
],
[
106,
107
],
[
12,
108
],
[
108,
109
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\t\t\tint[] n = new int[s.length];\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\t\n\t\t\tif (n[0] == 0 && n[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1]) );\n\t\t\ttimes++;\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\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\t\t\tint[] n = new int[s.length];\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\t\n\t\t\tif (n[0] == 0 && n[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1]) );\n\t\t\ttimes++;\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\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\t\t\tint[] n = new int[s.length];\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\t\n\t\t\tif (n[0] == 0 && n[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1]) );\n\t\t\ttimes++;\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint times = 1;\n\t\twhile(true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\t\t\tint[] n = new int[s.length];\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\t\n\t\t\tif (n[0] == 0 && n[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1]) );\n\t\t\ttimes++;\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int times = 1;",
"times",
"1",
"while(true) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\t\t\tint[] n = new int[s.length];\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\t\n\t\t\tif (n[0] == 0 && n[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1]) );\n\t\t\ttimes++;\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\t\t\tint[] n = new int[s.length];\n\t\t\tfor (int i = 0; i < s.length; i++) {\n\t\t\t\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\t\n\t\t\tif (n[0] == 0 && n[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1]) );\n\t\t\ttimes++;\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] s = str.split(\" \");",
"s",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int[] n = new int[s.length];",
"n",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for (int i = 0; i < s.length; i++) {\n\t\t\t\tn[i] = 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\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tn[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"n[i] = Integer.parseInt(s[i])",
"n[i]",
"n",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"if (n[0] == 0 && n[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"n[0] == 0 && n[1] == 0",
"n[0] == 0",
"n[0]",
"n",
"0",
"0",
"n[1] == 0",
"n[1]",
"n",
"1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1]) )",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1])",
"Math.min(n[0], n[1]) + \" \" + Math.max(n[0], n[1])",
"Math.min(n[0], n[1])",
"Math.min",
"Math",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"\" \"",
"Math.max(n[0], n[1])",
"Math.max",
"Math",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"times++",
"times",
"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 br = new BufferedReader(new InputStreamReader(System.in));
int times = 1;
while(true) {
String str = br.readLine();
String[] s = str.split(" ");
int[] n = new int[s.length];
for (int i = 0; i < s.length; i++) {
n[i] = Integer.parseInt(s[i]);
}
if (n[0] == 0 && n[1] == 0) {
break;
}
System.out.println(Math.min(n[0], n[1]) + " " + Math.max(n[0], n[1]) );
times++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
41,
13,
4,
18,
13,
4,
13,
13,
13,
42,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
14,
2,
18,
13,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
0,
13,
4,
18,
13,
4,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
17,
30,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
17,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
142,
11
],
[
142,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
27,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
44,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
74,
79
],
[
79,
80
],
[
79,
81
],
[
43,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
43,
87
],
[
87,
88
],
[
87,
89
],
[
87,
90
],
[
12,
91
],
[
91,
92
],
[
142,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
95,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
95,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
109,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
114,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
93,
137
],
[
137,
138
],
[
93,
139
],
[
139,
140
],
[
0,
141
],
[
141,
142
],
[
141,
143
]
] | [
"import java.util.Scanner;\nimport java.util.regex.Pattern;\nimport java.util.regex.Matcher;\npublic class Main {\n\tpublic static void main( String[] args ) {\n\t\tint[] intAry = new int[2];\n\t\tScanner sc = new Scanner( System.in ) ;\n\t\tString s = sc.nextLine() ;\n\t\tscanInt( s, intAry ) ;\n\t\twhile( intAry[0] != 0 || intAry[1] != 0 ) {\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}\n\t}\n\tpublic static void scanInt( String str, int[] intAry ) {\n\t\tPattern ptn = Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\");\n\t\tMatcher mch = ptn.matcher( str ) ;\n\t\tif ( mch.find() == true ) {\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.regex.Pattern;",
"Pattern",
"java.util.regex",
"import java.util.regex.Matcher;",
"Matcher",
"java.util.regex",
"public class Main {\n\tpublic static void main( String[] args ) {\n\t\tint[] intAry = new int[2];\n\t\tScanner sc = new Scanner( System.in ) ;\n\t\tString s = sc.nextLine() ;\n\t\tscanInt( s, intAry ) ;\n\t\twhile( intAry[0] != 0 || intAry[1] != 0 ) {\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}\n\t}\n\tpublic static void scanInt( String str, int[] intAry ) {\n\t\tPattern ptn = Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\");\n\t\tMatcher mch = ptn.matcher( str ) ;\n\t\tif ( mch.find() == true ) {\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}\n\t}\n}",
"Main",
"public static void main( String[] args ) {\n\t\tint[] intAry = new int[2];\n\t\tScanner sc = new Scanner( System.in ) ;\n\t\tString s = sc.nextLine() ;\n\t\tscanInt( s, intAry ) ;\n\t\twhile( intAry[0] != 0 || intAry[1] != 0 ) {\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}\n\t}",
"main",
"{\n\t\tint[] intAry = new int[2];\n\t\tScanner sc = new Scanner( System.in ) ;\n\t\tString s = sc.nextLine() ;\n\t\tscanInt( s, intAry ) ;\n\t\twhile( intAry[0] != 0 || intAry[1] != 0 ) {\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}\n\t}",
"int[] intAry = new int[2];",
"intAry",
"new int[2]",
"2",
"Scanner sc = new Scanner( System.in ) ;",
"sc",
"new Scanner( System.in )",
"String s = sc.nextLine() ;",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"scanInt( s, intAry )",
"scanInt",
"s",
"intAry",
"while( intAry[0] != 0 || intAry[1] != 0 ) {\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}",
"intAry[0] != 0 || intAry[1] != 0",
"intAry[0] != 0",
"intAry[0]",
"intAry",
"0",
"0",
"intAry[1] != 0",
"intAry[1]",
"intAry",
"1",
"0",
"{\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}",
"if ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}",
"intAry[0] > intAry[1]",
"intAry[0]",
"intAry",
"0",
"intAry[1]",
"intAry",
"1",
"{\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t}",
"System.out.println( intAry[1] + \" \" + intAry[0] )",
"System.out.println",
"System.out",
"System",
"System.out",
"intAry[1] + \" \" + intAry[0]",
"intAry[1] + \" \" + intAry[0]",
"intAry[1]",
"intAry",
"1",
"\" \"",
"intAry[0]",
"intAry",
"0",
"{\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}",
"System.out.println( intAry[0] + \" \" + intAry[1] )",
"System.out.println",
"System.out",
"System",
"System.out",
"intAry[0] + \" \" + intAry[1]",
"intAry[0] + \" \" + intAry[1]",
"intAry[0]",
"intAry",
"0",
"\" \"",
"intAry[1]",
"intAry",
"1",
"s = sc.nextLine()",
"s",
"sc.nextLine()",
"sc.nextLine",
"sc",
"scanInt( s, intAry )",
"scanInt",
"s",
"intAry",
"String[] args",
"args",
"public static void scanInt( String str, int[] intAry ) {\n\t\tPattern ptn = Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\");\n\t\tMatcher mch = ptn.matcher( str ) ;\n\t\tif ( mch.find() == true ) {\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}\n\t}",
"scanInt",
"{\n\t\tPattern ptn = Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\");\n\t\tMatcher mch = ptn.matcher( str ) ;\n\t\tif ( mch.find() == true ) {\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}\n\t}",
"Pattern ptn = Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\");",
"ptn",
"Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\")",
"Pattern.compile",
"Pattern",
"\"([0-9]+)\\\\s+([0-9]+)\"",
"Matcher mch = ptn.matcher( str ) ;",
"mch",
"ptn.matcher( str )",
"ptn.matcher",
"ptn",
"str",
"if ( mch.find() == true ) {\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}",
"mch.find() == true",
"mch.find()",
"mch.find",
"mch",
"true",
"{\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}",
"intAry[0] = Integer.parseInt( mch.group(1) )",
"intAry[0]",
"intAry",
"0",
"Integer.parseInt( mch.group(1) )",
"Integer.parseInt",
"Integer",
"mch.group(1)",
"mch.group",
"mch",
"1",
"intAry[1] = Integer.parseInt( mch.group(2) )",
"intAry[1]",
"intAry",
"1",
"Integer.parseInt( mch.group(2) )",
"Integer.parseInt",
"Integer",
"mch.group(2)",
"mch.group",
"mch",
"2",
"String str",
"str",
"int[] intAry",
"intAry",
"public class Main {\n\tpublic static void main( String[] args ) {\n\t\tint[] intAry = new int[2];\n\t\tScanner sc = new Scanner( System.in ) ;\n\t\tString s = sc.nextLine() ;\n\t\tscanInt( s, intAry ) ;\n\t\twhile( intAry[0] != 0 || intAry[1] != 0 ) {\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}\n\t}\n\tpublic static void scanInt( String str, int[] intAry ) {\n\t\tPattern ptn = Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\");\n\t\tMatcher mch = ptn.matcher( str ) ;\n\t\tif ( mch.find() == true ) {\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main( String[] args ) {\n\t\tint[] intAry = new int[2];\n\t\tScanner sc = new Scanner( System.in ) ;\n\t\tString s = sc.nextLine() ;\n\t\tscanInt( s, intAry ) ;\n\t\twhile( intAry[0] != 0 || intAry[1] != 0 ) {\n\t\t\tif ( intAry[0] > intAry[1] ) {\n\t\t\t\tSystem.out.println( intAry[1] + \" \" + intAry[0] ) ;\n\t\t\t} else {\n\t\t\t\tSystem.out.println( intAry[0] + \" \" + intAry[1] ) ;\n\t\t\t}\n\t\t\ts = sc.nextLine();\n\t\t\tscanInt( s, intAry ) ;\n\t\t}\n\t}\n\tpublic static void scanInt( String str, int[] intAry ) {\n\t\tPattern ptn = Pattern.compile( \"([0-9]+)\\\\s+([0-9]+)\");\n\t\tMatcher mch = ptn.matcher( str ) ;\n\t\tif ( mch.find() == true ) {\n\t\t\tintAry[0] = Integer.parseInt( mch.group(1) ) ;\n\t\t\tintAry[1] = Integer.parseInt( mch.group(2) ) ;\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
import java.util.regex.Pattern;
import java.util.regex.Matcher;
public class Main {
public static void main( String[] args ) {
int[] intAry = new int[2];
Scanner sc = new Scanner( System.in ) ;
String s = sc.nextLine() ;
scanInt( s, intAry ) ;
while( intAry[0] != 0 || intAry[1] != 0 ) {
if ( intAry[0] > intAry[1] ) {
System.out.println( intAry[1] + " " + intAry[0] ) ;
} else {
System.out.println( intAry[0] + " " + intAry[1] ) ;
}
s = sc.nextLine();
scanInt( s, intAry ) ;
}
}
public static void scanInt( String str, int[] intAry ) {
Pattern ptn = Pattern.compile( "([0-9]+)\\s+([0-9]+)");
Matcher mch = ptn.matcher( str ) ;
if ( mch.find() == true ) {
intAry[0] = Integer.parseInt( mch.group(1) ) ;
intAry[1] = Integer.parseInt( mch.group(2) ) ;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
14,
2,
4,
18,
4,
18,
13,
17,
17,
4,
18,
4,
18,
13,
17,
17,
30,
3,
14,
2,
4,
18,
13,
17,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
104,
14
],
[
104,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
25,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
43,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
50,
56
],
[
41,
57
],
[
57,
58
],
[
25,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
59,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
69,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
69,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
84,
88
],
[
25,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
15,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"import static java.lang.System.out;\nimport java.util.Scanner;\nimport java.util.List;\nimport java.util.ArrayList;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext()) {\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }\n }\n}",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import static java.lang.System.out;",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext()) {\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext()) {\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext()) {\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()) {\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"list.add(scan.nextInt())",
"list.add",
"list",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }",
"list.get(0).equals(0) && list.get(1).equals(0)",
"list.get(0).equals(0)",
"list.get(0).equals",
"list.get(0)",
"list.get",
"list",
"0",
"0",
"list.get(1).equals(0)",
"list.get(1).equals",
"list.get(1)",
"list.get",
"list",
"1",
"0",
"{ \n break;\n }",
"break;",
"if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }",
"list.get(0) > list.get(1)",
"list.get(0)",
"list.get",
"list",
"0",
"list.get(1)",
"list.get",
"list",
"1",
"{\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }",
"int tmp = list.get(0);",
"tmp",
"list.get(0)",
"list.get",
"list",
"0",
"list.set(0, list.get(1))",
"list.set",
"list",
"0",
"list.get(1)",
"list.get",
"list",
"1",
"list.set(1, tmp)",
"list.set",
"list",
"1",
"tmp",
"out.printf(\"%d %d%n\", list.get(0), list.get(1))",
"out.printf",
"out",
"\"%d %d%n\"",
"list.get(0)",
"list.get",
"list",
"0",
"list.get(1)",
"list.get",
"list",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext()) {\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n while(scan.hasNext()) {\n List<Integer> list = new ArrayList<>();\n list.add(scan.nextInt());\n list.add(scan.nextInt());\n\n if (list.get(0).equals(0) && list.get(1).equals(0)) { \n break;\n }\n\n if (list.get(0) > list.get(1)) {\n int tmp = list.get(0);\n list.set(0, list.get(1));\n list.set(1, tmp);\n }\n\n out.printf(\"%d %d%n\", list.get(0), list.get(1));\n }\n }\n}",
"Main"
] | import static java.lang.System.out;
import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(scan.hasNext()) {
List<Integer> list = new ArrayList<>();
list.add(scan.nextInt());
list.add(scan.nextInt());
if (list.get(0).equals(0) && list.get(1).equals(0)) {
break;
}
if (list.get(0) > list.get(1)) {
int tmp = list.get(0);
list.set(0, list.get(1));
list.set(1, tmp);
}
out.printf("%d %d%n", list.get(0), list.get(1));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
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
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
61,
67
],
[
59,
68
],
[
57,
69
],
[
52,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
75,
81
],
[
73,
82
],
[
71,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}",
"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",
"if ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}",
"sb.append(x).append(\" \").append(y).append(\"\\n\")",
"sb.append(x).append(\" \").append(y).append",
"sb.append(x).append(\" \").append(y)",
"sb.append(x).append(\" \").append",
"sb.append(x).append(\" \")",
"sb.append(x).append",
"sb.append(x)",
"sb.append",
"sb",
"x",
"\" \"",
"y",
"\"\\n\"",
"{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}",
"sb.append(y).append(\" \").append(x).append(\"\\n\")",
"sb.append(y).append(\" \").append(x).append",
"sb.append(y).append(\" \").append(x)",
"sb.append(y).append(\" \").append",
"sb.append(y).append(\" \")",
"sb.append(y).append",
"sb.append(y)",
"sb.append",
"sb",
"y",
"\" \"",
"x",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] str = (br.readLine()).split(\" \");\n\t\t\tint x = Integer.parseInt(str[0]); \n\t\t\tint y = Integer.parseInt(str[1]); \n\t\t\tif ( x==0 && y==0) {\n\t\t\t\tbreak;\n\t\t\t}else if(x < y){\n\t\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t\t}else{\n\t\t\t\tsb.append(y).append(\" \").append(x).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
String[] str = (br.readLine()).split(" ");
int x = Integer.parseInt(str[0]);
int y = Integer.parseInt(str[1]);
if ( x==0 && y==0) {
break;
}else if(x < y){
sb.append(x).append(" ").append(y).append("\n");
}else{
sb.append(y).append(" ").append(x).append("\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
16,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
16,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
41,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
50,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
6,
74
],
[
74,
75
]
] | [
"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 int num;\n while (true) {\n String[] nums = br.readLine().split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n if (a == 0 && b == 0) break;\n else if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\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 int num;\n while (true) {\n String[] nums = br.readLine().split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n if (a == 0 && b == 0) break;\n else if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }\n}",
"Main",
"public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num;\n while (true) {\n String[] nums = br.readLine().split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n if (a == 0 && b == 0) break;\n else if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int num;\n while (true) {\n String[] nums = br.readLine().split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n if (a == 0 && b == 0) break;\n else if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"int num;",
"num",
"while (true) {\n String[] nums = br.readLine().split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n if (a == 0 && b == 0) break;\n else if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }",
"true",
"{\n String[] nums = br.readLine().split(\" \");\n int a = Integer.parseInt(nums[0]);\n int b = Integer.parseInt(nums[1]);\n if (a == 0 && b == 0) break;\n else if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);\n }",
"String[] nums = br.readLine().split(\" \");",
"nums",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(nums[0]);",
"a",
"Integer.parseInt(nums[0])",
"Integer.parseInt",
"Integer",
"nums[0]",
"nums",
"0",
"int b = Integer.parseInt(nums[1]);",
"b",
"Integer.parseInt(nums[1])",
"Integer.parseInt",
"Integer",
"nums[1]",
"nums",
"1",
"if (a == 0 && b == 0) break;\n else if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"if (a > b) System.out.println(b + \" \" + a);\n else System.out.println(a + \" \" + b);",
"a > b",
"a",
"b",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main (String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int num;
while (true) {
String[] nums = br.readLine().split(" ");
int a = Integer.parseInt(nums[0]);
int b = Integer.parseInt(nums[1]);
if (a == 0 && b == 0) break;
else if (a > b) System.out.println(b + " " + a);
else System.out.println(a + " " + b);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
23,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
69,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
58,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
73,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
99,
99
],
[
99,
100
],
[
99,
101
],
[
99,
102
],
[
12,
103
],
[
103,
104
]
] | [
"import java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.io.IOException;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\twhile (true) {\n\t\t\tString[] strAry = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strAry[0]);\n\t\t\tint b = Integer.parseInt(strAry[1]);\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\twhile (true) {\n\t\t\tString[] strAry = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strAry[0]);\n\t\t\tint b = Integer.parseInt(strAry[1]);\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\twhile (true) {\n\t\t\tString[] strAry = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strAry[0]);\n\t\t\tint b = Integer.parseInt(strAry[1]);\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\t\twhile (true) {\n\t\t\tString[] strAry = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strAry[0]);\n\t\t\tint b = Integer.parseInt(strAry[1]);\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}",
"InputStreamReader is = new InputStreamReader(System.in);",
"is",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(is);",
"br",
"new BufferedReader(is)",
"while (true) {\n\t\t\tString[] strAry = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strAry[0]);\n\t\t\tint b = Integer.parseInt(strAry[1]);\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString[] strAry = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strAry[0]);\n\t\t\tint b = Integer.parseInt(strAry[1]);\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}",
"String[] strAry = br.readLine().split(\" \");",
"strAry",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(strAry[0]);",
"a",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"int b = Integer.parseInt(strAry[1]);",
"b",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"if (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (a < b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"a < b",
"a",
"b",
"{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"if (b < a) {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t} else if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"b < a",
"b",
"a",
"{\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"if (a == b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"a == b",
"a",
"b",
"{\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args"
] | import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.io.IOException;
class Main {
public static void main(String[] args) throws IOException {
InputStreamReader is = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(is);
while (true) {
String[] strAry = br.readLine().split(" ");
int a = Integer.parseInt(strAry[0]);
int b = Integer.parseInt(strAry[1]);
if (a == 0 && b == 0) {
break;
} else if (a < b) {
System.out.println(a + " " + b);
} else if (b < a) {
System.out.println(b + " " + a);
} else if (a == b) {
System.out.println(a + " " + b);
}
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.