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,
20,
41,
13,
17,
41,
13,
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,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
0,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
13,
30,
0,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
13,
41,
13,
17,
42,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
137,
5
],
[
137,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
24,
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
],
[
51,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
53,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
71,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
89,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
8,
103
],
[
103,
104
],
[
103,
105
],
[
8,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
117,
122
],
[
117,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
126,
128
],
[
110,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
6,
134
],
[
134,
135
],
[
0,
136
],
[
136,
137
],
[
136,
138
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\n\t\tint x = 999;\n\t\tint y = 999;\n\t\tint cnt = 0;\n\t\t\n\t\twhile(x != 0 || y != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint i = 0;\n\t\twhile(i < cnt) {\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}\n\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\n\t\tint x = 999;\n\t\tint y = 999;\n\t\tint cnt = 0;\n\t\t\n\t\twhile(x != 0 || y != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint i = 0;\n\t\twhile(i < cnt) {\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}\n\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\n\t\tint x = 999;\n\t\tint y = 999;\n\t\tint cnt = 0;\n\t\t\n\t\twhile(x != 0 || y != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint i = 0;\n\t\twhile(i < cnt) {\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}\n\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\n\t\tint x = 999;\n\t\tint y = 999;\n\t\tint cnt = 0;\n\t\t\n\t\twhile(x != 0 || y != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint i = 0;\n\t\twhile(i < cnt) {\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}\n\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"int x = 999;",
"x",
"999",
"int y = 999;",
"y",
"999",
"int cnt = 0;",
"cnt",
"0",
"while(x != 0 || y != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}\n\t\t}",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(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 == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if(x < y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.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;",
"if(x < y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}",
"cnt = cnt + 2",
"cnt",
"cnt + 2",
"cnt",
"2",
"al.add(x)",
"al.add",
"al",
"x",
"al.add(y)",
"al.add",
"al",
"y",
"if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t}",
"cnt = cnt + 2",
"cnt",
"cnt + 2",
"cnt",
"2",
"al.add(y)",
"al.add",
"al",
"y",
"al.add(x)",
"al.add",
"al",
"x",
"{\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}",
"cnt = cnt + 2",
"cnt",
"cnt + 2",
"cnt",
"2",
"al.add(x)",
"al.add",
"al",
"x",
"al.add(y)",
"al.add",
"al",
"y",
"int i = 0;",
"i",
"0",
"while(i < cnt) {\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}",
"i < cnt",
"i",
"cnt",
"{\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}",
"System.out.println(al.get(i) + \" \" + al.get(i+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"al.get(i) + \" \" + al.get(i+1)",
"al.get(i) + \" \" + al.get(i+1)",
"al.get(i)",
"al.get",
"al",
"i",
"\" \"",
"al.get(i+1)",
"al.get",
"al",
"i+1",
"i",
"1",
"i = i + 2",
"i",
"i + 2",
"i",
"2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\n\t\tint x = 999;\n\t\tint y = 999;\n\t\tint cnt = 0;\n\t\t\n\t\twhile(x != 0 || y != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint i = 0;\n\t\twhile(i < cnt) {\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}\n\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<Integer> al = new ArrayList<>();\n\n\t\tint x = 999;\n\t\tint y = 999;\n\t\tint cnt = 0;\n\t\t\n\t\twhile(x != 0 || y != 0) {\n\t\t\tx = sc.nextInt();\n\t\t\ty = 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\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t} else if(x > y) {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(y);\n\t\t\t\tal.add(x);\n\t\t\t} else {\n\t\t\t\tcnt = cnt + 2;\n\t\t\t\tal.add(x);\n\t\t\t\tal.add(y);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint i = 0;\n\t\twhile(i < cnt) {\n\t\t\tSystem.out.println(al.get(i) + \" \" + al.get(i+1));\n\t\t\ti = i + 2;\n\t\t}\n\t\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> al = new ArrayList<>();
int x = 999;
int y = 999;
int cnt = 0;
while(x != 0 || y != 0) {
x = sc.nextInt();
y = sc.nextInt();
if(x == 0 && y == 0) {
break;
} else if(x < y) {
cnt = cnt + 2;
al.add(x);
al.add(y);
} else if(x > y) {
cnt = cnt + 2;
al.add(y);
al.add(x);
} else {
cnt = cnt + 2;
al.add(x);
al.add(y);
}
}
int i = 0;
while(i < cnt) {
System.out.println(al.get(i) + " " + al.get(i+1));
i = i + 2;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
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,
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
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
18,
19
],
[
12,
20
],
[
21,
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
],
[
32,
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
],
[
6,
68
],
[
68,
69
]
] | [
"import java.util.Scanner;\nclass Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor (int num = 1;; num++ ){\n\t\t\tint numx = scanner.nextInt();\n\t\t\tint numy = scanner.nextInt();\n\t\t\t\n\t\t\tif(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}\n\t \t}\n\t}\t\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor (int num = 1;; num++ ){\n\t\t\tint numx = scanner.nextInt();\n\t\t\tint numy = scanner.nextInt();\n\t\t\t\n\t\t\tif(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}\n\t \t}\n\t}\t\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor (int num = 1;; num++ ){\n\t\t\tint numx = scanner.nextInt();\n\t\t\tint numy = scanner.nextInt();\n\t\t\t\n\t\t\tif(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}\n\t \t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tfor (int num = 1;; num++ ){\n\t\t\tint numx = scanner.nextInt();\n\t\t\tint numy = scanner.nextInt();\n\t\t\t\n\t\t\tif(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}\n\t \t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for (int num = 1;; num++ ){\n\t\t\tint numx = scanner.nextInt();\n\t\t\tint numy = scanner.nextInt();\n\t\t\t\n\t\t\tif(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}\n\t \t}",
"int num = 1;",
"int num = 1;",
"num",
"1",
"num++",
"num++",
"num",
"{\n\t\t\tint numx = scanner.nextInt();\n\t\t\tint numy = scanner.nextInt();\n\t\t\t\n\t\t\tif(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}\n\t \t}",
"{\n\t\t\tint numx = scanner.nextInt();\n\t\t\tint numy = scanner.nextInt();\n\t\t\t\n\t\t\tif(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}\n\t \t}",
"int numx = scanner.nextInt();",
"numx",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int numy = scanner.nextInt();",
"numy",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if(numx == 0 && numy == 0){\n\t\t\t\tbreak;\n\t\t\t}\t\t \n\t\t\t\telse if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}",
"numx == 0 && numy == 0",
"numx == 0",
"numx",
"0",
"numy == 0",
"numy",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(numx < numy){\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}",
"numx < numy",
"numx",
"numy",
"{\n\t\t\t\t\tSystem.out.println(numx+\" \"+numy);\n\t\t\t\t}",
"System.out.println(numx+\" \"+numy)",
"System.out.println",
"System.out",
"System",
"System.out",
"numx+\" \"+numy",
"numx+\" \"+numy",
"numx",
"\" \"",
"numy",
"{\n\t\t\t\t\tSystem.out.println(numy+\" \"+numx);\n\t\t\t\t}",
"System.out.println(numy+\" \"+numx)",
"System.out.println",
"System.out",
"System",
"System.out",
"numy+\" \"+numx",
"numy+\" \"+numx",
"numy",
"\" \"",
"numx",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
for (int num = 1;; num++ ){
int numx = scanner.nextInt();
int numy = scanner.nextInt();
if(numx == 0 && numy == 0){
break;
}
else if(numx < numy){
System.out.println(numx+" "+numy);
}
else {
System.out.println(numy+" "+numx);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
39,
17,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
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,
3,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
32,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
32,
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
],
[
32,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
32,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
32,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
9,
96
],
[
96,
97
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String[] args) throws IOException{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n int buf[]= {0,0};\n while(line!=null){\n String st[] = line.split(\" \",0);\n buf[0] = Integer.parseInt(st[0]);\n buf[1]= Integer.parseInt(st[1]);\n if (buf[0] == 0 && buf[1]==0) break;\n Arrays.sort(buf);\n System.out.println(buf[0]+\" \"+buf[1]);\n line = r.readLine();\n } \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n int buf[]= {0,0};\n while(line!=null){\n String st[] = line.split(\" \",0);\n buf[0] = Integer.parseInt(st[0]);\n buf[1]= Integer.parseInt(st[1]);\n if (buf[0] == 0 && buf[1]==0) break;\n Arrays.sort(buf);\n System.out.println(buf[0]+\" \"+buf[1]);\n line = r.readLine();\n } \n }\n}",
"Main",
"public static void main(String[] args) throws IOException{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n int buf[]= {0,0};\n while(line!=null){\n String st[] = line.split(\" \",0);\n buf[0] = Integer.parseInt(st[0]);\n buf[1]= Integer.parseInt(st[1]);\n if (buf[0] == 0 && buf[1]==0) break;\n Arrays.sort(buf);\n System.out.println(buf[0]+\" \"+buf[1]);\n line = r.readLine();\n } \n }",
"main",
"{\n BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in)); \n String line = r.readLine(); \n \n int cnt=1;\n int buf[]= {0,0};\n while(line!=null){\n String st[] = line.split(\" \",0);\n buf[0] = Integer.parseInt(st[0]);\n buf[1]= Integer.parseInt(st[1]);\n if (buf[0] == 0 && buf[1]==0) break;\n Arrays.sort(buf);\n System.out.println(buf[0]+\" \"+buf[1]);\n line = r.readLine();\n } \n }",
"BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in));",
"r",
"new BufferedReader(new InputStreamReader(System.in))",
"String line = r.readLine();",
"line",
"r.readLine()",
"r.readLine",
"r",
"int cnt=1;",
"cnt",
"1",
"int buf[]= {0,0};",
"buf",
"{0,0}",
"0",
"0",
"while(line!=null){\n String st[] = line.split(\" \",0);\n buf[0] = Integer.parseInt(st[0]);\n buf[1]= Integer.parseInt(st[1]);\n if (buf[0] == 0 && buf[1]==0) break;\n Arrays.sort(buf);\n System.out.println(buf[0]+\" \"+buf[1]);\n line = r.readLine();\n }",
"line!=null",
"line",
"null",
"{\n String st[] = line.split(\" \",0);\n buf[0] = Integer.parseInt(st[0]);\n buf[1]= Integer.parseInt(st[1]);\n if (buf[0] == 0 && buf[1]==0) break;\n Arrays.sort(buf);\n System.out.println(buf[0]+\" \"+buf[1]);\n line = r.readLine();\n }",
"String st[] = line.split(\" \",0);",
"st",
"line.split(\" \",0)",
"line.split",
"line",
"\" \"",
"0",
"buf[0] = Integer.parseInt(st[0])",
"buf[0]",
"buf",
"0",
"Integer.parseInt(st[0])",
"Integer.parseInt",
"Integer",
"st[0]",
"st",
"0",
"buf[1]= Integer.parseInt(st[1])",
"buf[1]",
"buf",
"1",
"Integer.parseInt(st[1])",
"Integer.parseInt",
"Integer",
"st[1]",
"st",
"1",
"if (buf[0] == 0 && buf[1]==0) break;",
"buf[0] == 0 && buf[1]==0",
"buf[0] == 0",
"buf[0]",
"buf",
"0",
"0",
"buf[1]==0",
"buf[1]",
"buf",
"1",
"0",
"break;",
"Arrays.sort(buf)",
"Arrays.sort",
"Arrays",
"buf",
"System.out.println(buf[0]+\" \"+buf[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"buf[0]+\" \"+buf[1]",
"buf[0]+\" \"+buf[1]",
"buf[0]",
"buf",
"0",
"\" \"",
"buf[1]",
"buf",
"1",
"line = r.readLine()",
"line",
"r.readLine()",
"r.readLine",
"r",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader r =
new BufferedReader(new InputStreamReader(System.in));
String line = r.readLine();
int cnt=1;
int buf[]= {0,0};
while(line!=null){
String st[] = line.split(" ",0);
buf[0] = Integer.parseInt(st[0]);
buf[1]= Integer.parseInt(st[1]);
if (buf[0] == 0 && buf[1]==0) break;
Arrays.sort(buf);
System.out.println(buf[0]+" "+buf[1]);
line = r.readLine();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
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,
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
],
[
74,
5
],
[
74,
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
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
18,
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
],
[
27,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
47,
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.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num1 = 1;\n\t\tint num2 = 1;\n\t\tfor(int i = 0;; ++i) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num1 = 1;\n\t\tint num2 = 1;\n\t\tfor(int i = 0;; ++i) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num1 = 1;\n\t\tint num2 = 1;\n\t\tfor(int i = 0;; ++i) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num1 = 1;\n\t\tint num2 = 1;\n\t\tfor(int i = 0;; ++i) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num1 = 1;",
"num1",
"1",
"int num2 = 1;",
"num2",
"1",
"for(int i = 0;; ++i) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"++i",
"++i",
"i",
"{\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}",
"{\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}",
"num1 = scan.nextInt()",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"num2 = scan.nextInt()",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(num1 == 0 && num2 == 0) break;",
"num1 == 0 && num2 == 0",
"num1 == 0",
"num1",
"0",
"num2 == 0",
"num2",
"0",
"break;",
"if(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);",
"num1 < num2",
"num1",
"num2",
"System.out.println(num1 + \" \" + num2)",
"System.out.println",
"System.out",
"System",
"System.out",
"num1 + \" \" + num2",
"num1 + \" \" + num2",
"num1",
"\" \"",
"num2",
"System.out.println(num2 + \" \" + num1)",
"System.out.println",
"System.out",
"System",
"System.out",
"num2 + \" \" + num1",
"num2 + \" \" + num1",
"num2",
"\" \"",
"num1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num1 = 1;\n\t\tint num2 = 1;\n\t\tfor(int i = 0;; ++i) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint num1 = 1;\n\t\tint num2 = 1;\n\t\tfor(int i = 0;; ++i) {\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\t\t\tif(num1 == 0 && num2 == 0) break;\n\t\t\tif(num1 < num2) System.out.println(num1 + \" \" + num2);\n\t\t\telse System.out.println(num2 + \" \" + num1);\n\t\t}\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int num1 = 1;
int num2 = 1;
for(int i = 0;; ++i) {
num1 = scan.nextInt();
num2 = scan.nextInt();
if(num1 == 0 && num2 == 0) break;
if(num1 < num2) System.out.println(num1 + " " + num2);
else System.out.println(num2 + " " + num1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
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,
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
],
[
82,
5
],
[
82,
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
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
27,
28
],
[
16,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
16,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
35,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
35,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }\n\t}\n}",
"Main",
"public static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(in.hasNext()) {\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }",
"in.hasNext()",
"in.hasNext",
"in",
"{\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }",
"String buf = in.nextLine();",
"buf",
"in.nextLine()",
"in.nextLine",
"in",
"if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}",
"buf.equals(\"0 0\")",
"buf.equals",
"buf",
"\"0 0\"",
"{\n \tbreak;\n\t\t\t}",
"break;",
"String[] num = buf.split(\" \");",
"num",
"buf.split(\" \")",
"buf.split",
"buf",
"\" \"",
"if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }",
"Integer.parseInt(num[0]) < Integer.parseInt(num[1])",
"Integer.parseInt(num[0])",
"Integer.parseInt",
"Integer",
"num[0]",
"num",
"0",
"Integer.parseInt(num[1])",
"Integer.parseInt",
"Integer",
"num[1]",
"num",
"1",
"{\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }",
"System.out.println(num[0]+\" \"+num[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[0]+\" \"+num[1]",
"num[0]+\" \"+num[1]",
"num[0]",
"num",
"0",
"\" \"",
"num[1]",
"num",
"1",
"{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }",
"System.out.println(num[1]+\" \"+num[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[1]+\" \"+num[0]",
"num[1]+\" \"+num[0]",
"num[1]",
"num",
"1",
"\" \"",
"num[0]",
"num",
"0",
"String[] arg",
"arg",
"public class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] arg){\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(in.hasNext()) {\n String buf = in.nextLine();\n if(buf.equals(\"0 0\")){\n \tbreak;\n\t\t\t}\n String[] num = buf.split(\" \");\n if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){\n \tSystem.out.println(num[0]+\" \"+num[1]);\n }else{\n \tSystem.out.println(num[1]+\" \"+num[0]);\n }\n }\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] arg){
Scanner in = new Scanner(System.in);
while(in.hasNext()) {
String buf = in.nextLine();
if(buf.equals("0 0")){
break;
}
String[] num = buf.split(" ");
if(Integer.parseInt(num[0]) < Integer.parseInt(num[1])){
System.out.println(num[0]+" "+num[1]);
}else{
System.out.println(num[1]+" "+num[0]);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
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,
2,
13,
17,
2,
13,
17,
3,
4,
13,
40,
13,
13,
13,
4,
18,
13,
17,
23,
13,
12,
13,
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,
23,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
109,
11
],
[
109,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
31,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
31,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
31,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
63,
67
],
[
63,
68
],
[
14,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
12,
73
],
[
73,
74
],
[
109,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
88,
88
],
[
88,
89
],
[
88,
90
],
[
88,
91
],
[
78,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
98,
98
],
[
98,
99
],
[
98,
100
],
[
98,
101
],
[
75,
102
],
[
102,
103
],
[
75,
104
],
[
104,
105
],
[
75,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
] | [
"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 Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in1, int in2) {\n\t\tif (in1 < in2)\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\telse\n\t\t\tSystem.out.println(in2 + \" \" + in1);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in1, int in2) {\n\t\tif (in1 < in2)\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\telse\n\t\t\tSystem.out.println(in2 + \" \" + in1);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"main",
"{\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}\n\t\tSystem.exit(0);\n\t}",
"BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));",
"stdIn",
"new BufferedReader(new InputStreamReader(System.in))",
"String s;",
"s",
"int inCnt = 0;",
"inCnt",
"0",
"while ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}",
"(s = stdIn.readLine()) != null",
"(s = stdIn.readLine())",
"s",
"stdIn.readLine()",
"stdIn.readLine",
"stdIn",
"null",
"{\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}",
"String[] se = s.split(\" \");",
"se",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int in1 = Integer.valueOf(se[0]);",
"in1",
"Integer.valueOf(se[0])",
"Integer.valueOf",
"Integer",
"se[0]",
"se",
"0",
"int in2 = Integer.valueOf(se[1]);",
"in2",
"Integer.valueOf(se[1])",
"Integer.valueOf",
"Integer",
"se[1]",
"se",
"1",
"if (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;",
"in1 == 0 && in2 == 0",
"in1 == 0",
"in1",
"0",
"in2 == 0",
"in2",
"0",
"break;",
"doMain(++inCnt, in1, in2)",
"doMain",
"++inCnt",
"inCnt",
"in1",
"in2",
"System.exit(0)",
"System.exit",
"System",
"0",
"String[] args",
"args",
"private static void doMain(int inCnt, int in1, int in2) {\n\t\tif (in1 < in2)\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\telse\n\t\t\tSystem.out.println(in2 + \" \" + in1);\n\n\t}",
"doMain",
"{\n\t\tif (in1 < in2)\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\telse\n\t\t\tSystem.out.println(in2 + \" \" + in1);\n\n\t}",
"if (in1 < in2)\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\telse\n\t\t\tSystem.out.println(in2 + \" \" + in1);",
"in1 < in2",
"in1",
"in2",
"System.out.println(in1 + \" \" + in2)",
"System.out.println",
"System.out",
"System",
"System.out",
"in1 + \" \" + in2",
"in1 + \" \" + in2",
"in1",
"\" \"",
"in2",
"System.out.println(in2 + \" \" + in1)",
"System.out.println",
"System.out",
"System",
"System.out",
"in2 + \" \" + in1",
"in2 + \" \" + in1",
"in2",
"\" \"",
"in1",
"int inCnt",
"inCnt",
"int in1",
"in1",
"int in2",
"in2",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in1, int in2) {\n\t\tif (in1 < in2)\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\telse\n\t\t\tSystem.out.println(in2 + \" \" + in1);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tString[] se = s.split(\" \");\n\t\t\tint in1 = Integer.valueOf(se[0]);\n\t\t\tint in2 = Integer.valueOf(se[1]);\n\t\t\tif (in1 == 0 && in2 == 0)\n\t\t\t\tbreak;\n\t\t\tdoMain(++inCnt, in1, in2);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, int in1, int in2) {\n\t\tif (in1 < in2)\n\t\t\tSystem.out.println(in1 + \" \" + in2);\n\t\telse\n\t\t\tSystem.out.println(in2 + \" \" + in1);\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));
String s;
int inCnt = 0;
while ((s = stdIn.readLine()) != null) {
String[] se = s.split(" ");
int in1 = Integer.valueOf(se[0]);
int in2 = Integer.valueOf(se[1]);
if (in1 == 0 && in2 == 0)
break;
doMain(++inCnt, in1, in2);
}
System.exit(0);
}
private static void doMain(int inCnt, int in1, int in2) {
if (in1 < in2)
System.out.println(in1 + " " + in2);
else
System.out.println(in2 + " " + in1);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
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,
39,
13,
13,
4,
18,
13,
13,
41,
13,
2,
2,
2,
17,
18,
13,
17,
17,
18,
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
],
[
72,
8
],
[
72,
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
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
20,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
20,
50
],
[
50,
51
],
[
50,
52
],
[
54,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
20,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\n/**\n *\n * @author lenovo\n */\npublic class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }\n\n }\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }\n\n }",
"main",
"{\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }\n\n }",
"int count = 0;",
"count",
"0",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (true) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }",
"true",
"{\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (a == 0 && b == 0) {\n break;\n }",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n break;\n }",
"break;",
"int[] array = {a, b};",
"array",
"{a, b}",
"a",
"b",
"Arrays.sort(array)",
"Arrays.sort",
"Arrays",
"array",
"String s = \"\" + array[0] +\" \"+ array[1];",
"s",
"\"\" + array[0] +\" \"+ array[1]",
"\" \"",
"\"\" + array[0] +\" \"+ array[1]",
"\"\"",
"array[0]",
"array",
"0",
"\" \"",
"array[1]",
"array",
"1",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n int count = 0;\n Scanner scanner = new Scanner(System.in);\n\n while (true) {\n int a = scanner.nextInt();\n int b = scanner.nextInt();\n if (a == 0 && b == 0) {\n break;\n }\n int[] array = {a, b};\n Arrays.sort(array);\n String s = \"\" + array[0] +\" \"+ array[1];\n\n System.out.println(s);\n\n }\n\n }\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
/**
*
* @author lenovo
*/
public class Main {
public static void main(String[] args) {
int count = 0;
Scanner scanner = new Scanner(System.in);
while (true) {
int a = scanner.nextInt();
int b = scanner.nextInt();
if (a == 0 && b == 0) {
break;
}
int[] array = {a, b};
Arrays.sort(array);
String s = "" + array[0] +" "+ array[1];
System.out.println(s);
}
}
} |
[
7,
15,
13,
17,
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,
41,
13,
41,
13,
41,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
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
] | [
[
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
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
27,
32
],
[
32,
33
],
[
27,
34
],
[
34,
35
],
[
27,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
27,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
27,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
27,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
27,
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
],
[
9,
95
],
[
95,
96
]
] | [
"import java.io.*;\nimport java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X,Y;\n\t \t\tint x,y;\n\t\n\t\t\tX = in.next();\n\t \t\tY = in.next();\n\t\t\tx = Integer.parseInt(X);\n\t \t\ty = Integer.parseInt(Y);\n\t\n\t \tif(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}\n \t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main\n{\n\tpublic static void main (String[] args) throws IOException\n\t{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X,Y;\n\t \t\tint x,y;\n\t\n\t\t\tX = in.next();\n\t \t\tY = in.next();\n\t\t\tx = Integer.parseInt(X);\n\t \t\ty = Integer.parseInt(Y);\n\t\n\t \tif(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}\n \t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws IOException\n\t{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X,Y;\n\t \t\tint x,y;\n\t\n\t\t\tX = in.next();\n\t \t\tY = in.next();\n\t\t\tx = Integer.parseInt(X);\n\t \t\ty = Integer.parseInt(Y);\n\t\n\t \tif(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}\n \t}\n\t}",
"main",
"{\n \t\tScanner in = new Scanner(System.in);\n\n\t\tfor(int i = 1; i > 0; i++){\n\n\t \tString X,Y;\n\t \t\tint x,y;\n\t\n\t\t\tX = in.next();\n\t \t\tY = in.next();\n\t\t\tx = Integer.parseInt(X);\n\t \t\ty = Integer.parseInt(Y);\n\t\n\t \tif(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}\n \t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"for(int i = 1; i > 0; i++){\n\n\t \tString X,Y;\n\t \t\tint x,y;\n\t\n\t\t\tX = in.next();\n\t \t\tY = in.next();\n\t\t\tx = Integer.parseInt(X);\n\t \t\ty = Integer.parseInt(Y);\n\t\n\t \tif(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}\n \t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i > 0",
"i",
"0",
"i++",
"i++",
"i",
"{\n\n\t \tString X,Y;\n\t \t\tint x,y;\n\t\n\t\t\tX = in.next();\n\t \t\tY = in.next();\n\t\t\tx = Integer.parseInt(X);\n\t \t\ty = Integer.parseInt(Y);\n\t\n\t \tif(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}\n \t}",
"{\n\n\t \tString X,Y;\n\t \t\tint x,y;\n\t\n\t\t\tX = in.next();\n\t \t\tY = in.next();\n\t\t\tx = Integer.parseInt(X);\n\t \t\ty = Integer.parseInt(Y);\n\t\n\t \tif(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}\n \t}",
"String X",
"X",
"Y;",
"Y",
"int x",
"x",
"y;",
"y",
"X = in.next()",
"X",
"in.next()",
"in.next",
"in",
"Y = in.next()",
"Y",
"in.next()",
"in.next",
"in",
"x = Integer.parseInt(X)",
"x",
"Integer.parseInt(X)",
"Integer.parseInt",
"Integer",
"X",
"y = Integer.parseInt(Y)",
"y",
"Integer.parseInt(Y)",
"Integer.parseInt",
"Integer",
"Y",
"if(x == 0 && y == 0){\n\t \tbreak;\n\t \t}else{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t \tbreak;\n\t \t}",
"break;",
"{\n\t\t \t\tif(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}\n \t\t}",
"if(x >= y){\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\t \t\t}else{\n\t\t \t\t\tSystem.out.println(x + \" \" + y);\n\t\t \t\t}",
"x >= y",
"x",
"y",
"{\n\t\t \t\t\tSystem.out.println(y + \" \" + x);\n\t\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\t\tSystem.out.println(x + \" \" + y);\n\t\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.io.*;
import java.util.Scanner;
class Main
{
public static void main (String[] args) throws IOException
{
Scanner in = new Scanner(System.in);
for(int i = 1; i > 0; i++){
String X,Y;
int x,y;
X = in.next();
Y = in.next();
x = Integer.parseInt(X);
y = Integer.parseInt(Y);
if(x == 0 && y == 0){
break;
}else{
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,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
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,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
99,
5
],
[
99,
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
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
19,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
19,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
19,
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
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
70,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
92,
92
],
[
92,
93
],
[
92,
94
],
[
92,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString str = new String();\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\n\t\t\t\tSystem.out.println(a+\" \"+b);\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 in = new Scanner(System.in);\n\t\tString str = new String();\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\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){\n\t\tScanner in = new Scanner(System.in);\n\t\tString str = new String();\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tString str = new String();\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\t}\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"String str = new String();",
"str",
"new String()",
"while(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\t}\n\t\t}",
"in.hasNext()",
"in.hasNext",
"in",
"{\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\t}\n\t\t}",
"String line = in.nextLine();",
"line",
"in.nextLine()",
"in.nextLine",
"in",
"String[] Array = line.split(\" \");",
"Array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int a = Integer.parseInt(Array[0]);",
"a",
"Integer.parseInt(Array[0])",
"Integer.parseInt",
"Integer",
"Array[0]",
"Array",
"0",
"int b = Integer.parseInt(Array[1]);",
"b",
"Integer.parseInt(Array[1])",
"Integer.parseInt",
"Integer",
"Array[1]",
"Array",
"1",
"if((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}",
"(a+b)==0",
"(a+b)",
"a",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(a>b){\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}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",
"if(a<b){\n\t\t\t\tSystem.out.println(a+\" \"+b);\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(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",
"{\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",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString str = new String();\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tString str = new String();\n\t\twhile(in.hasNext()){\n\t\t\tString line = in.nextLine();\n\t\t\tString[] Array = line.split(\" \");\n\t\t\tint a = Integer.parseInt(Array[0]);\n\t\t\tint b = Integer.parseInt(Array[1]);\n\t\t\tif((a+b)==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(a>b){\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}else{\n\t\t\t\tSystem.out.println(a+\" \"+b);\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 in = new Scanner(System.in);
String str = new String();
while(in.hasNext()){
String line = in.nextLine();
String[] Array = line.split(" ");
int a = Integer.parseInt(Array[0]);
int b = Integer.parseInt(Array[1]);
if((a+b)==0){
break;
}
if(a>b){
System.out.println(b+" "+a);
}else if(a<b){
System.out.println(a+" "+b);
}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,
18,
13,
13,
41,
13,
41,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
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
],
[
20,
21
],
[
20,
22
],
[
14,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
35,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
35,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
12,
78
],
[
78,
79
]
] | [
"import java.io.IOException;\nimport java.io.PrintStream;\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tPrintStream out = System.out;\n\n\t\tint val1, val2;\n\t\tdo {\n\t\t\tval1 = scan.nextInt();\n\t\t\tval2 = scan.nextInt();\n\t\t\tif (val1 > val2) {\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}\n\t\t\tif (val1 == 0 && val2 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tout.println(val1 + \" \" + val2);\n\t\t} while (val1 != 0 || val2 != 0);\n\t}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.PrintStream;",
"PrintStream",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tPrintStream out = System.out;\n\n\t\tint val1, val2;\n\t\tdo {\n\t\t\tval1 = scan.nextInt();\n\t\t\tval2 = scan.nextInt();\n\t\t\tif (val1 > val2) {\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}\n\t\t\tif (val1 == 0 && val2 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tout.println(val1 + \" \" + val2);\n\t\t} while (val1 != 0 || val2 != 0);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tPrintStream out = System.out;\n\n\t\tint val1, val2;\n\t\tdo {\n\t\t\tval1 = scan.nextInt();\n\t\t\tval2 = scan.nextInt();\n\t\t\tif (val1 > val2) {\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}\n\t\t\tif (val1 == 0 && val2 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tout.println(val1 + \" \" + val2);\n\t\t} while (val1 != 0 || val2 != 0);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tPrintStream out = System.out;\n\n\t\tint val1, val2;\n\t\tdo {\n\t\t\tval1 = scan.nextInt();\n\t\t\tval2 = scan.nextInt();\n\t\t\tif (val1 > val2) {\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}\n\t\t\tif (val1 == 0 && val2 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tout.println(val1 + \" \" + val2);\n\t\t} while (val1 != 0 || val2 != 0);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"PrintStream out = System.out;",
"out",
"System.out",
"System",
"System.out",
"int val1",
"val1",
"val2;",
"val2",
"do {\n\t\t\tval1 = scan.nextInt();\n\t\t\tval2 = scan.nextInt();\n\t\t\tif (val1 > val2) {\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}\n\t\t\tif (val1 == 0 && val2 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tout.println(val1 + \" \" + val2);\n\t\t} while (val1 != 0 || val2 != 0);",
"val1 != 0 || val2 != 0",
"val1 != 0",
"val1",
"0",
"val2 != 0",
"val2",
"0",
"{\n\t\t\tval1 = scan.nextInt();\n\t\t\tval2 = scan.nextInt();\n\t\t\tif (val1 > val2) {\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}\n\t\t\tif (val1 == 0 && val2 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tout.println(val1 + \" \" + val2);\n\t\t}",
"val1 = scan.nextInt()",
"val1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"val2 = scan.nextInt()",
"val2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (val1 > val2) {\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}",
"val1 > val2",
"val1",
"val2",
"{\n\t\t\t\tint temp = val1;\n\t\t\t\tval1 = val2;\n\t\t\t\tval2 = temp;\n\t\t\t}",
"int temp = val1;",
"temp",
"val1",
"val1 = val2",
"val1",
"val2",
"val2 = temp",
"val2",
"temp",
"if (val1 == 0 && val2 == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"val1 == 0 && val2 == 0",
"val1 == 0",
"val1",
"0",
"val2 == 0",
"val2",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"out.println(val1 + \" \" + val2)",
"out.println",
"out",
"val1 + \" \" + val2",
"val1 + \" \" + val2",
"val1",
"\" \"",
"val2",
"String[] args",
"args"
] | import java.io.IOException;
import java.io.PrintStream;
import java.util.Scanner;
class Main{
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
PrintStream out = System.out;
int val1, val2;
do {
val1 = scan.nextInt();
val2 = scan.nextInt();
if (val1 > val2) {
int temp = val1;
val1 = val2;
val2 = temp;
}
if (val1 == 0 && val2 == 0) {
break;
}
out.println(val1 + " " + val2);
} while (val1 != 0 || val2 != 0);
}
} |
[
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,
14,
2,
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
],
[
69,
5
],
[
69,
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
],
[
29,
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
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint x,y;\n\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\t }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint x,y;\n\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\t }\n }\n}",
"Main",
"public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint x,y;\n\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\t }\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\tint x,y;\n\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\t }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"while(true)\n\t {\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\t }",
"true",
"{\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\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 break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t 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",
"if( x > y )\n\t\t System.out.println(y+\" \"+x);",
"x > y",
"x",
"y",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"String argv[]",
"argv",
"public class Main{\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint x,y;\n\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\t }\n }\n}",
"public class Main{\n public static void main(String argv[])\n {\n\tScanner scan = new Scanner(System.in);\n\tint x,y;\n\n\twhile(true)\n\t {\n\t\tx = scan.nextInt();\n\t\ty = scan.nextInt();\n\t\tif( x == 0 && y == 0 )\n\t\t break;\n\t\telse if( x <= y)\n\t\t System.out.println(x+\" \"+y);\n\t\telse if( x > y )\n\t\t System.out.println(y+\" \"+x);\n\t }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String argv[])
{
Scanner scan = new Scanner(System.in);
int x,y;
while(true)
{
x = scan.nextInt();
y = scan.nextInt();
if( x == 0 && y == 0 )
break;
else if( x <= y)
System.out.println(x+" "+y);
else if( x > y )
System.out.println(y+" "+x);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
92,
5
],
[
92,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
19,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
19,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
57,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
83,
86
],
[
19,
87
],
[
87,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 3001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 3001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 3001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 3001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while (i < 3001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"i < 3001",
"i",
"3001",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] array = line.split(\" \");",
"array",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"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\t\t\tbreak;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}",
"x >= y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\n\t\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\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 3001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint i = 1;\n\t\twhile (i < 3001) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] array = line.split(\" \");\n\t\t\tint x = Integer.parseInt(array[0]);\n\t\t\tint y = Integer.parseInt(array[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\tSystem.out.println(y + \" \" + x);\n\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int i = 1;
while (i < 3001) {
String line = sc.nextLine();
String[] array = line.split(" ");
int x = Integer.parseInt(array[0]);
int y = Integer.parseInt(array[1]);
if (x == 0 && y == 0) {
break;
} else if (x >= y) {
System.out.println(y + " " + x);
} else if (x < y) {
System.out.println(x + " " + y);
}
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
17,
30,
14,
2,
2,
13,
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,
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
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
24,
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
],
[
24,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
24,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b=sc.nextInt();\n\twhile(true){\n\t if(a==0 && b==0) break;\n\t if(a<b) System.out.println(a+\" \"+b);\n\t else System.out.println(b+\" \"+a);\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b=sc.nextInt();\n\twhile(true){\n\t if(a==0 && b==0) break;\n\t if(a<b) System.out.println(a+\" \"+b);\n\t else System.out.println(b+\" \"+a);\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b=sc.nextInt();\n\twhile(true){\n\t if(a==0 && b==0) break;\n\t if(a<b) System.out.println(a+\" \"+b);\n\t else System.out.println(b+\" \"+a);\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t}\n }",
"main",
"{\n\tfinal Scanner sc=new Scanner(System.in);\n\tint a=sc.nextInt();\n\tint b=sc.nextInt();\n\twhile(true){\n\t if(a==0 && b==0) break;\n\t if(a<b) System.out.println(a+\" \"+b);\n\t else System.out.println(b+\" \"+a);\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t}\n }",
"final Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(true){\n\t if(a==0 && b==0) break;\n\t if(a<b) System.out.println(a+\" \"+b);\n\t else System.out.println(b+\" \"+a);\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t}",
"true",
"{\n\t if(a==0 && b==0) break;\n\t if(a<b) System.out.println(a+\" \"+b);\n\t else System.out.println(b+\" \"+a);\n\t a=sc.nextInt();\n\t b=sc.nextInt();\n\t}",
"if(a==0 && b==0) break;",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"if(a<b) System.out.println(a+\" \"+b);\n\t else 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",
"a=sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b=sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
final Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
int b=sc.nextInt();
while(true){
if(a==0 && b==0) break;
if(a<b) System.out.println(a+" "+b);
else System.out.println(b+" "+a);
a=sc.nextInt();
b=sc.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
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,
3,
4,
18,
13,
13,
4,
18,
18,
13,
13,
17,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
88,
14
],
[
88,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
26,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
23,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
23,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
56,
68
],
[
23,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
23,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
73,
82
],
[
82,
83
],
[
82,
84
],
[
15,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\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[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile (true) {\n\t\t\tString[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\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[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\n\t\t}",
"true",
"{\n\t\t\tString[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\n\t\t}",
"String[] strArr = br.readLine().split(\" \");",
"strArr",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"long[] arr = new long[2];",
"arr",
"new long[2]",
"2",
"arr[0] = Long.parseLong(strArr[0])",
"arr[0]",
"arr",
"0",
"Long.parseLong(strArr[0])",
"Long.parseLong",
"Long",
"strArr[0]",
"strArr",
"0",
"arr[1] = Long.parseLong(strArr[1])",
"arr[1]",
"arr",
"1",
"Long.parseLong(strArr[1])",
"Long.parseLong",
"Long",
"strArr[1]",
"strArr",
"1",
"if(arr[0] == 0 && arr[1] == 0)break;",
"arr[0] == 0 && arr[1] == 0",
"arr[0] == 0",
"arr[0]",
"arr",
"0",
"0",
"arr[1] == 0",
"arr[1]",
"arr",
"1",
"0",
"break;",
"Arrays.sort(arr)",
"Arrays.sort",
"Arrays",
"arr",
"System.out.printf(\"%d %d%n\", arr[0], arr[1])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d%n\"",
"arr[0]",
"arr",
"0",
"arr[1]",
"arr",
"1",
"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[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\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[] strArr = br.readLine().split(\" \");\n\t\t\tlong[] arr = new long[2];\n\t\t\tarr[0] = Long.parseLong(strArr[0]);\n\t\t\tarr[1] = Long.parseLong(strArr[1]);\n\t\t\tif(arr[0] == 0 && arr[1] == 0)break;\n\t\t\tArrays.sort(arr);\n\t\t\tSystem.out.printf(\"%d %d%n\", arr[0], arr[1]);\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String[] strArr = br.readLine().split(" ");
long[] arr = new long[2];
arr[0] = Long.parseLong(strArr[0]);
arr[1] = Long.parseLong(strArr[1]);
if(arr[0] == 0 && arr[1] == 0)break;
Arrays.sort(arr);
System.out.printf("%d %d%n", arr[0], arr[1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
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,
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,
2,
13,
17,
2,
13,
17,
30,
3,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
18,
19
],
[
12,
20
],
[
21,
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
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
32,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
47,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
62,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
79,
79
],
[
79,
80
],
[
79,
81
],
[
79,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i = 0;; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(int i = 0;; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\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\tfor(int i = 0;; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\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\tfor(int i = 0;; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\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)",
"for(int i = 0;; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}",
"{\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\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 > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\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",
"if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\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(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 == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + 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\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\tScanner sc = new Scanner(System.in);\n\t\tfor(int i = 0;; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\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\tfor(int i = 0;; i++) {\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.nextInt();\n\t\t\tif(x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if(x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else if(x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(int i = 0;; i++) {
int x = sc.nextInt();
int y = sc.nextInt();
if(x > y) {
System.out.println(y + " " + x);
} else if(x < y) {
System.out.println(x + " " + y);
} else if(x == 0 && y == 0) {
break;
} else {
System.out.println(x + " " + y);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
25,
34
],
[
34,
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
],
[
34,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
34,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
9,
71
],
[
71,
72
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n\tScanner sc = new Scanner(System.in);\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\n\twhile(!(a == 0 && b == 0)){\n\t if (a > b) {\n\t\tSystem.out.println(b + \" \" + a);\n\t }\n\t else {\n\t\tSystem.out.println(a + \" \" + b);\n\t }\n\t a = sc.nextInt();\n\t b = sc.nextInt();\n\t}\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String[] args)\n {\n\tScanner sc = new Scanner(System.in);\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\n\twhile(!(a == 0 && b == 0)){\n\t if (a > b) {\n\t\tSystem.out.println(b + \" \" + a);\n\t }\n\t else {\n\t\tSystem.out.println(a + \" \" + b);\n\t }\n\t a = sc.nextInt();\n\t b = sc.nextInt();\n\t}\n }\n}",
"Main",
"public static void main(String[] args)\n {\n\tScanner sc = new Scanner(System.in);\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\n\twhile(!(a == 0 && b == 0)){\n\t if (a > b) {\n\t\tSystem.out.println(b + \" \" + a);\n\t }\n\t else {\n\t\tSystem.out.println(a + \" \" + b);\n\t }\n\t a = sc.nextInt();\n\t b = sc.nextInt();\n\t}\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint a = sc.nextInt();\n\tint b = sc.nextInt();\n\n\twhile(!(a == 0 && b == 0)){\n\t if (a > b) {\n\t\tSystem.out.println(b + \" \" + a);\n\t }\n\t else {\n\t\tSystem.out.println(a + \" \" + b);\n\t }\n\t a = sc.nextInt();\n\t b = sc.nextInt();\n\t}\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(!(a == 0 && b == 0)){\n\t if (a > b) {\n\t\tSystem.out.println(b + \" \" + a);\n\t }\n\t else {\n\t\tSystem.out.println(a + \" \" + b);\n\t }\n\t a = sc.nextInt();\n\t b = sc.nextInt();\n\t}",
"!(a == 0 && b == 0)",
"(a == 0 && b == 0)",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t if (a > b) {\n\t\tSystem.out.println(b + \" \" + a);\n\t }\n\t else {\n\t\tSystem.out.println(a + \" \" + b);\n\t }\n\t a = sc.nextInt();\n\t b = sc.nextInt();\n\t}",
"if (a > b) {\n\t\tSystem.out.println(b + \" \" + a);\n\t }\n\t else {\n\t\tSystem.out.println(a + \" \" + b);\n\t }",
"a > b",
"a",
"b",
"{\n\t\tSystem.out.println(b + \" \" + a);\n\t }",
"System.out.println(b + \" \" + a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"{\n\t\tSystem.out.println(a + \" \" + b);\n\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"
] | import java.io.*;
import java.util.*;
class Main
{
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int 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,
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,
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
],
[
78,
5
],
[
78,
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
46,
52
],
[
44,
53
],
[
42,
54
],
[
37,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
60,
66
],
[
58,
67
],
[
56,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"main",
"{\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(output);\n\t}",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}",
"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\t\t\t\tbreak;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"if (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}",
"a <= b",
"a",
"b",
"{\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t}",
"output.append(a).append(\" \").append(b).append('\\n')",
"output.append(a).append(\" \").append(b).append",
"output.append(a).append(\" \").append(b)",
"output.append(a).append(\" \").append",
"output.append(a).append(\" \")",
"output.append(a).append",
"output.append(a)",
"output.append",
"output",
"a",
"\" \"",
"b",
"'\\n'",
"{\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}",
"output.append(b).append(\" \").append(a).append('\\n')",
"output.append(b).append(\" \").append(a).append",
"output.append(b).append(\" \").append(a)",
"output.append(b).append(\" \").append",
"output.append(b).append(\" \")",
"output.append(b).append",
"output.append(b)",
"output.append",
"output",
"b",
"\" \"",
"a",
"'\\n'",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tStringBuilder output = new StringBuilder();\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile(true) {\n\t\t\tint a = scan.nextInt();\n\t\t\tint b = scan.nextInt();\n\t\t\tif (a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\tif (a <= b) {\n\t\t\t\toutput.append(a).append(\" \").append(b).append('\\n');\n\t\t\t} else {\n\t\t\t\toutput.append(b).append(\" \").append(a).append('\\n');\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(output);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
StringBuilder output = new StringBuilder();
Scanner scan = new Scanner(System.in);
while(true) {
int a = scan.nextInt();
int b = scan.nextInt();
if (a == 0 && b == 0)
break;
if (a <= b) {
output.append(a).append(" ").append(b).append('\n');
} else {
output.append(b).append(" ").append(a).append('\n');
}
}
System.out.print(output);
}
} |
[
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,
14,
4,
18,
13,
17,
30,
4,
18,
13,
17,
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,
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
],
[
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
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
24,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
24,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
24,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
24,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
63,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
85,
85
],
[
85,
86
],
[
85,
87
],
[
85,
88
],
[
6,
89
],
[
89,
90
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0 0\")){\n System.exit(0);\n }\n String [] num=val.split(\" \",0);\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n if(x<y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\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 for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0 0\")){\n System.exit(0);\n }\n String [] num=val.split(\" \",0);\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\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[]){\n Scanner scan = new Scanner(System.in);\n for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0 0\")){\n System.exit(0);\n }\n String [] num=val.split(\" \",0);\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n if(x<y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0 0\")){\n System.exit(0);\n }\n String [] num=val.split(\" \",0);\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n if(x<y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=1;i<10001;i++){\n String val=scan.nextLine();\n if(val.equals(\"0 0\")){\n System.exit(0);\n }\n String [] num=val.split(\" \",0);\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n if(x<y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<10001",
"i",
"10001",
"i++",
"i++",
"i",
"{\n String val=scan.nextLine();\n if(val.equals(\"0 0\")){\n System.exit(0);\n }\n String [] num=val.split(\" \",0);\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n if(x<y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
"{\n String val=scan.nextLine();\n if(val.equals(\"0 0\")){\n System.exit(0);\n }\n String [] num=val.split(\" \",0);\n int x=Integer.parseInt(num[0]);\n int y=Integer.parseInt(num[1]);\n if(x<y){\n System.out.println(x+\" \"+y);\n }else{\n System.out.println(y+\" \"+x);\n }\n }",
"String val=scan.nextLine();",
"val",
"scan.nextLine()",
"scan.nextLine",
"scan",
"if(val.equals(\"0 0\")){\n System.exit(0);\n }",
"val.equals(\"0 0\")",
"val.equals",
"val",
"\"0 0\"",
"{\n System.exit(0);\n }",
"System.exit(0)",
"System.exit",
"System",
"0",
"String [] num=val.split(\" \",0);",
"num",
"val.split(\" \",0)",
"val.split",
"val",
"\" \"",
"0",
"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<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 scan = new Scanner(System.in);
for(int i=1;i<10001;i++){
String val=scan.nextLine();
if(val.equals("0 0")){
System.exit(0);
}
String [] num=val.split(" ",0);
int x=Integer.parseInt(num[0]);
int y=Integer.parseInt(num[1]);
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,
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
] | [
[
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
],
[
14,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
41,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
6,
53
],
[
53,
54
]
] | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) throws Exception{\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 }\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) throws Exception{\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 }\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\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 }\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\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 }\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\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 }\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }",
"true",
"{\n int x = sc.nextInt();\n int y = sc.nextInt();\n if(x == 0 && y == 0){\n break;\n }\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\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;",
"System.out.println(Math.min(x,y)+\" \"+Math.max(x,y))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(x,y)+\" \"+Math.max(x,y)",
"Math.min(x,y)+\" \"+Math.max(x,y)",
"Math.min(x,y)",
"Math.min",
"Math",
"x",
"y",
"\" \"",
"Math.max(x,y)",
"Math.max",
"Math",
"x",
"y",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
while(true){
int x = sc.nextInt();
int y = sc.nextInt();
if(x == 0 && y == 0){
break;
}
System.out.println(Math.min(x,y)+" "+Math.max(x,y));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
84,
11
],
[
84,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
25,
30
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
22,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
22,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
22,
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
],
[
22,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
77,
80
],
[
12,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"\nimport 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\tint box;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}\n\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tint box;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}\n\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tint box;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}\n\n\n\t}",
"main",
"{\n\t\tint box;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}\n\n\n\t}",
"int box;",
"box",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}",
"true",
"{\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}",
"String[] inputNum = br.readLine().split(\" \");",
"inputNum",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(inputNum[0]);",
"x",
"Integer.parseInt(inputNum[0])",
"Integer.parseInt",
"Integer",
"inputNum[0]",
"inputNum",
"0",
"int y = Integer.parseInt(inputNum[1]);",
"y",
"Integer.parseInt(inputNum[1])",
"Integer.parseInt",
"Integer",
"inputNum[1]",
"inputNum",
"1",
"if (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\tbreak;\n\t\t}",
"break;",
"if(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}",
"box = x",
"box",
"x",
"x = y",
"x",
"y",
"y = box",
"y",
"box",
"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\tint box;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}\n\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tint box;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint x = Integer.parseInt(inputNum[0]);\n\t\tint y = Integer.parseInt(inputNum[1]);\n\n\t\tif (x == 0 && y == 0) {\n\t\t\tbreak;\n\t\t}\n\n\t\tif(x > y){\n\t\t\tbox = x;\n\t\t\tx = y;\n\t\t\ty = box;\n\t\t}\n\n\t\tSystem.out.println(x + \" \" + y);\n\n\t\t}\n\n\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
int box;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] inputNum = br.readLine().split(" ");
int x = Integer.parseInt(inputNum[0]);
int y = Integer.parseInt(inputNum[1]);
if (x == 0 && y == 0) {
break;
}
if(x > y){
box = x;
x = y;
y = box;
}
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,
42,
17,
30,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
29,
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
],
[
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
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
22,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
22,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
22,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
22,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
22,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
65,
71
],
[
65,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
72,
76
],
[
12,
77
],
[
77,
78
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s;\n while(true){\n \ts = br.readLine();\n \tString[] xy = s.split(\" \");\n \tint x = Integer.parseInt(xy[0]);\n \tint y = Integer.parseInt(xy[1]);\n \tif (x==0 && y==0)\n \t\treturn;\n \tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s;\n while(true){\n \ts = br.readLine();\n \tString[] xy = s.split(\" \");\n \tint x = Integer.parseInt(xy[0]);\n \tint y = Integer.parseInt(xy[1]);\n \tif (x==0 && y==0)\n \t\treturn;\n \tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s;\n while(true){\n \ts = br.readLine();\n \tString[] xy = s.split(\" \");\n \tint x = Integer.parseInt(xy[0]);\n \tint y = Integer.parseInt(xy[1]);\n \tif (x==0 && y==0)\n \t\treturn;\n \tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n }\n }",
"main",
"{\n BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s;\n while(true){\n \ts = br.readLine();\n \tString[] xy = s.split(\" \");\n \tint x = Integer.parseInt(xy[0]);\n \tint y = Integer.parseInt(xy[1]);\n \tif (x==0 && y==0)\n \t\treturn;\n \tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n }\n }",
"BufferedReader br =\n new BufferedReader(new InputStreamReader(System.in), 1);",
"br",
"new BufferedReader(new InputStreamReader(System.in), 1)",
"String s;",
"s",
"while(true){\n \ts = br.readLine();\n \tString[] xy = s.split(\" \");\n \tint x = Integer.parseInt(xy[0]);\n \tint y = Integer.parseInt(xy[1]);\n \tif (x==0 && y==0)\n \t\treturn;\n \tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n }",
"true",
"{\n \ts = br.readLine();\n \tString[] xy = s.split(\" \");\n \tint x = Integer.parseInt(xy[0]);\n \tint y = Integer.parseInt(xy[1]);\n \tif (x==0 && y==0)\n \t\treturn;\n \tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n }",
"s = br.readLine()",
"s",
"br.readLine()",
"br.readLine",
"br",
"String[] xy = s.split(\" \");",
"xy",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"int x = Integer.parseInt(xy[0]);",
"x",
"Integer.parseInt(xy[0])",
"Integer.parseInt",
"Integer",
"xy[0]",
"xy",
"0",
"int y = Integer.parseInt(xy[1]);",
"y",
"Integer.parseInt(xy[1])",
"Integer.parseInt",
"Integer",
"xy[1]",
"xy",
"1",
"if (x==0 && y==0)\n \t\treturn;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"return;",
"System.out.println(Math.min(x, y) + \" \" + Math.max(x, y))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(x, y) + \" \" + Math.max(x, y)",
"Math.min(x, y) + \" \" + Math.max(x, y)",
"Math.min(x, y)",
"Math.min",
"Math",
"x",
"y",
"\" \"",
"Math.max(x, y)",
"Math.max",
"Math",
"x",
"y",
"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), 1);
String s;
while(true){
s = br.readLine();
String[] xy = s.split(" ");
int x = Integer.parseInt(xy[0]);
int y = Integer.parseInt(xy[1]);
if (x==0 && y==0)
return;
System.out.println(Math.min(x, y) + " " + Math.max(x, y));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
41,
13,
41,
13,
0,
13,
17,
0,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
0,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
123,
5
],
[
123,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
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
],
[
34,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
34,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
34,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
34,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
34,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
34,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
34,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
34,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
34,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
34,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
34,
105
],
[
105,
106
],
[
106,
107
],
[
34,
108
],
[
108,
109
],
[
108,
110
],
[
34,
111
],
[
111,
112
],
[
111,
113
],
[
8,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
6,
120
],
[
120,
121
],
[
0,
122
],
[
122,
123
],
[
122,
124
]
] | [
"\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint x,y;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tboolean flg1,flg2;\n\t\tflg1 =false;\n\t\tflg2 = false;\n\t\t\n\t\t//??????0??§????????????\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint x,y;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tboolean flg1,flg2;\n\t\tflg1 =false;\n\t\tflg2 = false;\n\t\t\n\t\t//??????0??§????????????\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.print(new String(sb));\n\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\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint x,y;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tboolean flg1,flg2;\n\t\tflg1 =false;\n\t\tflg2 = false;\n\t\t\n\t\t//??????0??§????????????\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint x,y;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tboolean flg1,flg2;\n\t\tflg1 =false;\n\t\tflg2 = false;\n\t\t\n\t\t//??????0??§????????????\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int x",
"x",
"y;",
"y",
"List<Integer> list = new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"boolean flg1",
"flg1",
"flg2;",
"flg2",
"flg1 =false",
"flg1",
"false",
"flg2 = false",
"flg2",
"false",
"while(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\n\t\t\t\n\t\t}",
"true",
"{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\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){flg1= true;}",
"x == 0",
"x",
"0",
"{flg1= true;}",
"flg1= true",
"flg1",
"true",
"if (y == 0){flg2 = true;}",
"y == 0",
"y",
"0",
"{flg2 = true;}",
"flg2 = true",
"flg2",
"true",
"if ((flg1 == true) & (flg2 == true)){break;}",
"(flg1 == true) & (flg2 == true)",
"(flg1 == true)",
"flg1",
"true",
"(flg2 == true)",
"flg2",
"true",
"{break;}",
"break;",
"list.add(x)",
"list.add",
"list",
"x",
"list.add(y)",
"list.add",
"list",
"y",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"sb.append(list.get(0))",
"sb.append",
"sb",
"list.get(0)",
"list.get",
"list",
"0",
"sb.append(\" \")",
"sb.append",
"sb",
"\" \"",
"sb.append(list.get(1))",
"sb.append",
"sb",
"list.get(1)",
"list.get",
"list",
"1",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"list.clear()",
"list.clear",
"list",
"flg1 = false",
"flg1",
"false",
"flg2 = false",
"flg2",
"false",
"System.out.print(new String(sb))",
"System.out.print",
"System.out",
"System",
"System.out",
"new String(sb)",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint x,y;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tboolean flg1,flg2;\n\t\tflg1 =false;\n\t\tflg2 = false;\n\t\t\n\t\t//??????0??§????????????\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tint x,y;\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tboolean flg1,flg2;\n\t\tflg1 =false;\n\t\tflg2 = false;\n\t\t\n\t\t//??????0??§????????????\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\t//x???0?????´??????true?????????\n\t\t\tif (x == 0){flg1= true;}\n\t\t\t//y???0?????´??????true?????????\n\t\t\tif (y == 0){flg2 = true;}\n\t\t\t//x??¨y???0?????´????????????????????????\n\t\t\tif ((flg1 == true) & (flg2 == true)){break;}\n\t\t\t\n\t\t\t//????????????????????????????????????????????????????????????\n\t\t\tlist.add(x);\n\t\t\tlist.add(y);\n\t\t\t\n\t\t\tCollections.sort(list);\n\t\t\t\n\t\t\tsb.append(list.get(0));\n\t\t\tsb.append(\" \");\n\t\t\tsb.append(list.get(1));\n\t\t\tsb.append(\"\\n\");\n\t\t\t\n\t\t\t//???????????????????????????\n\t\t\tlist.clear();\n\t\t\t\n\t\t\t//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????\n\t\t\tflg1 = false;\n\t\t\tflg2 = false;\n\t\t\t\n\t\t}\n\t\t\n\t\tSystem.out.print(new String(sb));\n\t\t\n\t\t\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main {
public static void main(String args[]){
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
int x,y;
List<Integer> list = new ArrayList<Integer>();
boolean flg1,flg2;
flg1 =false;
flg2 = false;
//??????0??§????????????
while(true){
x = scan.nextInt();
y = scan.nextInt();
//x???0?????´??????true?????????
if (x == 0){flg1= true;}
//y???0?????´??????true?????????
if (y == 0){flg2 = true;}
//x??¨y???0?????´????????????????????????
if ((flg1 == true) & (flg2 == true)){break;}
//????????????????????????????????????????????????????????????
list.add(x);
list.add(y);
Collections.sort(list);
sb.append(list.get(0));
sb.append(" ");
sb.append(list.get(1));
sb.append("\n");
//???????????????????????????
list.clear();
//x??¨y????????????????????????0?????´????????????????¶??¶????????????????flg???false?????????
flg1 = false;
flg2 = false;
}
System.out.print(new String(sb));
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
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,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
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
],
[
14,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
56,
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
],
[
55,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
81,
81
],
[
81,
82
],
[
81,
83
],
[
81,
84
],
[
55,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
55,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
55,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
101,
103
],
[
55,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
109,
111
],
[
12,
112
],
[
112,
113
]
] | [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.* ;\n \nclass Main{\n public static void main(String[] args)throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n String str = br.readLine();\n \n String[] strAry = str.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n \tint b = Integer.parseInt(strAry[1]);\n \tint c;\n \twhile ( a!=0 || b!=0 ) { \n \t\tif (a < b) {}\n \t\t\t\n \t\telse if ( a> b) {c= a; a= b; b= c;\n \t\t}\n \t\tSystem.out.println( a + \" \" + b);\n \t str = br.readLine();\n \t\t strAry = str.split(\" \");\n a = Integer.parseInt(strAry[0]);\n b = Integer.parseInt(strAry[1]);\n \t}\n \t}\t\n \t\t\n \t}\n ",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.* ;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n String str = br.readLine();\n \n String[] strAry = str.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n \tint b = Integer.parseInt(strAry[1]);\n \tint c;\n \twhile ( a!=0 || b!=0 ) { \n \t\tif (a < b) {}\n \t\t\t\n \t\telse if ( a> b) {c= a; a= b; b= c;\n \t\t}\n \t\tSystem.out.println( a + \" \" + b);\n \t str = br.readLine();\n \t\t strAry = str.split(\" \");\n a = Integer.parseInt(strAry[0]);\n b = Integer.parseInt(strAry[1]);\n \t}\n \t}\t\n \t\t\n \t}",
"Main",
"public static void main(String[] args)throws IOException{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n String str = br.readLine();\n \n String[] strAry = str.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n \tint b = Integer.parseInt(strAry[1]);\n \tint c;\n \twhile ( a!=0 || b!=0 ) { \n \t\tif (a < b) {}\n \t\t\t\n \t\telse if ( a> b) {c= a; a= b; b= c;\n \t\t}\n \t\tSystem.out.println( a + \" \" + b);\n \t str = br.readLine();\n \t\t strAry = str.split(\" \");\n a = Integer.parseInt(strAry[0]);\n b = Integer.parseInt(strAry[1]);\n \t}\n \t}",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\\?????????\n String str = br.readLine();\n \n String[] strAry = str.split(\" \");\n int a = Integer.parseInt(strAry[0]);\n \tint b = Integer.parseInt(strAry[1]);\n \tint c;\n \twhile ( a!=0 || b!=0 ) { \n \t\tif (a < b) {}\n \t\t\t\n \t\telse if ( a> b) {c= a; a= b; b= c;\n \t\t}\n \t\tSystem.out.println( a + \" \" + b);\n \t str = br.readLine();\n \t\t strAry = str.split(\" \");\n a = Integer.parseInt(strAry[0]);\n b = Integer.parseInt(strAry[1]);\n \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[] strAry = str.split(\" \");",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"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",
"int c;",
"c",
"while ( a!=0 || b!=0 ) { \n \t\tif (a < b) {}\n \t\t\t\n \t\telse if ( a> b) {c= a; a= b; b= c;\n \t\t}\n \t\tSystem.out.println( a + \" \" + b);\n \t str = br.readLine();\n \t\t strAry = str.split(\" \");\n a = Integer.parseInt(strAry[0]);\n b = Integer.parseInt(strAry[1]);\n \t}",
"a!=0 || b!=0",
"a!=0",
"a",
"0",
"b!=0",
"b",
"0",
"{ \n \t\tif (a < b) {}\n \t\t\t\n \t\telse if ( a> b) {c= a; a= b; b= c;\n \t\t}\n \t\tSystem.out.println( a + \" \" + b);\n \t str = br.readLine();\n \t\t strAry = str.split(\" \");\n a = Integer.parseInt(strAry[0]);\n b = Integer.parseInt(strAry[1]);\n \t}",
"if (a < b) {}\n \t\t\t\n \t\telse if ( a> b) {c= a; a= b; b= c;\n \t\t}",
"a < b",
"a",
"b",
"{}",
"if ( a> b) {c= a; a= b; b= c;\n \t\t}",
"a> b",
"a",
"b",
"{c= a; a= b; b= c;\n \t\t}",
"c= a",
"c",
"a",
"a= b",
"a",
"b",
"b= c",
"b",
"c",
"System.out.println( a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"strAry = str.split(\" \")",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a = Integer.parseInt(strAry[0])",
"a",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"b = Integer.parseInt(strAry[1])",
"b",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"String[] args",
"args"
] | import java.io.IOException;
import java.io.InputStreamReader;
import java.io.* ;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));// ??\?????????
String str = br.readLine();
String[] strAry = str.split(" ");
int a = Integer.parseInt(strAry[0]);
int b = Integer.parseInt(strAry[1]);
int c;
while ( a!=0 || b!=0 ) {
if (a < b) {}
else if ( a> b) {c= a; a= b; b= c;
}
System.out.println( a + " " + b);
str = br.readLine();
strAry = str.split(" ");
a = Integer.parseInt(strAry[0]);
b = Integer.parseInt(strAry[1]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
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,
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,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
92,
8
],
[
92,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
27,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
27,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
27,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
64,
71
],
[
71,
72
],
[
71,
73
],
[
27,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
80,
80
],
[
80,
81
],
[
80,
82
],
[
80,
83
],
[
27,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
9,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"Main",
"public static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }",
"main",
"{\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }",
"try {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}",
"catch (Exception e) {\n\t// TODO: handle exception\n}",
"Exception e",
"{\n\t// TODO: handle exception\n}",
"{\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n}",
"BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));",
"buf",
"new BufferedReader(new InputStreamReader(System.in))",
"String input = buf.readLine();",
"input",
"buf.readLine()",
"buf.readLine",
"buf",
"while(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}",
"true",
"{\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}",
"String[] strAry = input.split(\" \");",
"strAry",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int x = Integer.parseInt(strAry[0]);",
"x",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"int y = Integer.parseInt(strAry[1]);",
"y",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"if(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\tbreak;\n\t\t}",
"break;",
"if(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}",
"x > y",
"x",
"y",
"{\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}",
"int chg = x;",
"chg",
"x",
"x = y",
"x",
"y",
"y = chg",
"y",
"chg",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"input =buf.readLine()",
"input",
"buf.readLine()",
"buf.readLine",
"buf",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\ntry {\n\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\tString input = buf.readLine();\n\t\n\twhile(true){\n\t\tString[] strAry = input.split(\" \");\n\t int x = Integer.parseInt(strAry[0]);\n\t int y = Integer.parseInt(strAry[1]);\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\tint chg = x;\n\t\tx = y;\n\t\ty = chg;\n\t\t}\t\t\n\t\tSystem.out.println(x + \" \" + y);\n\t\tinput =buf.readLine();\n\t}\n} catch (Exception e) {\n\t// TODO: handle exception\n}\n\t\t }\n }",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
try {
BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));
String input = buf.readLine();
while(true){
String[] strAry = input.split(" ");
int x = Integer.parseInt(strAry[0]);
int y = Integer.parseInt(strAry[1]);
if(x == 0 && y == 0){
break;
}
if(x > y){
int chg = x;
x = y;
y = chg;
}
System.out.println(x + " " + y);
input =buf.readLine();
}
} catch (Exception e) {
// TODO: handle exception
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
41,
13,
39,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
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
],
[
53,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
9,
79
],
[
79,
80
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main{\n public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n while(true){\n String str = input.nextLine();\n String[] str1 = str.split(\" \");\n int x = Integer.parseInt(str1[0]);\n int y = Integer.parseInt(str1[1]);\n if(x==0 && y==0){\n break;\n }else{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }\n \n\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n while(true){\n String str = input.nextLine();\n String[] str1 = str.split(\" \");\n int x = Integer.parseInt(str1[0]);\n int y = Integer.parseInt(str1[1]);\n if(x==0 && y==0){\n break;\n }else{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }\n \n\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner input = new Scanner(System.in);\n while(true){\n String str = input.nextLine();\n String[] str1 = str.split(\" \");\n int x = Integer.parseInt(str1[0]);\n int y = Integer.parseInt(str1[1]);\n if(x==0 && y==0){\n break;\n }else{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }\n \n\n }\n }",
"main",
"{\n Scanner input = new Scanner(System.in);\n while(true){\n String str = input.nextLine();\n String[] str1 = str.split(\" \");\n int x = Integer.parseInt(str1[0]);\n int y = Integer.parseInt(str1[1]);\n if(x==0 && y==0){\n break;\n }else{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }\n \n\n }\n }",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"while(true){\n String str = input.nextLine();\n String[] str1 = str.split(\" \");\n int x = Integer.parseInt(str1[0]);\n int y = Integer.parseInt(str1[1]);\n if(x==0 && y==0){\n break;\n }else{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }\n \n\n }",
"true",
"{\n String str = input.nextLine();\n String[] str1 = str.split(\" \");\n int x = Integer.parseInt(str1[0]);\n int y = Integer.parseInt(str1[1]);\n if(x==0 && y==0){\n break;\n }else{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }\n \n\n }",
"String str = input.nextLine();",
"str",
"input.nextLine()",
"input.nextLine",
"input",
"String[] str1 = str.split(\" \");",
"str1",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int x = Integer.parseInt(str1[0]);",
"x",
"Integer.parseInt(str1[0])",
"Integer.parseInt",
"Integer",
"str1[0]",
"str1",
"0",
"int y = Integer.parseInt(str1[1]);",
"y",
"Integer.parseInt(str1[1])",
"Integer.parseInt",
"Integer",
"str1[1]",
"str1",
"1",
"if(x==0 && y==0){\n break;\n }else{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n break;\n }",
"break;",
"{\n int[] output = {x,y};\n Arrays.sort(output);\n System.out.println(output[0] + \" \" + output[1]);\n }",
"int[] output = {x,y};",
"output",
"{x,y}",
"x",
"y",
"Arrays.sort(output)",
"Arrays.sort",
"Arrays",
"output",
"System.out.println(output[0] + \" \" + output[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"output[0] + \" \" + output[1]",
"output[0] + \" \" + output[1]",
"output[0]",
"output",
"0",
"\" \"",
"output[1]",
"output",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] args){
Scanner input = new Scanner(System.in);
while(true){
String str = input.nextLine();
String[] str1 = str.split(" ");
int x = Integer.parseInt(str1[0]);
int y = Integer.parseInt(str1[1]);
if(x==0 && y==0){
break;
}else{
int[] output = {x,y};
Arrays.sort(output);
System.out.println(output[0] + " " + output[1]);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
18,
4,
18,
13,
17,
17,
0,
18,
13,
17,
4,
18,
13,
18,
4,
18,
13,
17,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
3,
4,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
13,
17,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
2,
18,
13,
13,
17,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
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
],
[
165,
14
],
[
165,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
31,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
56,
61
],
[
31,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
62,
74
],
[
31,
75
],
[
75,
76
],
[
75,
77
],
[
31,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
83,
89
],
[
83,
90
],
[
15,
91
],
[
91,
92
],
[
165,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
96,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
119,
124
],
[
111,
125
],
[
125,
126
],
[
126,
127
],
[
111,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
137,
139
],
[
130,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
140,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
140,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
158,
160
],
[
155,
161
],
[
93,
162
],
[
162,
163
],
[
0,
164
],
[
164,
165
],
[
164,
166
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }\n }\n\n public static void ascendingSort(int[] array) {\n for (int i = 0; i < array.length; i++) {\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }\n }\n\n public static void ascendingSort(int[] array) {\n for (int i = 0; i < array.length; i++) {\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String readStr;",
"readStr",
"while ((readStr = reader.readLine()) != null) {\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }",
"(readStr = reader.readLine()) != null",
"(readStr = reader.readLine())",
"readStr",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }",
"int[] list = new int[2];",
"list",
"new int[2]",
"2",
"list[0] = Integer.parseInt(readStr.split(\" \")[0])",
"list[0]",
"list",
"0",
"Integer.parseInt(readStr.split(\" \")[0])",
"Integer.parseInt",
"Integer",
"readStr.split(\" \")[0]",
"readStr.split(\" \")",
"readStr.split",
"readStr",
"\" \"",
"0",
"list[1] = Integer.parseInt(readStr.split(\" \")[1])",
"list[1]",
"list",
"1",
"Integer.parseInt(readStr.split(\" \")[1])",
"Integer.parseInt",
"Integer",
"readStr.split(\" \")[1]",
"readStr.split(\" \")",
"readStr.split",
"readStr",
"\" \"",
"1",
"if (list[0] == 0 && list[1] == 0) break;",
"list[0] == 0 && list[1] == 0",
"list[0] == 0",
"list[0]",
"list",
"0",
"0",
"list[1] == 0",
"list[1]",
"list",
"1",
"0",
"break;",
"ascendingSort(list)",
"ascendingSort",
"list",
"System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\")",
"Arrays.toString(list)\n .replaceAll",
"Arrays.toString(list)",
"Arrays.toString",
"Arrays",
"list",
"\"\\\\[|\\\\]|,\"",
"\"\"",
"String[] args",
"args",
"public static void ascendingSort(int[] array) {\n for (int i = 0; i < array.length; i++) {\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }\n }",
"ascendingSort",
"{\n for (int i = 0; i < array.length; i++) {\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }\n }",
"for (int i = 0; i < array.length; i++) {\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }",
"{\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }",
"for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < array.length - 1 - i",
"j",
"array.length - 1 - i",
"array.length - 1 - i",
"array.length",
"array",
"array.length",
"1",
"i",
"j++",
"j++",
"j",
"{\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }",
"{\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }",
"if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }",
"array[j] > array[j + 1]",
"array[j]",
"array",
"j",
"array[j + 1]",
"array",
"j + 1",
"j",
"1",
"{\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }",
"int tmp = array[j];",
"tmp",
"array[j]",
"array",
"j",
"array[j] = array[j + 1]",
"array[j]",
"array",
"j",
"array[j + 1]",
"array",
"j + 1",
"j",
"1",
"array[j + 1] = tmp",
"array[j + 1]",
"array",
"j + 1",
"j",
"1",
"tmp",
"int[] array",
"array",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }\n }\n\n public static void ascendingSort(int[] array) {\n for (int i = 0; i < array.length; i++) {\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String readStr;\n while ((readStr = reader.readLine()) != null) {\n int[] list = new int[2];\n list[0] = Integer.parseInt(readStr.split(\" \")[0]);\n list[1] = Integer.parseInt(readStr.split(\" \")[1]);\n \n if (list[0] == 0 && list[1] == 0) break;\n \n ascendingSort(list);\n\n System.out.println(Arrays.toString(list)\n .replaceAll(\"\\\\[|\\\\]|,\", \"\"));\n }\n }\n\n public static void ascendingSort(int[] array) {\n for (int i = 0; i < array.length; i++) {\n for (int j = 0; j < array.length - 1 - i; j++) {\n if (array[j] > array[j + 1]) {\n int tmp = array[j];\n array[j] = array[j + 1];\n array[j + 1] = tmp;\n }\n }\n }\n }\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String readStr;
while ((readStr = reader.readLine()) != null) {
int[] list = new int[2];
list[0] = Integer.parseInt(readStr.split(" ")[0]);
list[1] = Integer.parseInt(readStr.split(" ")[1]);
if (list[0] == 0 && list[1] == 0) break;
ascendingSort(list);
System.out.println(Arrays.toString(list)
.replaceAll("\\[|\\]|,", ""));
}
}
public static void ascendingSort(int[] array) {
for (int i = 0; i < array.length; i++) {
for (int j = 0; j < array.length - 1 - i; j++) {
if (array[j] > array[j + 1]) {
int tmp = array[j];
array[j] = array[j + 1];
array[j + 1] = tmp;
}
}
}
}
} |
[
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,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
3,
14,
2,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
17,
30,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
116,
8
],
[
116,
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
],
[
26,
27
],
[
27,
28
],
[
25,
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
],
[
49,
50
],
[
50,
51
],
[
48,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
53,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
11,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
76,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
82,
95
],
[
96,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
103,
108
],
[
103,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
9,
113
],
[
113,
114
],
[
0,
115
],
[
115,
116
],
[
115,
117
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> listX = new ArrayList<Integer>();\n\t\tArrayList<Integer> listY = new ArrayList<Integer>();\n\t\tint intTempX;\n\t\tint intTempY;\n\n\t\twhile(scan.hasNext()){\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> listX = new ArrayList<Integer>();\n\t\tArrayList<Integer> listY = new ArrayList<Integer>();\n\t\tint intTempX;\n\t\tint intTempY;\n\n\t\twhile(scan.hasNext()){\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\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\tArrayList<Integer> listX = new ArrayList<Integer>();\n\t\tArrayList<Integer> listY = new ArrayList<Integer>();\n\t\tint intTempX;\n\t\tint intTempY;\n\n\t\twhile(scan.hasNext()){\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> listX = new ArrayList<Integer>();\n\t\tArrayList<Integer> listY = new ArrayList<Integer>();\n\t\tint intTempX;\n\t\tint intTempY;\n\n\t\twhile(scan.hasNext()){\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}\n\t\t}\n\t}",
"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>()",
"int intTempX;",
"intTempX",
"int intTempY;",
"intTempY",
"while(scan.hasNext()){\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}",
"intTempX = scan.nextInt()",
"intTempX",
"scan.nextInt()",
"scan.nextInt",
"scan",
"intTempY = scan.nextInt()",
"intTempY",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}",
"intTempX == 0 && intTempY == 0",
"intTempX == 0",
"intTempX",
"0",
"intTempY == 0",
"intTempY",
"0",
"{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"break;",
"if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}",
"intTempX < intTempY",
"intTempX",
"intTempY",
"{\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}",
"listX.add(intTempY)",
"listX.add",
"listX",
"intTempY",
"listY.add(intTempX)",
"listY.add",
"listY",
"intTempX",
"{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}",
"listX.add(intTempX)",
"listX.add",
"listX",
"intTempX",
"listY.add(intTempY)",
"listY.add",
"listY",
"intTempY",
"if(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}\n\t\t}",
"listX.size() != 0",
"listX.size()",
"listX.size",
"listX",
"0",
"{\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}\n\t\t}",
"for(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\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\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}",
"System.out.println(listY.get(i) + \" \" + listX.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"listY.get(i) + \" \" + listX.get(i)",
"listY.get(i) + \" \" + listX.get(i)",
"listY.get(i)",
"listY.get",
"listY",
"i",
"\" \"",
"listX.get(i)",
"listX.get",
"listX",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> listX = new ArrayList<Integer>();\n\t\tArrayList<Integer> listY = new ArrayList<Integer>();\n\t\tint intTempX;\n\t\tint intTempY;\n\n\t\twhile(scan.hasNext()){\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> listX = new ArrayList<Integer>();\n\t\tArrayList<Integer> listY = new ArrayList<Integer>();\n\t\tint intTempX;\n\t\tint intTempY;\n\n\t\twhile(scan.hasNext()){\n\t\t\tintTempX = scan.nextInt();\n\t\t\tintTempY = scan.nextInt();\n\t\t\tif(intTempX == 0 && intTempY == 0){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\t\t\t}else if(intTempX < intTempY){\n\t\t\t\tlistX.add(intTempY);\n\t\t\t\tlistY.add(intTempX);\n\t\t\t}else{\n\t\t\t\tlistX.add(intTempX);\n\t\t\t\tlistY.add(intTempY);\n\t\t\t}\n\t\t}\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.println(listY.get(i) + \" \" + listX.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
ArrayList<Integer> listX = new ArrayList<Integer>();
ArrayList<Integer> listY = new ArrayList<Integer>();
int intTempX;
int intTempY;
while(scan.hasNext()){
intTempX = scan.nextInt();
intTempY = scan.nextInt();
if(intTempX == 0 && intTempY == 0){
scan.close();
break;
}else if(intTempX < intTempY){
listX.add(intTempY);
listY.add(intTempX);
}else{
listX.add(intTempX);
listY.add(intTempY);
}
}
if(listX.size() != 0){
for(int i = 0; i < listX.size(); i++){
System.out.println(listY.get(i) + " " + listX.get(i));
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
14,
2,
2,
4,
18,
13,
13,
17,
2,
4,
18,
13,
13,
17,
3,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
17,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
105,
8
],
[
105,
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
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
26,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
43,
48
],
[
42,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
49,
54
],
[
41,
55
],
[
26,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
79,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
78,
90
],
[
78,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
91,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
9,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }\n for(int i = 0; i < count ; i++){\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }\n for(int i = 0; i < count ; i++){\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }\n for(int i = 0; i < count ; i++){\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }\n for(int i = 0; i < count ; i++){\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }\n }",
"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 count = 0;",
"count",
"0",
"while(true){\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }",
"true",
"{\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }",
"x.add(count,sc.nextInt())",
"x.add",
"x",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y.add(count,sc.nextInt())",
"y.add",
"y",
"count",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if((x.get(count)==0)&&(y.get(count)==0))\n break;",
"(x.get(count)==0)&&(y.get(count)==0)",
"(x.get(count)==0)",
"x.get(count)",
"x.get",
"x",
"count",
"0",
"(y.get(count)==0)",
"y.get(count)",
"y.get",
"y",
"count",
"0",
"break;",
"count += 1",
"count",
"1",
"for(int i = 0; i < count ; i++){\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }",
"{\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }",
"System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i))",
"Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i))",
"Math.min(x.get(i),y.get(i))",
"Math.min",
"Math",
"x.get(i)",
"x.get",
"x",
"i",
"y.get(i)",
"y.get",
"y",
"i",
"\" \"",
"Math.max(x.get(i),y.get(i))",
"Math.max",
"Math",
"x.get(i)",
"x.get",
"x",
"i",
"y.get(i)",
"y.get",
"y",
"i",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }\n for(int i = 0; i < count ; i++){\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n ArrayList<Integer> x = new ArrayList<Integer>();\n ArrayList<Integer> y = new ArrayList<Integer>();\n int count = 0;\n while(true){\n x.add(count,sc.nextInt());\n y.add(count,sc.nextInt());\n if((x.get(count)==0)&&(y.get(count)==0))\n break;\n count += 1;\n }\n for(int i = 0; i < count ; i++){\n System.out.println(Math.min(x.get(i),y.get(i))+\" \"+Math.max(x.get(i),y.get(i)));\n }\n }\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public 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 count = 0;
while(true){
x.add(count,sc.nextInt());
y.add(count,sc.nextInt());
if((x.get(count)==0)&&(y.get(count)==0))
break;
count += 1;
}
for(int i = 0; i < count ; i++){
System.out.println(Math.min(x.get(i),y.get(i))+" "+Math.max(x.get(i),y.get(i)));
}
}
} |
[
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,
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
],
[
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
],
[
6,
58
],
[
58,
59
]
] | [
"import java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while(true){\n int a = scan.nextInt();\n int b = scan.nextInt();\n if(a == 0 && b == 0) break;\n if(a < b) System.out.println(a + \" \" + b);\n else System.out.println(b + \" \" + a);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while(true){\n int a = scan.nextInt();\n int b = scan.nextInt();\n if(a == 0 && b == 0) break;\n if(a < b) System.out.println(a + \" \" + b);\n else System.out.println(b + \" \" + a);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while(true){\n int a = scan.nextInt();\n int b = scan.nextInt();\n if(a == 0 && b == 0) break;\n if(a < b) System.out.println(a + \" \" + b);\n else System.out.println(b + \" \" + a);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n while(true){\n int a = scan.nextInt();\n int b = scan.nextInt();\n if(a == 0 && b == 0) break;\n if(a < b) System.out.println(a + \" \" + b);\n else System.out.println(b + \" \" + a);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n int a = scan.nextInt();\n int b = scan.nextInt();\n if(a == 0 && b == 0) break;\n if(a < b) System.out.println(a + \" \" + b);\n else System.out.println(b + \" \" + a);\n }",
"true",
"{\n int a = scan.nextInt();\n int b = scan.nextInt();\n if(a == 0 && b == 0) break;\n if(a < b) System.out.println(a + \" \" + b);\n else System.out.println(b + \" \" + a);\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) break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"if(a < b) System.out.println(a + \" \" + b);\n else 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.util.*;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
while(true){
int a = scan.nextInt();
int b = scan.nextInt();
if(a == 0 && b == 0) break;
if(a < b) System.out.println(a + " " + b);
else System.out.println(b + " " + a);
}
}
} |
[
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,
13,
41,
13,
4,
18,
13,
41,
13,
39,
13,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
4,
18,
4,
18,
4,
18,
13,
18,
13,
17,
17,
18,
13,
17,
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
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
20,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
20,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
52,
63
],
[
63,
64
],
[
63,
65
],
[
50,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
9,
73
],
[
73,
74
]
] | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n\n int[] sort = {x,y};\n Arrays.sort(sort);\n\n if(x == 0 && y == 0) {\n break;\n }\n sb.append(sort[0]).append(\" \").append(sort[1]).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n\n int[] sort = {x,y};\n Arrays.sort(sort);\n\n if(x == 0 && y == 0) {\n break;\n }\n sb.append(sort[0]).append(\" \").append(sort[1]).append(\"\\n\");\n }\n System.out.print(sb);\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n\n int[] sort = {x,y};\n Arrays.sort(sort);\n\n if(x == 0 && y == 0) {\n break;\n }\n sb.append(sort[0]).append(\" \").append(sort[1]).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n\n int[] sort = {x,y};\n Arrays.sort(sort);\n\n if(x == 0 && y == 0) {\n break;\n }\n sb.append(sort[0]).append(\" \").append(sort[1]).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n\n int[] sort = {x,y};\n Arrays.sort(sort);\n\n if(x == 0 && y == 0) {\n break;\n }\n sb.append(sort[0]).append(\" \").append(sort[1]).append(\"\\n\");\n }",
"true",
"{\n int x = scan.nextInt();\n int y = scan.nextInt();\n\n int[] sort = {x,y};\n Arrays.sort(sort);\n\n if(x == 0 && y == 0) {\n break;\n }\n sb.append(sort[0]).append(\" \").append(sort[1]).append(\"\\n\");\n }",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] sort = {x,y};",
"sort",
"{x,y}",
"x",
"y",
"Arrays.sort(sort)",
"Arrays.sort",
"Arrays",
"sort",
"if(x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"sb.append(sort[0]).append(\" \").append(sort[1]).append(\"\\n\")",
"sb.append(sort[0]).append(\" \").append(sort[1]).append",
"sb.append(sort[0]).append(\" \").append(sort[1])",
"sb.append(sort[0]).append(\" \").append",
"sb.append(sort[0]).append(\" \")",
"sb.append(sort[0]).append",
"sb.append(sort[0])",
"sb.append",
"sb",
"sort[0]",
"sort",
"0",
"\" \"",
"sort[1]",
"sort",
"1",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String args[]",
"args"
] | import java.util.Scanner;
import java.util.Arrays;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
while(true){
int x = scan.nextInt();
int y = scan.nextInt();
int[] sort = {x,y};
Arrays.sort(sort);
if(x == 0 && y == 0) {
break;
}
sb.append(sort[0]).append(" ").append(sort[1]).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,
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
],
[
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
],
[
33,
34
],
[
14,
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
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (true) {\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}",
"true",
"{\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\tbreak;\n\t\t}",
"break;",
"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",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tif (a == 0 && b == 0) {\n\t\t\tbreak;\n\t\t}\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\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while (true) {
int a = scanner.nextInt();
int b = scanner.nextInt();
if (a == 0 && b == 0) {
break;
}
if (a <= b) {
System.out.println (a + " " + b);
} else {
System.out.println (b + " " + a);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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,
4,
18,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
20,
41,
13,
12,
13,
30,
12,
13,
30,
0,
18,
36,
13,
4,
18,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
18,
36,
13,
4,
18,
13,
23,
13,
12,
13,
30,
12,
13,
30,
29,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
6,
13,
41,
13,
4,
18,
13,
17,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
28,
13,
4,
18,
18,
36,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
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,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
0,
13,
4,
18,
4,
18,
13,
29,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
246,
20
],
[
246,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
36,
50
],
[
50,
51
],
[
50,
52
],
[
36,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
21,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
63,
73
],
[
73,
74
],
[
73,
75
],
[
63,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
76,
88
],
[
88,
89
],
[
63,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
96,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
110,
111
],
[
90,
112
],
[
112,
113
],
[
63,
114
],
[
114,
115
],
[
114,
116
],
[
63,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
63,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
122,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
132,
140
],
[
140,
141
],
[
132,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
142,
150
],
[
150,
151
],
[
132,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
158,
160
],
[
154,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
161,
168
],
[
169,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
175,
176
],
[
175,
177
],
[
169,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
183,
185
],
[
169,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
191,
192
],
[
191,
193
],
[
169,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
199,
201
],
[
194,
202
],
[
202,
203
],
[
169,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
212,
214
],
[
208,
215
],
[
215,
216
],
[
215,
217
],
[
169,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
169,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
225,
226
],
[
225,
227
],
[
169,
228
],
[
228,
229
],
[
229,
230
],
[
228,
231
],
[
169,
232
],
[
232,
233
],
[
233,
234
],
[
232,
235
],
[
154,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
154,
243
],
[
243,
244
],
[
0,
245
],
[
245,
246
],
[
245,
247
]
] | [
"/*\n * Aizu Online Judge\n */\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\n/**\n *\n * @author yoshkur\n */\npublic class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}\n\nclass InputData {\n\n\tpublic static final String SEPARATOR = \" \";\n\n\tprivate List<String> rows = new ArrayList<>();\n\tprivate String row;\n\n\tpublic InputData() {\n\t}\n\n\tpublic void setDataFromLine(BufferedReader br) throws IOException {\n\t\tthis.row = br.readLine().trim();\n\t}\n\n\tpublic void setDataFromLines(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tthis.rows.add(line.trim());\n\t\t}\n\t}\n\n\tpublic void setValues() {\n\n\t}\n\n\tpublic List<String> getRows() {\n\t\treturn rows;\n\t}\n\n\tpublic void setRows(List<String> rows) {\n\t\tthis.rows = rows;\n\t}\n\n}\n\nclass Processing {\n\n\tprivate static final String RETCODE = System.getProperty(\"line.separator\");\n\n\tprivate InputData inputData;\n\n\tpublic Processing(InputData inputData) {\n\t\tthis.inputData = inputData;\n\t}\n\n\tpublic String getResult() {\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (String str : this.inputData.getRows()) {\n\t\t\tString[] values = str.split(InputData.SEPARATOR);\n\t\t\tInteger num0 = Integer.valueOf(values[0]);\n\t\t\tInteger num1 = Integer.valueOf(values[1]);\n\t\t\tif (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tsb.append(num0);\n\t\t\tsb.append(InputData.SEPARATOR);\n\t\t\tsb.append(num1);\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}",
"Main",
"/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}",
"catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}",
"IOException | NumberFormatException e",
"{\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}",
"System.err.println(e.getLocalizedMessage())",
"System.err.println",
"System.err",
"System",
"System.err",
"e.getLocalizedMessage()",
"e.getLocalizedMessage",
"e",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"InputData inputData = new InputData();",
"inputData",
"new InputData()",
"inputData.setDataFromLines(br)",
"inputData.setDataFromLines",
"inputData",
"br",
"inputData.setValues()",
"inputData.setValues",
"inputData",
"Processing processing = new Processing(inputData);",
"processing",
"new Processing(inputData)",
"System.out.println(processing.getResult())",
"System.out.println",
"System.out",
"System",
"System.out",
"processing.getResult()",
"processing.getResult",
"processing",
"String[] args",
"args",
"class InputData {\n\n\tpublic static final String SEPARATOR = \" \";\n\n\tprivate List<String> rows = new ArrayList<>();\n\tprivate String row;\n\n\tpublic InputData() {\n\t}\n\n\tpublic void setDataFromLine(BufferedReader br) throws IOException {\n\t\tthis.row = br.readLine().trim();\n\t}\n\n\tpublic void setDataFromLines(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tthis.rows.add(line.trim());\n\t\t}\n\t}\n\n\tpublic void setValues() {\n\n\t}\n\n\tpublic List<String> getRows() {\n\t\treturn rows;\n\t}\n\n\tpublic void setRows(List<String> rows) {\n\t\tthis.rows = rows;\n\t}\n\n}",
"InputData",
"public static final String SEPARATOR = \" \";",
"SEPARATOR",
"\" \"",
"private List<String> rows = new ArrayList<>();",
"rows",
"new ArrayList<>()",
"private String row;",
"row",
"public InputData() {\n\t}",
"InputData",
"{\n\t}",
"public void setDataFromLine(BufferedReader br) throws IOException {\n\t\tthis.row = br.readLine().trim();\n\t}",
"setDataFromLine",
"{\n\t\tthis.row = br.readLine().trim();\n\t}",
"this.row = br.readLine().trim()",
"this.row",
"this",
"this.row",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"BufferedReader br",
"br",
"public void setDataFromLines(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tthis.rows.add(line.trim());\n\t\t}\n\t}",
"setDataFromLines",
"{\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n\t\t\tthis.rows.add(line.trim());\n\t\t}\n\t}",
"String line;",
"line",
"while ((line = br.readLine()) != null) {\n\t\t\tthis.rows.add(line.trim());\n\t\t}",
"(line = br.readLine()) != null",
"(line = br.readLine())",
"line",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\tthis.rows.add(line.trim());\n\t\t}",
"this.rows.add(line.trim())",
"this.rows.add",
"this.rows",
"this",
"this.rows",
"line.trim()",
"line.trim",
"line",
"BufferedReader br",
"br",
"public void setValues() {\n\n\t}",
"setValues",
"{\n\n\t}",
"public List<String> getRows() {\n\t\treturn rows;\n\t}",
"getRows",
"{\n\t\treturn rows;\n\t}",
"return rows;",
"rows",
"public void setRows(List<String> rows) {\n\t\tthis.rows = rows;\n\t}",
"setRows",
"{\n\t\tthis.rows = rows;\n\t}",
"this.rows = rows",
"this.rows",
"this",
"this.rows",
"rows",
"List<String> rows",
"rows",
"class Processing {\n\n\tprivate static final String RETCODE = System.getProperty(\"line.separator\");\n\n\tprivate InputData inputData;\n\n\tpublic Processing(InputData inputData) {\n\t\tthis.inputData = inputData;\n\t}\n\n\tpublic String getResult() {\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (String str : this.inputData.getRows()) {\n\t\t\tString[] values = str.split(InputData.SEPARATOR);\n\t\t\tInteger num0 = Integer.valueOf(values[0]);\n\t\t\tInteger num1 = Integer.valueOf(values[1]);\n\t\t\tif (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tsb.append(num0);\n\t\t\tsb.append(InputData.SEPARATOR);\n\t\t\tsb.append(num1);\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}\n}",
"Processing",
"private static final String RETCODE = System.getProperty(\"line.separator\");",
"RETCODE",
"System.getProperty(\"line.separator\")",
"System.getProperty",
"System",
"\"line.separator\"",
"private InputData inputData;",
"inputData",
"public Processing(InputData inputData) {\n\t\tthis.inputData = inputData;\n\t}",
"Processing",
"{\n\t\tthis.inputData = inputData;\n\t}",
"this.inputData = inputData",
"this.inputData",
"this",
"this.inputData",
"inputData",
"InputData inputData",
"inputData",
"public String getResult() {\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (String str : this.inputData.getRows()) {\n\t\t\tString[] values = str.split(InputData.SEPARATOR);\n\t\t\tInteger num0 = Integer.valueOf(values[0]);\n\t\t\tInteger num1 = Integer.valueOf(values[1]);\n\t\t\tif (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tsb.append(num0);\n\t\t\tsb.append(InputData.SEPARATOR);\n\t\t\tsb.append(num1);\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}",
"getResult",
"{\n\t\tString result = null;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (String str : this.inputData.getRows()) {\n\t\t\tString[] values = str.split(InputData.SEPARATOR);\n\t\t\tInteger num0 = Integer.valueOf(values[0]);\n\t\t\tInteger num1 = Integer.valueOf(values[1]);\n\t\t\tif (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tsb.append(num0);\n\t\t\tsb.append(InputData.SEPARATOR);\n\t\t\tsb.append(num1);\n\t\t\tsb.append(RETCODE);\n\t\t}\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}",
"String result = null;",
"result",
"null",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (String str : this.inputData.getRows()) {\n\t\t\tString[] values = str.split(InputData.SEPARATOR);\n\t\t\tInteger num0 = Integer.valueOf(values[0]);\n\t\t\tInteger num1 = Integer.valueOf(values[1]);\n\t\t\tif (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tsb.append(num0);\n\t\t\tsb.append(InputData.SEPARATOR);\n\t\t\tsb.append(num1);\n\t\t\tsb.append(RETCODE);\n\t\t}",
"String str",
"this.inputData.getRows()",
"this.inputData.getRows",
"this.inputData",
"this",
"this.inputData",
"{\n\t\t\tString[] values = str.split(InputData.SEPARATOR);\n\t\t\tInteger num0 = Integer.valueOf(values[0]);\n\t\t\tInteger num1 = Integer.valueOf(values[1]);\n\t\t\tif (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tsb.append(num0);\n\t\t\tsb.append(InputData.SEPARATOR);\n\t\t\tsb.append(num1);\n\t\t\tsb.append(RETCODE);\n\t\t}",
"{\n\t\t\tString[] values = str.split(InputData.SEPARATOR);\n\t\t\tInteger num0 = Integer.valueOf(values[0]);\n\t\t\tInteger num1 = Integer.valueOf(values[1]);\n\t\t\tif (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}\n\t\t\t\n\t\t\tsb.append(num0);\n\t\t\tsb.append(InputData.SEPARATOR);\n\t\t\tsb.append(num1);\n\t\t\tsb.append(RETCODE);\n\t\t}",
"String[] values = str.split(InputData.SEPARATOR);",
"values",
"str.split(InputData.SEPARATOR)",
"str.split",
"str",
"InputData.SEPARATOR",
"InputData",
"InputData.SEPARATOR",
"Integer num0 = Integer.valueOf(values[0]);",
"num0",
"Integer.valueOf(values[0])",
"Integer.valueOf",
"Integer",
"values[0]",
"values",
"0",
"Integer num1 = Integer.valueOf(values[1]);",
"num1",
"Integer.valueOf(values[1])",
"Integer.valueOf",
"Integer",
"values[1]",
"values",
"1",
"if (num0 == 0 && num1 == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"num0 == 0 && num1 == 0",
"num0 == 0",
"num0",
"0",
"num1 == 0",
"num1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (num0 > num1) {\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}",
"num0 > num1",
"num0",
"num1",
"{\n\t\t\t\tInteger temp = num0;\n\t\t\t\tnum0 = num1;\n\t\t\t\tnum1 = temp;\n\t\t\t}",
"Integer temp = num0;",
"temp",
"num0",
"num0 = num1",
"num0",
"num1",
"num1 = temp",
"num1",
"temp",
"sb.append(num0)",
"sb.append",
"sb",
"num0",
"sb.append(InputData.SEPARATOR)",
"sb.append",
"sb",
"InputData.SEPARATOR",
"InputData",
"InputData.SEPARATOR",
"sb.append(num1)",
"sb.append",
"sb",
"num1",
"sb.append(RETCODE)",
"sb.append",
"sb",
"RETCODE",
"result = sb.toString().trim()",
"result",
"sb.toString().trim()",
"sb.toString().trim",
"sb.toString()",
"sb.toString",
"sb",
"return result;",
"result",
"public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}",
"public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tInputData inputData = new InputData();\n\t\t\tinputData.setDataFromLines(br);\n\t\t\tinputData.setValues();\n\t\t\tProcessing processing = new Processing(inputData);\n\t\t\tSystem.out.println(processing.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}",
"Main"
] | /*
* Aizu Online Judge
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
/**
*
* @author yoshkur
*/
public class Main {
/**
* @param args the command line arguments
*/
public static void main(String[] args) {
try {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
InputData inputData = new InputData();
inputData.setDataFromLines(br);
inputData.setValues();
Processing processing = new Processing(inputData);
System.out.println(processing.getResult());
} catch (IOException | NumberFormatException e) {
System.err.println(e.getLocalizedMessage());
}
}
}
class InputData {
public static final String SEPARATOR = " ";
private List<String> rows = new ArrayList<>();
private String row;
public InputData() {
}
public void setDataFromLine(BufferedReader br) throws IOException {
this.row = br.readLine().trim();
}
public void setDataFromLines(BufferedReader br) throws IOException {
String line;
while ((line = br.readLine()) != null) {
this.rows.add(line.trim());
}
}
public void setValues() {
}
public List<String> getRows() {
return rows;
}
public void setRows(List<String> rows) {
this.rows = rows;
}
}
class Processing {
private static final String RETCODE = System.getProperty("line.separator");
private InputData inputData;
public Processing(InputData inputData) {
this.inputData = inputData;
}
public String getResult() {
String result = null;
StringBuilder sb = new StringBuilder();
for (String str : this.inputData.getRows()) {
String[] values = str.split(InputData.SEPARATOR);
Integer num0 = Integer.valueOf(values[0]);
Integer num1 = Integer.valueOf(values[1]);
if (num0 == 0 && num1 == 0) {
break;
}
if (num0 > num1) {
Integer temp = num0;
num0 = num1;
num1 = temp;
}
sb.append(num0);
sb.append(InputData.SEPARATOR);
sb.append(num1);
sb.append(RETCODE);
}
result = sb.toString().trim();
return result;
}
} |
[
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
70,
8
],
[
70,
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
],
[
38,
39
],
[
30,
40
],
[
40,
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
],
[
9,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"\n/* ITP1_3_C */\n\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n // 入力データがなくなるまで繰り返す\n while (sc.hasNext()) {\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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}\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n // 入力データがなくなるまで繰り返す\n while (sc.hasNext()) {\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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",
"public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n // 入力データがなくなるまで繰り返す\n while (sc.hasNext()) {\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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 // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n // 入力データがなくなるまで繰り返す\n while (sc.hasNext()) {\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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 sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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 }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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 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 // 処理をぬける\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 // 処理をぬける\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 public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n // 入力データがなくなるまで繰り返す\n while (sc.hasNext()) {\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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 public static void main (String[] args) throws java.lang.Exception {\n // 入力された値をゲット\n Scanner sc = new Scanner(System.in);\n\n // 入力データがなくなるまで繰り返す\n while (sc.hasNext()) {\n int x = sc.nextInt(); // 1個目をxにセット\n int y = sc.nextInt(); // 1個目をyにセット\n\n if((x==0)&&(y==0)) {\n // 処理をぬける\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"
] |
/* ITP1_3_C */
import java.io.*;
import java.util.*;
public class Main {
public static void main (String[] args) throws java.lang.Exception {
// 入力された値をゲット
Scanner sc = new Scanner(System.in);
// 入力データがなくなるまで繰り返す
while (sc.hasNext()) {
int x = sc.nextInt(); // 1個目をxにセット
int y = sc.nextInt(); // 1個目をyにセット
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,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
2,
13,
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,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
13,
20,
4,
18,
13,
20,
40,
13,
0,
13,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
20,
17,
4,
18,
13,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
115,
8
],
[
115,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
47,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
36,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
36,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
36,
78
],
[
78,
79
],
[
11,
80
],
[
80,
81
],
[
80,
82
],
[
11,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
83,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
102,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
9,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
] | [
"\nimport java.util.Scanner;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, y, w, j, i = 0;\n\t\tArrayList<Integer> X = new ArrayList<Integer>();\n\t\tArrayList<Integer> Y = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 0; i != j; i++){\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}\n\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, y, w, j, i = 0;\n\t\tArrayList<Integer> X = new ArrayList<Integer>();\n\t\tArrayList<Integer> Y = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 0; i != j; i++){\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}\n\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tint x, y, w, j, i = 0;\n\t\tArrayList<Integer> X = new ArrayList<Integer>();\n\t\tArrayList<Integer> Y = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 0; i != j; i++){\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}\n\t\n\t}",
"main",
"{\n\t\tint x, y, w, j, i = 0;\n\t\tArrayList<Integer> X = new ArrayList<Integer>();\n\t\tArrayList<Integer> Y = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 0; i != j; i++){\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}\n\t\n\t}",
"int x",
"x",
"y",
"y",
"w",
"w",
"j",
"j",
"i = 0;",
"i",
"0",
"ArrayList<Integer> X = new ArrayList<Integer>();",
"X",
"new ArrayList<Integer>()",
"ArrayList<Integer> Y = new ArrayList<Integer>();",
"Y",
"new ArrayList<Integer>()",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\n\t\t}",
"i < 10000",
"i",
"10000",
"{\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\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\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}",
"w = x",
"w",
"x",
"x = y",
"x",
"y",
"y = w",
"y",
"w",
"X.add(new Integer(x))",
"X.add",
"X",
"new Integer(x)",
"Y.add(new Integer(y))",
"Y.add",
"Y",
"new Integer(y)",
"i++",
"i",
"j = i",
"j",
"i",
"for(i = 0; i != j; i++){\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}",
"i = 0;",
"i = 0",
"i",
"0",
"i != j",
"i",
"j",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}",
"{\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}",
"System.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)))",
"System.out.println",
"System.out",
"System",
"System.out",
"X.get(new Integer(i)) + \" \" + Y.get(new Integer(i))",
"X.get(new Integer(i)) + \" \" + Y.get(new Integer(i))",
"X.get(new Integer(i))",
"X.get",
"X",
"new Integer(i)",
"\" \"",
"Y.get(new Integer(i))",
"Y.get",
"Y",
"new Integer(i)",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, y, w, j, i = 0;\n\t\tArrayList<Integer> X = new ArrayList<Integer>();\n\t\tArrayList<Integer> Y = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 0; i != j; i++){\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}\n\t\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint x, y, w, j, i = 0;\n\t\tArrayList<Integer> X = new ArrayList<Integer>();\n\t\tArrayList<Integer> Y = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(i < 10000){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif(x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\telse if(x > y){\n\t\t\t\tw = x;\n\t\t\t\tx = y;\n\t\t\t\ty = w;\n\t\t\t}\n\t\t\tX.add(new Integer(x));\n\t\t\tY.add(new Integer(y));\n\t\t\ti++;\n\t\t}\n\t\tj = i;\n\t\tfor(i = 0; i != j; i++){\n\t\t\tSystem.out.println(X.get(new Integer(i)) + \" \" + Y.get(new Integer(i)));\n\t\t}\n\t\n\t}\n}",
"Main"
] |
import java.util.Scanner;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) {
int x, y, w, j, i = 0;
ArrayList<Integer> X = new ArrayList<Integer>();
ArrayList<Integer> Y = new ArrayList<Integer>();
Scanner sc = new Scanner(System.in);
while(i < 10000){
x = sc.nextInt();
y = sc.nextInt();
if(x == 0 && y == 0)
break;
else if(x > y){
w = x;
x = y;
y = w;
}
X.add(new Integer(x));
Y.add(new Integer(y));
i++;
}
j = i;
for(i = 0; i != j; i++){
System.out.println(X.get(new Integer(i)) + " " + Y.get(new Integer(i)));
}
}
} |
[
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,
3,
41,
13,
14,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
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
],
[
67,
5
],
[
67,
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
],
[
16,
36
],
[
36,
37
],
[
16,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
38,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
16,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"while(s.hasNext()){\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\n }",
"s.hasNext()",
"s.hasNext",
"s",
"{\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\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;",
"String result;",
"result",
"if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }",
"x > y",
"x",
"y",
"{\n result = y + \" \" + x;\n }",
"result = y + \" \" + x",
"result",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"{\n result = x + \" \" + y;\n }",
"result = x + \" \" + y",
"result",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\n }\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n while(s.hasNext()){\n int x = s.nextInt();\n int y = s.nextInt();\n if(x == 0 && y == 0) break;\n String result;\n if( x > y ){\n result = y + \" \" + x;\n } else {\n result = x + \" \" + y;\n }\n System.out.println(result);\n }\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
while(s.hasNext()){
int x = s.nextInt();
int y = s.nextInt();
if(x == 0 && y == 0) break;
String result;
if( x > y ){
result = y + " " + x;
} else {
result = x + " " + y;
}
System.out.println(result);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
97,
11
],
[
97,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
23,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
23,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
23,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
78,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
73,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
83,
86
],
[
68,
87
],
[
14,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
12,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n \n/**\n * @author penguin_410\n * Date: 2014/03/06\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.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 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.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
* @author penguin_410
* Date: 2014/03/06
*/
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,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
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,
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,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
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
],
[
52,
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
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
75,
75
],
[
75,
76
],
[
75,
77
],
[
75,
78
],
[
44,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint N = 3000;\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\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\tint N = 3000;\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tint N = 3000;\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\n\t\t}\n\t}",
"main",
"{\n\t\tint N = 3000;\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\n\t\t}\n\t}",
"int N = 3000;",
"N",
"3000",
"int x = 0;",
"x",
"0",
"int y = 0;",
"y",
"0",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i = 0; i < 3000; i++) {\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\n\t\t}",
"{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\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\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}",
"if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\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\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"break;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint N = 3000;\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tint N = 3000;\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif (x != 0 || y != 0) {\n\t\t\t\tif (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \"+ y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t} else\n\t\t\t\tbreak;\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int N = 3000;
int x = 0;
int y = 0;
Scanner scan = new Scanner(System.in);
for (int i = 0; i < 3000; i++) {
x = scan.nextInt();
y = scan.nextInt();
if (x != 0 || y != 0) {
if (x < y) {
System.out.println(x + " "+ y);
} else {
System.out.println(y + " " + x);
}
} else
break;
}
}
} |
[
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,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
13,
17,
4,
18,
13,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
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
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
37,
43
],
[
37,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
30,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
30,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
6,
59
],
[
59,
60
]
] | [
"import java.util.*;\n \nclass Main{\n public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n int y = stdId.nextInt(); \n while(x!=0 || y!=0){\n System.out.println(Math.min(x,y) + \" \" + Math.max(x,y));\n x = stdId.nextInt();\n y = stdId.nextInt();\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n int y = stdId.nextInt(); \n while(x!=0 || y!=0){\n System.out.println(Math.min(x,y) + \" \" + Math.max(x,y));\n x = stdId.nextInt();\n y = stdId.nextInt();\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n int y = stdId.nextInt(); \n while(x!=0 || y!=0){\n System.out.println(Math.min(x,y) + \" \" + Math.max(x,y));\n x = stdId.nextInt();\n y = stdId.nextInt();\n }\n }",
"main",
"{\n Scanner stdId = new Scanner(System.in);\n int x = stdId.nextInt(); \n int y = stdId.nextInt(); \n while(x!=0 || y!=0){\n System.out.println(Math.min(x,y) + \" \" + Math.max(x,y));\n x = stdId.nextInt();\n y = stdId.nextInt();\n }\n }",
"Scanner stdId = new Scanner(System.in);",
"stdId",
"new Scanner(System.in)",
"int x = stdId.nextInt();",
"x",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"int y = stdId.nextInt();",
"y",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"while(x!=0 || y!=0){\n System.out.println(Math.min(x,y) + \" \" + Math.max(x,y));\n x = stdId.nextInt();\n y = stdId.nextInt();\n }",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n System.out.println(Math.min(x,y) + \" \" + Math.max(x,y));\n x = stdId.nextInt();\n y = stdId.nextInt();\n }",
"System.out.println(Math.min(x,y) + \" \" + Math.max(x,y))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(x,y) + \" \" + Math.max(x,y)",
"Math.min(x,y) + \" \" + Math.max(x,y)",
"Math.min(x,y)",
"Math.min",
"Math",
"x",
"y",
"\" \"",
"Math.max(x,y)",
"Math.max",
"Math",
"x",
"y",
"x = stdId.nextInt()",
"x",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"y = stdId.nextInt()",
"y",
"stdId.nextInt()",
"stdId.nextInt",
"stdId",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main(String[] args){
Scanner stdId = new Scanner(System.in);
int x = stdId.nextInt();
int y = stdId.nextInt();
while(x!=0 || y!=0){
System.out.println(Math.min(x,y) + " " + Math.max(x,y));
x = stdId.nextInt();
y = stdId.nextInt();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
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,
17,
13,
2,
17,
13,
30,
0,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
13,
17,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
113,
8
],
[
113,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
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
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
43,
43
],
[
43,
44
],
[
43,
45
],
[
43,
46
],
[
34,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
47,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
60,
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
],
[
11,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
86,
96
],
[
96,
97
],
[
97,
98
],
[
86,
99
],
[
100,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
9,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<String> resultList = new ArrayList<String>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < resultList.size(); i++) {\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<String> resultList = new ArrayList<String>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < resultList.size(); i++) {\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<String> resultList = new ArrayList<String>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < resultList.size(); i++) {\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<String> resultList = new ArrayList<String>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < resultList.size(); i++) {\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"ArrayList<String> resultList = new ArrayList<String>();",
"resultList",
"new ArrayList<String>()",
"boolean flg = true;",
"flg",
"true",
"while (flg) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}",
"flg",
"{\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}",
"int a = scanner.nextInt();",
"a",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int b = scanner.nextInt();",
"b",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t}",
"resultList.add(b + \" \" + a)",
"resultList.add",
"resultList",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}",
"a < b",
"a",
"b",
"{\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}",
"resultList.add(a + \" \" + b)",
"resultList.add",
"resultList",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}",
"0 == a && 0 == b",
"0 == a",
"0",
"a",
"0 == b",
"0",
"b",
"{\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}",
"flg = false",
"flg",
"false",
"break;",
"if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}",
"a == b",
"a",
"b",
"{\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}",
"resultList.add(a + \" \" + b)",
"resultList.add",
"resultList",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"for (int i = 0; i < resultList.size(); i++) {\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < resultList.size()",
"i",
"resultList.size()",
"resultList.size",
"resultList",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}",
"System.out.println(resultList.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"resultList.get(i)",
"resultList.get",
"resultList",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<String> resultList = new ArrayList<String>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < resultList.size(); i++) {\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tArrayList<String> resultList = new ArrayList<String>();\n\n\t\tboolean flg = true;\n\n\t\twhile (flg) {\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\n\t\t\tif (a > b) {\n\t\t\t\tresultList.add(b + \" \" + a);\n\t\t\t} else if (a < b) {\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t} else if (0 == a && 0 == b) {\n\t\t\t\tflg = false;\n\t\t\t\tbreak;\n\t\t\t}else if(a == b){\n\t\t\t\tresultList.add(a + \" \" + b);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i = 0; i < resultList.size(); i++) {\n\t\t\tSystem.out.println(resultList.get(i));\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
ArrayList<String> resultList = new ArrayList<String>();
boolean flg = true;
while (flg) {
int a = scanner.nextInt();
int b = scanner.nextInt();
if (a > b) {
resultList.add(b + " " + a);
} else if (a < b) {
resultList.add(a + " " + b);
} else if (0 == a && 0 == b) {
flg = false;
break;
}else if(a == b){
resultList.add(a + " " + b);
}
}
for (int i = 0; i < resultList.size(); i++) {
System.out.println(resultList.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
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
],
[
105,
5
],
[
105,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
22,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
34,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
49,
61
],
[
34,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
70,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
34,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
6,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[3000];\n\t\tint[] y = new int[3000];\n\t\tint tmp;\n\t\tfor(int i=0;i<3000;i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[3000];\n\t\tint[] y = new int[3000];\n\t\tint tmp;\n\t\tfor(int i=0;i<3000;i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[3000];\n\t\tint[] y = new int[3000];\n\t\tint tmp;\n\t\tfor(int i=0;i<3000;i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[3000];\n\t\tint[] y = new int[3000];\n\t\tint tmp;\n\t\tfor(int i=0;i<3000;i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] x = new int[3000];",
"x",
"new int[3000]",
"3000",
"int[] y = new int[3000];",
"y",
"new int[3000]",
"3000",
"int tmp;",
"tmp",
"for(int i=0;i<3000;i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}",
"{\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\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) break;",
"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\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}",
"x[i] > y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"{\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}",
"tmp=x[i]",
"tmp",
"x[i]",
"x",
"i",
"x[i]=y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"y[i]=tmp",
"y[i]",
"y",
"i",
"tmp",
"System.out.println(x[i]+\" \"+y[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[i]+\" \"+y[i]",
"x[i]+\" \"+y[i]",
"x[i]",
"x",
"i",
"\" \"",
"y[i]",
"y",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[3000];\n\t\tint[] y = new int[3000];\n\t\tint tmp;\n\t\tfor(int i=0;i<3000;i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] x = new int[3000];\n\t\tint[] y = new int[3000];\n\t\tint tmp;\n\t\tfor(int i=0;i<3000;i++){\n\t\t\tx[i] = sc.nextInt();\n\t\t\ty[i] = sc.nextInt();\n\t\t\tif(x[i] == 0 && y[i] == 0) break;\n\t\t\tif(x[i] > y[i]){\n\t\t\t\ttmp=x[i];\n\t\t\t\tx[i]=y[i];\n\t\t\t\ty[i]=tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x[i]+\" \"+y[i]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
int[] x = new int[3000];
int[] y = new int[3000];
int tmp;
for(int i=0;i<3000;i++){
x[i] = sc.nextInt();
y[i] = sc.nextInt();
if(x[i] == 0 && y[i] == 0) break;
if(x[i] > y[i]){
tmp=x[i];
x[i]=y[i];
y[i]=tmp;
}
System.out.println(x[i]+" "+y[i]);
}
}
} |
[
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,
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
],
[
73,
5
],
[
73,
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
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
35,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
35,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
35,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
6,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
] | [
"import java.util.Scanner;\n\npublic class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in=new Scanner(System.in);\n\t\tint a,b;\n\t\ta=in.nextInt();\n\t\tb=in.nextInt();\n\t\twhile(!(a==0&&b==0) )\n\t\t{\n\t\t\tif(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in=new Scanner(System.in);\n\t\tint a,b;\n\t\ta=in.nextInt();\n\t\tb=in.nextInt();\n\t\twhile(!(a==0&&b==0) )\n\t\t{\n\t\t\tif(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner in=new Scanner(System.in);\n\t\tint a,b;\n\t\ta=in.nextInt();\n\t\tb=in.nextInt();\n\t\twhile(!(a==0&&b==0) )\n\t\t{\n\t\t\tif(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner in=new Scanner(System.in);\n\t\tint a,b;\n\t\ta=in.nextInt();\n\t\tb=in.nextInt();\n\t\twhile(!(a==0&&b==0) )\n\t\t{\n\t\t\tif(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"a=in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"b=in.nextInt()",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"while(!(a==0&&b==0) )\n\t\t{\n\t\t\tif(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\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{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\n\t\t}",
"if(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}",
"a>b",
"a",
"b",
"{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}",
"int temp=a;",
"temp",
"a",
"a=b",
"a",
"b",
"b=temp",
"b",
"temp",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"a=in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"b=in.nextInt()",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"String[] args",
"args",
"public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in=new Scanner(System.in);\n\t\tint a,b;\n\t\ta=in.nextInt();\n\t\tb=in.nextInt();\n\t\twhile(!(a==0&&b==0) )\n\t\t{\n\t\t\tif(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}\n}",
"public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in=new Scanner(System.in);\n\t\tint a,b;\n\t\ta=in.nextInt();\n\t\tb=in.nextInt();\n\t\twhile(!(a==0&&b==0) )\n\t\t{\n\t\t\tif(a>b)\n\t\t\t{int temp=a;\n\t\t\ta=b;\n\t\t\tb=temp;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t\n\t\t\ta=in.nextInt();\n\t\t\tb=in.nextInt();\n\t\t\t\n\t\t\t\n\t\t}\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner in=new Scanner(System.in);
int a,b;
a=in.nextInt();
b=in.nextInt();
while(!(a==0&&b==0) )
{
if(a>b)
{int temp=a;
a=b;
b=temp;
}
System.out.println(a + " " + b);
a=in.nextInt();
b=in.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
41,
13,
17,
42,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
30,
0,
13,
17,
30,
41,
13,
4,
18,
13,
13,
13,
41,
13,
4,
18,
13,
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
],
[
99,
5
],
[
99,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
12,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
12,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
34,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
31,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
31,
56
],
[
56,
57
],
[
56,
58
],
[
31,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
59,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
71,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
81,
85
],
[
71,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
92,
92
],
[
92,
93
],
[
92,
94
],
[
92,
95
],
[
6,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
] | [
"import java.io.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n \n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n } catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n \n }\n \n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n \n public static void main(String[] args) {\n \n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n } catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n \n }\n \n}",
"Main",
"public static void main(String[] args) {\n \n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n } catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n \n }",
"main",
"{\n \n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n } catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n \n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n } catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n } catch (IOException e) {\n\n e.printStackTrace();\n\n }",
"catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n }",
"NumberFormatException e",
"{\n \n e.printStackTrace();\n \n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\n e.printStackTrace();\n\n }",
"IOException e",
"{\n\n e.printStackTrace();\n\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n }",
"boolean flag = true;",
"flag",
"true",
"while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }",
"flag",
"{\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }",
"String[] line = reader.readLine().split(\" \");",
"line",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"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",
"final int END = 0;",
"END",
"0",
"if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }",
"x == END && y == END",
"x == END",
"x",
"END",
"y == END",
"y",
"END",
"{\n flag = false;\n }",
"flag = false",
"flag",
"false",
"{\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }",
"int big = Math.max(x, y);",
"big",
"Math.max(x, y)",
"Math.max",
"Math",
"x",
"y",
"int small = Math.min(x, y);",
"small",
"Math.min(x, y)",
"Math.min",
"Math",
"x",
"y",
"System.out.println(small + \" \" + big)",
"System.out.println",
"System.out",
"System",
"System.out",
"small + \" \" + big",
"small + \" \" + big",
"small",
"\" \"",
"big",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n \n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n } catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n \n }\n \n}",
"public class Main {\n \n public static void main(String[] args) {\n \n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n \n try {\n \n boolean flag = true;\n while (flag) {\n \n String[] line = reader.readLine().split(\" \");\n int x = Integer.parseInt(line[0]);\n int y = Integer.parseInt(line[1]);\n final int END = 0;\n \n if (x == END && y == END) {\n flag = false;\n } else {\n int big = Math.max(x, y);\n int small = Math.min(x, y);\n System.out.println(small + \" \" + big);\n }\n \n }\n \n } catch (NumberFormatException e) {\n \n e.printStackTrace();\n \n } catch (IOException e) {\n\n e.printStackTrace();\n\n }\n \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 {
boolean flag = true;
while (flag) {
String[] line = reader.readLine().split(" ");
int x = Integer.parseInt(line[0]);
int y = Integer.parseInt(line[1]);
final int END = 0;
if (x == END && y == END) {
flag = false;
} else {
int big = Math.max(x, y);
int small = Math.min(x, y);
System.out.println(small + " " + big);
}
}
} catch (NumberFormatException e) {
e.printStackTrace();
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
2,
13,
13,
14,
2,
13,
17,
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,
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
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
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
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
20,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
36,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
20,
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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b,tmp;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}\n\n\t scan.close();\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b,tmp;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}\n\n\t scan.close();\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tint a,b,tmp;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}\n\n\t scan.close();\n\n\t}",
"main",
"{\n\n\t\tint a,b,tmp;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}\n\n\t scan.close();\n\n\t}",
"int a",
"a",
"b",
"b",
"tmp;",
"tmp",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true)\n\t\t{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}",
"true",
"{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}",
"a = scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b = scan.nextInt()",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"tmp = a | b",
"tmp",
"a | b",
"a",
"b",
"if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }",
"tmp == 0",
"tmp",
"0",
"break;",
"if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }",
"b<a",
"b",
"a",
"{\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }",
"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",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b,tmp;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}\n\n\t scan.close();\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint a,b,tmp;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true)\n\t\t{\n\t\t a = scan.nextInt();\n\t\t b = scan.nextInt();\n\n\t\t tmp = a | b;\n\n\t\t if(tmp == 0) break;\n\n\t\t else if(b<a)\n\t\t {\n\t\t \ttmp = a;\n\t\t \ta = b;\n\t\t \tb = tmp;\n\t\t }\n\n\t\t System.out.println(a + \" \" + b);\n\t\t}\n\n\t scan.close();\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int a,b,tmp;
Scanner scan = new Scanner(System.in);
while(true)
{
a = scan.nextInt();
b = scan.nextInt();
tmp = a | b;
if(tmp == 0) break;
else if(b<a)
{
tmp = a;
a = b;
b = tmp;
}
System.out.println(a + " " + b);
}
scan.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
14,
2,
2,
4,
18,
13,
18,
13,
17,
17,
2,
4,
18,
13,
18,
13,
17,
17,
3,
41,
13,
4,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
18,
13,
17,
17,
4,
18,
13,
18,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
17,
4,
18,
13,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
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,
29,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
160,
14
],
[
160,
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
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
29,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
43,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
42,
60
],
[
29,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
29,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
78,
80
],
[
70,
81
],
[
68,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
66,
88
],
[
17,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
15,
95
],
[
95,
96
],
[
160,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
104,
108
],
[
99,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
116,
118
],
[
99,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
126,
127
],
[
126,
128
],
[
99,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
129,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
137,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
147,
149
],
[
137,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
99,
155
],
[
155,
156
],
[
97,
157
],
[
157,
158
],
[
0,
159
],
[
159,
160
],
[
159,
161
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main (String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n int i = 1; \n while(true) {\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n } \n System.out.print(builder);\n }\n public static int[] sort ( String[] number) {\n int[] numbers = new int[2];\n Arrays.fill(numbers,0);\n numbers[0] = Integer.parseInt(number[0]);\n numbers[1] = Integer.parseInt(number[1]);\n if (numbers[0] > numbers[1]) {\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }\n return numbers;\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main (String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n int i = 1; \n while(true) {\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n } \n System.out.print(builder);\n }\n public static int[] sort ( String[] number) {\n int[] numbers = new int[2];\n Arrays.fill(numbers,0);\n numbers[0] = Integer.parseInt(number[0]);\n numbers[1] = Integer.parseInt(number[1]);\n if (numbers[0] > numbers[1]) {\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }\n return numbers;\n }\n}",
"Main",
"public static void main (String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n int i = 1; \n while(true) {\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n } \n System.out.print(builder);\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n int i = 1; \n while(true) {\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n } \n System.out.print(builder);\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"int i = 1;",
"i",
"1",
"while(true) {\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n }",
"true",
"{\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n }",
"String data = reader.readLine();",
"data",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] number = data.split(\" \", 0);",
"number",
"data.split(\" \", 0)",
"data.split",
"data",
"\" \"",
"0",
"if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;",
"Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0",
"Integer.parseInt(number[0])== 0",
"Integer.parseInt(number[0])",
"Integer.parseInt",
"Integer",
"number[0]",
"number",
"0",
"0",
"Integer.parseInt(number[1])== 0",
"Integer.parseInt(number[1])",
"Integer.parseInt",
"Integer",
"number[1]",
"number",
"1",
"0",
"break;",
"int[] numbers = sort (number);",
"numbers",
"sort (number)",
"sort",
"number",
"builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\")",
"builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append",
"builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))",
"builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append",
"builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")",
"builder\n .append(Integer.toString(numbers[0]))\n .append",
"builder\n .append(Integer.toString(numbers[0]))",
"builder\n .append",
"builder",
"Integer.toString(numbers[0])",
"Integer.toString",
"Integer",
"numbers[0]",
"numbers",
"0",
"\" \"",
"Integer.toString(numbers[1])",
"Integer.toString",
"Integer",
"numbers[1]",
"numbers",
"1",
"\"\\n\"",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public static int[] sort ( String[] number) {\n int[] numbers = new int[2];\n Arrays.fill(numbers,0);\n numbers[0] = Integer.parseInt(number[0]);\n numbers[1] = Integer.parseInt(number[1]);\n if (numbers[0] > numbers[1]) {\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }\n return numbers;\n }",
"sort",
"{\n int[] numbers = new int[2];\n Arrays.fill(numbers,0);\n numbers[0] = Integer.parseInt(number[0]);\n numbers[1] = Integer.parseInt(number[1]);\n if (numbers[0] > numbers[1]) {\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }\n return numbers;\n }",
"int[] numbers = new int[2];",
"numbers",
"new int[2]",
"2",
"Arrays.fill(numbers,0)",
"Arrays.fill",
"Arrays",
"numbers",
"0",
"numbers[0] = Integer.parseInt(number[0])",
"numbers[0]",
"numbers",
"0",
"Integer.parseInt(number[0])",
"Integer.parseInt",
"Integer",
"number[0]",
"number",
"0",
"numbers[1] = Integer.parseInt(number[1])",
"numbers[1]",
"numbers",
"1",
"Integer.parseInt(number[1])",
"Integer.parseInt",
"Integer",
"number[1]",
"number",
"1",
"if (numbers[0] > numbers[1]) {\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }",
"numbers[0] > numbers[1]",
"numbers[0]",
"numbers",
"0",
"numbers[1]",
"numbers",
"1",
"{\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }",
"int w = numbers[0];",
"w",
"numbers[0]",
"numbers",
"0",
"numbers[0] = numbers[1]",
"numbers[0]",
"numbers",
"0",
"numbers[1]",
"numbers",
"1",
"numbers[1] = w",
"numbers[1]",
"numbers",
"1",
"w",
"return numbers;",
"numbers",
"String[] number",
"number",
"public class Main {\n public static void main (String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n int i = 1; \n while(true) {\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n } \n System.out.print(builder);\n }\n public static int[] sort ( String[] number) {\n int[] numbers = new int[2];\n Arrays.fill(numbers,0);\n numbers[0] = Integer.parseInt(number[0]);\n numbers[1] = Integer.parseInt(number[1]);\n if (numbers[0] > numbers[1]) {\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }\n return numbers;\n }\n}",
"public class Main {\n public static void main (String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder();\n int i = 1; \n while(true) {\n String data = reader.readLine();\n String[] number = data.split(\" \", 0);\n if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )\n break;\n int[] numbers = sort (number);\n builder\n .append(Integer.toString(numbers[0]))\n .append(\" \")\n .append(Integer.toString(numbers[1]))\n .append(\"\\n\");\n } \n System.out.print(builder);\n }\n public static int[] sort ( String[] number) {\n int[] numbers = new int[2];\n Arrays.fill(numbers,0);\n numbers[0] = Integer.parseInt(number[0]);\n numbers[1] = Integer.parseInt(number[1]);\n if (numbers[0] > numbers[1]) {\n int w = numbers[0];\n numbers[0] = numbers[1];\n numbers[1] = w;\n }\n return numbers;\n }\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main (String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
int i = 1;
while(true) {
String data = reader.readLine();
String[] number = data.split(" ", 0);
if(Integer.parseInt(number[0])== 0 && Integer.parseInt(number[1])== 0 )
break;
int[] numbers = sort (number);
builder
.append(Integer.toString(numbers[0]))
.append(" ")
.append(Integer.toString(numbers[1]))
.append("\n");
}
System.out.print(builder);
}
public static int[] sort ( String[] number) {
int[] numbers = new int[2];
Arrays.fill(numbers,0);
numbers[0] = Integer.parseInt(number[0]);
numbers[1] = Integer.parseInt(number[1]);
if (numbers[0] > numbers[1]) {
int w = numbers[0];
numbers[0] = numbers[1];
numbers[1] = w;
}
return numbers;
}
} |
[
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,
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,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
35,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
34,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
34,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n //変数x, yを宣言する\n int x, y;\n \n //変数x, yの値を入力する\n x = sc.nextInt();\n y = sc.nextInt();\n \n while(x != 0 || y != 0){\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }\n \n }\n}\n\n\n\n/*覚えよう!!\n \n〇もう1つの繰り返し\n\n・while(条件式):条件を満たす間はずっと繰り返す\n\n ※今回は x = 0 && y = 0 が入力されない間は繰り返す(両方0が入力されてない意味)\n \n*/\n \n \n/*前回の内容!!\n\n〇import java.util.Arrays;は重要↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓\n\n・Arrays:ソート(並べ変え)や検索など、配列を操作するための機能\n\n・並べ変えするとき\n import java.util.Arrays;を上に書く\n class Main内に Arrays.sort(a); と書く ← このとき()内は配列の変数名\n \n〇配列とは、同じ変数名に複数の値を入力できる箱\n\n ※イメージ\n 前回まで、a = 1, b = 2, c = 3など各変数名は1箱に値を代入できない\n 今回の配列はa[0] = 1, a[1] = 2, a[2] = 3 のように変数名aは3つの箱に値を代入できる。\n 注意:配列の箱は「 0 」から開始する\n\n\n・複数のif(条件):かつ「 && 」とまたは「 || 」の2つを使用する\n ※かつ「 && 」:「真 && 真 = 真」, 「真 && 偽 = 偽」, 「偽 && 真 = 偽」 ,「偽 && 偽 = 偽」の4つの条件\n または「 || 」:「真 && 真 = 真」, 「真 && 偽 = 真」, 「偽 && 真 = 真」 ,「偽 && 偽 = 偽」の4つの条件\n\n\n・関係を比較する:if(条件式)\n 例:if(2 < 3) この条件は「真(成立)」 → 何か命令があれば実行する\n if(5 < 3) この条件は「偽(不成立)」 → 何か命令があれば実行しない\n \n・比較の条件式:等しいか比較「==」、等しくないか比較「!=」 \n 大きいか比較「<」、小さいか比較「>」\n 以上の比較「<=」、以下の比較「>=」\n \n \n・else;ifの条件以外の場合に使用する。\n 例:if(雨 == 降っている) System.out.println(\"傘を持って行く\");\n else System.out.println(\"傘を持って行かない\");\n \n \n・else if:詳細な場合分けしたいときに使用\n 例:if(雨 == 降っている) System.out.println(\"傘を持って行く\");\n else if(雨 == 午後から降るかも) System.out.println(\"念のため傘を持って行く\");\n else System.out.println(\"傘を持って行かない\");\n \n\n \n・変数に計算結果を代入する:面積 = 縦 × 横\n ※計算は変数名でも数値でもいける\n \n・四則演算:足し算「+」、引き算「-」、掛け算「*」、割り算「/」\n 1 + 2 = 3;\n 4 - 3 = 1;\n 2 * 5 = 10;\n 8 / 2 = 4;\n \n・余りの計算:割り算の余り「%」\n 5 % 3 = 2;\n \n \n・printlnの複数表示:「+」を使用\n 例:println(\"Kobe\" + \"Kagikou\"); = KobeKajikou\n println(\"明治 + 20 + \"年\"); = 明治20年 数値が入ってもOK!\n \n \n \n・変数の宣言は「型」と「変数名」の2つ必要\n 例:型_変数名 → int x;\n \n・キーボードから入力するときは・・・「 import java.util.Scanner; 」 と 「 Scanner sc = new Scanner(System.in) ; 」が必要\n \n・入力するとき・・・変数名 = sc.nextInt(); nextの後は型を書く、頭文字は大文字 \n ※ scは変更しても大丈夫しかし全て変更後の文字に統一 例:nyuryoku\n \n・println・・・画面に出力するときに使用\n \n・文字列の表示・・・\"〇〇〇の間に入力\"ことが約束\n \n*/\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n //変数x, yを宣言する\n int x, y;\n \n //変数x, yの値を入力する\n x = sc.nextInt();\n y = sc.nextInt();\n \n while(x != 0 || y != 0){\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }\n \n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n //変数x, yを宣言する\n int x, y;\n \n //変数x, yの値を入力する\n x = sc.nextInt();\n y = sc.nextInt();\n \n while(x != 0 || y != 0){\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }\n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n //変数x, yを宣言する\n int x, y;\n \n //変数x, yの値を入力する\n x = sc.nextInt();\n y = sc.nextInt();\n \n while(x != 0 || y != 0){\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }\n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x != 0 || y != 0){\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }",
"if(x < y) System.out.println(x + \" \" + y);\n 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",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n //変数x, yを宣言する\n int x, y;\n \n //変数x, yの値を入力する\n x = sc.nextInt();\n y = sc.nextInt();\n \n while(x != 0 || y != 0){\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n //変数x, yを宣言する\n int x, y;\n \n //変数x, yの値を入力する\n x = sc.nextInt();\n y = sc.nextInt();\n \n while(x != 0 || y != 0){\n //大小を関係の比較\n if(x < y) System.out.println(x + \" \" + y);\n else System.out.println(y + \" \" + x);\n \n //変数x = 0, y = 0になるまで値を入力を繰り返す\n x = sc.nextInt();\n y = sc.nextInt();\n }\n \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
//変数x, yを宣言する
int x, y;
//変数x, yの値を入力する
x = sc.nextInt();
y = sc.nextInt();
while(x != 0 || y != 0){
//大小を関係の比較
if(x < y) System.out.println(x + " " + y);
else System.out.println(y + " " + x);
//変数x = 0, y = 0になるまで値を入力を繰り返す
x = sc.nextInt();
y = sc.nextInt();
}
}
}
/*覚えよう!!
〇もう1つの繰り返し
・while(条件式):条件を満たす間はずっと繰り返す
※今回は x = 0 && y = 0 が入力されない間は繰り返す(両方0が入力されてない意味)
*/
/*前回の内容!!
〇import java.util.Arrays;は重要↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
・Arrays:ソート(並べ変え)や検索など、配列を操作するための機能
・並べ変えするとき
import java.util.Arrays;を上に書く
class Main内に Arrays.sort(a); と書く ← このとき()内は配列の変数名
〇配列とは、同じ変数名に複数の値を入力できる箱
※イメージ
前回まで、a = 1, b = 2, c = 3など各変数名は1箱に値を代入できない
今回の配列はa[0] = 1, a[1] = 2, a[2] = 3 のように変数名aは3つの箱に値を代入できる。
注意:配列の箱は「 0 」から開始する
・複数のif(条件):かつ「 && 」とまたは「 || 」の2つを使用する
※かつ「 && 」:「真 && 真 = 真」, 「真 && 偽 = 偽」, 「偽 && 真 = 偽」 ,「偽 && 偽 = 偽」の4つの条件
または「 || 」:「真 && 真 = 真」, 「真 && 偽 = 真」, 「偽 && 真 = 真」 ,「偽 && 偽 = 偽」の4つの条件
・関係を比較する:if(条件式)
例:if(2 < 3) この条件は「真(成立)」 → 何か命令があれば実行する
if(5 < 3) この条件は「偽(不成立)」 → 何か命令があれば実行しない
・比較の条件式:等しいか比較「==」、等しくないか比較「!=」
大きいか比較「<」、小さいか比較「>」
以上の比較「<=」、以下の比較「>=」
・else;ifの条件以外の場合に使用する。
例:if(雨 == 降っている) System.out.println("傘を持って行く");
else System.out.println("傘を持って行かない");
・else if:詳細な場合分けしたいときに使用
例:if(雨 == 降っている) System.out.println("傘を持って行く");
else if(雨 == 午後から降るかも) System.out.println("念のため傘を持って行く");
else System.out.println("傘を持って行かない");
・変数に計算結果を代入する:面積 = 縦 × 横
※計算は変数名でも数値でもいける
・四則演算:足し算「+」、引き算「-」、掛け算「*」、割り算「/」
1 + 2 = 3;
4 - 3 = 1;
2 * 5 = 10;
8 / 2 = 4;
・余りの計算:割り算の余り「%」
5 % 3 = 2;
・printlnの複数表示:「+」を使用
例:println("Kobe" + "Kagikou"); = KobeKajikou
println("明治 + 20 + "年"); = 明治20年 数値が入ってもOK!
・変数の宣言は「型」と「変数名」の2つ必要
例:型_変数名 → int x;
・キーボードから入力するときは・・・「 import java.util.Scanner; 」 と 「 Scanner sc = new Scanner(System.in) ; 」が必要
・入力するとき・・・変数名 = sc.nextInt(); nextの後は型を書く、頭文字は大文字
※ scは変更しても大丈夫しかし全て変更後の文字に統一 例:nyuryoku
・println・・・画面に出力するときに使用
・文字列の表示・・・"〇〇〇の間に入力"ことが約束
*/
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
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,
4,
18,
18,
13,
13,
2,
2,
8,
2,
13,
13,
13,
13,
17,
8,
2,
13,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
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
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
28,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
25,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
25,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
25,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
67,
72
],
[
66,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"main",
"{\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\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 while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n }",
"while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? 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 if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? 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 }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y))",
"System.out.println",
"System.out",
"System",
"System.out",
"(x < y ? x : y) + \" \" + (x > y ? x : y)",
"(x < y ? x : y) + \" \" + (x > y ? x : y)",
"(x < y ? x : y)",
"x < y",
"x",
"y",
"x",
"y",
"\" \"",
"(x > y ? x : y)",
"x > y",
"x",
"y",
"x",
"y",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n try {\n while(true) {\n String[] str = br.readLine().split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x == 0 && y == 0) {\n break;\n }\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n } catch(IOException e) {\n e.printStackTrace();\n }\n }\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
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;
}
System.out.println((x < y ? x : y) + " " + (x > y ? x : y));
}
} catch(IOException e) {
e.printStackTrace();
}
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
11,
1,
30,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
3,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
20,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
82,
2
],
[
82,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
15,
17
],
[
18,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
33,
40
],
[
40,
41
],
[
40,
42
],
[
18,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
43,
58
],
[
58,
59
],
[
5,
60
],
[
60,
61
],
[
61,
62
],
[
3,
63
],
[
63,
64
],
[
3,
65
],
[
65,
66
],
[
82,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b, tmp;\n for(;;){\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n } \n\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b, tmp;\n for(;;){\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n } \n\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main",
"public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b, tmp;\n for(;;){\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n } \n\n/*fin*/\n sc.close();\n }",
"run",
"{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b, tmp;\n for(;;){\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n } \n\n/*fin*/\n sc.close();\n }",
"java.util.Scanner sc = new java.util.Scanner(in);",
"sc",
"new java.util.Scanner(in)",
"int a",
"a",
"b",
"b",
"tmp;",
"tmp",
"for(;;){\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n }",
";",
"{\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n }",
"{\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n }",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }",
"b < a",
"b",
"a",
"{\n tmp = a;\n a = b;\n b = tmp;\n }",
"tmp = a",
"tmp",
"a",
"a = b",
"a",
"b",
"b = tmp",
"b",
"tmp",
"if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }",
"b != 0",
"b",
"0",
"{\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",
"{\n break;\n }",
"break;",
"sc.close()",
"sc.close",
"sc",
"java.io.InputStream in",
"in",
"java.io.PrintStream out",
"out",
"public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }",
"main",
"{\n (new Main()).run(System.in, System.out);\n }",
"(new Main()).run(System.in, System.out)",
"(new Main()).run",
"(new Main())",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b, tmp;\n for(;;){\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n } \n\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int a, b, tmp;\n for(;;){\n a = sc.nextInt();\n b = sc.nextInt();\n if(b < a){\n tmp = a;\n a = b;\n b = tmp;\n }\n\n if(b != 0){\n System.out.println(a + \" \" + b);\n }else{\n break;\n }\n } \n\n/*fin*/\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}",
"Main"
] | public class Main{
public void run(java.io.InputStream in, java.io.PrintStream out){
java.util.Scanner sc = new java.util.Scanner(in);
/*answer*/
int a, b, tmp;
for(;;){
a = sc.nextInt();
b = sc.nextInt();
if(b < a){
tmp = a;
a = b;
b = tmp;
}
if(b != 0){
System.out.println(a + " " + b);
}else{
break;
}
}
/*fin*/
sc.close();
}
public static void main(String[] args){
(new Main()).run(System.in, System.out);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
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,
30,
3,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
100,
11
],
[
100,
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
],
[
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
],
[
27,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
74,
79
],
[
66,
80
],
[
64,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
84,
89
],
[
62,
90
],
[
14,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
12,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"/*AOJ-ITP-3-3*/\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\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 StringBuilder sb = new StringBuilder();\n int x , y;\n \n while (true) {\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).append(\"\\n\");\n }\n System.out.print(sb);\n }\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 NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x , y;\n \n while (true) {\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n \n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x , y;\n \n while (true) {\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).append(\"\\n\");\n }\n System.out.print(sb);\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x , y;\n \n while (true) {\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).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",
"while (true) {\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).append(\"\\n\");\n }",
"true",
"{\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).append(\"\\n\");\n }",
"String st[] = br.readLine().split(\" \");",
"st",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(st[0])",
"x",
"Integer.parseInt(st[0])",
"Integer.parseInt",
"Integer",
"st[0]",
"st",
"0",
"y = Integer.parseInt(st[1])",
"y",
"Integer.parseInt(st[1])",
"Integer.parseInt",
"Integer",
"st[1]",
"st",
"1",
"if(x == 0 && y ==0){break;}",
"x == 0 && y ==0",
"x == 0",
"x",
"0",
"y ==0",
"y",
"0",
"{break;}",
"break;",
"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",
"public class Main {\n public static void main(String[] args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int x , y;\n \n while (true) {\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).append(\"\\n\");\n }\n System.out.print(sb);\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 StringBuilder sb = new StringBuilder();\n int x , y;\n \n while (true) {\n \tString st[] = br.readLine().split(\" \");\n x = Integer.parseInt(st[0]);\n y = Integer.parseInt(st[1]);\n if(x == 0 && y ==0){break;}\n sb.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x<y?y:x)).append(\"\\n\");\n }\n System.out.print(sb);\n }\n \n}",
"Main"
] | /*AOJ-ITP-3-3*/
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));
StringBuilder sb = new StringBuilder();
int x , y;
while (true) {
String st[] = br.readLine().split(" ");
x = Integer.parseInt(st[0]);
y = Integer.parseInt(st[1]);
if(x == 0 && y ==0){break;}
sb.append(Integer.toString(x<y?x:y)).append(" ").append(Integer.toString(x<y?y:x)).append("\n");
}
System.out.print(sb);
}
} |
[
7,
6,
13,
12,
13,
30,
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,
30,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
77,
2
],
[
77,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
9,
11
],
[
5,
12
],
[
12,
13
],
[
5,
14
],
[
14,
15
],
[
5,
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
],
[
37,
38
],
[
18,
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
],
[
18,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
57,
63
],
[
55,
64
],
[
53,
65
],
[
5,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
3,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint x;\n\t\tint y;\n\n\t\twhile(true){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint x;\n\t\tint y;\n\n\t\twhile(true){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint x;\n\t\tint y;\n\n\t\twhile(true){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}",
"main",
"{\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint x;\n\t\tint y;\n\n\t\twhile(true){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}",
"java.util.Scanner sc = new java.util.Scanner(System.in);",
"sc",
"new java.util.Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int x;",
"x",
"int y;",
"y",
"while(true){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\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) { break; }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{ break; }",
"break;",
"if (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}",
"int z = x;",
"z",
"x",
"x = y",
"x",
"y",
"y = z",
"y",
"z",
"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.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint x;\n\t\tint y;\n\n\t\twhile(true){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint x;\n\t\tint y;\n\n\t\twhile(true){\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tif (x == 0 && y == 0) { break; }\n\t\t\tif (x > y) {\n\t\t\t\tint z = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\n\t\t\t}\n\t\t\tsb.append(x).append(\" \").append(y).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner sc = new java.util.Scanner(System.in);
StringBuilder sb = new StringBuilder();
int x;
int y;
while(true){
x = sc.nextInt();
y = sc.nextInt();
if (x == 0 && y == 0) { break; }
if (x > y) {
int z = x;
x = y;
y = z;
}
sb.append(x).append(" ").append(y).append("\n");
}
System.out.print(sb.toString());
}
} |
[
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,
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,
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
] | [
[
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
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
26,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
48,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
54,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
54,
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
]
] | [
"import java.util.Scanner;\n\n/**\n * @author kawakami\n \n*/\nclass Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t \n int x;\n int y;\n\n \n \n x = as.nextInt();\n y = as.nextInt();\n \n if(x<y){\n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n \n \n \n\n while(true){\n \n \n x = as.nextInt();\n y = as.nextInt();\n if(x==0 && y==0){\n break;\n }\n \n \n if(x<y){\n \t \n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n }\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t \n int x;\n int y;\n\n \n \n x = as.nextInt();\n y = as.nextInt();\n \n if(x<y){\n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n \n \n \n\n while(true){\n \n \n x = as.nextInt();\n y = as.nextInt();\n if(x==0 && y==0){\n break;\n }\n \n \n if(x<y){\n \t \n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n }\n\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t \n int x;\n int y;\n\n \n \n x = as.nextInt();\n y = as.nextInt();\n \n if(x<y){\n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n \n \n \n\n while(true){\n \n \n x = as.nextInt();\n y = as.nextInt();\n if(x==0 && y==0){\n break;\n }\n \n \n if(x<y){\n \t \n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n }\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner as = new Scanner(System.in);\n\t \n int x;\n int y;\n\n \n \n x = as.nextInt();\n y = as.nextInt();\n \n if(x<y){\n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n \n \n \n\n while(true){\n \n \n x = as.nextInt();\n y = as.nextInt();\n if(x==0 && y==0){\n break;\n }\n \n \n if(x<y){\n \t \n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n }\n\n\t}",
"Scanner as = new Scanner(System.in);",
"as",
"new Scanner(System.in)",
"int x;",
"x",
"int y;",
"y",
"x = as.nextInt()",
"x",
"as.nextInt()",
"as.nextInt",
"as",
"y = as.nextInt()",
"y",
"as.nextInt()",
"as.nextInt",
"as",
"if(x<y){\n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n }",
"x<y",
"x",
"y",
"{\n System.out.println(x+\" \"+y);\n\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\n }",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"while(true){\n \n \n x = as.nextInt();\n y = as.nextInt();\n if(x==0 && y==0){\n break;\n }\n \n \n if(x<y){\n \t \n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n }",
"true",
"{\n \n \n x = as.nextInt();\n y = as.nextInt();\n if(x==0 && y==0){\n break;\n }\n \n \n if(x<y){\n \t \n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n } \n }",
"x = as.nextInt()",
"x",
"as.nextInt()",
"as.nextInt",
"as",
"y = as.nextInt()",
"y",
"as.nextInt()",
"as.nextInt",
"as",
"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 \t \n System.out.println(x+\" \"+y);\n\n }\n else{\n System.out.println(y+\" \"+x);\n\n }",
"x<y",
"x",
"y",
"{\n \t \n System.out.println(x+\" \"+y);\n\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\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;
/**
* @author kawakami
*/
class Main {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner as = new Scanner(System.in);
int x;
int y;
x = as.nextInt();
y = as.nextInt();
if(x<y){
System.out.println(x+" "+y);
}
else{
System.out.println(y+" "+x);
}
while(true){
x = as.nextInt();
y = as.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,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
40,
13,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
42,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
18,
13,
13,
14,
2,
18,
13,
13,
18,
13,
13,
30,
4,
18,
18,
13,
13,
17,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
134,
5
],
[
134,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
8,
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
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
69,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
91,
100
],
[
100,
101
],
[
100,
102
],
[
82,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
112,
118
],
[
118,
119
],
[
118,
120
],
[
112,
121
],
[
121,
122
],
[
121,
123
],
[
81,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
81,
129
],
[
129,
130
],
[
6,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[6000],y[]=new int[6000];\n\t\tx[0]=kb.nextInt();\n\t\ty[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0||y[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0||y[i]!=0){\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[6000],y[]=new int[6000];\n\t\tx[0]=kb.nextInt();\n\t\ty[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0||y[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0||y[i]!=0){\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[6000],y[]=new int[6000];\n\t\tx[0]=kb.nextInt();\n\t\ty[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0||y[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0||y[i]!=0){\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[6000],y[]=new int[6000];\n\t\tx[0]=kb.nextInt();\n\t\ty[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0||y[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0||y[i]!=0){\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}\n\t}",
"Scanner kb=new Scanner(System.in);",
"kb",
"new Scanner(System.in)",
"int x[]=new int[6000]",
"x",
"new int[6000]",
"6000",
"y[]=new int[6000];",
"y",
"new int[6000]",
"6000",
"x[0]=kb.nextInt()",
"x[0]",
"x",
"0",
"kb.nextInt()",
"kb.nextInt",
"kb",
"y[0]=kb.nextInt()",
"y[0]",
"y",
"0",
"kb.nextInt()",
"kb.nextInt",
"kb",
"int h=0;",
"h",
"0",
"int i=0;",
"i",
"0",
"while(x[h]!=0||y[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}",
"x[h]!=0||y[h]!=0",
"x[h]!=0",
"x[h]",
"x",
"h",
"0",
"y[h]!=0",
"y[h]",
"y",
"h",
"0",
"{\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}",
"h++",
"h",
"x[h]=kb.nextInt()",
"x[h]",
"x",
"h",
"kb.nextInt()",
"kb.nextInt",
"kb",
"y[h]=kb.nextInt()",
"y[h]",
"y",
"h",
"kb.nextInt()",
"kb.nextInt",
"kb",
"while(x[i]!=0||y[i]!=0){\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}",
"x[i]!=0||y[i]!=0",
"x[i]!=0",
"x[i]",
"x",
"i",
"0",
"y[i]!=0",
"y[i]",
"y",
"i",
"0",
"{\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}",
"if(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}",
"x[i]>=y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"{\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}",
"System.out.printf(\"%d %d\",y[i],x[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\"",
"y[i]",
"y",
"i",
"x[i]",
"x",
"i",
"if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}",
"x[i]<y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"{\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}",
"System.out.printf(\"%d %d\",x[i],y[i])",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\"",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"i++",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[6000],y[]=new int[6000];\n\t\tx[0]=kb.nextInt();\n\t\ty[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0||y[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0||y[i]!=0){\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint x[]=new int[6000],y[]=new int[6000];\n\t\tx[0]=kb.nextInt();\n\t\ty[0]=kb.nextInt();\n\t\tint h=0;\n\t\tint i=0;\n\t\twhile(x[h]!=0||y[h]!=0){\n\t\t\th++;\n\t\t\tx[h]=kb.nextInt();\n\t\t\ty[h]=kb.nextInt();\n\n\t\t}\n\n\t\twhile(x[i]!=0||y[i]!=0){\n\t\t\tif(x[i]>=y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",y[i],x[i]);\n\t\t\t}else if(x[i]<y[i]){\n\t\t\t\tSystem.out.printf(\"%d %d\",x[i],y[i]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t\ti++;\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner kb=new Scanner(System.in);
int x[]=new int[6000],y[]=new int[6000];
x[0]=kb.nextInt();
y[0]=kb.nextInt();
int h=0;
int i=0;
while(x[h]!=0||y[h]!=0){
h++;
x[h]=kb.nextInt();
y[h]=kb.nextInt();
}
while(x[i]!=0||y[i]!=0){
if(x[i]>=y[i]){
System.out.printf("%d %d",y[i],x[i]);
}else if(x[i]<y[i]){
System.out.printf("%d %d",x[i],y[i]);
}
System.out.println();
i++;
}
}
} |
[
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,
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,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
40,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
88,
5
],
[
88,
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
],
[
33,
32
],
[
40,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
40,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
43,
45
],
[
30,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
57,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
79,
79
],
[
79,
80
],
[
79,
81
],
[
79,
82
],
[
19,
83
],
[
83,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i < 3000) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i < 3000) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i < 3000) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i < 3000) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"while (i < 3000) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"i < 3000",
"i",
"3000",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\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\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}",
"if (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}",
"x <= y",
"x",
"y",
"{\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\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\tSystem.out.println(y + \" \" + x);\n\t\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",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i < 3000) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint i = 0;\n\t\twhile (i < 3000) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\n\t\t\tif (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x <= y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int i = 0;
while (i < 3000) {
int x = scan.nextInt();
int y = scan.nextInt();
if (0 <= x && x <= 10000 && 0 <= y && y <= 10000) {
if (x == 0 && y == 0) {
break;
} else if (x <= y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
}
i++;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
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
],
[
7,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
17,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
34,
42
],
[
17,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
43,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
12,
67
],
[
67,
68
]
] | [
"import java.io.PrintWriter;\nimport java.util.Scanner;\n\nclass Main {\n private static final Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n while (true) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n if(x==0&&y==0) break;\n if(x<=y) System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n private static final Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n while (true) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n if(x==0&&y==0) break;\n if(x<=y) System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }\n }\n}",
"Main",
"private static final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n while (true) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n if(x==0&&y==0) break;\n if(x<=y) System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }\n }",
"main",
"{\n while (true) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n if(x==0&&y==0) break;\n if(x<=y) System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }\n }",
"while (true) {\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n if(x==0&&y==0) break;\n if(x<=y) System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }",
"true",
"{\n int x = Integer.parseInt(sc.next());\n int y = Integer.parseInt(sc.next());\n if(x==0&&y==0) break;\n if(x<=y) System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }",
"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",
"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 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",
"String[] args",
"args"
] | import java.io.PrintWriter;
import java.util.Scanner;
class Main {
private static final Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
while (true) {
int x = Integer.parseInt(sc.next());
int y = Integer.parseInt(sc.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,
41,
13,
41,
13,
20,
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,
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
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
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
],
[
26,
29
],
[
18,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
18,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
18,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
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
],
[
66,
68
],
[
66,
69
],
[
55,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
77,
80
],
[
6,
81
],
[
81,
82
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n int x,y;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n \n \n while(true){\n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n x = Integer.parseInt(strAry[0]); \n y = Integer.parseInt(strAry[1]); \n if(x==0&&y==0) break; \n if(x<=y){\n System.out.println(x +\" \"+ y);\n \n }else{ \n System.out.println(y +\" \"+ x);\n }\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args)throws IOException{\n int x,y;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n \n \n while(true){\n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n x = Integer.parseInt(strAry[0]); \n y = Integer.parseInt(strAry[1]); \n if(x==0&&y==0) break; \n if(x<=y){\n System.out.println(x +\" \"+ y);\n \n }else{ \n System.out.println(y +\" \"+ x);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args)throws IOException{\n int x,y;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n \n \n while(true){\n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n x = Integer.parseInt(strAry[0]); \n y = Integer.parseInt(strAry[1]); \n if(x==0&&y==0) break; \n if(x<=y){\n System.out.println(x +\" \"+ y);\n \n }else{ \n System.out.println(y +\" \"+ x);\n }\n }\n }",
"main",
"{\n int x,y;\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n \n \n \n while(true){\n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n x = Integer.parseInt(strAry[0]); \n y = Integer.parseInt(strAry[1]); \n if(x==0&&y==0) break; \n if(x<=y){\n System.out.println(x +\" \"+ y);\n \n }else{ \n System.out.println(y +\" \"+ x);\n }\n }\n }",
"int x",
"x",
"y;",
"y",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n x = Integer.parseInt(strAry[0]); \n y = Integer.parseInt(strAry[1]); \n if(x==0&&y==0) break; \n if(x<=y){\n System.out.println(x +\" \"+ y);\n \n }else{ \n System.out.println(y +\" \"+ x);\n }\n }",
"true",
"{\n String str = br.readLine(); \n String[] strAry = str.split(\" \");\n x = Integer.parseInt(strAry[0]); \n y = Integer.parseInt(strAry[1]); \n if(x==0&&y==0) break; \n if(x<=y){\n System.out.println(x +\" \"+ y);\n \n }else{ \n System.out.println(y +\" \"+ x);\n }\n }",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] strAry = str.split(\" \");",
"strAry",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"x = Integer.parseInt(strAry[0])",
"x",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"y = Integer.parseInt(strAry[1])",
"y",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"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 \n }else{ \n System.out.println(y +\" \"+ x);\n }",
"x<=y",
"x",
"y",
"{\n System.out.println(x +\" \"+ y);\n \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.io.*;
class Main{
public static void main(String[] args)throws IOException{
int x,y;
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
while(true){
String str = br.readLine();
String[] strAry = str.split(" ");
x = Integer.parseInt(strAry[0]);
y = Integer.parseInt(strAry[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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
0,
18,
13,
13,
4,
18,
13,
18,
13,
17,
0,
18,
13,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
30,
3,
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,
18,
13,
13,
18,
13,
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
],
[
179,
5
],
[
179,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
32,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
32,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
64,
76
],
[
76,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
78,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
93,
105
],
[
105,
106
],
[
92,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
122,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
122,
127
],
[
127,
128
],
[
127,
129
],
[
92,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
135,
137
],
[
130,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
139,
144
],
[
145,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
145,
150
],
[
150,
151
],
[
150,
152
],
[
92,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
158,
160
],
[
153,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
168,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
168,
173
],
[
173,
174
],
[
173,
175
],
[
6,
176
],
[
176,
177
],
[
0,
178
],
[
178,
179
],
[
178,
180
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[3000];\n\t\tint[] num2 = new int[3000];\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[3000];\n\t\tint[] num2 = new int[3000];\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\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[] num = new int[3000];\n\t\tint[] num2 = new int[3000];\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[3000];\n\t\tint[] num2 = new int[3000];\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] num = new int[3000];",
"num",
"new int[3000]",
"3000",
"int[] num2 = new int[3000];",
"num2",
"new int[3000]",
"3000",
"for (int i = 0; i < 3000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\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\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] ss = line.split(\" \");",
"ss",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"num[i] = Integer.parseInt(ss[0])",
"num[i]",
"num",
"i",
"Integer.parseInt(ss[0])",
"Integer.parseInt",
"Integer",
"ss[0]",
"ss",
"0",
"num2[i] = Integer.parseInt(ss[1])",
"num2[i]",
"num2",
"i",
"Integer.parseInt(ss[1])",
"Integer.parseInt",
"Integer",
"ss[1]",
"ss",
"1",
"if (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"num[i] == 0 && num2[i] == 0",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"num2[i] == 0",
"num2[i]",
"num2",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.length",
"i",
"num.length",
"num",
"num.length",
"i++",
"i++",
"i",
"{\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t}",
"if (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"num[i] == 0 && num2[i] == 0",
"num[i] == 0",
"num[i]",
"num",
"i",
"0",
"num2[i] == 0",
"num2[i]",
"num2",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}",
"num[i] < num2[i]",
"num[i]",
"num",
"i",
"num2[i]",
"num2",
"i",
"{\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}",
"System.out.println(num[i] + \" \" + num2[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[i] + \" \" + num2[i]",
"num[i] + \" \" + num2[i]",
"num[i]",
"num",
"i",
"\" \"",
"num2[i]",
"num2",
"i",
"if (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}",
"num[i] > num2[i]",
"num[i]",
"num",
"i",
"num2[i]",
"num2",
"i",
"{\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}",
"System.out.println(num2[i] + \" \" + num[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num2[i] + \" \" + num[i]",
"num2[i] + \" \" + num[i]",
"num2[i]",
"num2",
"i",
"\" \"",
"num[i]",
"num",
"i",
"if (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}",
"num[i] == num2[i]",
"num[i]",
"num",
"i",
"num2[i]",
"num2",
"i",
"{\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}",
"System.out.println(num[i] + \" \" + num2[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"num[i] + \" \" + num2[i]",
"num[i] + \" \" + num2[i]",
"num[i]",
"num",
"i",
"\" \"",
"num2[i]",
"num2",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[3000];\n\t\tint[] num2 = new int[3000];\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] num = new int[3000];\n\t\tint[] num2 = new int[3000];\n\t\tfor (int i = 0; i < 3000; i++) {\n\t\t\tString line = sc.nextLine();\n\t\t\tString[] ss = line.split(\" \");\n\t\t\tnum[i] = Integer.parseInt(ss[0]);\n\t\t\tnum2[i] = Integer.parseInt(ss[1]);\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < num.length; i++) {\n\t\t\tif (num[i] == 0 && num2[i] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (num[i] < num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\n\t\t\t}\n\t\t\tif (num[i] > num2[i]) {\n\t\t\t\tSystem.out.println(num2[i] + \" \" + num[i]);\n\t\t\t}\n\t\t\tif (num[i] == num2[i]) {\n\t\t\t\tSystem.out.println(num[i] + \" \" + num2[i]);\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[] num = new int[3000];
int[] num2 = new int[3000];
for (int i = 0; i < 3000; i++) {
String line = sc.nextLine();
String[] ss = line.split(" ");
num[i] = Integer.parseInt(ss[0]);
num2[i] = Integer.parseInt(ss[1]);
if (num[i] == 0 && num2[i] == 0) {
break;
}
}
for (int i = 0; i < num.length; i++) {
if (num[i] == 0 && num2[i] == 0) {
break;
}
if (num[i] < num2[i]) {
System.out.println(num[i] + " " + num2[i]);
}
if (num[i] > num2[i]) {
System.out.println(num2[i] + " " + num[i]);
}
if (num[i] == num2[i]) {
System.out.println(num[i] + " " + num2[i]);
}
}
}
} |
[
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,
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,
40,
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
],
[
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
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
17,
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
],
[
17,
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 sc = new Scanner(System.in);\n\t\tint i=1;\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)break;\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\ti++;\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 i=1;\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)break;\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\ti++;\n\t\t}\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(true){\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0)break;\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\ti++;\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i=1;\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)break;\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\ti++;\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 x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0)break;\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\ti++;\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)break;\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\ti++;\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)break;",
"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\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",
"i++",
"i",
"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(true){\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0)break;\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\ti++;\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 i=1;\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)break;\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\ti++;\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 i=1;
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);
}
i++;
}
}
} |
[
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,
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,
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
],
[
113,
11
],
[
113,
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
],
[
78,
79
],
[
78,
80
],
[
73,
81
],
[
71,
82
],
[
82,
83
],
[
82,
84
],
[
69,
85
],
[
64,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
96,
98
],
[
91,
99
],
[
89,
100
],
[
100,
101
],
[
100,
102
],
[
87,
103
],
[
14,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
12,
110
],
[
110,
111
],
[
0,
112
],
[
112,
113
],
[
112,
114
]
] | [
"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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).append(\"\\n\");\n }",
"x < y",
"x",
"y",
"{\n str.append(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n }",
"str.append(data[0]).append(\" \").append(data[1]).append(\"\\n\")",
"str.append(data[0]).append(\" \").append(data[1]).append",
"str.append(data[0]).append(\" \").append(data[1])",
"str.append(data[0]).append(\" \").append",
"str.append(data[0]).append(\" \")",
"str.append(data[0]).append",
"str.append(data[0])",
"str.append",
"str",
"data[0]",
"data",
"0",
"\" \"",
"data[1]",
"data",
"1",
"\"\\n\"",
"{\n str.append(data[1]).append(\" \").append(data[0]).append(\"\\n\");\n }",
"str.append(data[1]).append(\" \").append(data[0]).append(\"\\n\")",
"str.append(data[1]).append(\" \").append(data[0]).append",
"str.append(data[1]).append(\" \").append(data[0])",
"str.append(data[1]).append(\" \").append",
"str.append(data[1]).append(\" \")",
"str.append(data[1]).append",
"str.append(data[1])",
"str.append",
"str",
"data[1]",
"data",
"1",
"\" \"",
"data[0]",
"data",
"0",
"\"\\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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(\" \").append(data[1]).append(\"\\n\");\n } else {\n str.append(data[1]).append(\" \").append(data[0]).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(data[0]).append(" ").append(data[1]).append("\n");
} else {
str.append(data[1]).append(" ").append(data[0]).append("\n");
}
}
System.out.print(str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
42,
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,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
11,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
35,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
35,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
35,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
9,
70
],
[
70,
71
]
] | [
"import java.io.*;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n int y = in.nextInt();\n int w;\n \n while(x!=0 || y!=0){\n if(x>y){\n w = x;\n x = y;\n y = w;\n }\n System.out.println(x + \" \" + y);\n\n x = in.nextInt();\n y = in.nextInt();\n} \n\n}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n int y = in.nextInt();\n int w;\n \n while(x!=0 || y!=0){\n if(x>y){\n w = x;\n x = y;\n y = w;\n }\n System.out.println(x + \" \" + y);\n\n x = in.nextInt();\n y = in.nextInt();\n} \n\n}\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n int y = in.nextInt();\n int w;\n \n while(x!=0 || y!=0){\n if(x>y){\n w = x;\n x = y;\n y = w;\n }\n System.out.println(x + \" \" + y);\n\n x = in.nextInt();\n y = in.nextInt();\n} \n\n}",
"main",
"{\n Scanner in = new Scanner(System.in);\n int x = in.nextInt();\n int y = in.nextInt();\n int w;\n \n while(x!=0 || y!=0){\n if(x>y){\n w = x;\n x = y;\n y = w;\n }\n System.out.println(x + \" \" + y);\n\n x = in.nextInt();\n y = in.nextInt();\n} \n\n}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int y = in.nextInt();",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"int w;",
"w",
"while(x!=0 || y!=0){\n if(x>y){\n w = x;\n x = y;\n y = w;\n }\n System.out.println(x + \" \" + y);\n\n x = in.nextInt();\n y = in.nextInt();\n}",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n if(x>y){\n w = x;\n x = y;\n y = w;\n }\n System.out.println(x + \" \" + y);\n\n x = in.nextInt();\n y = in.nextInt();\n}",
"if(x>y){\n w = x;\n x = y;\n y = w;\n }",
"x>y",
"x",
"y",
"{\n w = x;\n x = y;\n y = w;\n }",
"w = x",
"w",
"x",
"x = y",
"x",
"y",
"y = w",
"y",
"w",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"y = in.nextInt()",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"String[] args",
"args"
] | import java.io.*;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int x = in.nextInt();
int y = in.nextInt();
int w;
while(x!=0 || y!=0){
if(x>y){
w = x;
x = y;
y = w;
}
System.out.println(x + " " + y);
x = in.nextInt();
y = in.nextInt();
}
}
} |
[
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,
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
],
[
69,
5
],
[
69,
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
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
54,
60
],
[
54,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.io.*;\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\twhile(true){\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}\n\t}}",
"import java.io.*;",
"io.*",
"java",
"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\twhile(true){\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}\n\t}}",
"Main",
"public static void main(String [] args) throws NumberFormatException, IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}\n\t}",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}",
"true",
"{\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}",
"String[] st=br.readLine().split(\" \");",
"st",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a=Integer.parseInt(st[0]);",
"a",
"Integer.parseInt(st[0])",
"Integer.parseInt",
"Integer",
"st[0]",
"st",
"0",
"int b=Integer.parseInt(st[1]);",
"b",
"Integer.parseInt(st[1])",
"Integer.parseInt",
"Integer",
"st[1]",
"st",
"1",
"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",
"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\twhile(true){\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}\n\t}}",
"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\twhile(true){\n\t\tString[] st=br.readLine().split(\" \");\n\t\tint a=Integer.parseInt(st[0]);\n\t\tint b=Integer.parseInt(st[1]);\n\t\tif(a==0&&b==0)break;\n\t\tSystem.out.println(Math.min(a, b)+\" \"+Math.max(a, b));\n\t\t}\n\t}}",
"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[] st=br.readLine().split(" ");
int a=Integer.parseInt(st[0]);
int b=Integer.parseInt(st[1]);
if(a==0&&b==0)break;
System.out.println(Math.min(a, b)+" "+Math.max(a, b));
}
}} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
13,
17,
29,
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
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
11,
14
],
[
14,
15
],
[
11,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
18,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
18,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
35,
41
],
[
18,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
46,
52
],
[
46,
53
],
[
42,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
54,
60
],
[
54,
61
],
[
9,
62
],
[
62,
63
]
] | [
"import java.util.*;\nclass Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint in1,in2;\n\t\twhile(true) {\n\t\t\tin1 = Integer.parseInt(s.next());\n\t\t\tin2 = Integer.parseInt(s.next());\n\t\t\tif((in1|in2)==0)\n\t\t\t\treturn;\n\t\t\tif(in1<=in2)\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in1,in2);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in2,in1);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tstatic Scanner s = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint in1,in2;\n\t\twhile(true) {\n\t\t\tin1 = Integer.parseInt(s.next());\n\t\t\tin2 = Integer.parseInt(s.next());\n\t\t\tif((in1|in2)==0)\n\t\t\t\treturn;\n\t\t\tif(in1<=in2)\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in1,in2);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in2,in1);\n\t\t}\n\t}\n}",
"Main",
"static Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\tint in1,in2;\n\t\twhile(true) {\n\t\t\tin1 = Integer.parseInt(s.next());\n\t\t\tin2 = Integer.parseInt(s.next());\n\t\t\tif((in1|in2)==0)\n\t\t\t\treturn;\n\t\t\tif(in1<=in2)\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in1,in2);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in2,in1);\n\t\t}\n\t}",
"main",
"{\n\t\tint in1,in2;\n\t\twhile(true) {\n\t\t\tin1 = Integer.parseInt(s.next());\n\t\t\tin2 = Integer.parseInt(s.next());\n\t\t\tif((in1|in2)==0)\n\t\t\t\treturn;\n\t\t\tif(in1<=in2)\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in1,in2);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in2,in1);\n\t\t}\n\t}",
"int in1",
"in1",
"in2;",
"in2",
"while(true) {\n\t\t\tin1 = Integer.parseInt(s.next());\n\t\t\tin2 = Integer.parseInt(s.next());\n\t\t\tif((in1|in2)==0)\n\t\t\t\treturn;\n\t\t\tif(in1<=in2)\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in1,in2);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in2,in1);\n\t\t}",
"true",
"{\n\t\t\tin1 = Integer.parseInt(s.next());\n\t\t\tin2 = Integer.parseInt(s.next());\n\t\t\tif((in1|in2)==0)\n\t\t\t\treturn;\n\t\t\tif(in1<=in2)\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in1,in2);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in2,in1);\n\t\t}",
"in1 = Integer.parseInt(s.next())",
"in1",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"in2 = Integer.parseInt(s.next())",
"in2",
"Integer.parseInt(s.next())",
"Integer.parseInt",
"Integer",
"s.next()",
"s.next",
"s",
"if((in1|in2)==0)\n\t\t\t\treturn;",
"(in1|in2)==0",
"(in1|in2)",
"in1",
"in2",
"0",
"return;",
"if(in1<=in2)\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in1,in2);\n\t\t\telse\n\t\t\t\tSystem.out.printf(\"%d %d\\n\",in2,in1);",
"in1<=in2",
"in1",
"in2",
"System.out.printf(\"%d %d\\n\",in1,in2)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"in1",
"in2",
"System.out.printf(\"%d %d\\n\",in2,in1)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"in2",
"in1",
"String[] args",
"args"
] | import java.util.*;
class Main{
static Scanner s = new Scanner(System.in);
public static void main(String[] args) {
int in1,in2;
while(true) {
in1 = Integer.parseInt(s.next());
in2 = Integer.parseInt(s.next());
if((in1|in2)==0)
return;
if(in1<=in2)
System.out.printf("%d %d\n",in1,in2);
else
System.out.printf("%d %d\n",in2,in1);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
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,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
13,
17,
4,
18,
13,
13,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
6,
12
],
[
12,
13
],
[
80,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
29,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
26,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
26,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
67,
73
],
[
67,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
74,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\n\n/**\n * Created by labuser on 2016/04/19.\n */\npublic class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n\n int a, b;\n\n Scanner sc = new Scanner(System.in);\n while(true){\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n\n int a, b;\n\n Scanner sc = new Scanner(System.in);\n while(true){\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private void run() {\n\n int a, b;\n\n Scanner sc = new Scanner(System.in);\n while(true){\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }\n\n }",
"run",
"{\n\n int a, b;\n\n Scanner sc = new Scanner(System.in);\n while(true){\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }\n\n }",
"int a",
"a",
"b;",
"b",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }",
"true",
"{\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }",
"String[] input = sc.nextLine().split(\" \");",
"input",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"a = Integer.parseInt(input[0])",
"a",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"b = Integer.parseInt(input[1])",
"b",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"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(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",
"public class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n\n int a, b;\n\n Scanner sc = new Scanner(System.in);\n while(true){\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n\n int a, b;\n\n Scanner sc = new Scanner(System.in);\n while(true){\n String[] input = sc.nextLine().split(\" \");\n a = Integer.parseInt(input[0]);\n b = Integer.parseInt(input[1]);\n if(a ==0 && b ==0){\n break;\n }\n System.out.println(Math.min(a,b)+\" \"+Math.max(a,b));\n }\n\n }\n}",
"Main"
] | import java.util.Scanner;
/**
* Created by labuser on 2016/04/19.
*/
public class Main {
public static void main(String[] args) {
new Main().run();
}
private void run() {
int a, b;
Scanner sc = new Scanner(System.in);
while(true){
String[] input = sc.nextLine().split(" ");
a = Integer.parseInt(input[0]);
b = Integer.parseInt(input[1]);
if(a ==0 && b ==0){
break;
}
System.out.println(Math.min(a,b)+" "+Math.max(a,b));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
41,
13,
20,
17,
0,
18,
13,
17,
4,
13,
0,
18,
13,
17,
4,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
3,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
24,
25
],
[
18,
26
],
[
27,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
27,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
44,
56
],
[
27,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
27,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
15,
75
],
[
75,
76
],
[
10,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
]
] | [
"import java.io.*;\nimport java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws IOException {\n for(int i = 0; ; ++i) {\n int v[] = new int[2];\n v[0] = ReadInt();\n v[1] = ReadInt();\n if( v[0] == 0 && v[1] == 0 ) break;\n Arrays.sort(v);\n System.out.println(v[0] + \" \" + v[1]); \n }\n }\n static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws IOException {\n for(int i = 0; ; ++i) {\n int v[] = new int[2];\n v[0] = ReadInt();\n v[1] = ReadInt();\n if( v[0] == 0 && v[1] == 0 ) break;\n Arrays.sort(v);\n System.out.println(v[0] + \" \" + v[1]); \n }\n }\n static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) throws IOException {\n for(int i = 0; ; ++i) {\n int v[] = new int[2];\n v[0] = ReadInt();\n v[1] = ReadInt();\n if( v[0] == 0 && v[1] == 0 ) break;\n Arrays.sort(v);\n System.out.println(v[0] + \" \" + v[1]); \n }\n }",
"main",
"{\n for(int i = 0; ; ++i) {\n int v[] = new int[2];\n v[0] = ReadInt();\n v[1] = ReadInt();\n if( v[0] == 0 && v[1] == 0 ) break;\n Arrays.sort(v);\n System.out.println(v[0] + \" \" + v[1]); \n }\n }",
"for(int i = 0; ; ++i) {\n int v[] = new int[2];\n v[0] = ReadInt();\n v[1] = ReadInt();\n if( v[0] == 0 && v[1] == 0 ) break;\n Arrays.sort(v);\n System.out.println(v[0] + \" \" + v[1]); \n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"++i",
"++i",
"i",
"{\n int v[] = new int[2];\n v[0] = ReadInt();\n v[1] = ReadInt();\n if( v[0] == 0 && v[1] == 0 ) break;\n Arrays.sort(v);\n System.out.println(v[0] + \" \" + v[1]); \n }",
"{\n int v[] = new int[2];\n v[0] = ReadInt();\n v[1] = ReadInt();\n if( v[0] == 0 && v[1] == 0 ) break;\n Arrays.sort(v);\n System.out.println(v[0] + \" \" + v[1]); \n }",
"int v[] = new int[2];",
"v",
"new int[2]",
"2",
"v[0] = ReadInt()",
"v[0]",
"v",
"0",
"ReadInt()",
"ReadInt",
"v[1] = ReadInt()",
"v[1]",
"v",
"1",
"ReadInt()",
"ReadInt",
"if( v[0] == 0 && v[1] == 0 ) break;",
"v[0] == 0 && v[1] == 0",
"v[0] == 0",
"v[0]",
"v",
"0",
"0",
"v[1] == 0",
"v[1]",
"v",
"1",
"0",
"break;",
"Arrays.sort(v)",
"Arrays.sort",
"Arrays",
"v",
"System.out.println(v[0] + \" \" + v[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"v[0] + \" \" + v[1]",
"v[0] + \" \" + v[1]",
"v[0]",
"v",
"0",
"\" \"",
"v[1]",
"v",
"1",
"String[] args",
"args",
"static int ReadInt() throws IOException {\n return Integer.parseInt(sc.next());\n }",
"ReadInt",
"{\n return Integer.parseInt(sc.next());\n }",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc"
] | import java.io.*;
import java.util.Scanner;
import java.util.Arrays;
class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) throws IOException {
for(int i = 0; ; ++i) {
int v[] = new int[2];
v[0] = ReadInt();
v[1] = ReadInt();
if( v[0] == 0 && v[1] == 0 ) break;
Arrays.sort(v);
System.out.println(v[0] + " " + v[1]);
}
}
static int ReadInt() throws IOException {
return Integer.parseInt(sc.next());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
2,
17,
13,
17,
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
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
13,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
12,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
12,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
12,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
56,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
56,
60
],
[
44,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
69,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
69,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\n\n/**\n * @author ??\\???\n *\n */\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\t\t(x != 0) || (y != 0);\n\t\t\t\tx = scanner.nextInt(), y = scanner.nextInt()) {\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\tscanner.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\t\t(x != 0) || (y != 0);\n\t\t\t\tx = scanner.nextInt(), y = scanner.nextInt()) {\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\tscanner.close();\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\t\t(x != 0) || (y != 0);\n\t\t\t\tx = scanner.nextInt(), y = scanner.nextInt()) {\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\tscanner.close();\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\t\t(x != 0) || (y != 0);\n\t\t\t\tx = scanner.nextInt(), y = scanner.nextInt()) {\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\tscanner.close();\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for (int x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\t\t(x != 0) || (y != 0);\n\t\t\t\tx = scanner.nextInt(), y = scanner.nextInt()) {\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}",
"int x = scanner.nextInt(), y = scanner.nextInt();",
"int x = scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"y = scanner.nextInt();",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"(x != 0) || (y != 0)",
"(x != 0)",
"x",
"0",
"(y != 0)",
"y",
"0",
"x = scanner.nextInt(), y = scanner.nextInt()",
"x = scanner.nextInt()",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"y = scanner.nextInt()",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"{\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\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}",
"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",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\t\t(x != 0) || (y != 0);\n\t\t\t\tx = scanner.nextInt(), y = scanner.nextInt()) {\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\tscanner.close();\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor (int x = scanner.nextInt(), y = scanner.nextInt();\n\t\t\t\t(x != 0) || (y != 0);\n\t\t\t\tx = scanner.nextInt(), y = scanner.nextInt()) {\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\tscanner.close();\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
/**
* @author ??\???
*
*/
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
for (int x = scanner.nextInt(), y = scanner.nextInt();
(x != 0) || (y != 0);
x = scanner.nextInt(), y = scanner.nextInt()) {
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,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
30,
14,
2,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
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
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
44,
49
],
[
35,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
55,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\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 scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}\n\t\t}",
"int num1 = scanner.nextInt();",
"num1",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int num2 = scanner.nextInt();",
"num2",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}",
"num1 == 0 && num2 == 0",
"num1 == 0",
"num1",
"0",
"num2 == 0",
"num2",
"0",
"break;",
"{\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}",
"if (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));",
"num1 < num2",
"num1",
"num2",
"System.out.println(String.format(\"%s %s\", num1, num2))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%s %s\", num1, num2)",
"String.format",
"String",
"\"%s %s\"",
"num1",
"num2",
"System.out.println(String.format(\"%s %s\", num2, num1))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%s %s\", num2, num1)",
"String.format",
"String",
"\"%s %s\"",
"num2",
"num1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint num1 = scanner.nextInt();\n\t\t\tint num2 = scanner.nextInt();\n\t\t\tif (num1 == 0 && num2 == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif (num1 < num2)\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num1, num2));\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(String.format(\"%s %s\", num2, num1));\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 scanner = new Scanner(System.in);
while (true) {
int num1 = scanner.nextInt();
int num2 = scanner.nextInt();
if (num1 == 0 && num2 == 0)
break;
else {
if (num1 < num2)
System.out.println(String.format("%s %s", num1, num2));
else
System.out.println(String.format("%s %s", num2, num1));
}
}
}
} |
[
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,
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,
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
],
[
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
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
24,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
50,
55
],
[
44,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
56,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i = 0;i < 3000;++i){\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }\n sc.close();\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i = 0;i < 3000;++i){\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }\n sc.close();\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i = 0;i < 3000;++i){\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for(int i = 0;i < 3000;++i){\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 0;i < 3000;++i){\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3000",
"i",
"3000",
"++i",
"++i",
"i",
"{\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }",
"{\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }",
"int a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"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.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a < b ? a : b",
"a < b",
"a",
"b",
"a",
"b",
"a < b ? b : a",
"a < b",
"a",
"b",
"b",
"a",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i = 0;i < 3000;++i){\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }\n sc.close();\n }\n\n}",
"public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n for(int i = 0;i < 3000;++i){\n int a = sc.nextInt(),b = sc.nextInt();\n if(a == 0 && b == 0) break;\n System.out.printf(\"%d %d\\n\",a < b ? a : b,a < b ? b : a);\n }\n sc.close();\n }\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
for(int i = 0;i < 3000;++i){
int a = sc.nextInt(),b = sc.nextInt();
if(a == 0 && b == 0) break;
System.out.printf("%d %d\n",a < b ? a : b,a < b ? b : a);
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
42,
4,
18,
13,
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,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
9,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
24,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
24,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
51,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
16,
77
],
[
77,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\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\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}",
"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",
"if (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\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\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\twhile (sc.hasNext()) {\n\t\t\t\tint x = Integer.parseInt(sc.next());\n\t\t\t\tint y = Integer.parseInt(sc.next());\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else if (x < y) {\n\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t}\n\t\t\t}\n\t\t\tsc.close();\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int x = Integer.parseInt(sc.next());
int y = Integer.parseInt(sc.next());
if (x == 0 && y == 0) {
break;
} else if (x < y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
}
sc.close();
} catch (Exception e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
13,
4,
18,
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
],
[
134,
8
],
[
134,
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
],
[
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
],
[
60,
61
],
[
59,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
83,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
82,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
92,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
92,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
107,
111
],
[
81,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
118,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
118,
123
],
[
118,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
11,
128
],
[
128,
129
],
[
129,
130
],
[
9,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> numList2 = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList1.size();i++) {\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> numList2 = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList1.size();i++) {\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\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\n\t\tArrayList<Integer> numList1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> numList2 = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList1.size();i++) {\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<Integer> numList1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> numList2 = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList1.size();i++) {\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<Integer> numList1 = new ArrayList<Integer>();",
"numList1",
"new ArrayList<Integer>()",
"ArrayList<Integer> numList2 = new ArrayList<Integer>();",
"numList2",
"new ArrayList<Integer>()",
"while (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}",
"String[] lines = sc.nextLine().split(\" \");",
"lines",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int num1 = Integer.parseInt(lines[0]);",
"num1",
"Integer.parseInt(lines[0])",
"Integer.parseInt",
"Integer",
"lines[0]",
"lines",
"0",
"int num2 = Integer.parseInt(lines[1]);",
"num2",
"Integer.parseInt(lines[1])",
"Integer.parseInt",
"Integer",
"lines[1]",
"lines",
"1",
"if(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(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}",
"break;",
"{\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}",
"numList1.add(num1)",
"numList1.add",
"numList1",
"num1",
"numList2.add(num2)",
"numList2.add",
"numList2",
"num2",
"for(int i = 0;i < numList1.size();i++) {\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numList1.size()",
"i",
"numList1.size()",
"numList1.size",
"numList1",
"i++",
"i++",
"i",
"{\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\n\t\t}",
"{\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\n\t\t}",
"if(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}",
"numList1.get(i) > numList2.get(i)",
"numList1.get(i)",
"numList1.get",
"numList1",
"i",
"numList2.get(i)",
"numList2.get",
"numList2",
"i",
"{\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}",
"int x = numList1.get(i);",
"x",
"numList1.get(i)",
"numList1.get",
"numList1",
"i",
"numList1.set(i, numList2.get(i))",
"numList1.set",
"numList1",
"i",
"numList2.get(i)",
"numList2.get",
"numList2",
"i",
"numList2.set(i, x)",
"numList2.set",
"numList2",
"i",
"x",
"System.out.println(numList1.get(i) + \" \" + numList2.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"numList1.get(i) + \" \" + numList2.get(i)",
"numList1.get(i) + \" \" + numList2.get(i)",
"numList1.get(i)",
"numList1.get",
"numList1",
"i",
"\" \"",
"numList2.get(i)",
"numList2.get",
"numList2",
"i",
"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\n\t\tArrayList<Integer> numList1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> numList2 = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList1.size();i++) {\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\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\n\t\tArrayList<Integer> numList1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> numList2 = new ArrayList<Integer>();\n\n\t\twhile (true) {\n\t\t\tString[] lines = sc.nextLine().split(\" \");\n\t\t\tint num1 = Integer.parseInt(lines[0]);\n\t\t\tint num2 = Integer.parseInt(lines[1]);\n\t\t\tif(num1 == 0 && num2 == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tnumList1.add(num1);\n\t\t\t\tnumList2.add(num2);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0;i < numList1.size();i++) {\n\t\t\tif(numList1.get(i) > numList2.get(i)) {\n\t\t\t\tint x = numList1.get(i);\n\t\t\t\tnumList1.set(i, numList2.get(i));\n\t\t\t\tnumList2.set(i, x);\n\t\t\t}\n\t\t\tSystem.out.println(numList1.get(i) + \" \" + numList2.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Integer> numList1 = new ArrayList<Integer>();
ArrayList<Integer> numList2 = new ArrayList<Integer>();
while (true) {
String[] lines = sc.nextLine().split(" ");
int num1 = Integer.parseInt(lines[0]);
int num2 = Integer.parseInt(lines[1]);
if(num1 == 0 && num2 == 0) {
break;
} else {
numList1.add(num1);
numList2.add(num2);
}
}
for(int i = 0;i < numList1.size();i++) {
if(numList1.get(i) > numList2.get(i)) {
int x = numList1.get(i);
numList1.set(i, numList2.get(i));
numList2.set(i, x);
}
System.out.println(numList1.get(i) + " " + numList2.get(i));
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
41,
13,
41,
13,
38,
5,
13,
30,
4,
18,
13,
30,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
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,
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
],
[
117,
11
],
[
117,
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
],
[
14,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
50,
51
],
[
39,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
39,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
39,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
39,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
83,
89
],
[
81,
90
],
[
79,
91
],
[
74,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
97,
103
],
[
95,
104
],
[
93,
105
],
[
36,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
112,
113
],
[
12,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder output = new StringBuilder();\n\t\tint a,b;\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\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\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder output = new StringBuilder();\n\t\tint a,b;\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder output = new StringBuilder();\n\t\tint a,b;\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder output = new StringBuilder();\n\t\tint a,b;\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String str;",
"str",
"String[] arrStr;",
"arrStr",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"int a",
"a",
"b;",
"b",
"try {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\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\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\n\t\t}",
"while(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"if(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"str.equals(\"0 0\")",
"str.equals",
"str",
"\"0 0\"",
"{\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"arrStr = str.split(\" \")",
"arrStr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"a = Integer.parseInt(arrStr[0])",
"a",
"Integer.parseInt(arrStr[0])",
"Integer.parseInt",
"Integer",
"arrStr[0]",
"arrStr",
"0",
"b = Integer.parseInt(arrStr[1])",
"b",
"Integer.parseInt(arrStr[1])",
"Integer.parseInt",
"Integer",
"arrStr[1]",
"arrStr",
"1",
"if(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}",
"a<b",
"a",
"b",
"{\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}",
"output.append(a).append(\" \").append(b).append(\"\\n\")",
"output.append(a).append(\" \").append(b).append",
"output.append(a).append(\" \").append(b)",
"output.append(a).append(\" \").append",
"output.append(a).append(\" \")",
"output.append(a).append",
"output.append(a)",
"output.append",
"output",
"a",
"\" \"",
"b",
"\"\\n\"",
"{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}",
"output.append(b).append(\" \").append(a).append(\"\\n\")",
"output.append(b).append(\" \").append(a).append",
"output.append(b).append(\" \").append(a)",
"output.append(b).append(\" \").append",
"output.append(b).append(\" \")",
"output.append(b).append",
"output.append(b)",
"output.append",
"output",
"b",
"\" \"",
"a",
"\"\\n\"",
"System.out.print(output.toString())",
"System.out.print",
"System.out",
"System",
"System.out",
"output.toString()",
"output.toString",
"output",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder output = new StringBuilder();\n\t\tint a,b;\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString str;\n\t\tString[] arrStr;\n\t\tStringBuilder output = new StringBuilder();\n\t\tint a,b;\n\t\ttry {\n\n\t\t\twhile(true){\n\t\t\t\tstr = br.readLine();\n\n\t\t\t\tif(str.equals(\"0 0\")){\n\t\t\t\t\t// ??????\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tarrStr = str.split(\" \");\n\t\t\t\ta = Integer.parseInt(arrStr[0]);\n\t\t\t\tb = Integer.parseInt(arrStr[1]);\n\n\t\t\t\tif(a<b){\n\t\t\t\t\toutput.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t\t}else{\n\t\t\t\t\toutput.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.print(output.toString());\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\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) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str;
String[] arrStr;
StringBuilder output = new StringBuilder();
int a,b;
try {
while(true){
str = br.readLine();
if(str.equals("0 0")){
// ??????
break;
}
arrStr = str.split(" ");
a = Integer.parseInt(arrStr[0]);
b = Integer.parseInt(arrStr[1]);
if(a<b){
output.append(a).append(" ").append(b).append("\n");
}else{
output.append(b).append(" ").append(a).append("\n");
}
}
System.out.print(output.toString());
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
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,
14,
2,
4,
18,
18,
13,
17,
17,
4,
18,
18,
13,
17,
17,
3,
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,
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
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
28,
33
],
[
27,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
26,
40
],
[
17,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
17,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
17,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
67,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
67,
71
],
[
57,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
78,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
78,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
6,
89
],
[
89,
90
]
] | [
"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[] a=br.readLine().split(\" \");\n\t\t\tif(a[0].equals(\"0\")&&a[1].equals(\"0\")) break;\n\t int x=Integer.parseInt(a[0]);\n\t int y=Integer.parseInt(a[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[] a=br.readLine().split(\" \");\n\t\t\tif(a[0].equals(\"0\")&&a[1].equals(\"0\")) break;\n\t int x=Integer.parseInt(a[0]);\n\t int y=Integer.parseInt(a[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[] a=br.readLine().split(\" \");\n\t\t\tif(a[0].equals(\"0\")&&a[1].equals(\"0\")) break;\n\t int x=Integer.parseInt(a[0]);\n\t int y=Integer.parseInt(a[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[] a=br.readLine().split(\" \");\n\t\t\tif(a[0].equals(\"0\")&&a[1].equals(\"0\")) break;\n\t int x=Integer.parseInt(a[0]);\n\t int y=Integer.parseInt(a[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[] a=br.readLine().split(\" \");\n\t\t\tif(a[0].equals(\"0\")&&a[1].equals(\"0\")) break;\n\t int x=Integer.parseInt(a[0]);\n\t int y=Integer.parseInt(a[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[] a=br.readLine().split(\" \");\n\t\t\tif(a[0].equals(\"0\")&&a[1].equals(\"0\")) break;\n\t int x=Integer.parseInt(a[0]);\n\t int y=Integer.parseInt(a[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[] a=br.readLine().split(\" \");",
"a",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"if(a[0].equals(\"0\")&&a[1].equals(\"0\")) break;",
"a[0].equals(\"0\")&&a[1].equals(\"0\")",
"a[0].equals(\"0\")",
"a[0].equals",
"a[0]",
"a",
"0",
"\"0\"",
"a[1].equals(\"0\")",
"a[1].equals",
"a[1]",
"a",
"1",
"\"0\"",
"break;",
"int x=Integer.parseInt(a[0]);",
"x",
"Integer.parseInt(a[0])",
"Integer.parseInt",
"Integer",
"a[0]",
"a",
"0",
"int y=Integer.parseInt(a[1]);",
"y",
"Integer.parseInt(a[1])",
"Integer.parseInt",
"Integer",
"a[1]",
"a",
"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[] a=br.readLine().split(" ");
if(a[0].equals("0")&&a[1].equals("0")) break;
int x=Integer.parseInt(a[0]);
int y=Integer.parseInt(a[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,
11,
1,
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,
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
],
[
62,
5
],
[
62,
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
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
15,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (; ;) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x + \" \" + y);\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 stdIn = new Scanner(System.in);\n\n\t\tfor (; ;) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\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\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (; ;) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (; ;) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"for (; ;) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
";",
"{\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"{\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"int x = stdIn.nextInt();",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int y = stdIn.nextInt();",
"y",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"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\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}",
"int t = y;",
"t",
"y",
"y = x",
"y",
"x",
"x = t",
"x",
"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) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (; ;) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tfor (; ;) {\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\t\n\t\t\tif (x == 0 && y == 0) break;\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\tint t = y;\n\t\t\t\ty = x;\n\t\t\t\tx = t;\n\t\t\t}\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 stdIn = new Scanner(System.in);
for (; ;) {
int x = stdIn.nextInt();
int y = stdIn.nextInt();
if (x == 0 && y == 0) break;
if (x > y) {
int t = y;
y = x;
x = t;
}
System.out.println(x + " " + y);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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,
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
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
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
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
39,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
59,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.util.Scanner;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint a, b;\n\t\tScanner inp = new Scanner(System.in);\n\t\twhile( true )\n\t\t{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint a, b;\n\t\tScanner inp = new Scanner(System.in);\n\t\twhile( true )\n\t\t{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\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[])\n\t{\n\t\tint a, b;\n\t\tScanner inp = new Scanner(System.in);\n\t\twhile( true )\n\t\t{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tint a, b;\n\t\tScanner inp = new Scanner(System.in);\n\t\twhile( true )\n\t\t{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}",
"int a",
"a",
"b;",
"b",
"Scanner inp = new Scanner(System.in);",
"inp",
"new Scanner(System.in)",
"while( true )\n\t\t{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}",
"a = inp.nextInt()",
"a",
"inp.nextInt()",
"inp.nextInt",
"inp",
"b = inp.nextInt()",
"b",
"inp.nextInt()",
"inp.nextInt",
"inp",
"if(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"{\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}",
"if(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.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{\n\tpublic static void main(String args[])\n\t{\n\t\tint a, b;\n\t\tScanner inp = new Scanner(System.in);\n\t\twhile( true )\n\t\t{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tint a, b;\n\t\tScanner inp = new Scanner(System.in);\n\t\twhile( true )\n\t\t{\n\t\t\ta = inp.nextInt();\n\t\t\tb = inp.nextInt();\n\t\t\tif(a == 0 && b == 0)\n\t\t\t\tbreak;\n\t\t\telse {\n\t\t\t\tif(a > b)\n\t\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String args[])
{
int a, b;
Scanner inp = new Scanner(System.in);
while( true )
{
a = inp.nextInt();
b = inp.nextInt();
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
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,
3,
4,
18,
13,
13,
0,
13,
20,
4,
18,
4,
18,
4,
18,
13,
18,
13,
17,
17,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
33,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
48,
60
],
[
33,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
33,
65
],
[
65,
66
],
[
65,
67
],
[
33,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
68,
79
],
[
79,
80
],
[
79,
81
],
[
33,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
88,
89
],
[
11,
90
],
[
90,
91
],
[
91,
92
],
[
9,
93
],
[
93,
94
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int xy[] = new int[2];\n StringBuilder sb;\n for(int j=1; j<=10000; j++){\n xy[0] = sc.nextInt();\n xy[1] = sc.nextInt();\n if(xy[0]==0 && xy[1]==0) break;\n Arrays.sort(xy);\n sb = new StringBuilder();\n sb.append(xy[0]).append(\" \").append(xy[1]);\n System.out.println(sb.toString());\n }\n sc.close();\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int xy[] = new int[2];\n StringBuilder sb;\n for(int j=1; j<=10000; j++){\n xy[0] = sc.nextInt();\n xy[1] = sc.nextInt();\n if(xy[0]==0 && xy[1]==0) break;\n Arrays.sort(xy);\n sb = new StringBuilder();\n sb.append(xy[0]).append(\" \").append(xy[1]);\n System.out.println(sb.toString());\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int xy[] = new int[2];\n StringBuilder sb;\n for(int j=1; j<=10000; j++){\n xy[0] = sc.nextInt();\n xy[1] = sc.nextInt();\n if(xy[0]==0 && xy[1]==0) break;\n Arrays.sort(xy);\n sb = new StringBuilder();\n sb.append(xy[0]).append(\" \").append(xy[1]);\n System.out.println(sb.toString());\n }\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int xy[] = new int[2];\n StringBuilder sb;\n for(int j=1; j<=10000; j++){\n xy[0] = sc.nextInt();\n xy[1] = sc.nextInt();\n if(xy[0]==0 && xy[1]==0) break;\n Arrays.sort(xy);\n sb = new StringBuilder();\n sb.append(xy[0]).append(\" \").append(xy[1]);\n System.out.println(sb.toString());\n }\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int xy[] = new int[2];",
"xy",
"new int[2]",
"2",
"StringBuilder sb;",
"sb",
"for(int j=1; j<=10000; j++){\n xy[0] = sc.nextInt();\n xy[1] = sc.nextInt();\n if(xy[0]==0 && xy[1]==0) break;\n Arrays.sort(xy);\n sb = new StringBuilder();\n sb.append(xy[0]).append(\" \").append(xy[1]);\n System.out.println(sb.toString());\n }",
"int j=1;",
"int j=1;",
"j",
"1",
"j<=10000",
"j",
"10000",
"j++",
"j++",
"j",
"{\n xy[0] = sc.nextInt();\n xy[1] = sc.nextInt();\n if(xy[0]==0 && xy[1]==0) break;\n Arrays.sort(xy);\n sb = new StringBuilder();\n sb.append(xy[0]).append(\" \").append(xy[1]);\n System.out.println(sb.toString());\n }",
"{\n xy[0] = sc.nextInt();\n xy[1] = sc.nextInt();\n if(xy[0]==0 && xy[1]==0) break;\n Arrays.sort(xy);\n sb = new StringBuilder();\n sb.append(xy[0]).append(\" \").append(xy[1]);\n System.out.println(sb.toString());\n }",
"xy[0] = sc.nextInt()",
"xy[0]",
"xy",
"0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"xy[1] = sc.nextInt()",
"xy[1]",
"xy",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(xy[0]==0 && xy[1]==0) break;",
"xy[0]==0 && xy[1]==0",
"xy[0]==0",
"xy[0]",
"xy",
"0",
"0",
"xy[1]==0",
"xy[1]",
"xy",
"1",
"0",
"break;",
"Arrays.sort(xy)",
"Arrays.sort",
"Arrays",
"xy",
"sb = new StringBuilder()",
"sb",
"new StringBuilder()",
"sb.append(xy[0]).append(\" \").append(xy[1])",
"sb.append(xy[0]).append(\" \").append",
"sb.append(xy[0]).append(\" \")",
"sb.append(xy[0]).append",
"sb.append(xy[0])",
"sb.append",
"sb",
"xy[0]",
"xy",
"0",
"\" \"",
"xy[1]",
"xy",
"1",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"sc.close()",
"sc.close",
"sc",
"String args[]",
"args"
] | import java.util.Arrays;
import java.util.Scanner;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int xy[] = new int[2];
StringBuilder sb;
for(int j=1; j<=10000; j++){
xy[0] = sc.nextInt();
xy[1] = sc.nextInt();
if(xy[0]==0 && xy[1]==0) break;
Arrays.sort(xy);
sb = new StringBuilder();
sb.append(xy[0]).append(" ").append(xy[1]);
System.out.println(sb.toString());
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
17,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
10,
12
],
[
9,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
19,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
19,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
19,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
19,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
56,
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
],
[
82,
84
],
[
82,
85
],
[
71,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
93,
93
],
[
93,
94
],
[
93,
95
],
[
93,
96
],
[
19,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
6,
103
],
[
103,
104
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\twhile(true){\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}\n\t\t} catch(Exception e){\n\t\t}\n\t} \n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\twhile(true){\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}\n\t\t} catch(Exception e){\n\t\t}\n\t} \n}",
"Main",
"public static void main(String[] args) {\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\twhile(true){\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}\n\t\t} catch(Exception e){\n\t\t}\n\t}",
"main",
"{\n\t\ttry{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\twhile(true){\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}\n\t\t} catch(Exception e){\n\t\t}\n\t}",
"try{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\twhile(true){\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}\n\t\t} catch(Exception e){\n\t\t}",
"catch(Exception e){\n\t\t}",
"Exception e",
"{\n\t\t}",
"{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\t\n\t\t\twhile(true){\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}",
"true",
"{\n\t\t\t String buf = br.readLine();\n\n\t\t\t String[] line = buf.split(\" \");\n\t\t\t int x = Integer.parseInt(line[0]);\n\t\t\t int y = Integer.parseInt(line[1]);\t\t\t\n\t\t\t\tif( x ==0 && y == 0) break;\n\t\t\t\tif( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t\t}",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"String[] line = buf.split(\" \");",
"line",
"buf.split(\" \")",
"buf.split",
"buf",
"\" \"",
"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) break;",
"x ==0 && y == 0",
"x ==0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if( x > y){\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t} else if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\t\tSystem.out.print(y+\" \"+x);\n\t\t\t\t}",
"System.out.print(y+\" \"+x)",
"System.out.print",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"if( x < y ){\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t} else {\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}",
"System.out.print(x+\" \"+y)",
"System.out.print",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"{\n\t\t\t\t\tSystem.out.print(x+\" \"+y);\n\t\t\t\t}",
"System.out.print(x+\" \"+y)",
"System.out.print",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"System.out.print(\"\\n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"\\n\"",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) {
try{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String buf = br.readLine();
String[] line = buf.split(" ");
int x = Integer.parseInt(line[0]);
int y = Integer.parseInt(line[1]);
if( x ==0 && y == 0) break;
if( x > y){
System.out.print(y+" "+x);
} else if( x < y ){
System.out.print(x+" "+y);
} else {
System.out.print(x+" "+y);
}
System.out.print("\n");
}
} catch(Exception e){
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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,
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
],
[
36,
37
],
[
36,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
39,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
6,
53
],
[
53,
54
]
] | [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(x<y?(x+\" \"+y):(y+\" \"+x));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(x<y?(x+\" \"+y):(y+\" \"+x));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(x<y?(x+\" \"+y):(y+\" \"+x));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(x<y?(x+\" \"+y):(y+\" \"+x));\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"while(true){\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(x<y?(x+\" \"+y):(y+\" \"+x));\n\t\t}",
"true",
"{\n\t\t\tint x = stdIn.nextInt();\n\t\t\tint y = stdIn.nextInt();\n\t\t\tif(x==0 && y==0)\n\t\t\t\tbreak;\n\t\t\tSystem.out.println(x<y?(x+\" \"+y):(y+\" \"+x));\n\t\t}",
"int x = stdIn.nextInt();",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"int y = stdIn.nextInt();",
"y",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"if(x==0 && y==0)\n\t\t\t\tbreak;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"System.out.println(x<y?(x+\" \"+y):(y+\" \"+x))",
"System.out.println",
"System.out",
"System",
"System.out",
"x<y?(x+\" \"+y):(y+\" \"+x)",
"x<y",
"x",
"y",
"(x+\" \"+y)",
"x+\" \"+y",
"x",
"\" \"",
"y",
"(y+\" \"+x)",
"y+\" \"+x",
"y",
"\" \"",
"x",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
while(true){
int x = stdIn.nextInt();
int y = stdIn.nextInt();
if(x==0 && y==0)
break;
System.out.println(x<y?(x+" "+y):(y+" "+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,
30,
4,
18,
13,
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
],
[
65,
5
],
[
65,
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
],
[
34,
35
],
[
35,
36
],
[
33,
37
],
[
14,
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
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
6,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\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\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\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\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\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\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\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)",
"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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\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",
"if (x == 0 && y ==0) {\n\t\t\t\tsc.close();\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}",
"sc.close()",
"sc.close",
"sc",
"break;",
"if (x > y) {\n\t\t\t\tint tmp = 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 = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}",
"int 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",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\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\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\tsc.close();\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tint tmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\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);
while (true) {
int x = sc.nextInt();
int y = sc.nextInt();
if (x == 0 && y ==0) {
sc.close();
break;
}
if (x > y) {
int tmp = x;
x = y;
y = tmp;
}
System.out.println(x + " " + y);
}
}
} |
[
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,
14,
4,
18,
17,
13,
3,
4,
18,
13,
13,
41,
13,
17,
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,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
112,
14
],
[
112,
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
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
32,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
17,
42
],
[
42,
43
],
[
42,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
45,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
62,
68
],
[
59,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
74,
76
],
[
59,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
82,
84
],
[
59,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
89,
96
],
[
96,
97
],
[
96,
98
],
[
59,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
105,
105
],
[
105,
106
],
[
105,
107
],
[
105,
108
],
[
15,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\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\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tint swap = 0 ;\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\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",
"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\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tint swap = 0 ;\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\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\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tint swap = 0 ;\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tint swap = 0 ;\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\n\t}",
"BufferedReader br =new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"while (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if (\"0 0\".equals(str)) break;",
"\"0 0\".equals(str)",
"\"0 0\".equals",
"\"0 0\"",
"str",
"break;",
"list.add(str)",
"list.add",
"list",
"str",
"int swap = 0 ;",
"swap",
"0",
"for (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}",
"{\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}",
"String[] stra = list.get(i).split(\" \");",
"stra",
"list.get(i).split(\" \")",
"list.get(i).split",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"int a = Integer.parseInt(stra[0]);",
"a",
"Integer.parseInt(stra[0])",
"Integer.parseInt",
"Integer",
"stra[0]",
"stra",
"0",
"int b = Integer.parseInt(stra[1]);",
"b",
"Integer.parseInt(stra[1])",
"Integer.parseInt",
"Integer",
"stra[1]",
"stra",
"1",
"if(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}",
"b < a",
"b",
"a",
"{\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}",
"swap = a",
"swap",
"a",
"a = b",
"a",
"b",
"b = swap",
"b",
"swap",
"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\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tint swap = 0 ;\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\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\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\twhile (true){\n\t\t\tString str = br.readLine();\n\t\t\tif (\"0 0\".equals(str)) break;\n\t\t\tlist.add(str);\n\t\t}\n\t\tint swap = 0 ;\n\t\tfor (int i = 0 ;i < list.size() ; i++){\n\t\t\tString[] stra = list.get(i).split(\" \");\n\t\t\tint a = Integer.parseInt(stra[0]);\n\t\t\tint b = Integer.parseInt(stra[1]);\n\t\t\tif(b < a){\n\t\t\t\tswap = a ;\n\t\t\t\ta = b ;\n\t\t\t\tb = swap;\n\t\t\t}\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\n\t}\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) throws IOException{
BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
ArrayList<String> list = new ArrayList<String>();
while (true){
String str = br.readLine();
if ("0 0".equals(str)) break;
list.add(str);
}
int swap = 0 ;
for (int i = 0 ;i < list.size() ; i++){
String[] stra = list.get(i).split(" ");
int a = Integer.parseInt(stra[0]);
int b = Integer.parseInt(stra[1]);
if(b < a){
swap = a ;
a = b ;
b = swap;
}
System.out.println(a + " " + b);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
20,
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,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
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
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
40,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
6,
64
],
[
64,
65
]
] | [
"import java.util.Scanner;\n\nclass Main{\n public static void main(String[] a){\n \tint x, y ,tmp;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tx = in.nextInt();\n \ty = in.nextInt();\n \tif(x == 0 && y == 0) break;\n \tif(x<y)\n \tSystem.out.println(x + \" \" + y);\n else\n \tSystem.out.println(y + \" \" + x);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] a){\n \tint x, y ,tmp;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tx = in.nextInt();\n \ty = in.nextInt();\n \tif(x == 0 && y == 0) break;\n \tif(x<y)\n \tSystem.out.println(x + \" \" + y);\n else\n \tSystem.out.println(y + \" \" + x);\n }\n }\n}",
"Main",
"public static void main(String[] a){\n \tint x, y ,tmp;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tx = in.nextInt();\n \ty = in.nextInt();\n \tif(x == 0 && y == 0) break;\n \tif(x<y)\n \tSystem.out.println(x + \" \" + y);\n else\n \tSystem.out.println(y + \" \" + x);\n }\n }",
"main",
"{\n \tint x, y ,tmp;\n \tScanner in = new Scanner(System.in);\n while (true){\n \tx = in.nextInt();\n \ty = in.nextInt();\n \tif(x == 0 && y == 0) break;\n \tif(x<y)\n \tSystem.out.println(x + \" \" + y);\n else\n \tSystem.out.println(y + \" \" + x);\n }\n }",
"int x",
"x",
"y",
"y",
"tmp;",
"tmp",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while (true){\n \tx = in.nextInt();\n \ty = in.nextInt();\n \tif(x == 0 && y == 0) break;\n \tif(x<y)\n \tSystem.out.println(x + \" \" + y);\n else\n \tSystem.out.println(y + \" \" + x);\n }",
"true",
"{\n \tx = in.nextInt();\n \ty = in.nextInt();\n \tif(x == 0 && y == 0) break;\n \tif(x<y)\n \tSystem.out.println(x + \" \" + y);\n else\n \tSystem.out.println(y + \" \" + x);\n }",
"x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"y = in.nextInt()",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"if(x == 0 && y == 0) break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if(x<y)\n \tSystem.out.println(x + \" \" + y);\n else\n \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",
"String[] a",
"a"
] | import java.util.Scanner;
class Main{
public static void main(String[] a){
int x, y ,tmp;
Scanner in = new Scanner(System.in);
while (true){
x = in.nextInt();
y = in.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,
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,
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
],
[
72,
5
],
[
72,
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
],
[
51,
53
],
[
49,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
45,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(int i=1;;i++){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(int i=1;;i++){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(int i=1;;i++){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(int i=1;;i++){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"for(int i=1;;i++){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}",
"{\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\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)break;",
"a==0&&b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"if(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.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\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(int i=1;;i++){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(int i=1;;i++){\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\tif(a<b)\n\t\t\t\tSystem.out.println(a+\" \"+b);\n\t\t\telse\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a,b;
for(int i=1;;i++){
a = sc.nextInt();
b = sc.nextInt();
if(a==0&&b==0)break;
if(a<b)
System.out.println(a+" "+b);
else
System.out.println(b+" "+a);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
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,
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
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
11,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
17,
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
],
[
17,
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
],
[
17,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint change;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.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\tif(x > y){\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x +\" \"+y);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tint change;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.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\tif(x > y){\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\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\tint change;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.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\tif(x > y){\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x +\" \"+y);\n\t\t}\n\t}",
"main",
"{\n\t\tint change;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.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\tif(x > y){\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x +\" \"+y);\n\t\t}\n\t}",
"int change;",
"change",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(;;){\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.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\tif(x > y){\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\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\t\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\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\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\t\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\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\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",
"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\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}",
"change = x",
"change",
"x",
"x = y",
"x",
"y",
"y = change",
"y",
"change",
"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\tint change;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.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\tif(x > y){\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\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\tint change;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfor(;;){\n\t\t\tint x = sc.nextInt();\n\t\t\tint y = sc.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\tif(x > y){\n\t\t\t\tchange = x;\n\t\t\t\tx = y;\n\t\t\t\ty = change;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(x +\" \"+y);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
int change;
Scanner sc = new Scanner(System.in);
for(;;){
int x = sc.nextInt();
int y = sc.nextInt();
if(x == 0 && y == 0)
break;
if(x > y){
change = x;
x = y;
y = change;
}
System.out.println(x +" "+y);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
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,
30,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
13,
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
],
[
80,
5
],
[
80,
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
],
[
15,
20
],
[
20,
21
],
[
20,
22
],
[
15,
23
],
[
23,
24
],
[
24,
25
],
[
15,
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
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
59,
60
],
[
59,
61
],
[
27,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
73,
73
],
[
73,
74
],
[
73,
75
],
[
73,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint z= 0;\n\t\tfor(int a=1;a>0;a++){\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\t}\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}\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}",
"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 z= 0;\n\t\tfor(int a=1;a>0;a++){\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\t}\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}\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 scan = new Scanner(System.in);\n\t\tint z= 0;\n\t\tfor(int a=1;a>0;a++){\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\t}\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}\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 scan = new Scanner(System.in);\n\t\tint z= 0;\n\t\tfor(int a=1;a>0;a++){\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\t}\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}\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 scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int z= 0;",
"z",
"0",
"for(int a=1;a>0;a++){\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\t}\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}\n\t\t\tif(x<=y){\n\t\t\t\tSystem.out.println(x +\" \"+ y);\n\t\t\t}\n\t\t}",
"int a=1;",
"int a=1;",
"a",
"1",
"a>0",
"a",
"0",
"a++",
"a++",
"a",
"{\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\t}\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}\n\t\t\tif(x<=y){\n\t\t\t\tSystem.out.println(x +\" \"+ y);\n\t\t\t}\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\t}\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}\n\t\t\tif(x<=y){\n\t\t\t\tSystem.out.println(x +\" \"+ y);\n\t\t\t}\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;\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\tz = x;\n\t\t\t\tx = y;\n\t\t\t\ty = z;\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",
"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",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint z= 0;\n\t\tfor(int a=1;a>0;a++){\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\t}\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}\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 scan = new Scanner(System.in);\n\t\tint z= 0;\n\t\tfor(int a=1;a>0;a++){\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\t}\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}\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 scan = new Scanner(System.in);
int z= 0;
for(int a=1;a>0;a++){
int x = scan.nextInt();
int y = scan.nextInt();
if(x==0 && y==0){
break;
}
if(x>y){
z = x;
x = y;
y = z;
}
if(x<=y){
System.out.println(x +" "+ y);
}
}
}
} |
[
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,
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
],
[
83,
5
],
[
83,
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
],
[
24,
27
],
[
16,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
16,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
16,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
16,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
54,
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
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}\n }",
"main",
"{\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}",
"scan.hasNext()",
"scan.hasNext",
"scan",
"{\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}",
"String input = scan.nextLine();",
"input",
"scan.nextLine()",
"scan.nextLine",
"scan",
"String[] inputs = input.split(\" \");",
"inputs",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int x = Integer.parseInt(inputs[0]);",
"x",
"Integer.parseInt(inputs[0])",
"Integer.parseInt",
"Integer",
"inputs[0]",
"inputs",
"0",
"int y = Integer.parseInt(inputs[1]);",
"y",
"Integer.parseInt(inputs[1])",
"Integer.parseInt",
"Integer",
"inputs[1]",
"inputs",
"1",
"if (x == 0 && y == 0) {\n\t\tbreak;\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\tSystem.out.println(x + \" \" + y);\n\t } else {\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",
"{\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",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}\n }\n}",
"public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile(scan.hasNext()) {\n\t String input = scan.nextLine();\n\t String[] inputs = input.split(\" \");\n\t int x = Integer.parseInt(inputs[0]);\n\t int y = Integer.parseInt(inputs[1]);\n\t if (x == 0 && y == 0) {\n\t\tbreak;\n\t }\n\t if (x < y) {\n\t\tSystem.out.println(x + \" \" + y);\n\t } else {\n\t\tSystem.out.println(y + \" \" + x);\n\t }\n\t}\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(scan.hasNext()) {
String input = scan.nextLine();
String[] inputs = input.split(" ");
int x = Integer.parseInt(inputs[0]);
int y = Integer.parseInt(inputs[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,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
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
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num1 = 1, num2 = 1;\n\n\n\t\twhile (true) {\n\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tif((num1 ==0) && (num2 ==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t\tif(num1 > num2){\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num1 = 1, num2 = 1;\n\n\n\t\twhile (true) {\n\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tif((num1 ==0) && (num2 ==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t\tif(num1 > num2){\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num1 = 1, num2 = 1;\n\n\n\t\twhile (true) {\n\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tif((num1 ==0) && (num2 ==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t\tif(num1 > num2){\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint num1 = 1, num2 = 1;\n\n\n\t\twhile (true) {\n\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tif((num1 ==0) && (num2 ==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t\tif(num1 > num2){\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}\n\t\t}\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int num1 = 1",
"num1",
"1",
"num2 = 1;",
"num2",
"1",
"while (true) {\n\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tif((num1 ==0) && (num2 ==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t\tif(num1 > num2){\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}\n\t\t}",
"true",
"{\n\n\t\t\tnum1 = scan.nextInt();\n\t\t\tnum2 = scan.nextInt();\n\n\t\t\tif((num1 ==0) && (num2 ==0)){\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t\tif(num1 > num2){\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}\n\t\t}",
"num1 = scan.nextInt()",
"num1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"num2 = scan.nextInt()",
"num2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if((num1 ==0) && (num2 ==0)){\n\t\t\t\tbreak;\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}",
"break;",
"if(num1 > num2){\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}else {\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}",
"num1 > num2",
"num1",
"num2",
"{\n\t\t\t\tSystem.out.println(num2+\" \"+num1);\n\t\t\t}",
"System.out.println(num2+\" \"+num1)",
"System.out.println",
"System.out",
"System",
"System.out",
"num2+\" \"+num1",
"num2+\" \"+num1",
"num2",
"\" \"",
"num1",
"{\n\t\t\t\tSystem.out.println(num1+\" \"+num2);\n\t\t\t}",
"System.out.println(num1+\" \"+num2)",
"System.out.println",
"System.out",
"System",
"System.out",
"num1+\" \"+num2",
"num1+\" \"+num2",
"num1",
"\" \"",
"num2",
"String[] args",
"args"
] | import java.io.IOException;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner scan = new Scanner(System.in);
int num1 = 1, num2 = 1;
while (true) {
num1 = scan.nextInt();
num2 = scan.nextInt();
if((num1 ==0) && (num2 ==0)){
break;
}
if(num1 > num2){
System.out.println(num2+" "+num1);
}else {
System.out.println(num1+" "+num2);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
13,
17,
2,
13,
17,
30,
0,
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,
30,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
101,
8
],
[
101,
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
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
27,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
27,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
78,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
67,
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
],
[
9,
98
],
[
98,
99
],
[
0,
100
],
[
100,
101
],
[
100,
102
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tboolean end = false;\n\n\t\twhile (!end) {\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tboolean end = false;\n\n\t\twhile (!end) {\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tboolean end = false;\n\n\t\twhile (!end) {\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tboolean end = false;\n\n\t\twhile (!end) {\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}\n\t}",
"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",
"boolean end = false;",
"end",
"false",
"while (!end) {\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}",
"!end",
"end",
"{\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}",
"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 == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tend = true;\n\t\t\t}",
"end = true",
"end",
"true",
"if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\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",
"if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\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\t// ???????????????????????????????????\\???????????????\n\t\t\t}",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tboolean end = false;\n\n\t\twhile (!end) {\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tboolean end = false;\n\n\t\twhile (!end) {\n\t\t\tString temp = br.readLine();\n\t\t\tString[] numbers = temp.split(\" \");\n\t\t\tx = Integer.parseInt(numbers[0]);\n\t\t\ty = Integer.parseInt(numbers[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tend = true;\n\t\t\t} else if (x >= y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t} else {\n\t\t\t\t// ???????????????????????????????????\\???????????????\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int x = 0;
int y = 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 == 0) {
end = true;
} else if (x >= y) {
System.out.println(y + " " + x);
} else if (x < y) {
System.out.println(x + " " + y);
} else {
// ???????????????????????????????????\???????????????
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
100,
11
],
[
100,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
18,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
34,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
34,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
34,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
34,
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
],
[
82,
84
],
[
82,
85
],
[
71,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
93,
93
],
[
93,
94
],
[
93,
95
],
[
93,
96
],
[
12,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}",
"main",
"{\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"IOException e",
"{\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}",
"System.out.println(\"??¨??????:\"+e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"??¨??????:\"+e",
"\"??¨??????:\"",
"e",
"{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}",
"for(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}",
";",
"{\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}",
"{\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}",
"String str=reader.readLine();",
"str",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] str_Array=str.split(\" \");",
"str_Array",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int x=Integer.parseInt(str_Array[0]);",
"x",
"Integer.parseInt(str_Array[0])",
"Integer.parseInt",
"Integer",
"str_Array[0]",
"str_Array",
"0",
"int y=Integer.parseInt(str_Array[1]);",
"y",
"Integer.parseInt(str_Array[1])",
"Integer.parseInt",
"Integer",
"str_Array[1]",
"str_Array",
"1",
"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(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}",
"x>y",
"x",
"y",
"{System.out.println(y+\" \"+x);}",
"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(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args){\n\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\tfor(;;){\n\n\t\t\tString str=reader.readLine();\n\t\t\tString[] str_Array=str.split(\" \");\n\n\t\t\tint x=Integer.parseInt(str_Array[0]);\n\t\t\tint y=Integer.parseInt(str_Array[1]);\n\n\t\t\tif(x==0&&y==0)break;\n\n\t\t\tif(x>y){System.out.println(y+\" \"+x);}\n\t\t\telse{System.out.println(x+\" \"+y);}\n\n\t\t}\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main{
public static void main(String[] args){
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
try{
for(;;){
String str=reader.readLine();
String[] str_Array=str.split(" ");
int x=Integer.parseInt(str_Array[0]);
int y=Integer.parseInt(str_Array[1]);
if(x==0&&y==0)break;
if(x>y){System.out.println(y+" "+x);}
else{System.out.println(x+" "+y);}
}
}catch(IOException e){
System.out.println("??¨??????:"+e);
}
}
} |
[
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,
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,
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
],
[
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
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
35,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
52,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\n\t\t}\n\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\n\t\t}\n\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\n\t\t}\n\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\n\t\t}\n\tsc.close();\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\n\t\t}",
"{\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\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\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\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}",
"System.out.println(Math.min(x, y) + \" \" + Math.max(x, y))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(x, y) + \" \" + Math.max(x, y)",
"Math.min(x, y) + \" \" + Math.max(x, y)",
"Math.min(x, y)",
"Math.min",
"Math",
"x",
"y",
"\" \"",
"Math.max(x, y)",
"Math.max",
"Math",
"x",
"y",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\n\t\t}\n\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\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\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t\t}else{\n\t\t\t\tSystem.out.println(Math.min(x, y) + \" \" + Math.max(x, y));\n\t\t\t}\t\t\t\t\n\t\t}\n\tsc.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
for(int i = 1; i <= 10000; i++){
int x = sc.nextInt();
int y = sc.nextInt();
if(x == 0 && y == 0){
break;
}else{
System.out.println(Math.min(x, y) + " " + Math.max(x, y));
}
}
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
13,
30,
41,
13,
4,
18,
13,
17,
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,
0,
13,
17,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
111,
8
],
[
111,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
25,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
25,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
25,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
48,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
48,
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
],
[
64,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
64,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
60,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
93,
93
],
[
93,
94
],
[
93,
95
],
[
93,
96
],
[
86,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
86,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
9,
108
],
[
108,
109
],
[
0,
110
],
[
110,
111
],
[
110,
112
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tboolean zeroFlag = true;\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tboolean zeroFlag = true;\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tboolean zeroFlag = true;\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tboolean zeroFlag = true;\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\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 line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"boolean zeroFlag = true;",
"zeroFlag",
"true",
"while (zeroFlag) {\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}\n\t\t}",
"zeroFlag",
"{\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}\n\t\t}",
"String[] hikakuStr = line.split(\"[\\\\s]+\");",
"hikakuStr",
"line.split(\"[\\\\s]+\")",
"line.split",
"line",
"\"[\\\\s]+\"",
"int x = Integer.parseInt(hikakuStr[0]);",
"x",
"Integer.parseInt(hikakuStr[0])",
"Integer.parseInt",
"Integer",
"hikakuStr[0]",
"hikakuStr",
"0",
"int y = Integer.parseInt(hikakuStr[1]);",
"y",
"Integer.parseInt(hikakuStr[1])",
"Integer.parseInt",
"Integer",
"hikakuStr[1]",
"hikakuStr",
"1",
"if (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tzeroFlag = false;\n\t\t\t}",
"zeroFlag = false",
"zeroFlag",
"false",
"if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"hikakuStr = line.split(\"[\\\\s]+\")",
"hikakuStr",
"line.split(\"[\\\\s]+\")",
"line.split",
"line",
"\"[\\\\s]+\"",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"hikakuStr = line.split(\"[\\\\s]+\")",
"hikakuStr",
"line.split(\"[\\\\s]+\")",
"line.split",
"line",
"\"[\\\\s]+\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tboolean zeroFlag = true;\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\t\tboolean zeroFlag = true;\n\n\t\twhile (zeroFlag) {\n\t\t\tString[] hikakuStr = line.split(\"[\\\\s]+\");\n\t\t\tint x = Integer.parseInt(hikakuStr[0]);\n\t\t\tint y = Integer.parseInt(hikakuStr[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tzeroFlag = false;\n\t\t\t} else if (x < y) {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t} else {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\tline = br.readLine();\n\t\t\t\thikakuStr = line.split(\"[\\\\s]+\");\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String line = br.readLine();
boolean zeroFlag = true;
while (zeroFlag) {
String[] hikakuStr = line.split("[\\s]+");
int x = Integer.parseInt(hikakuStr[0]);
int y = Integer.parseInt(hikakuStr[1]);
if (x == 0 && y == 0) {
zeroFlag = false;
} else if (x < y) {
System.out.println(x + " " + y);
line = br.readLine();
hikakuStr = line.split("[\\s]+");
} else {
System.out.println(y + " " + x);
line = br.readLine();
hikakuStr = line.split("[\\s]+");
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
39,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
65,
8
],
[
65,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
17,
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
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
9,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}\n\t\tscan.close();\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}\n\t\tscan.close();\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true) {\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}",
"true",
"{\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}",
"int[] array = {scan.nextInt(), scan.nextInt()};",
"array",
"{scan.nextInt(), scan.nextInt()}",
"scan.nextInt()",
"scan.nextInt",
"scan",
"scan.nextInt()",
"scan.nextInt",
"scan",
"Arrays.sort(array)",
"Arrays.sort",
"Arrays",
"array",
"if(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"array[0] == 0 && array[1] == 0",
"array[0] == 0",
"array[0]",
"array",
"0",
"0",
"array[1] == 0",
"array[1]",
"array",
"1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(array[0] + \" \" + array[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"array[0] + \" \" + array[1]",
"array[0] + \" \" + array[1]",
"array[0]",
"array",
"0",
"\" \"",
"array[1]",
"array",
"1",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);;\n\t\twhile(true) {\n\t\t\tint[] array = {scan.nextInt(), scan.nextInt()};\n\t\t\tArrays.sort(array);\n\t\t\tif(array[0] == 0 && array[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tSystem.out.println(array[0] + \" \" + array[1]);\n\t\t}\n\t\tscan.close();\n\t}\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);;
while(true) {
int[] array = {scan.nextInt(), scan.nextInt()};
Arrays.sort(array);
if(array[0] == 0 && array[1] == 0) {
break;
}
System.out.println(array[0] + " " + array[1]);
}
scan.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
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,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
17,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
52,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
9,
64
],
[
64,
65
]
] | [
"import java.io.*;\nimport java.util.*;\nclass Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int x=Integer.parseInt(st.nextToken());\n int y=Integer.parseInt(st.nextToken());\n if(x==0&&y==0) break;\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int x=Integer.parseInt(st.nextToken());\n int y=Integer.parseInt(st.nextToken());\n if(x==0&&y==0) break;\n System.out.println(Math.min(x,y)+\" \"+Math.max(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 StringTokenizer st=new StringTokenizer(br.readLine());\n int x=Integer.parseInt(st.nextToken());\n int y=Integer.parseInt(st.nextToken());\n if(x==0&&y==0) break;\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int x=Integer.parseInt(st.nextToken());\n int y=Integer.parseInt(st.nextToken());\n if(x==0&&y==0) break;\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n StringTokenizer st=new StringTokenizer(br.readLine());\n int x=Integer.parseInt(st.nextToken());\n int y=Integer.parseInt(st.nextToken());\n if(x==0&&y==0) break;\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }",
"true",
"{\n StringTokenizer st=new StringTokenizer(br.readLine());\n int x=Integer.parseInt(st.nextToken());\n int y=Integer.parseInt(st.nextToken());\n if(x==0&&y==0) break;\n System.out.println(Math.min(x,y)+\" \"+Math.max(x,y));\n }",
"StringTokenizer st=new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"int x=Integer.parseInt(st.nextToken());",
"x",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"int y=Integer.parseInt(st.nextToken());",
"y",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"if(x==0&&y==0) break;",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"System.out.println(Math.min(x,y)+\" \"+Math.max(x,y))",
"System.out.println",
"System.out",
"System",
"System.out",
"Math.min(x,y)+\" \"+Math.max(x,y)",
"Math.min(x,y)+\" \"+Math.max(x,y)",
"Math.min(x,y)",
"Math.min",
"Math",
"x",
"y",
"\" \"",
"Math.max(x,y)",
"Math.max",
"Math",
"x",
"y",
"String[] args",
"args"
] | import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
while(true){
StringTokenizer st=new StringTokenizer(br.readLine());
int x=Integer.parseInt(st.nextToken());
int y=Integer.parseInt(st.nextToken());
if(x==0&&y==0) break;
System.out.println(Math.min(x,y)+" "+Math.max(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,
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
],
[
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
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
6,
65
],
[
65,
66
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while (true) {\n int a = in.nextInt();\n int b = in.nextInt();\n if (a == 0 && b == 0) {\n break;\n } else if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }\n \n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while (true) {\n int a = in.nextInt();\n int b = in.nextInt();\n if (a == 0 && b == 0) {\n break;\n } else if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }\n \n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n while (true) {\n int a = in.nextInt();\n int b = in.nextInt();\n if (a == 0 && b == 0) {\n break;\n } else if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }\n \n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n while (true) {\n int a = in.nextInt();\n int b = in.nextInt();\n if (a == 0 && b == 0) {\n break;\n } else if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }\n \n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while (true) {\n int a = in.nextInt();\n int b = in.nextInt();\n if (a == 0 && b == 0) {\n break;\n } else if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }\n \n }",
"true",
"{\n int a = in.nextInt();\n int b = in.nextInt();\n if (a == 0 && b == 0) {\n break;\n } else if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }\n \n }",
"int a = in.nextInt();",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"int b = in.nextInt();",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"if (a == 0 && b == 0) {\n break;\n } else if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n break;\n }",
"break;",
"if (a <= b) {\n System.out.println(a + \" \" + b);\n } else if (b <= a){\n System.out.println(b + \" \" + a);\n }",
"a <= b",
"a",
"b",
"{\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",
"if (b <= a){\n System.out.println(b + \" \" + a);\n }",
"b <= a",
"b",
"a",
"{\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",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (true) {
int a = in.nextInt();
int b = in.nextInt();
if (a == 0 && b == 0) {
break;
} else if (a <= b) {
System.out.println(a + " " + b);
} else if (b <= a){
System.out.println(b + " " + a);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
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
],
[
45,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
59,
66
],
[
66,
67
],
[
66,
68
],
[
20,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
75,
75
],
[
75,
76
],
[
75,
77
],
[
75,
78
],
[
12,
79
],
[
79,
80
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n \tString strArr[] = br.readLine().split(\" \");\n int a=Integer.parseInt(strArr[0]);\n int b=Integer.parseInt(strArr[1]);\n\n if(a==0 && b== 0){\n \tbreak;\n }\n else if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }\n System.out.println(a+\" \"+b);\n\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n public static void main(String[] args) throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n \tString strArr[] = br.readLine().split(\" \");\n int a=Integer.parseInt(strArr[0]);\n int b=Integer.parseInt(strArr[1]);\n\n if(a==0 && b== 0){\n \tbreak;\n }\n else if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }\n System.out.println(a+\" \"+b);\n\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n \tString strArr[] = br.readLine().split(\" \");\n int a=Integer.parseInt(strArr[0]);\n int b=Integer.parseInt(strArr[1]);\n\n if(a==0 && b== 0){\n \tbreak;\n }\n else if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }\n System.out.println(a+\" \"+b);\n\n }\n }",
"main",
"{\n \tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true){\n \tString strArr[] = br.readLine().split(\" \");\n int a=Integer.parseInt(strArr[0]);\n int b=Integer.parseInt(strArr[1]);\n\n if(a==0 && b== 0){\n \tbreak;\n }\n else if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }\n System.out.println(a+\" \"+b);\n\n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n \tString strArr[] = br.readLine().split(\" \");\n int a=Integer.parseInt(strArr[0]);\n int b=Integer.parseInt(strArr[1]);\n\n if(a==0 && b== 0){\n \tbreak;\n }\n else if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }\n System.out.println(a+\" \"+b);\n\n }",
"true",
"{\n \tString strArr[] = br.readLine().split(\" \");\n int a=Integer.parseInt(strArr[0]);\n int b=Integer.parseInt(strArr[1]);\n\n if(a==0 && b== 0){\n \tbreak;\n }\n else if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }\n System.out.println(a+\" \"+b);\n\n }",
"String strArr[] = br.readLine().split(\" \");",
"strArr",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a=Integer.parseInt(strArr[0]);",
"a",
"Integer.parseInt(strArr[0])",
"Integer.parseInt",
"Integer",
"strArr[0]",
"strArr",
"0",
"int b=Integer.parseInt(strArr[1]);",
"b",
"Integer.parseInt(strArr[1])",
"Integer.parseInt",
"Integer",
"strArr[1]",
"strArr",
"1",
"if(a==0 && b== 0){\n \tbreak;\n }\n else if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }",
"a==0 && b== 0",
"a==0",
"a",
"0",
"b== 0",
"b",
"0",
"{\n \tbreak;\n }",
"break;",
"if(b<a){\n \tint c=a;\n \ta=b;\n \tb=c;\n }",
"b<a",
"b",
"a",
"{\n \tint c=a;\n \ta=b;\n \tb=c;\n }",
"int c=a;",
"c",
"a",
"a=b",
"a",
"b",
"b=c",
"b",
"c",
"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;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String strArr[] = br.readLine().split(" ");
int a=Integer.parseInt(strArr[0]);
int b=Integer.parseInt(strArr[1]);
if(a==0 && b== 0){
break;
}
else if(b<a){
int c=a;
a=b;
b=c;
}
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,
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
],
[
61,
5
],
[
61,
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
],
[
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
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(a+\" \"+b);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(a+\" \"+b);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(a+\" \"+b);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n while(true){\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(a+\" \"+b);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true){\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(a+\" \"+b);\n }",
"true",
"{\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(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;",
"if(a>b) System.out.println(b+\" \"+a);\nelse 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){\n Scanner sc = new Scanner(System.in);\n while(true){\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(a+\" \"+b);\n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\nint a =sc.nextInt();\nint b=sc.nextInt();\nif(a==0&&b==0) break;\nif(a>b) System.out.println(b+\" \"+a);\nelse System.out.println(a+\" \"+b);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(true){
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,
41,
13,
41,
13,
41,
13,
20,
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,
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
],
[
83,
5
],
[
83,
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
],
[
32,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
51,
57
],
[
49,
58
],
[
47,
59
],
[
42,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
65,
71
],
[
63,
72
],
[
61,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner br = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (true){\n\t\t\tx = br.nextInt();\n\t\t\ty = br.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\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.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner br = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (true){\n\t\t\tx = br.nextInt();\n\t\t\ty = br.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\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 Exception{\n\t\tScanner br = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (true){\n\t\t\tx = br.nextInt();\n\t\t\ty = br.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\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\tScanner br = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (true){\n\t\t\tx = br.nextInt();\n\t\t\ty = br.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\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}",
"Scanner br = new Scanner(System.in);",
"br",
"new Scanner(System.in)",
"int x;",
"x",
"int y;",
"y",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (true){\n\t\t\tx = br.nextInt();\n\t\t\ty = br.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\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\tx = br.nextInt();\n\t\t\ty = br.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\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}",
"x = br.nextInt()",
"x",
"br.nextInt()",
"br.nextInt",
"br",
"y = br.nextInt()",
"y",
"br.nextInt()",
"br.nextInt",
"br",
"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 Exception{\n\t\tScanner br = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (true){\n\t\t\tx = br.nextInt();\n\t\t\ty = br.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\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 Exception{\n\t\tScanner br = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (true){\n\t\t\tx = br.nextInt();\n\t\t\ty = br.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\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.util.*;
public class Main {
public static void main(String[] args) throws Exception{
Scanner br = new Scanner(System.in);
int x;
int y;
StringBuilder sb = new StringBuilder();
while (true){
x = br.nextInt();
y = br.nextInt();
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,
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,
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
] | [
[
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
],
[
60,
63
],
[
65,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
65,
69
],
[
56,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
75,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
75,
79
],
[
8,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
6,
86
],
[
86,
87
]
] | [
"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 output = new StringBuilder();\n while(true) {\n String str = br.readLine();\n if(str.equals(\"0 0\")) break;\n int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));\n int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));\n if(x<=y) output.append(x+\" \"+y+\"\\n\");\n else output.append(y+\" \"+x+\"\\n\");\n }\n System.out.print(output);\n }\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 output = new StringBuilder();\n while(true) {\n String str = br.readLine();\n if(str.equals(\"0 0\")) break;\n int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));\n int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));\n if(x<=y) output.append(x+\" \"+y+\"\\n\");\n else output.append(y+\" \"+x+\"\\n\");\n }\n System.out.print(output);\n }\n \n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n while(true) {\n String str = br.readLine();\n if(str.equals(\"0 0\")) break;\n int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));\n int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));\n if(x<=y) output.append(x+\" \"+y+\"\\n\");\n else output.append(y+\" \"+x+\"\\n\");\n }\n System.out.print(output);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n while(true) {\n String str = br.readLine();\n if(str.equals(\"0 0\")) break;\n int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));\n int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));\n if(x<=y) output.append(x+\" \"+y+\"\\n\");\n else output.append(y+\" \"+x+\"\\n\");\n }\n System.out.print(output);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder output = new StringBuilder();",
"output",
"new StringBuilder()",
"while(true) {\n String str = br.readLine();\n if(str.equals(\"0 0\")) break;\n int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));\n int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));\n if(x<=y) output.append(x+\" \"+y+\"\\n\");\n else output.append(y+\" \"+x+\"\\n\");\n }",
"true",
"{\n String str = br.readLine();\n if(str.equals(\"0 0\")) break;\n int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));\n int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));\n if(x<=y) output.append(x+\" \"+y+\"\\n\");\n else output.append(y+\" \"+x+\"\\n\");\n }",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"if(str.equals(\"0 0\")) break;",
"str.equals(\"0 0\")",
"str.equals",
"str",
"\"0 0\"",
"break;",
"int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));",
"x",
"Integer.parseInt(str.substring(0, str.indexOf(' ')))",
"Integer.parseInt",
"Integer",
"str.substring(0, str.indexOf(' '))",
"str.substring",
"str",
"0",
"str.indexOf(' ')",
"str.indexOf",
"str",
"' '",
"int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));",
"y",
"Integer.parseInt(str.substring(str.indexOf(' ')+1))",
"Integer.parseInt",
"Integer",
"str.substring(str.indexOf(' ')+1)",
"str.substring",
"str",
"str.indexOf(' ')+1",
"str.indexOf(' ')",
"str.indexOf",
"str",
"' '",
"1",
"if(x<=y) output.append(x+\" \"+y+\"\\n\");\n else output.append(y+\" \"+x+\"\\n\");",
"x<=y",
"x",
"y",
"output.append(x+\" \"+y+\"\\n\")",
"output.append",
"output",
"x+\" \"+y+\"\\n\"",
"y",
"x+\" \"+y+\"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"output.append(y+\" \"+x+\"\\n\")",
"output.append",
"output",
"y+\" \"+x+\"\\n\"",
"x",
"y+\" \"+x+\"\\n\"",
"y",
"\" \"",
"x",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"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 output = new StringBuilder();
while(true) {
String str = br.readLine();
if(str.equals("0 0")) break;
int x = Integer.parseInt(str.substring(0, str.indexOf(' ')));
int y = Integer.parseInt(str.substring(str.indexOf(' ')+1));
if(x<=y) output.append(x+" "+y+"\n");
else output.append(y+" "+x+"\n");
}
System.out.print(output);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
42,
40,
4,
18,
0,
13,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
14,
22
],
[
22,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
28,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
36,
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
]
] | [
"//Swapping Two Numbers\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tString[] xy;\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile (!(input = in.readLine()).equals(\"0 0\")){\n\t\t\t\n\t\t\txy = input.split(\" \");\n\t\t\tx = Integer.parseInt(xy[0]);\n\t\t\ty = Integer.parseInt(xy[1]);\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\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",
"class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tString[] xy;\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile (!(input = in.readLine()).equals(\"0 0\")){\n\t\t\t\n\t\t\txy = input.split(\" \");\n\t\t\tx = Integer.parseInt(xy[0]);\n\t\t\ty = Integer.parseInt(xy[1]);\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\t\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tString[] xy;\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile (!(input = in.readLine()).equals(\"0 0\")){\n\t\t\t\n\t\t\txy = input.split(\" \");\n\t\t\tx = Integer.parseInt(xy[0]);\n\t\t\ty = Integer.parseInt(xy[1]);\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\t\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString input;\n\t\tString[] xy;\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile (!(input = in.readLine()).equals(\"0 0\")){\n\t\t\t\n\t\t\txy = input.split(\" \");\n\t\t\tx = Integer.parseInt(xy[0]);\n\t\t\ty = Integer.parseInt(xy[1]);\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\t\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String input;",
"input",
"String[] xy;",
"xy",
"int x;",
"x",
"int y;",
"y",
"while (!(input = in.readLine()).equals(\"0 0\")){\n\t\t\t\n\t\t\txy = input.split(\" \");\n\t\t\tx = Integer.parseInt(xy[0]);\n\t\t\ty = Integer.parseInt(xy[1]);\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\t\n\t\t}",
"!(input = in.readLine()).equals(\"0 0\")",
"(input = in.readLine()).equals(\"0 0\")",
"(input = in.readLine()).equals",
"(input = in.readLine())",
"input",
"in.readLine()",
"in.readLine",
"in",
"\"0 0\"",
"{\n\t\t\t\n\t\t\txy = input.split(\" \");\n\t\t\tx = Integer.parseInt(xy[0]);\n\t\t\ty = Integer.parseInt(xy[1]);\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\t\n\t\t}",
"xy = input.split(\" \")",
"xy",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"x = Integer.parseInt(xy[0])",
"x",
"Integer.parseInt(xy[0])",
"Integer.parseInt",
"Integer",
"xy[0]",
"xy",
"0",
"y = Integer.parseInt(xy[1])",
"y",
"Integer.parseInt(xy[1])",
"Integer.parseInt",
"Integer",
"xy[1]",
"xy",
"1",
"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"
] | //Swapping Two Numbers
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String input;
String[] xy;
int x;
int y;
while (!(input = in.readLine()).equals("0 0")){
xy = input.split(" ");
x = Integer.parseInt(xy[0]);
y = Integer.parseInt(xy[1]);
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,
11,
1,
41,
13,
17,
2,
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,
30,
3,
41,
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,
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
],
[
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
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
24,
45
],
[
45,
46
],
[
24,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
51,
58
],
[
58,
59
],
[
58,
60
],
[
24,
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 public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<3000; i++) {\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<3000; i++) {\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<3000; i++) {\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<3000; i++) {\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=0; i<3000; i++) {\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }",
"{\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }",
"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 break;\n }",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n break;\n }",
"break;",
"int z;",
"z",
"if(x > y) {\n z = x; x = y; y = z;\n }",
"x > y",
"x",
"y",
"{\n z = x; x = y; y = z;\n }",
"z = x",
"z",
"x",
"x = y",
"x",
"y",
"y = z",
"y",
"z",
"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) {\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<3000; i++) {\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n for(int i=0; i<3000; i++) {\n int x = scan.nextInt(); int y = scan.nextInt();\n if(x==0 && y==0) {\n break;\n }\n int z;\n if(x > y) {\n z = x; x = y; y = z;\n }\n System.out.println(x + \" \" + y);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for(int i=0; i<3000; i++) {
int x = scan.nextInt(); int y = scan.nextInt();
if(x==0 && y==0) {
break;
}
int z;
if(x > y) {
z = x; x = y; y = z;
}
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,
17,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
30,
0,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
91,
11
],
[
91,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
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
],
[
23,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
67,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
67,
71
],
[
58,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
77,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
77,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
12,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(result);\n\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(result);\n\n\t}\n\n}",
"Main",
"/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(result);\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(result);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String result = \"\";",
"result",
"\"\"",
"while(true){\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(s[0]);",
"a",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"int b = Integer.parseInt(s[1]);",
"b",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"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\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}",
"a < b",
"a",
"b",
"{\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}",
"result += a +\" \"+b+\"\\n\"",
"result",
"a +\" \"+b+\"\\n\"",
"b",
"a +\" \"+b+\"\\n\"",
"a",
"\" \"",
"b",
"\"\\n\"",
"{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}",
"result += b +\" \"+a+\"\\n\"",
"result",
"b +\" \"+a+\"\\n\"",
"a",
"b +\" \"+a+\"\\n\"",
"b",
"\" \"",
"a",
"\"\\n\"",
"System.out.print(result)",
"System.out.print",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(result);\n\n\t}\n\n}",
"public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t */\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO Auto-generated method stub\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tString[] s = br.readLine().split(\" \");\t\t\t\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\t\t\tif(a==0 && b==0){break;}\n\t\t\tif(a < b){\n\t\t\t\tresult += a +\" \"+b+\"\\n\";\n\t\t\t}else{\n\t\t\t\tresult += b +\" \"+a+\"\\n\";\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(result);\n\n\t}\n\n}",
"Main"
] |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
/**
* @param args
* @throws IOException
*/
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String result = "";
while(true){
String[] s = br.readLine().split(" ");
int a = Integer.parseInt(s[0]);
int b = Integer.parseInt(s[1]);
if(a==0 && b==0){break;}
if(a < b){
result += a +" "+b+"\n";
}else{
result += b +" "+a+"\n";
}
}
System.out.print(result);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
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,
30,
14,
2,
18,
13,
17,
18,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
18,
13,
17,
17,
4,
18,
13,
18,
13,
17,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
18,
13,
17,
17,
4,
18,
13,
18,
13,
17,
17,
4,
18,
13,
2,
4,
18,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
156,
11
],
[
156,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
22,
24
],
[
14,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
33,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
33,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
65,
77
],
[
77,
78
],
[
65,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
101,
103
],
[
93,
104
],
[
91,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
108,
109
],
[
108,
110
],
[
89,
111
],
[
80,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
125,
126
],
[
125,
127
],
[
117,
128
],
[
115,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
132,
134
],
[
113,
135
],
[
14,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
139,
143
],
[
136,
144
],
[
144,
145
],
[
145,
146
],
[
14,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
147,
152
],
[
12,
153
],
[
153,
154
],
[
0,
155
],
[
155,
156
],
[
155,
157
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] array = new String[2];\n int[] numbers = new int[2];\n String inputStr;\n StringBuilder sb = new StringBuilder();\n while(true) {\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] array = new String[2];\n int[] numbers = new int[2];\n String inputStr;\n StringBuilder sb = new StringBuilder();\n while(true) {\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] array = new String[2];\n int[] numbers = new int[2];\n String inputStr;\n StringBuilder sb = new StringBuilder();\n while(true) {\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] array = new String[2];\n int[] numbers = new int[2];\n String inputStr;\n StringBuilder sb = new StringBuilder();\n while(true) {\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] array = new String[2];",
"array",
"new String[2]",
"2",
"int[] numbers = new int[2];",
"numbers",
"new int[2]",
"2",
"String inputStr;",
"inputStr",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true) {\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }",
"true",
"{\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }",
"inputStr = br.readLine()",
"inputStr",
"br.readLine()",
"br.readLine",
"br",
"array = inputStr.split(\" \")",
"array",
"inputStr.split(\" \")",
"inputStr.split",
"inputStr",
"\" \"",
"numbers[0] = Integer.parseInt(array[0])",
"numbers[0]",
"numbers",
"0",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"numbers[1] = Integer.parseInt(array[1])",
"numbers[1]",
"numbers",
"1",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }",
"numbers[0] == 0 && numbers[1] == 0",
"numbers[0] == 0",
"numbers[0]",
"numbers",
"0",
"0",
"numbers[1] == 0",
"numbers[1]",
"numbers",
"1",
"0",
"{\n break;\n }",
"break;",
"{\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }",
"if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }",
"numbers[0] < numbers[1]",
"numbers[0]",
"numbers",
"0",
"numbers[1]",
"numbers",
"1",
"{\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }",
"sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\")",
"sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append",
"sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1]))",
"sb.append(Integer.toString(numbers[0])).append(\" \").append",
"sb.append(Integer.toString(numbers[0])).append(\" \")",
"sb.append(Integer.toString(numbers[0])).append",
"sb.append(Integer.toString(numbers[0]))",
"sb.append",
"sb",
"Integer.toString(numbers[0])",
"Integer.toString",
"Integer",
"numbers[0]",
"numbers",
"0",
"\" \"",
"Integer.toString(numbers[1])",
"Integer.toString",
"Integer",
"numbers[1]",
"numbers",
"1",
"\"\\n\"",
"{\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }",
"sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\")",
"sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append",
"sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0]))",
"sb.append(Integer.toString(numbers[1])).append(\" \").append",
"sb.append(Integer.toString(numbers[1])).append(\" \")",
"sb.append(Integer.toString(numbers[1])).append",
"sb.append(Integer.toString(numbers[1]))",
"sb.append",
"sb",
"Integer.toString(numbers[1])",
"Integer.toString",
"Integer",
"numbers[1]",
"numbers",
"1",
"\" \"",
"Integer.toString(numbers[0])",
"Integer.toString",
"Integer",
"numbers[0]",
"numbers",
"0",
"\"\\n\"",
"sb.delete(sb.length() - 1, sb.length())",
"sb.delete",
"sb",
"sb.length() - 1",
"sb.length()",
"sb.length",
"sb",
"1",
"sb.length()",
"sb.length",
"sb",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] array = new String[2];\n int[] numbers = new int[2];\n String inputStr;\n StringBuilder sb = new StringBuilder();\n while(true) {\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] array = new String[2];\n int[] numbers = new int[2];\n String inputStr;\n StringBuilder sb = new StringBuilder();\n while(true) {\n inputStr = br.readLine();\n array = inputStr.split(\" \");\n numbers[0] = Integer.parseInt(array[0]);\n numbers[1] = Integer.parseInt(array[1]);\n if (numbers[0] == 0 && numbers[1] == 0) {\n break;\n }\n else {\n if (numbers[0] < numbers[1]) {\n sb.append(Integer.toString(numbers[0])).append(\" \").append(Integer.toString(numbers[1])).append(\"\\n\");\n }\n else {\n sb.append(Integer.toString(numbers[1])).append(\" \").append(Integer.toString(numbers[0])).append(\"\\n\");\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] array = new String[2];
int[] numbers = new int[2];
String inputStr;
StringBuilder sb = new StringBuilder();
while(true) {
inputStr = br.readLine();
array = inputStr.split(" ");
numbers[0] = Integer.parseInt(array[0]);
numbers[1] = Integer.parseInt(array[1]);
if (numbers[0] == 0 && numbers[1] == 0) {
break;
}
else {
if (numbers[0] < numbers[1]) {
sb.append(Integer.toString(numbers[0])).append(" ").append(Integer.toString(numbers[1])).append("\n");
}
else {
sb.append(Integer.toString(numbers[1])).append(" ").append(Integer.toString(numbers[0])).append("\n");
}
}
}
sb.delete(sb.length() - 1, sb.length());
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
8,
2,
13,
13,
2,
2,
13,
17,
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
],
[
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
],
[
23,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
15,
62
],
[
62,
63
]
] | [
"import java.awt.*;\nimport java.awt.geom.*;\nimport java.io.*;\n\nimport java.util.*;\nclass Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\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\t\n\t\t\tSystem.out.println((a < b)?(a + \" \" + b):(b + \" \" + a));\n\t\t}\n\t}\n}",
"import java.awt.*;",
"awt.*",
"java",
"import java.awt.geom.*;",
"geom.*",
"java.awt",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\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\t\n\t\t\tSystem.out.println((a < b)?(a + \" \" + b):(b + \" \" + a));\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 a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\t\n\t\t\tSystem.out.println((a < b)?(a + \" \" + b):(b + \" \" + a));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile(true) {\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\t\n\t\t\tSystem.out.println((a < b)?(a + \" \" + b):(b + \" \" + a));\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true) {\n\t\t\tint a = sc.nextInt();\n\t\t\tint b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\t\n\t\t\tSystem.out.println((a < b)?(a + \" \" + b):(b + \" \" + a));\n\t\t}",
"true",
"{\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\t\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",
"String[] args",
"args"
] | import java.awt.*;
import java.awt.geom.*;
import java.io.*;
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(true) {
int a = sc.nextInt();
int b = sc.nextInt();
if(a == 0 && b == 0) break;
System.out.println((a < b)?(a + " " + b):(b + " " + a));
}
}
} |
[
7,
15,
13,
17,
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,
17,
41,
13,
41,
13,
20,
17,
41,
13,
20,
41,
13,
20,
42,
2,
13,
13,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
0,
13,
4,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
17,
3,
4,
18,
13,
13,
40,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
0,
13,
17,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
2,
13,
17,
17,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
4,
18,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
2,
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
],
[
214,
14
],
[
214,
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
],
[
17,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
32,
34
],
[
17,
36
],
[
36,
37
],
[
36,
38
],
[
17,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
46,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
57,
58
],
[
46,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
46,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
78,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
78,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
46,
104
],
[
104,
105
],
[
17,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
17,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
121,
122
],
[
121,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
116,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
131,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
139,
140
],
[
139,
141
],
[
130,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
143,
148
],
[
149,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
153,
154
],
[
153,
155
],
[
149,
156
],
[
149,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
130,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
162,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
170,
171
],
[
170,
172
],
[
161,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
174,
179
],
[
180,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
180,
185
],
[
180,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
189,
191
],
[
161,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
199,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
199,
204
],
[
199,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
208,
209
],
[
208,
210
],
[
15,
211
],
[
211,
212
],
[
0,
213
],
[
213,
214
],
[
213,
215
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tint count = 3000; // ?????§???????????°(??????)\n\t\tint t = 0;//?????????????????°\n\t\tint temp = 0;\n\t\tint flag = 0;\n\t\tString str;\n\t\tString[] convert = new String[2];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> compare = new ArrayList<Integer>();\n\t\t/**\n\t\t * ???????????\\???\n\t\t */\n\t\twhile (t != count) { // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}\n\t\tint length = compare.size();\n\t\t/**\n\t\t * ??¨?????????\n\t\t */\n\t\tif(flag == 0){\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\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",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tint count = 3000; // ?????§???????????°(??????)\n\t\tint t = 0;//?????????????????°\n\t\tint temp = 0;\n\t\tint flag = 0;\n\t\tString str;\n\t\tString[] convert = new String[2];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> compare = new ArrayList<Integer>();\n\t\t/**\n\t\t * ???????????\\???\n\t\t */\n\t\twhile (t != count) { // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}\n\t\tint length = compare.size();\n\t\t/**\n\t\t * ??¨?????????\n\t\t */\n\t\tif(flag == 0){\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\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\tint count = 3000; // ?????§???????????°(??????)\n\t\tint t = 0;//?????????????????°\n\t\tint temp = 0;\n\t\tint flag = 0;\n\t\tString str;\n\t\tString[] convert = new String[2];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> compare = new ArrayList<Integer>();\n\t\t/**\n\t\t * ???????????\\???\n\t\t */\n\t\twhile (t != count) { // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}\n\t\tint length = compare.size();\n\t\t/**\n\t\t * ??¨?????????\n\t\t */\n\t\tif(flag == 0){\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tint count = 3000; // ?????§???????????°(??????)\n\t\tint t = 0;//?????????????????°\n\t\tint temp = 0;\n\t\tint flag = 0;\n\t\tString str;\n\t\tString[] convert = new String[2];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> compare = new ArrayList<Integer>();\n\t\t/**\n\t\t * ???????????\\???\n\t\t */\n\t\twhile (t != count) { // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}\n\t\tint length = compare.size();\n\t\t/**\n\t\t * ??¨?????????\n\t\t */\n\t\tif(flag == 0){\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}\n\t\t}\n\t}",
"int count = 3000;",
"count",
"3000",
"int t = 0;",
"t",
"0",
"int temp = 0;",
"temp",
"0",
"int flag = 0;",
"flag",
"0",
"String str;",
"str",
"String[] convert = new String[2];",
"convert",
"new String[2]",
"2",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> compare = new ArrayList<Integer>();",
"compare",
"new ArrayList<Integer>()",
"while (t != count) { // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}",
"t != count",
"t",
"count",
"{ // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"if(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}",
"str.equals(\"0 0\")",
"str.equals",
"str",
"\"0 0\"",
"{ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"convert = str.split(\" \", 0)",
"convert",
"str.split(\" \", 0)",
"str.split",
"str",
"\" \"",
"0",
"for(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 2",
"j",
"2",
"++j",
"++j",
"j",
"{\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}",
"{\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}",
"temp = Integer.parseInt(convert[j])",
"temp",
"Integer.parseInt(convert[j])",
"Integer.parseInt",
"Integer",
"convert[j]",
"convert",
"j",
"if(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"temp < 0 || temp >10000",
"temp < 0",
"temp",
"0",
"temp >10000",
"temp",
"10000",
"{\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"flag = 1",
"flag",
"1",
"break;",
"compare.add(temp)",
"compare.add",
"compare",
"temp",
"++t",
"t",
"int length = compare.size();",
"length",
"compare.size()",
"compare.size",
"compare",
"if(flag == 0){\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}\n\t\t}",
"flag == 0",
"flag",
"0",
"{\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}\n\t\t}",
"for(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < length",
"i",
"length",
"i+=2",
"i+=2",
"i",
"2",
"{\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}",
"if(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}",
"compare.get(i) > compare.get(i+1)",
"compare.get(i)",
"compare.get",
"compare",
"i",
"compare.get(i+1)",
"compare.get",
"compare",
"i+1",
"i",
"1",
"{\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}",
"System.out.println(compare.get(i+1)+\" \"+compare.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"compare.get(i+1)+\" \"+compare.get(i)",
"compare.get(i+1)+\" \"+compare.get(i)",
"compare.get(i+1)",
"compare.get",
"compare",
"i+1",
"i",
"1",
"\" \"",
"compare.get(i)",
"compare.get",
"compare",
"i",
"if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}",
"compare.get(i) < compare.get(i+1)",
"compare.get(i)",
"compare.get",
"compare",
"i",
"compare.get(i+1)",
"compare.get",
"compare",
"i+1",
"i",
"1",
"{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}",
"System.out.println(compare.get(i)+\" \"+compare.get(i+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"compare.get(i)+\" \"+compare.get(i+1)",
"compare.get(i)+\" \"+compare.get(i+1)",
"compare.get(i)",
"compare.get",
"compare",
"i",
"\" \"",
"compare.get(i+1)",
"compare.get",
"compare",
"i+1",
"i",
"1",
"{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}",
"System.out.println(compare.get(i)+\" \"+compare.get(i+1))",
"System.out.println",
"System.out",
"System",
"System.out",
"compare.get(i)+\" \"+compare.get(i+1)",
"compare.get(i)+\" \"+compare.get(i+1)",
"compare.get(i)",
"compare.get",
"compare",
"i",
"\" \"",
"compare.get(i+1)",
"compare.get",
"compare",
"i+1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tint count = 3000; // ?????§???????????°(??????)\n\t\tint t = 0;//?????????????????°\n\t\tint temp = 0;\n\t\tint flag = 0;\n\t\tString str;\n\t\tString[] convert = new String[2];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> compare = new ArrayList<Integer>();\n\t\t/**\n\t\t * ???????????\\???\n\t\t */\n\t\twhile (t != count) { // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}\n\t\tint length = compare.size();\n\t\t/**\n\t\t * ??¨?????????\n\t\t */\n\t\tif(flag == 0){\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tint count = 3000; // ?????§???????????°(??????)\n\t\tint t = 0;//?????????????????°\n\t\tint temp = 0;\n\t\tint flag = 0;\n\t\tString str;\n\t\tString[] convert = new String[2];\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> compare = new ArrayList<Integer>();\n\t\t/**\n\t\t * ???????????\\???\n\t\t */\n\t\twhile (t != count) { // ?????§3000???\n\t\t\tstr = br.readLine();\n\t\t\tif(str.equals(\"0 0\")){ // \"0 0\"??§??????\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tconvert = str.split(\" \", 0);\n\t\t\tfor(int j = 0; j < 2; ++j){\n\t\t\t\ttemp = Integer.parseInt(convert[j]);\n\t\t\t\tif(temp < 0 || temp >10000){\n\t\t\t\t\tflag = 1;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tcompare.add(temp);\n\t\t\t}\n\t\t\t++t;\n\t\t\t}\n\t\tint length = compare.size();\n\t\t/**\n\t\t * ??¨?????????\n\t\t */\n\t\tif(flag == 0){\n\t\tfor(int i = 0; i < length; i+=2){\n\t\t\tif(compare.get(i) > compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i+1)+\" \"+compare.get(i));\n\t\t\t}\n\t\t\telse if(compare.get(i) < compare.get(i+1)){\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t\telse{\n\t\t\t\tSystem.out.println(compare.get(i)+\" \"+compare.get(i+1));\n\t\t\t}\n\t\t}\n\t\t}\n\t}\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) throws IOException {
int count = 3000; // ?????§???????????°(??????)
int t = 0;//?????????????????°
int temp = 0;
int flag = 0;
String str;
String[] convert = new String[2];
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> compare = new ArrayList<Integer>();
/**
* ???????????\???
*/
while (t != count) { // ?????§3000???
str = br.readLine();
if(str.equals("0 0")){ // "0 0"??§??????
break;
}
convert = str.split(" ", 0);
for(int j = 0; j < 2; ++j){
temp = Integer.parseInt(convert[j]);
if(temp < 0 || temp >10000){
flag = 1;
break;
}
compare.add(temp);
}
++t;
}
int length = compare.size();
/**
* ??¨?????????
*/
if(flag == 0){
for(int i = 0; i < length; i+=2){
if(compare.get(i) > compare.get(i+1)){
System.out.println(compare.get(i+1)+" "+compare.get(i));
}
else if(compare.get(i) < compare.get(i+1)){
System.out.println(compare.get(i)+" "+compare.get(i+1));
}
else{
System.out.println(compare.get(i)+" "+compare.get(i+1));
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
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,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
29,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
29,
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
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
56,
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
],
[
82,
84
],
[
82,
85
],
[
71,
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
],
[
6,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"import java.util.Scanner;\n\n \npublic class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t \n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }\n \n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t \n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }\n \n }\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t \n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }\n \n }",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\t \n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }\n \n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int n=Integer.MAX_VALUE;",
"n",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"for(int i=0;i<n;i++){\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }",
"{\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }",
"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",
"if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n\t\t\t break;\n\t\t }",
"break;",
"if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }",
"x>y",
"x",
"y",
"{\n\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 }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\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 System.out.println(x +\" \"+ y);\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",
"String[] args",
"args",
"public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t \n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }\n \n }\n}",
"public class Main {\n\t\n\t\n public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t \n\t int n=Integer.MAX_VALUE;\n\t \n\t for(int i=0;i<n;i++){\n\t\t int x=Integer.parseInt(sc.next());\n\t\t int y=Integer.parseInt(sc.next());\n\t\t if(x==0&&y==0){\n\t\t\t break;\n\t\t }\n\t\t else if(x>y){\n\t\t System.out.println(y +\" \"+ x);\n\t\t }\n\t\t else if(x<y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t\t else if(x==y){\n\t\t\t System.out.println(x +\" \"+ y);\n\t\t }\n\t }\n \n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int n=Integer.MAX_VALUE;
for(int i=0;i<n;i++){
int x=Integer.parseInt(sc.next());
int y=Integer.parseInt(sc.next());
if(x==0&&y==0){
break;
}
else if(x>y){
System.out.println(y +" "+ x);
}
else if(x<y){
System.out.println(x +" "+ y);
}
else if(x==y){
System.out.println(x +" "+ y);
}
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.