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,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
17,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
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,
16
],
[
16,
17
],
[
16,
18
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
27,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
42,
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
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
63,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
27,
81
],
[
81,
82
],
[
8,
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
],
[
103,
105
],
[
102,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
6,
110
],
[
110,
111
]
] | [
"\nimport java.util.Scanner;\n class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[100000], y[] = new int[100000];\n\t\tint i = 0,a;\n\t\twhile(true){\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\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(x[j]+\" \"+y[j]);\n\t\t}\n\t}\n }",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[100000], y[] = new int[100000];\n\t\tint i = 0,a;\n\t\twhile(true){\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\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(x[j]+\" \"+y[j]);\n\t\t}\n\t}\n }",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[100000], y[] = new int[100000];\n\t\tint i = 0,a;\n\t\twhile(true){\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\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(x[j]+\" \"+y[j]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[100000], y[] = new int[100000];\n\t\tint i = 0,a;\n\t\twhile(true){\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\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(x[j]+\" \"+y[j]);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x[] = new int[100000]",
"x",
"new int[100000]",
"100000",
"y[] = new int[100000];",
"y",
"new int[100000]",
"100000",
"int i = 0",
"i",
"0",
"a;",
"a",
"while(true){\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\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"true",
"{\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\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}\n\t\t\ti++;\n\t\t}",
"x[i] = sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y[i] = sc.nextInt()",
"y[i]",
"y",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[i] == 0 && y[i] == 0) 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\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}",
"x[i] > y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"{\n\t\t\t\ta = x[i];\n\t\t\t\tx[i] = y[i];\n\t\t\t\ty[i] = a;\n\t\t\t}",
"a = x[i]",
"a",
"x[i]",
"x",
"i",
"x[i] = y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"y[i] = a",
"y[i]",
"y",
"i",
"a",
"i++",
"i",
"for(int j = 0; j < i; j++){\n\t\t\tSystem.out.println(x[j]+\" \"+y[j]);\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\tSystem.out.println(x[j]+\" \"+y[j]);\n\t\t}",
"{\n\t\t\tSystem.out.println(x[j]+\" \"+y[j]);\n\t\t}",
"System.out.println(x[j]+\" \"+y[j])",
"System.out.println",
"System.out",
"System",
"System.out",
"x[j]+\" \"+y[j]",
"x[j]+\" \"+y[j]",
"x[j]",
"x",
"j",
"\" \"",
"y[j]",
"y",
"j",
"String args[]",
"args"
] |
import java.util.Scanner;
class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int x[] = new int[100000], y[] = new int[100000];
int i = 0,a;
while(true){
x[i] = sc.nextInt();
y[i] = sc.nextInt();
if(x[i] == 0 && y[i] == 0) break;
if(x[i] > y[i]){
a = x[i];
x[i] = y[i];
y[i] = a;
}
i++;
}
for(int j = 0; j < i; j++){
System.out.println(x[j]+" "+y[j]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
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,
17,
41,
13,
17,
14,
2,
2,
13,
13,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
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
],
[
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
],
[
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
],
[
36,
38
],
[
16,
39
],
[
39,
40
],
[
39,
41
],
[
16,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
16,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
73,
78
],
[
6,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\n }\n\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 while (sc.hasNext()) {\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\n }\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\n }\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\n }\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\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\t\t\t\tbreak;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"int small = 0;",
"small",
"0",
"int large = 0;",
"large",
"0",
"if ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}",
"x < y || x == y",
"x < y",
"x",
"y",
"x == y",
"x",
"y",
"{\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t}",
"small = x",
"small",
"x",
"large = y",
"large",
"y",
"if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}",
"small = y",
"small",
"y",
"large = x",
"large",
"x",
"System.out.println(String.format(\"%d %d\", small, large))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.format(\"%d %d\", small, large)",
"String.format",
"String",
"\"%d %d\"",
"small",
"large",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\n }\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int x = sc.nextInt();\n int 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\tint small = 0;\n\t\t\tint large = 0;\n\t\t\t\n\t\t\tif ( x < y || x == y ) {\n\t\t\t\tsmall = x;\n\t\t\t\tlarge = y;\n\t\t\t} else if ( x > y ) {\n\t\t\t\tsmall = y;\n\t\t\t\tlarge = x;\n\t\t\t}\n\t\t\t\n System.out.println(String.format(\"%d %d\", small, large));\n }\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int x = sc.nextInt();
int y = sc.nextInt();
if ( x == 0 && y == 0)
break;
int small = 0;
int large = 0;
if ( x < y || x == y ) {
small = x;
large = y;
} else if ( x > y ) {
small = y;
large = x;
}
System.out.println(String.format("%d %d", small, large));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
42,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
52,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
9,
78
],
[
78,
79
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\n\t }\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\n\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\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\n\t }\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\n\t }\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\n\t }\n\t\t}",
"true",
"{\n\t\t\tString[] array = br.readLine().split(\" \");\n\t int x = Integer.parseInt(array[0]);\n\t int y = Integer.parseInt(array[1]);\n\t if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\n\t }\n\t\t}",
"String[] array = br.readLine().split(\" \");",
"array",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(array[0]);",
"x",
"Integer.parseInt(array[0])",
"Integer.parseInt",
"Integer",
"array[0]",
"array",
"0",
"int y = Integer.parseInt(array[1]);",
"y",
"Integer.parseInt(array[1])",
"Integer.parseInt",
"Integer",
"array[1]",
"array",
"1",
"if(x==0&&y==0){\n\t \tbreak;\n\t }else if(x>y){\n\t \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\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 \t\tSystem.out.println(y+\" \"+x);\n\t }else{\n\t \tSystem.out.println(x+\" \"+y);\n\t }",
"x>y",
"x",
"y",
"{\n\t \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",
"{\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",
"String[] args",
"args"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String[] array = br.readLine().split(" ");
int x = Integer.parseInt(array[0]);
int y = Integer.parseInt(array[1]);
if(x==0&&y==0){
break;
}else if(x>y){
System.out.println(y+" "+x);
}else{
System.out.println(x+" "+y);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
18,
20,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
4,
18,
13,
4,
18,
13,
13,
1,
0,
13,
4,
18,
13,
30,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
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,
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
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
15,
27
],
[
27,
28
],
[
112,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
32,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
32,
49
],
[
50,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
50,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
63,
65
],
[
50,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
50,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
74,
82
],
[
74,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
94,
94
],
[
94,
95
],
[
94,
96
],
[
94,
97
],
[
83,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
105,
105
],
[
105,
106
],
[
105,
107
],
[
105,
108
],
[
29,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Objects;\n\n//import org.junit.Test;\n\npublic class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\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.Objects;",
"Objects",
"java.util",
"public class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}",
"main",
"{\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}",
"try (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}",
"{\n\n\t\t\tnew Main().solution(br);\n\t\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))",
"BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))",
"new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))",
"new Main().solution(br)",
"new Main().solution",
"new Main()",
"br",
"String[] args",
"args",
"private void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}\n\t}",
"solution",
"{\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}\n\t}",
"for (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}",
"String line = br.readLine();",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"Objects.nonNull(line)",
"Objects.nonNull",
"Objects",
"line",
"line = br\n\t\t\t\t.readLine()",
"line = br\n\t\t\t\t.readLine()",
"line",
"br\n\t\t\t\t.readLine()",
"br\n\t\t\t\t.readLine",
"br",
"{\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}",
"{\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}",
"String[] strList = line.split(\" \", 0);",
"strList",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"int num1 = Integer.parseInt(strList[0]);",
"num1",
"Integer.parseInt(strList[0])",
"Integer.parseInt",
"Integer",
"strList[0]",
"strList",
"0",
"int num2 = Integer.parseInt(strList[1]);",
"num2",
"Integer.parseInt(strList[1])",
"Integer.parseInt",
"Integer",
"strList[1]",
"strList",
"1",
"if (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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 == 0 && num2 == 0",
"num1 == 0",
"num1",
"0",
"num2 == 0",
"num2",
"0",
"{\n\n\t\t\t}",
"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",
"BufferedReader br",
"br",
"public class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}\n\t}\n\n}",
"public class Main {\n//\t@Test\n//\tpublic void testName() throws Exception {\n//\t\tmain(null);\n//\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\tSystem.in))) {\n\n\t\t\tnew Main().solution(br);\n\t\t}\n\t}\n\n\tprivate void solution(BufferedReader br) throws IOException {\n\t\tfor (String line = br.readLine(); Objects.nonNull(line); line = br\n\t\t\t\t.readLine()) {\n\t\t\t// String line = br.readLine();\n\t\t\tString[] strList = line.split(\" \", 0);\n\n\t\t\tint num1 = Integer.parseInt(strList[0]);\n\t\t\tint num2 = Integer.parseInt(strList[1]);\n\n\t\t\t// char char1 = str.charAt(1);\n\t\t\t// char char2 = str.charAt(3);\n\t\t\t// int num1 = Integer.parseInt(\"\" + char1);\n\t\t\t// int num2 = Integer.parseInt(\"\" + char2);\n\n\t\t\tif (num1 == 0 && num2 == 0) {\n\n\t\t\t} else 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}\n\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Objects;
//import org.junit.Test;
public class Main {
// @Test
// public void testName() throws Exception {
// main(null);
// }
public static void main(String[] args) throws IOException {
try (BufferedReader br = new BufferedReader(new InputStreamReader(
System.in))) {
new Main().solution(br);
}
}
private void solution(BufferedReader br) throws IOException {
for (String line = br.readLine(); Objects.nonNull(line); line = br
.readLine()) {
// String line = br.readLine();
String[] strList = line.split(" ", 0);
int num1 = Integer.parseInt(strList[0]);
int num2 = Integer.parseInt(strList[1]);
// char char1 = str.charAt(1);
// char char2 = str.charAt(3);
// int num1 = Integer.parseInt("" + char1);
// int num2 = Integer.parseInt("" + char2);
if (num1 == 0 && num2 == 0) {
} else if (num1 > num2) {
System.out.println(num2 + " " + num1);
} else {
System.out.println(num1 + " " + num2);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
11,
1,
41,
13,
41,
13,
2,
2,
0,
13,
4,
18,
13,
17,
2,
0,
13,
4,
18,
13,
17,
30,
30,
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
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
58,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
13,
16
],
[
16,
17
],
[
12,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
19,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
12,
33
],
[
34,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
42,
47
],
[
41,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
49,
54
],
[
9,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
] | [
"import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n }\n}",
"Main",
"private static final Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"public static void main(String[] args) {\n for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n }",
"main",
"{\n for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n }",
"for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }",
"int x, y;",
"int x",
"x",
"y;",
"y",
"(x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0",
"(x = scn.nextInt()) != 0",
"(x = scn.nextInt())",
"x",
"scn.nextInt()",
"scn.nextInt",
"scn",
"0",
"(y = scn.nextInt()) != 0",
"(y = scn.nextInt())",
"y",
"scn.nextInt()",
"scn.nextInt",
"scn",
"0",
"{\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }",
"{\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }",
"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 private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n }\n}",
"public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {\n System.out.println((x < y ? x : y) + \" \" + (x > y ? x : y));\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
private static final Scanner scn = new Scanner(System.in);
public static void main(String[] args) {
for(int x, y; (x = scn.nextInt()) != 0 | (y = scn.nextInt()) != 0;) {
System.out.println((x < y ? x : y) + " " + (x > y ? x : y));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
84,
5
],
[
84,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
15
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
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
],
[
45,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
54,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
74,
74
],
[
74,
75
],
[
74,
76
],
[
74,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
6,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n int intx, inty;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n int intx, inty;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n int intx, inty;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }\n sc.close();\n }",
"main",
"{\n int intx, inty;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }\n sc.close();\n }",
"int intx",
"intx",
"inty;",
"inty",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(sc.hasNext()){\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }",
"String[] str = sc.nextLine().split(\" \");",
"str",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"intx = Integer.parseInt(str[0])",
"intx",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"inty = Integer.parseInt(str[1])",
"inty",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);",
"intx == 0 && inty == 0",
"intx == 0",
"intx",
"0",
"inty == 0",
"inty",
"0",
"break;",
"if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);",
"intx < inty",
"intx",
"inty",
"System.out.println(intx + \" \" + inty)",
"System.out.println",
"System.out",
"System",
"System.out",
"intx + \" \" + inty",
"intx + \" \" + inty",
"intx",
"\" \"",
"inty",
"System.out.println(inty + \" \" + intx)",
"System.out.println",
"System.out",
"System",
"System.out",
"inty + \" \" + intx",
"inty + \" \" + intx",
"inty",
"\" \"",
"intx",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n int intx, inty;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }\n sc.close();\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n int intx, inty;\n Scanner sc = new Scanner(System.in);\n while(sc.hasNext()){\n String[] str = sc.nextLine().split(\" \");\n intx = Integer.parseInt(str[0]);\n inty = Integer.parseInt(str[1]);\n\n if( intx == 0 && inty == 0) break;\n else if(intx < inty) System.out.println(intx + \" \" + inty);\n else System.out.println(inty + \" \" + intx);\n }\n sc.close();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
int intx, inty;
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
String[] str = sc.nextLine().split(" ");
intx = Integer.parseInt(str[0]);
inty = Integer.parseInt(str[1]);
if( intx == 0 && inty == 0) break;
else if(intx < inty) System.out.println(intx + " " + inty);
else System.out.println(inty + " " + intx);
}
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
17,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
17,
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
],
[
6,
77
],
[
77,
78
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tif(a == 0 && b == 0) \n\t\t\t\tbreak;\n\n\t\t\tif(a <= b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tif(a == 0 && b == 0) \n\t\t\t\tbreak;\n\n\t\t\tif(a <= b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tif(a == 0 && b == 0) \n\t\t\t\tbreak;\n\n\t\t\tif(a <= b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tif(a == 0 && b == 0) \n\t\t\t\tbreak;\n\n\t\t\tif(a <= b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true) {\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tif(a == 0 && b == 0) \n\t\t\t\tbreak;\n\n\t\t\tif(a <= b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(line[0]);\n\t\t\tint b = Integer.parseInt(line[1]);\n\t\t\tif(a == 0 && b == 0) \n\t\t\t\tbreak;\n\n\t\t\tif(a <= b) {\n\t\t\t\tSystem.out.println(a + \" \" + b);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b + \" \" + a);\n\t\t\t}\n\t\t}",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(line[0]);",
"a",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"int b = Integer.parseInt(line[1]);",
"b",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"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\tSystem.out.println(a + \" \" + b);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(b + \" \" + a);\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(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",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws IOException {
BufferedReader br =
new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true) {
String[] line = br.readLine().split(" ");
int a = Integer.parseInt(line[0]);
int b = Integer.parseInt(line[1]);
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,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
13,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
30,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
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
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
34,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
23,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
71,
71
],
[
71,
72
],
[
71,
73
],
[
71,
74
],
[
6,
75
],
[
75,
76
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\tint min = 0;\n\t\tint max = 0;\n\n\t\twhile(true){\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tif(x>y || x==y){\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}else{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}\n\t\tif(x==0 && y==0) break;\n\t\tSystem.out.println(min + \" \" + max);\n\t\t}\n\t}\n} ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\tint min = 0;\n\t\tint max = 0;\n\n\t\twhile(true){\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tif(x>y || x==y){\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}else{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}\n\t\tif(x==0 && y==0) break;\n\t\tSystem.out.println(min + \" \" + max);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\tint min = 0;\n\t\tint max = 0;\n\n\t\twhile(true){\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tif(x>y || x==y){\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}else{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}\n\t\tif(x==0 && y==0) break;\n\t\tSystem.out.println(min + \" \" + max);\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = 0;\n\t\tint min = 0;\n\t\tint max = 0;\n\n\t\twhile(true){\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tif(x>y || x==y){\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}else{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}\n\t\tif(x==0 && y==0) break;\n\t\tSystem.out.println(min + \" \" + max);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int i = 0;",
"i",
"0",
"int min = 0;",
"min",
"0",
"int max = 0;",
"max",
"0",
"while(true){\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tif(x>y || x==y){\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}else{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}\n\t\tif(x==0 && y==0) break;\n\t\tSystem.out.println(min + \" \" + max);\n\t\t}",
"true",
"{\t\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tif(x>y || x==y){\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}else{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}\n\t\tif(x==0 && y==0) break;\n\t\tSystem.out.println(min + \" \" + max);\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>y || x==y){\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}else{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}",
"x>y || x==y",
"x>y",
"x",
"y",
"x==y",
"x",
"y",
"{\n\t\t\tmin = y;\n\t\t\tmax = x;\n\t\t}",
"min = y",
"min",
"y",
"max = x",
"max",
"x",
"{\n\t\t\tmin = x;\n\t\t\tmax = y;\n\t\t}",
"min = x",
"min",
"x",
"max = y",
"max",
"y",
"if(x==0 && y==0) break;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"System.out.println(min + \" \" + max)",
"System.out.println",
"System.out",
"System",
"System.out",
"min + \" \" + max",
"min + \" \" + max",
"min",
"\" \"",
"max",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int i = 0;
int min = 0;
int max = 0;
while(true){
int x = scan.nextInt();
int y = scan.nextInt();
if(x>y || x==y){
min = y;
max = x;
}else{
min = x;
max = y;
}
if(x==0 && y==0) break;
System.out.println(min + " " + max);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
41,
13,
20,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
13,
40,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
14,
2,
13,
13,
30,
0,
13,
2,
2,
13,
17,
13,
30,
0,
13,
2,
2,
13,
17,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
136,
8
],
[
136,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
11,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
38,
41
],
[
11,
42
],
[
42,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
52,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
52,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
69,
72
],
[
52,
73
],
[
73,
74
],
[
11,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
75,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
11,
99
],
[
99,
100
],
[
100,
101
],
[
9,
102
],
[
102,
103
],
[
136,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
117,
117
],
[
117,
118
],
[
117,
119
],
[
117,
120
],
[
109,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
125,
125
],
[
125,
126
],
[
125,
127
],
[
125,
128
],
[
106,
129
],
[
129,
130
],
[
104,
131
],
[
131,
132
],
[
104,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tary.add(ArrayAdder(x,y));\n\t\tcnt++;\n\n\t\twhile(x!=0 || y!=0){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y){\n\t\tString str;\n\t\tif(x > y){\n\t\t\tstr = y +\" \"+ x;\n\t\t}else{\n\t\t\tstr = x +\" \"+ y;\n\t\t}\n\t\treturn str;\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tary.add(ArrayAdder(x,y));\n\t\tcnt++;\n\n\t\twhile(x!=0 || y!=0){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y){\n\t\tString str;\n\t\tif(x > y){\n\t\t\tstr = y +\" \"+ x;\n\t\t}else{\n\t\t\tstr = x +\" \"+ y;\n\t\t}\n\t\treturn str;\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tary.add(ArrayAdder(x,y));\n\t\tcnt++;\n\n\t\twhile(x!=0 || y!=0){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tary.add(ArrayAdder(x,y));\n\t\tcnt++;\n\n\t\twhile(x!=0 || y!=0){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}",
"ArrayList<String> ary = new ArrayList<String>();",
"ary",
"new ArrayList<String>()",
"int x",
"x",
"y;",
"y",
"int cnt = 0;",
"cnt",
"0",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ary.add(ArrayAdder(x,y))",
"ary.add",
"ary",
"ArrayAdder(x,y)",
"ArrayAdder",
"x",
"y",
"cnt++",
"cnt",
"while(x!=0 || y!=0){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"ary.add(ArrayAdder(x,y))",
"ary.add",
"ary",
"ArrayAdder(x,y)",
"ArrayAdder",
"x",
"y",
"cnt++",
"cnt",
"for(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<cnt-1",
"i",
"cnt-1",
"cnt",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}",
"System.out.println(ary.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"ary.get(i)",
"ary.get",
"ary",
"i",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public static String ArrayAdder(int x,int y){\n\t\tString str;\n\t\tif(x > y){\n\t\t\tstr = y +\" \"+ x;\n\t\t}else{\n\t\t\tstr = x +\" \"+ y;\n\t\t}\n\t\treturn str;\n\t}",
"ArrayAdder",
"{\n\t\tString str;\n\t\tif(x > y){\n\t\t\tstr = y +\" \"+ x;\n\t\t}else{\n\t\t\tstr = x +\" \"+ y;\n\t\t}\n\t\treturn str;\n\t}",
"String str;",
"str",
"if(x > y){\n\t\t\tstr = y +\" \"+ x;\n\t\t}else{\n\t\t\tstr = x +\" \"+ y;\n\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\tstr = y +\" \"+ x;\n\t\t}",
"str = y +\" \"+ x",
"str",
"y +\" \"+ x",
"y +\" \"+ x",
"y",
"\" \"",
"x",
"{\n\t\t\tstr = x +\" \"+ y;\n\t\t}",
"str = x +\" \"+ y",
"str",
"x +\" \"+ y",
"x +\" \"+ y",
"x",
"\" \"",
"y",
"return str;",
"str",
"int x",
"x",
"int y",
"y",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tary.add(ArrayAdder(x,y));\n\t\tcnt++;\n\n\t\twhile(x!=0 || y!=0){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y){\n\t\tString str;\n\t\tif(x > y){\n\t\t\tstr = y +\" \"+ x;\n\t\t}else{\n\t\t\tstr = x +\" \"+ y;\n\t\t}\n\t\treturn str;\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tArrayList<String> ary = new ArrayList<String>();\n\t\tint x,y;\n\t\tint cnt = 0;\n\t\tScanner sc = new Scanner(System.in);\n//\t\tsc.useDelimiter(\"\\\\r\\\\n\");\n\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\tary.add(ArrayAdder(x,y));\n\t\tcnt++;\n\n\t\twhile(x!=0 || y!=0){\n\t\t\tsc.hasNext();\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\tary.add(ArrayAdder(x,y));\n\t\t\tcnt++;\n\t\t}\n\n\t\tfor(int i=0;i<cnt-1;i++){\n\t\t\tSystem.out.println(ary.get(i));\n\t\t}\n\t\tsc.close();\n\t}\n\n\tpublic static String ArrayAdder(int x,int y){\n\t\tString str;\n\t\tif(x > y){\n\t\t\tstr = y +\" \"+ x;\n\t\t}else{\n\t\t\tstr = x +\" \"+ y;\n\t\t}\n\t\treturn str;\n\t}\n\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
ArrayList<String> ary = new ArrayList<String>();
int x,y;
int cnt = 0;
Scanner sc = new Scanner(System.in);
// sc.useDelimiter("\\r\\n");
x = sc.nextInt();
y = sc.nextInt();
ary.add(ArrayAdder(x,y));
cnt++;
while(x!=0 || y!=0){
sc.hasNext();
x = sc.nextInt();
y = sc.nextInt();
ary.add(ArrayAdder(x,y));
cnt++;
}
for(int i=0;i<cnt-1;i++){
System.out.println(ary.get(i));
}
sc.close();
}
public static String ArrayAdder(int x,int y){
String str;
if(x > y){
str = y +" "+ x;
}else{
str = x +" "+ y;
}
return str;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
13,
0,
18,
13,
17,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
4,
18,
13,
13,
17,
17,
18,
4,
18,
13,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
110,
11
],
[
110,
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
],
[
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
],
[
40,
42
],
[
29,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
29,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
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
],
[
64,
67
],
[
29,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
14,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
72,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
94,
99
],
[
93,
100
],
[
93,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
101,
106
],
[
12,
107
],
[
107,
108
],
[
0,
109
],
[
109,
110
],
[
109,
111
]
] | [
"import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer[]> num = new ArrayList<Integer[]>();\n\t\tint x;\n\t\tint y;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0 0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < num.size(); i++) {\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"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\tArrayList<Integer[]> num = new ArrayList<Integer[]>();\n\t\tint x;\n\t\tint y;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0 0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < num.size(); i++) {\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tArrayList<Integer[]> num = new ArrayList<Integer[]>();\n\t\tint x;\n\t\tint y;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0 0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < num.size(); i++) {\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}\n\t}",
"main",
"{\n\t\tArrayList<Integer[]> num = new ArrayList<Integer[]>();\n\t\tint x;\n\t\tint y;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0 0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < num.size(); i++) {\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}\n\t}",
"ArrayList<Integer[]> num = new ArrayList<Integer[]>();",
"num",
"new ArrayList<Integer[]>()",
"int x;",
"x",
"int y;",
"y",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}",
"x=sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y=sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Integer[] sort = new Integer[2];",
"sort",
"new Integer[2]",
"2",
"sort[0]=x",
"sort[0]",
"sort",
"0",
"x",
"sort[1]=y",
"sort[1]",
"sort",
"1",
"y",
"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;",
"Arrays.sort(sort)",
"Arrays.sort",
"Arrays",
"sort",
"num.add(sort)",
"num.add",
"num",
"sort",
"for (int i = 0; i < num.size(); i++) {\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num.size()",
"i",
"num.size()",
"num.size",
"num",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}",
"{\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}",
"System.out.println(num.get(i)[0]+\" \"+num.get(i)[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"num.get(i)[0]+\" \"+num.get(i)[1]",
"num.get(i)[0]+\" \"+num.get(i)[1]",
"num.get(i)[0]",
"num.get(i)",
"num.get",
"num",
"i",
"0",
"\" \"",
"num.get(i)[1]",
"num.get(i)",
"num.get",
"num",
"i",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer[]> num = new ArrayList<Integer[]>();\n\t\tint x;\n\t\tint y;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0 0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < num.size(); i++) {\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tArrayList<Integer[]> num = new ArrayList<Integer[]>();\n\t\tint x;\n\t\tint y;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//??\\??????????????????0 0?????§??°?????????\n\t\twhile (sc.hasNext()) {\n\t\t\tx=sc.nextInt();\n\t\t\ty=sc.nextInt();\n\t\t\tInteger[] sort = new Integer[2];\n\t\t\tsort[0]=x;\n\t\t\tsort[1]=y;\n\n\t\t\t//0??\\??????????????????\n\t\t\tif(x==0 && y==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t//??\\???????????´??°??????????????????\n\t\t\tArrays.sort(sort);\n\t\t\tnum.add(sort);\n\t\t}\n\t\t//??\\???????????´??°?????¨???\n\t\tfor (int i = 0; i < num.size(); i++) {\n\t\t\tSystem.out.println(num.get(i)[0]+\" \"+num.get(i)[1]);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
ArrayList<Integer[]> num = new ArrayList<Integer[]>();
int x;
int y;
Scanner sc = new Scanner(System.in);
//??\??????????????????0 0?????§??°?????????
while (sc.hasNext()) {
x=sc.nextInt();
y=sc.nextInt();
Integer[] sort = new Integer[2];
sort[0]=x;
sort[1]=y;
//0??\??????????????????
if(x==0 && y==0){
break;
}
//??\???????????´??°??????????????????
Arrays.sort(sort);
num.add(sort);
}
//??\???????????´??°?????¨???
for (int i = 0; i < num.size(); i++) {
System.out.println(num.get(i)[0]+" "+num.get(i)[1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
31,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
30,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
30,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
4,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
]
] | [
"import java.util.Scanner;\nclass Main {\n\tpublic void aa() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != 0 || y != 0) {\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\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().aa();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic void aa() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != 0 || y != 0) {\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\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().aa();\n\t}\n}",
"Main",
"public void aa() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != 0 || y != 0) {\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\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}",
"aa",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\twhile(x != 0 || y != 0) {\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\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(x != 0 || y != 0) {\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\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t}",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\tif(x < y) {\n\t\t\t\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\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\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",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[] args) {\n\t\tnew Main().aa();\n\t}",
"main",
"{\n\t\tnew Main().aa();\n\t}",
"new Main().aa()",
"new Main().aa",
"new Main()",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public void aa() {
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
while(x != 0 || y != 0) {
if(x < y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
x = sc.nextInt();
y = sc.nextInt();
}
}
public static void main(String[] args) {
new Main().aa();
}
} |
[
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,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
45,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 1; i > 0; i++){\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\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 scan = new Scanner(System.in);\n\t\tfor (int i = 1; i > 0; i++){\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\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\tfor (int i = 1; i > 0; i++){\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 1; i > 0; i++){\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for (int i = 1; i > 0; i++){\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i > 0",
"i",
"0",
"i++",
"i++",
"i",
"{\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t\t}",
"{\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\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\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\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\tSystem.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",
"{\n\t\t\tSystem.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\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 1; i > 0; i++){\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tfor (int i = 1; i > 0; i++){\n\t\tint x = scan.nextInt(); //????????§???????????\\???\n\t\tint y = scan.nextInt(); //????????§???????????\\???\n\t\tif(x == 0 && y == 0){\n\t\t\tbreak;\n\t\t}\n\t\tif(x > y){\n\t\t\tSystem.out.println(y + \" \" + x);\n\t\t} else{\n\t\t\tSystem.out.println(x + \" \" + y);\n\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);
for (int i = 1; i > 0; i++){
int x = scan.nextInt(); //????????§???????????\???
int y = scan.nextInt(); //????????§???????????\???
if(x == 0 && y == 0){
break;
}
if(x > y){
System.out.println(y + " " + x);
} else{
System.out.println(x + " " + y);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
42,
17,
30,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
13,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
38,
40
],
[
27,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
49,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
49,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
49,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"\nimport java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint num;\n\t\twhile(true){\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint num;\n\t\twhile(true){\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint num;\n\t\twhile(true){\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint num;\n\t\twhile(true){\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int num;",
"num",
"while(true){\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"if(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"x>y",
"x",
"y",
"{\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}",
"num = y",
"num",
"y",
"y = x",
"y",
"x",
"x = num",
"x",
"num",
"if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"x<y || x == y",
"x<y",
"x",
"y",
"x == y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"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\t\tbreak;\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;",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint num;\n\t\twhile(true){\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t\tint num;\n\t\twhile(true){\n\t\t\tif(x>y){\n\t\t\t\tnum = y;\n\t\t\t\ty = x;\n\t\t\t\tx = num;\n\t\t\t}else if(x<y || x == y){\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t\tx = sc.nextInt();\n\t\t\t\ty = sc.nextInt();\n\t\t\t\tif(x == 0 && y == 0){\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int x = sc.nextInt();
int y = sc.nextInt();
int num;
while(true){
if(x>y){
num = y;
y = x;
x = num;
}else if(x<y || x == y){
System.out.println(x+" "+y);
x = sc.nextInt();
y = sc.nextInt();
if(x == 0 && y == 0){
break;
}
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
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
],
[
95,
11
],
[
95,
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
],
[
23,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
69,
74
],
[
61,
75
],
[
59,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
79,
84
],
[
57,
85
],
[
14,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
12,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"while(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}",
"String data[] = reader.readLine().split(\" \");",
"data",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"int a= Integer.parseInt(data[0]);",
"a",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"int b= Integer.parseInt(data[1]);",
"b",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"if(a==0 && b==0)\n\t\t\t\tbreak;",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"builder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\")",
"builder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append",
"builder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a))",
"builder.append(Integer.toString(a<b?a:b)).append(\" \").append",
"builder.append(Integer.toString(a<b?a:b)).append(\" \")",
"builder.append(Integer.toString(a<b?a:b)).append",
"builder.append(Integer.toString(a<b?a:b))",
"builder.append",
"builder",
"Integer.toString(a<b?a:b)",
"Integer.toString",
"Integer",
"a<b?a:b",
"a<b",
"a",
"b",
"a",
"b",
"\" \"",
"Integer.toString(a<b?b:a)",
"Integer.toString",
"Integer",
"a<b?b:a",
"a<b",
"a",
"b",
"b",
"a",
"\"\\n\"",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString data[] = reader.readLine().split(\" \");\n\t\t\tint a= Integer.parseInt(data[0]);\n\t\t\tint b= Integer.parseInt(data[1]);\n\t\t\tif(a==0 && b==0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tbuilder.append(Integer.toString(a<b?a:b)).append(\" \").append(Integer.toString(a<b?b:a)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
while(true){
String data[] = reader.readLine().split(" ");
int a= Integer.parseInt(data[0]);
int b= Integer.parseInt(data[1]);
if(a==0 && b==0)
break;
builder.append(Integer.toString(a<b?a:b)).append(" ").append(Integer.toString(a<b?b:a)).append("\n");
}
System.out.print(builder);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
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,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
13,
2,
2,
13,
17,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
4,
18,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
213,
32
],
[
213,
33
],
[
33,
34
],
[
213,
35
],
[
35,
36
],
[
213,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
39,
49
],
[
49,
50
],
[
50,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
37,
55
],
[
55,
56
],
[
213,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
67,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
91,
98
],
[
98,
99
],
[
98,
100
],
[
67,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
105,
105
],
[
105,
106
],
[
105,
107
],
[
105,
108
],
[
213,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
109,
113
],
[
113,
114
],
[
109,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
115,
121
],
[
121,
122
],
[
109,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
126,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
125,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
144,
145
],
[
109,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
149,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
148,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
166,
167
],
[
167,
168
],
[
109,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
172,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
171,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
109,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
192,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
191,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
209,
210
],
[
210,
211
],
[
0,
212
],
[
212,
213
],
[
212,
214
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\nimport java.math.BigInteger;\nimport java.time.chrono.MinguoChronology;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int swap = 0;\n while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.time.chrono.MinguoChronology;",
"MinguoChronology",
"java.time.chrono",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int swap = 0;\n while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"Main",
"static InputReader in;",
"in",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"main",
"{\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}",
"in = new InputReader(System.in)",
"in",
"new InputReader(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"Solution solver = new Solution();",
"solver",
"new Solution()",
"solver.solve()",
"solver.solve",
"solver",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solution {\n void solve() throws IOException {\n int swap = 0;\n while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }\n }\n }",
"Solution",
"void solve() throws IOException {\n int swap = 0;\n while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }\n }",
"solve",
"{\n int swap = 0;\n while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }\n }",
"int swap = 0;",
"swap",
"0",
"while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }",
"true",
"{ \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }",
"int x = in.nextInt();",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"int 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 swap = x;\n x = y;\n y = swap;\n }",
"x > y",
"x",
"y",
"{\n swap = x;\n x = y;\n y = swap;\n }",
"swap = x",
"swap",
"x",
"x = y",
"x",
"y",
"y = swap",
"y",
"swap",
"out.println(x+\" \"+y)",
"out.println",
"out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }",
"InputReader",
"public BufferedReader br;",
"br",
"public StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"nextInt",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }",
"nextLong",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"nextDouble",
"{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }",
"while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int swap = 0;\n while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"public class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solution {\n void solve() throws IOException {\n int swap = 0;\n while (true) { \n int x = in.nextInt();\n int y = in.nextInt();\n if (x == 0 && y == 0) break; \n if (x > y) {\n swap = x;\n x = y;\n y = swap;\n }\n out.println(x+\" \"+y); \n }\n }\n }\n\n public static void main(String[] args) throws IOException {\n// ??????\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n \n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n \n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n \n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken()); \n }\n \n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n \n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n \n }\n \n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.StringTokenizer;
import java.math.BigInteger;
import java.time.chrono.MinguoChronology;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void solve() throws IOException {
int swap = 0;
while (true) {
int x = in.nextInt();
int y = in.nextInt();
if (x == 0 && y == 0) break;
if (x > y) {
swap = x;
x = y;
y = swap;
}
out.println(x+" "+y);
}
}
}
public static void main(String[] args) throws IOException {
// ??????
in = new InputReader(System.in);
out = new PrintWriter(System.out);
Solution solver = new Solution();
solver.solve();
out.close();
}
static class InputReader {
public BufferedReader br;
public StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public int nextInt() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Integer.parseInt(st.nextToken());
}
public long nextLong() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Long.parseLong(st.nextToken());
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public double nextDouble() throws IOException {
while (st == null || !st.hasMoreTokens()) {
st = new StringTokenizer(br.readLine());
}
return Double.parseDouble(st.nextToken());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
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
],
[
65,
5
],
[
65,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
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
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
18,
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.*;\npublic class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}}}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}}}",
"Main",
"public static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}}",
"main",
"{\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=0;",
"i",
"0",
"for(;;){\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}",
";",
"{\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}",
"{\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}",
"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){i=a;a=b;b=i;}",
"a>b",
"a",
"b",
"{i=a;a=b;b=i;}",
"i=a",
"i",
"a",
"a=b",
"a",
"b",
"b=i",
"b",
"i",
"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{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}}}",
"public class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint a=sc.nextInt();\nint b=sc.nextInt();\nif(a==0 && b==0)break;\nif(a>b){i=a;a=b;b=i;}\nSystem.out.println(a+\" \"+b);}}}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i=0;
for(;;){
int a=sc.nextInt();
int b=sc.nextInt();
if(a==0 && b==0)break;
if(a>b){i=a;a=b;b=i;}
System.out.println(a+" "+b);}}} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
41,
13,
17,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
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
],
[
17,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
58,
65
],
[
65,
66
],
[
65,
67
],
[
58,
68
],
[
68,
69
],
[
68,
70
],
[
58,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
77,
77
],
[
77,
78
],
[
77,
79
],
[
77,
80
],
[
54,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
92,
92
],
[
92,
93
],
[
92,
94
],
[
92,
95
],
[
81,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
107,
107
],
[
107,
108
],
[
107,
109
],
[
107,
110
],
[
9,
111
],
[
111,
112
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String s = br.readLine();\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x==0 && y==0) break;\n if(x>y){\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }else if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\n }\n \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 String s = br.readLine();\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x==0 && y==0) break;\n if(x>y){\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }else if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\n }\n \n }\n }\n}",
"Main",
"public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String s = br.readLine();\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x==0 && y==0) break;\n if(x>y){\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }else if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\n }\n \n }\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String s = br.readLine();\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x==0 && y==0) break;\n if(x>y){\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }else if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\n }\n \n }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String s = br.readLine();\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x==0 && y==0) break;\n if(x>y){\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }else if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\n }\n \n }",
"true",
"{\n String s = br.readLine();\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[0]);\n int y = Integer.parseInt(str[1]);\n if(x==0 && y==0) break;\n if(x>y){\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }else if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\n }\n \n }",
"String s = br.readLine();",
"s",
"br.readLine()",
"br.readLine",
"br",
"String[] str = s.split(\" \");",
"str",
"s.split(\" \")",
"s.split",
"s",
"\" \"",
"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) break;",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"if(x>y){\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }else if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\n }",
"x>y",
"x",
"y",
"{\n int i=0;\n i = x;\n x = y;\n y = i;\n System.out.println(x+\" \"+y);\n }",
"int i=0;",
"i",
"0",
"i = x",
"i",
"x",
"x = y",
"x",
"y",
"y = i",
"y",
"i",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"if(x<y){\n System.out.println(x+\" \"+y);\n }else if(x==y){\n System.out.println(x+\" \"+y);\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",
"if(x==y){\n System.out.println(x+\" \"+y);\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",
"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){
String s = br.readLine();
String[] str = s.split(" ");
int x = Integer.parseInt(str[0]);
int y = Integer.parseInt(str[1]);
if(x==0 && y==0) break;
if(x>y){
int i=0;
i = x;
x = y;
y = i;
System.out.println(x+" "+y);
}else if(x<y){
System.out.println(x+" "+y);
}else if(x==y){
System.out.println(x+" "+y);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
17,
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,
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
],
[
67,
5
],
[
67,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
24,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
18,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
33,
45
],
[
18,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
18,
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
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint[]a = new int[2];\n\twhile(true){\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint[]a = new int[2];\n\twhile(true){\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}\n}\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint[]a = new int[2];\n\twhile(true){\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}\n}",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tint[]a = new int[2];\n\twhile(true){\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[]a = new int[2];",
"a",
"new int[2]",
"2",
"while(true){\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}",
"true",
"{\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}",
"a[0] = sc.nextInt()",
"a[0]",
"a",
"0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"a[1] = sc.nextInt()",
"a[1]",
"a",
"1",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a[0]==0&&a[1]==0) break;",
"a[0]==0&&a[1]==0",
"a[0]==0",
"a[0]",
"a",
"0",
"0",
"a[1]==0",
"a[1]",
"a",
"1",
"0",
"break;",
"Arrays.sort (a)",
"Arrays.sort",
"Arrays",
"a",
"System.out.println(a[0]+\" \"+a[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0]+\" \"+a[1]",
"a[0]+\" \"+a[1]",
"a[0]",
"a",
"0",
"\" \"",
"a[1]",
"a",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint[]a = new int[2];\n\twhile(true){\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}\n}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint[]a = new int[2];\n\twhile(true){\n\ta[0] = sc.nextInt();\n\ta[1] = sc.nextInt();\n\tif(a[0]==0&&a[1]==0) break;\n\tArrays.sort (a);\n\tSystem.out.println(a[0]+\" \"+a[1]);\t\n\t}\n}\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int[]a = new int[2];
while(true){
a[0] = sc.nextInt();
a[1] = sc.nextInt();
if(a[0]==0&&a[1]==0) break;
Arrays.sort (a);
System.out.println(a[0]+" "+a[1]);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
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
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
20,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
20,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
20,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
71,
71
],
[
71,
72
],
[
71,
73
],
[
71,
74
],
[
60,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
12,
90
],
[
90,
91
]
] | [
"import 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 br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString strArray[] = str.split(\" \", 0);\n\t\t\tint num1 = Integer.parseInt(strArray[0]);\n\t\t\tint num2 = Integer.parseInt(strArray[1]);\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.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 br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString strArray[] = str.split(\" \", 0);\n\t\t\tint num1 = Integer.parseInt(strArray[0]);\n\t\t\tint num2 = Integer.parseInt(strArray[1]);\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString strArray[] = str.split(\" \", 0);\n\t\t\tint num1 = Integer.parseInt(strArray[0]);\n\t\t\tint num2 = Integer.parseInt(strArray[1]);\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\t\t\tString str = br.readLine();\n\t\t\tString strArray[] = str.split(\" \", 0);\n\t\t\tint num1 = Integer.parseInt(strArray[0]);\n\t\t\tint num2 = Integer.parseInt(strArray[1]);\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n\t\t\tString str = br.readLine();\n\t\t\tString strArray[] = str.split(\" \", 0);\n\t\t\tint num1 = Integer.parseInt(strArray[0]);\n\t\t\tint num2 = Integer.parseInt(strArray[1]);\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString str = br.readLine();\n\t\t\tString strArray[] = str.split(\" \", 0);\n\t\t\tint num1 = Integer.parseInt(strArray[0]);\n\t\t\tint num2 = Integer.parseInt(strArray[1]);\n\n\t\t\tif(num1 == 0 && num2 ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String strArray[] = str.split(\" \", 0);",
"strArray",
"str.split(\" \", 0)",
"str.split",
"str",
"\" \"",
"0",
"int num1 = Integer.parseInt(strArray[0]);",
"num1",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"int num2 = Integer.parseInt(strArray[1]);",
"num2",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"if(num1 == 0 && num2 ==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}",
"num1 == 0 && num2 ==0",
"num1 == 0",
"num1",
"0",
"num2 ==0",
"num2",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tif(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}\n\t\t\t}",
"if(num1 <= num2){\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}\n\t\t\t\telse if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}",
"num1 <= num2",
"num1",
"num2",
"{\n\t\t\t\t\tSystem.out.println(num1 + \" \" + num2);\n\t\t\t\t}",
"System.out.println(num1 + \" \" + num2)",
"System.out.println",
"System.out",
"System",
"System.out",
"num1 + \" \" + num2",
"num1 + \" \" + num2",
"num1",
"\" \"",
"num2",
"if(num2 < num1){\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}",
"num2 < num1",
"num2",
"num1",
"{\n\t\t\t\t\tSystem.out.println(num2 + \" \" + num1);\n\t\t\t\t}",
"System.out.println(num2 + \" \" + num1)",
"System.out.println",
"System.out",
"System",
"System.out",
"num2 + \" \" + num1",
"num2 + \" \" + num1",
"num2",
"\" \"",
"num1",
"String[] args",
"args"
] | import java.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 str = br.readLine();
String strArray[] = str.split(" ", 0);
int num1 = Integer.parseInt(strArray[0]);
int num2 = Integer.parseInt(strArray[1]);
if(num1 == 0 && num2 ==0){
break;
}
else{
if(num1 <= num2){
System.out.println(num1 + " " + num2);
}
else if(num2 < num1){
System.out.println(num2 + " " + num1);
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
17,
4,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
96,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
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
],
[
21,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
21,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
21,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
64,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
79,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
79,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
9,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tfor(;;){\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}\n\n\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tfor(;;){\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}\n\n\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}\n\t}\n}",
"Main",
"private static final Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tfor(;;){\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}\n\n\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tfor(;;){\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}\n\n\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}\n\t}",
"List<Integer> listX = new ArrayList<Integer>();",
"listX",
"new ArrayList<Integer>()",
"List<Integer> listY = new ArrayList<Integer>();",
"listY",
"new ArrayList<Integer>()",
"for(;;){\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}",
";",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif((x == 0) && (y == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x > y){\n\t\t\t\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\tif((x == 0) && (y == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(x > y){\n\t\t\t\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if((x == 0) && (y == 0)){\n\t\t\t\tbreak;\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}",
"int work = x;",
"work",
"x",
"x = y",
"x",
"y",
"y = work",
"y",
"work",
"listX.add(x)",
"listX.add",
"listX",
"x",
"listY.add(y)",
"listY.add",
"listY",
"y",
"for(int i = 0; i < listX.size(); i++){\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < listX.size()",
"i",
"listX.size()",
"listX.size",
"listX",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}",
"System.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"listX.get(i)",
"listX.get",
"listX",
"i",
"listY.get(i)",
"listY.get",
"listY",
"i",
"String[] args",
"args",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tfor(;;){\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}\n\n\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}\n\t}\n}",
"public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tfor(;;){\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\tint work = x;\n\t\t\t\tx = y;\n\t\t\t\ty = work;\n\t\t\t}\n\t\t\tlistX.add(x);\n\t\t\tlistY.add(y);\n\t\t}\n\n\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
private static final Scanner scan = new Scanner(System.in);
public static void main(String[] args){
List<Integer> listX = new ArrayList<Integer>();
List<Integer> listY = new ArrayList<Integer>();
for(;;){
int x = scan.nextInt();
int y = scan.nextInt();
if((x == 0) && (y == 0)){
break;
}
if(x > y){
int work = x;
x = y;
y = work;
}
listX.add(x);
listY.add(y);
}
for(int i = 0; i < listX.size(); i++){
System.out.printf("%d %d\n", listX.get(i), listY.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
31,
32
],
[
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
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
20,
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.*;\nclass Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b, t;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\tif(a > b) { t = a; a = b; b = t; }\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b, t;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\tif(a > b) { t = a; a = b; b = t; }\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args) throws java.lang.Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b, t;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\tif(a > b) { t = a; a = b; b = t; }\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a, b, t;\n\t\twhile(true) {\n\t\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\tif(a > b) { t = a; a = b; b = t; }\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"t;",
"t",
"while(true) {\n\t\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\tif(a > b) { t = a; a = b; b = t; }\n\t\t\tSystem.out.println(a + \" \" + b);\n\t\t}",
"true",
"{\n\t\t\ta = sc.nextInt(); b = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t\tif(a > b) { t = a; a = b; b = t; }\n\t\t\tSystem.out.println(a + \" \" + b);\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) { t = a; a = b; b = t; }",
"a > b",
"a",
"b",
"{ t = a; a = b; b = t; }",
"t = a",
"t",
"a",
"a = b",
"a",
"b",
"b = t",
"b",
"t",
"System.out.println(a + \" \" + b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"String[] args",
"args"
] | import java.util.*;
class Main {
public static void main (String[] args) throws java.lang.Exception {
Scanner sc = new Scanner(System.in);
int a, b, t;
while(true) {
a = sc.nextInt(); b = sc.nextInt();
if(a == 0 && b == 0) break;
if(a > b) { t = a; a = b; b = t; }
System.out.println(a + " " + b);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
39,
13,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
64,
8
],
[
64,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
17,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
17,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
37,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
9,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
] | [
"import java.util.Scanner; \nimport java.util.Arrays;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n } \n } \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n } \n } \n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n } \n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n } \n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true) {\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n }",
"true",
"{\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n }",
"int x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] data = {x, y};",
"data",
"{x, y}",
"x",
"y",
"Arrays.sort(data)",
"Arrays.sort",
"Arrays",
"data",
"if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"{\n System.out.println(data[0] + \" \" + data[1]);\n }",
"System.out.println(data[0] + \" \" + data[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"data[0] + \" \" + data[1]",
"data[0] + \" \" + data[1]",
"data[0]",
"data",
"0",
"\" \"",
"data[1]",
"data",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n } \n } \n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n \n while(true) {\n int x = scan.nextInt(), y = scan.nextInt();\n int[] data = {x, y};\n Arrays.sort(data); \n if(x == 0 && y == 0) break;\n else {\n System.out.println(data[0] + \" \" + data[1]);\n } \n } \n } \n}",
"Main"
] | import java.util.Scanner;
import java.util.Arrays;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(true) {
int x = scan.nextInt(), y = scan.nextInt();
int[] data = {x, y};
Arrays.sort(data);
if(x == 0 && y == 0) break;
else {
System.out.println(data[0] + " " + data[1]);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
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,
12,
13,
30,
4,
18,
20,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
4,
11
],
[
11,
12
],
[
4,
13
],
[
13,
14
],
[
13,
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
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
26,
38
],
[
38,
39
],
[
39,
40
],
[
26,
41
],
[
42,
42
],
[
42,
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
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
42,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
42,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
4,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
79,
85
],
[
85,
86
]
] | [
"import java.util.Scanner;\nclass Main{\n\t\n\tScanner sc = new Scanner(System.in);\n\tint x;\n\tint y;\n\t\n\tvoid rp3(){\n\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\n\t\tfor(int i=1; (x>0 || y>0); i++){\n\t\t\tif(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static void main(String[]agrs){\n\t\t\tnew Main().rp3();\n\t}\n}\n\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n\t\n\tScanner sc = new Scanner(System.in);\n\tint x;\n\tint y;\n\t\n\tvoid rp3(){\n\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\n\t\tfor(int i=1; (x>0 || y>0); i++){\n\t\t\tif(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static void main(String[]agrs){\n\t\t\tnew Main().rp3();\n\t}\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x;",
"x",
"int y;",
"y",
"void rp3(){\n\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\n\t\tfor(int i=1; (x>0 || y>0); i++){\n\t\t\tif(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\t\n\t\t}\n\t}",
"rp3",
"{\n\t\n\t\tx = sc.nextInt();\n\t\ty = sc.nextInt();\n\t\t\n\t\n\t\tfor(int i=1; (x>0 || y>0); i++){\n\t\t\tif(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\t\n\t\t}\n\t}",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=1; (x>0 || y>0); i++){\n\t\t\tif(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\t\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"(x>0 || y>0)",
"x>0",
"x",
"0",
"y>0",
"y",
"0",
"i++",
"i++",
"i",
"{\n\t\t\tif(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\t\n\t\t}",
"{\n\t\t\tif(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}\n\t\t\tx = sc.nextInt();\n\t\t\ty = sc.nextInt();\n\t\t\t\n\t\t}",
"if(x>y){\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}else{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}",
"x>y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(y+\" \"+x);\n\t\t\t}",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"{\n\t\t\t\tSystem.out.println(x+\" \"+y);\n\t\t\t}",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"public static void main(String[]agrs){\n\t\t\tnew Main().rp3();\n\t}",
"main",
"{\n\t\t\tnew Main().rp3();\n\t}",
"new Main().rp3()",
"new Main().rp3",
"new Main()",
"String[]agrs",
"agrs"
] | import java.util.Scanner;
class Main{
Scanner sc = new Scanner(System.in);
int x;
int y;
void rp3(){
x = sc.nextInt();
y = sc.nextInt();
for(int i=1; (x>0 || y>0); i++){
if(x>y){
System.out.println(y+" "+x);
}else{
System.out.println(x+" "+y);
}
x = sc.nextInt();
y = sc.nextInt();
}
}
public static void main(String[]agrs){
new Main().rp3();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
21,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
21,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
21,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
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 stdIn = new Scanner(System.in);\n\t\tint x, y, box = 0;\n\t\twhile (true) {\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x, y, box = 0;\n\t\twhile (true) {\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x, y, box = 0;\n\t\twhile (true) {\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x, y, box = 0;\n\t\twhile (true) {\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"int x",
"x",
"y",
"y",
"box = 0;",
"box",
"0",
"while (true) {\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"true",
"{\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"x = stdIn.nextInt()",
"x",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"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\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\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\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x, y, box = 0;\n\t\twhile (true) {\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint x, y, box = 0;\n\t\twhile (true) {\n\t\t\tx = stdIn.nextInt();\n\t\t\ty = stdIn.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif (x > y) {\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
int x, y, box = 0;
while (true) {
x = stdIn.nextInt();
y = stdIn.nextInt();
if(x == 0 && y == 0)break;
if (x > y) {
box = x;
x = y;
y = box;
}
System.out.println(x + " " + y);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
2,
2,
17,
13,
2,
13,
17,
2,
2,
17,
13,
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,
17,
17,
0,
13,
4,
18,
13,
18,
13,
17,
0,
13,
4,
18,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
121,
5
],
[
121,
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
],
[
19,
22
],
[
19,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
49,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
77,
79
],
[
65,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
65,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
65,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
97,
101
],
[
65,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
107,
109
],
[
65,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
115,
117
],
[
6,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
] | [
"import java.io.*; \npublic class Main {\n public static void main(String[] args) throws IOException {\n\t \n \t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString buf = br.readLine();\n String[] x = buf.split(\" \",0);\n\n \tint a = Integer.parseInt(x[0]);\n \tint b = Integer.parseInt(x[1]);\n\n \twhile (a!=0 || b!=0){\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}\n \n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n\t \n \t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString buf = br.readLine();\n String[] x = buf.split(\" \",0);\n\n \tint a = Integer.parseInt(x[0]);\n \tint b = Integer.parseInt(x[1]);\n\n \twhile (a!=0 || b!=0){\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}\n \n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t \n \t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString buf = br.readLine();\n String[] x = buf.split(\" \",0);\n\n \tint a = Integer.parseInt(x[0]);\n \tint b = Integer.parseInt(x[1]);\n\n \twhile (a!=0 || b!=0){\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}\n \n\t}",
"main",
"{\n\t \n \t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString buf = br.readLine();\n String[] x = buf.split(\" \",0);\n\n \tint a = Integer.parseInt(x[0]);\n \tint b = Integer.parseInt(x[1]);\n\n \twhile (a!=0 || b!=0){\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}\n \n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"String[] x = buf.split(\" \",0);",
"x",
"buf.split(\" \",0)",
"buf.split",
"buf",
"\" \"",
"0",
"int a = Integer.parseInt(x[0]);",
"a",
"Integer.parseInt(x[0])",
"Integer.parseInt",
"Integer",
"x[0]",
"x",
"0",
"int b = Integer.parseInt(x[1]);",
"b",
"Integer.parseInt(x[1])",
"Integer.parseInt",
"Integer",
"x[1]",
"x",
"1",
"while (a!=0 || b!=0){\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}",
"a!=0 || b!=0",
"a!=0",
"a",
"0",
"b!=0",
"b",
"0",
"{\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}",
"if ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}",
"(0 <= a && a <= 10000)&&(0 <= b && b <=10000)",
"(0 <= a && a <= 10000)",
"0 <= a",
"0",
"a",
"a <= 10000",
"a",
"10000",
"(0 <= b && b <=10000)",
"0 <= b",
"0",
"b",
"b <=10000",
"b",
"10000",
"{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}",
"if(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}",
"a>b",
"a",
"b",
"{\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \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",
"buf = br.readLine()",
"buf",
"br.readLine()",
"br.readLine",
"br",
"x = buf.split(\" \",0)",
"x",
"buf.split(\" \",0)",
"buf.split",
"buf",
"\" \"",
"0",
"a = Integer.parseInt(x[0])",
"a",
"Integer.parseInt(x[0])",
"Integer.parseInt",
"Integer",
"x[0]",
"x",
"0",
"b = Integer.parseInt(x[1])",
"b",
"Integer.parseInt(x[1])",
"Integer.parseInt",
"Integer",
"x[1]",
"x",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n\t \n \t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString buf = br.readLine();\n String[] x = buf.split(\" \",0);\n\n \tint a = Integer.parseInt(x[0]);\n \tint b = Integer.parseInt(x[1]);\n\n \twhile (a!=0 || b!=0){\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}\n \n\t}\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n\t \n \t\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString buf = br.readLine();\n String[] x = buf.split(\" \",0);\n\n \tint a = Integer.parseInt(x[0]);\n \tint b = Integer.parseInt(x[1]);\n\n \twhile (a!=0 || b!=0){\n \tif ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))\n \t\t{\n \t\tif(a>b){\n \t\tint temp = a;\n \t\t a = b;\n \t\t b =temp;\n \t\t}\n \t\tSystem.out.println(a + \" \" + b); \n \t\tbuf = br.readLine();\n \t\tx = buf.split(\" \",0);\n\n \t\ta = Integer.parseInt(x[0]);\n \t\tb = Integer.parseInt(x[1]);\n \t}\n \t\t\n \t}\n \n\t}\n}",
"Main"
] | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String buf = br.readLine();
String[] x = buf.split(" ",0);
int a = Integer.parseInt(x[0]);
int b = Integer.parseInt(x[1]);
while (a!=0 || b!=0){
if ((0 <= a && a <= 10000)&&(0 <= b && b <=10000))
{
if(a>b){
int temp = a;
a = b;
b =temp;
}
System.out.println(a + " " + b);
buf = br.readLine();
x = buf.split(" ",0);
a = Integer.parseInt(x[0]);
b = Integer.parseInt(x[1]);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
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
],
[
8,
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
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
41,
42
],
[
41,
43
],
[
19,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
44,
52
],
[
19,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
58,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
58,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\tint tmp;\n\t\t\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tstr.append(x + \" \" + y + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\tint tmp;\n\t\t\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tstr.append(x + \" \" + y + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\tint tmp;\n\t\t\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tstr.append(x + \" \" + y + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t\tint tmp;\n\t\t\n\t\twhile (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tstr.append(x + \" \" + y + \"\\n\");\n\t\t}\n\n\t\tSystem.out.print(str);\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder str = new StringBuilder();",
"str",
"new StringBuilder()",
"int tmp;",
"tmp",
"while (true) {\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tstr.append(x + \" \" + y + \"\\n\");\n\t\t}",
"true",
"{\n\t\t\tint x = scan.nextInt();\n\t\t\tint y = scan.nextInt();\n\t\t\t\n\t\t\tif (x > y) {\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}\n\t\t\tif (x == 0 && y == 0)\n\t\t\t\tbreak;\n\t\t\tstr.append(x + \" \" + y + \"\\n\");\n\t\t}",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (x > y) {\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\ttmp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = tmp;\n\t\t\t}",
"tmp = x",
"tmp",
"x",
"x = y",
"x",
"y",
"y = tmp",
"y",
"tmp",
"if (x == 0 && y == 0)\n\t\t\t\tbreak;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"str.append(x + \" \" + y + \"\\n\")",
"str.append",
"str",
"x + \" \" + y + \"\\n\"",
"y",
"x + \" \" + y + \"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"System.out.print(str)",
"System.out.print",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuilder str = new StringBuilder();
int tmp;
while (true) {
int x = scan.nextInt();
int y = scan.nextInt();
if (x > y) {
tmp = x;
x = y;
y = tmp;
}
if (x == 0 && y == 0)
break;
str.append(x + " " + y + "\n");
}
System.out.print(str);
}
} |
[
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,
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
],
[
69,
5
],
[
69,
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
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
21,
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{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1;; i++)\n\t\t{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\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\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1;; i++)\n\t\t{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1;; i++)\n\t\t{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1;; i++)\n\t\t{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\n\t\t}\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for(int i=1;; i++)\n\t\t{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\n\t\t}",
"{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\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\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}",
"a==0 && b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}",
"int buf = a;",
"buf",
"a",
"a = b",
"a",
"b",
"b = buf",
"b",
"buf",
"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\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1;; i++)\n\t\t{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tfor(int i=1;; i++)\n\t\t{\t\t\n\t\t\tint a = scanner.nextInt();\n\t\t\tint b = scanner.nextInt();\n\t\t\t\n\t\t\tif(a==0 && b==0)\n\t\t\t{\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if(a > b)\n\t\t\t{\n\t\t\t\tint buf = a;\n\t\t\t\ta = b;\n\t\t\t\tb = buf;\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println(a+\" \"+b);\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
Scanner scanner = new Scanner(System.in);
for(int i=1;; i++)
{
int a = scanner.nextInt();
int b = scanner.nextInt();
if(a==0 && b==0)
{
break;
}
else if(a > b)
{
int buf = a;
a = b;
b = buf;
}
System.out.println(a+" "+b);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
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,
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
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
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
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
47,
48
],
[
47,
49
],
[
16,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp;\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(x + \" \" + y);\n }\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp;\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(x + \" \" + y);\n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp;\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(x + \" \" + y);\n }\n\t}",
"main",
"{\n Scanner sc = new Scanner(System.in);\n int tmp;\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(x + \" \" + y);\n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int tmp;",
"tmp",
"while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(x + \" \" + y);\n }",
"true",
"{\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(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 ) break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }",
"x > y",
"x",
"y",
"{\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }",
"tmp = x",
"tmp",
"x",
"x = y",
"x",
"y",
"y = tmp",
"y",
"tmp",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp;\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(x + \" \" + y);\n }\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int tmp;\n while(true){\n int x = sc.nextInt();\n int y = sc.nextInt();\n if ( x == 0 && y == 0 ) break;\n if (x > y){\n \ttmp = x;\n \tx = y;\n \ty = tmp;\n }\n System.out.println(x + \" \" + y);\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 tmp;
while(true){
int x = sc.nextInt();
int y = sc.nextInt();
if ( x == 0 && y == 0 ) break;
if (x > y){
tmp = x;
x = y;
y = tmp;
}
System.out.println(x + " " + y);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
20,
42,
2,
2,
13,
17,
2,
13,
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,
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,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
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
],
[
138,
8
],
[
138,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
36,
41
],
[
33,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
33,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
55,
56
],
[
55,
57
],
[
33,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
58,
66
],
[
66,
67
],
[
33,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
33,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
11,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
76,
86
],
[
86,
87
],
[
87,
88
],
[
76,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
92,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
91,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
108,
113
],
[
108,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
91,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
125,
130
],
[
125,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
9,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int i = 0; i < x_list.size(); i++) {\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }\n\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int i = 0; i < x_list.size(); i++) {\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int i = 0; i < x_list.size(); i++) {\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }\n\n }",
"main",
"{\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int i = 0; i < x_list.size(); i++) {\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }\n\n }",
"ArrayList<Integer> x_list = new ArrayList<>();",
"x_list",
"new ArrayList<>()",
"ArrayList<Integer> y_list = new ArrayList<>();",
"y_list",
"new ArrayList<>()",
"int x;",
"x",
"int y;",
"y",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n }",
"String[] line = br.readLine().split(\" \");",
"line",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(line[0])",
"x",
"Integer.parseInt(line[0])",
"Integer.parseInt",
"Integer",
"line[0]",
"line",
"0",
"y = Integer.parseInt(line[1])",
"y",
"Integer.parseInt(line[1])",
"Integer.parseInt",
"Integer",
"line[1]",
"line",
"1",
"if (x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"x_list.add(x)",
"x_list.add",
"x_list",
"x",
"y_list.add(y)",
"y_list.add",
"y_list",
"y",
"for (int i = 0; i < x_list.size(); i++) {\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < x_list.size()",
"i",
"x_list.size()",
"x_list.size",
"x_list",
"i++",
"i++",
"i",
"{\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }",
"{\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }",
"if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }",
"x_list.get(i) > y_list.get(i)",
"x_list.get(i)",
"x_list.get",
"x_list",
"i",
"y_list.get(i)",
"y_list.get",
"y_list",
"i",
"{\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n }",
"System.out.println(y_list.get(i) + \" \" + x_list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"y_list.get(i) + \" \" + x_list.get(i)",
"y_list.get(i) + \" \" + x_list.get(i)",
"y_list.get(i)",
"y_list.get",
"y_list",
"i",
"\" \"",
"x_list.get(i)",
"x_list.get",
"x_list",
"i",
"{\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }",
"System.out.println(x_list.get(i) + \" \" + y_list.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"x_list.get(i) + \" \" + y_list.get(i)",
"x_list.get(i) + \" \" + y_list.get(i)",
"x_list.get(i)",
"x_list.get",
"x_list",
"i",
"\" \"",
"y_list.get(i)",
"y_list.get",
"y_list",
"i",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int i = 0; i < x_list.size(); i++) {\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n ArrayList<Integer> x_list = new ArrayList<>();\n ArrayList<Integer> y_list = new ArrayList<>();\n\n int x;\n int y;\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n do {\n String[] line = br.readLine().split(\" \");\n x = Integer.parseInt(line[0]);\n y = Integer.parseInt(line[1]);\n\n if (x == 0 && y == 0) {\n break;\n }\n\n x_list.add(x);\n y_list.add(y);\n\n } while (x != 0 || y != 0);\n\n for (int i = 0; i < x_list.size(); i++) {\n if (x_list.get(i) > y_list.get(i)) {\n System.out.println(y_list.get(i) + \" \" + x_list.get(i));\n } else {\n System.out.println(x_list.get(i) + \" \" + y_list.get(i));\n }\n }\n\n }\n\n}",
"Main"
] | import java.io.*;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws IOException {
ArrayList<Integer> x_list = new ArrayList<>();
ArrayList<Integer> y_list = new ArrayList<>();
int x;
int y;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
do {
String[] line = br.readLine().split(" ");
x = Integer.parseInt(line[0]);
y = Integer.parseInt(line[1]);
if (x == 0 && y == 0) {
break;
}
x_list.add(x);
y_list.add(y);
} while (x != 0 || y != 0);
for (int i = 0; i < x_list.size(); i++) {
if (x_list.get(i) > y_list.get(i)) {
System.out.println(y_list.get(i) + " " + x_list.get(i));
} else {
System.out.println(x_list.get(i) + " " + y_list.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,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
2,
2,
17,
13,
17,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
47,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
47,
52
],
[
34,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
62,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
60,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \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 while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \n }\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \n }",
"true",
"{\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \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 )break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n }",
"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+\"\"",
"x",
"\" \"",
"\"\"+y+\" \"+x+\"\"",
"\"\"",
"y",
"\" \"",
"x",
"\"\"",
"{\n System.out.println(\"\"+x+\" \"+y+\"\");\n }",
"System.out.println(\"\"+x+\" \"+y+\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\"+x+\" \"+y+\"\"",
"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 while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \n }\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n while(true){\n int x = scan.nextInt();\n int y = scan.nextInt();\n if( x == 0 && y == 0 )break;\n if( x > y ){\n System.out.println(\"\"+y+\" \"+x+\"\");\n }else{\n System.out.println(\"\"+x+\" \"+y+\"\");\n } \n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
while(true){
int x = scan.nextInt();
int y = scan.nextInt();
if( x == 0 && y == 0 )break;
if( x > y ){
System.out.println(""+y+" "+x+"");
}else{
System.out.println(""+x+" "+y+"");
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
11,
1,
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,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
51,
51
],
[
51,
52
],
[
51,
53
],
[
51,
54
],
[
41,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
74,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
65,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t int x, y ,min;\n\t for(;;) {\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t int x, y ,min;\n\t for(;;) {\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main",
"void run(){\n\t\tScanner s = new Scanner(System.in);\n\t int x, y ,min;\n\t for(;;) {\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }\n\t \n\t}",
"run",
"{\n\t\tScanner s = new Scanner(System.in);\n\t int x, y ,min;\n\t for(;;) {\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }\n\t \n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"int x",
"x",
"y",
"y",
"min;",
"min",
"for(;;) {\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }",
";",
"{\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }",
"{\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }",
"x = s.nextInt()",
"x",
"s.nextInt()",
"s.nextInt",
"s",
"y = s.nextInt()",
"y",
"s.nextInt()",
"s.nextInt",
"s",
"if(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);",
"x < y",
"x",
"y",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"public static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t int x, y ,min;\n\t for(;;) {\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t int x, y ,min;\n\t for(;;) {\n\t \tx = s.nextInt();\n\t \t y = s.nextInt();\n\t \tif(x == 0 && y == 0) break;\n\t \telse if(x < y) System.out.println(x + \" \" + y);\n\t \telse System.out.println(y + \" \" + x);\n\t }\n\t \n\t}\n\tpublic static void main(String[] args) {\n\t\t\n\t\tnew Main().run();\n\t\t\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
void run(){
Scanner s = new Scanner(System.in);
int x, y ,min;
for(;;) {
x = s.nextInt();
y = s.nextInt();
if(x == 0 && y == 0) break;
else if(x < y) System.out.println(x + " " + y);
else System.out.println(y + " " + x);
}
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
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,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
3,
30,
14,
2,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
14,
2,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
94,
5
],
[
94,
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
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
36,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
36,
55
],
[
28,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
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
],
[
56,
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
],
[
84,
87
],
[
82,
88
],
[
80,
89
],
[
78,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"StringBuilder text = new StringBuilder();",
"text",
"new StringBuilder()",
"while (true) {\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}",
"int numA = scan.nextInt();",
"numA",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int numB = scan.nextInt();",
"numB",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}",
"numA == 0 && numB == 0",
"numA == 0",
"numA",
"0",
"numB == 0",
"numB",
"0",
"{\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t}",
"scan.close()",
"scan.close",
"scan",
"text.deleteCharAt(text.lastIndexOf(\"\\n\"))",
"text.deleteCharAt",
"text",
"text.lastIndexOf(\"\\n\")",
"text.lastIndexOf",
"text",
"\"\\n\"",
"System.out.println(text.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"text.toString()",
"text.toString",
"text",
"break;",
"{\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}",
"if (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");",
"numA <= numB",
"numA",
"numB",
"text.append(numA).append(\" \").append(numB).append(\"\\n\")",
"text.append(numA).append(\" \").append(numB).append",
"text.append(numA).append(\" \").append(numB)",
"text.append(numA).append(\" \").append",
"text.append(numA).append(\" \")",
"text.append(numA).append",
"text.append(numA)",
"text.append",
"text",
"numA",
"\" \"",
"numB",
"\"\\n\"",
"if (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");",
"numA > numB",
"numA",
"numB",
"text.append(numB).append(\" \").append(numA).append(\"\\n\")",
"text.append(numB).append(\" \").append(numA).append",
"text.append(numB).append(\" \").append(numA)",
"text.append(numB).append(\" \").append",
"text.append(numB).append(\" \")",
"text.append(numB).append",
"text.append(numB)",
"text.append",
"text",
"numB",
"\" \"",
"numA",
"\"\\n\"",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder text = new StringBuilder();\n\t\twhile (true) {\n\t\t\tint numA = scan.nextInt();\n\t\t\tint numB = scan.nextInt();\n\t\t\tif (numA == 0 && numB == 0) {\n\t\t\t\tscan.close();\n\t\t\t\ttext.deleteCharAt(text.lastIndexOf(\"\\n\"));\n\t\t\t\tSystem.out.println(text.toString());\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tif (numA <= numB)\n\t\t\t\t\ttext.append(numA).append(\" \").append(numB).append(\"\\n\");\n\t\t\t\tif (numA > numB)\n\t\t\t\t\ttext.append(numB).append(\" \").append(numA).append(\"\\n\");\n\t\t\t}\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
StringBuilder text = new StringBuilder();
while (true) {
int numA = scan.nextInt();
int numB = scan.nextInt();
if (numA == 0 && numB == 0) {
scan.close();
text.deleteCharAt(text.lastIndexOf("\n"));
System.out.println(text.toString());
break;
} else {
if (numA <= numB)
text.append(numA).append(" ").append(numB).append("\n");
if (numA > numB)
text.append(numB).append(" ").append(numA).append("\n");
}
}
}
} |
[
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,
41,
13,
39,
13,
13,
41,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
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
],
[
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
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
21,
37
],
[
37,
38
],
[
21,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
21,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
49,
61
],
[
61,
62
],
[
62,
63
],
[
49,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
66,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
76,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
76,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
65,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
6,
112
],
[
112,
113
]
] | [
"import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n for(int i = 1; ; i++){\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n int numbers[] = {x, y};\n int temp;\n if(x == 0 && y == 0){\n break;\n }\n for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }\n \n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n for(int i = 1; ; i++){\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n int numbers[] = {x, y};\n int temp;\n if(x == 0 && y == 0){\n break;\n }\n for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }\n \n }\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n \n for(int i = 1; ; i++){\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n int numbers[] = {x, y};\n int temp;\n if(x == 0 && y == 0){\n break;\n }\n for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }\n \n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n \n for(int i = 1; ; i++){\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n int numbers[] = {x, y};\n int temp;\n if(x == 0 && y == 0){\n break;\n }\n for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }\n \n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for(int i = 1; ; i++){\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n int numbers[] = {x, y};\n int temp;\n if(x == 0 && y == 0){\n break;\n }\n for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }\n \n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n int numbers[] = {x, y};\n int temp;\n if(x == 0 && y == 0){\n break;\n }\n for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }\n \n }",
"{\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n int numbers[] = {x, y};\n int temp;\n if(x == 0 && y == 0){\n break;\n }\n for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }\n \n }",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int y = scanner.nextInt();",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int numbers[] = {x, y};",
"numbers",
"{x, y}",
"x",
"y",
"int temp;",
"temp",
"if(x == 0 && y == 0){\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"for(int j = 0; j < numbers.length - 1; j++){\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < numbers.length - 1",
"j",
"numbers.length - 1",
"numbers.length",
"numbers",
"numbers.length",
"1",
"j++",
"j++",
"j",
"{\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }",
"{\n \n if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }\n System.out.println(numbers[0] + \" \" + numbers[1]);\n }",
"if(numbers[j] > numbers[j + 1]){\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }",
"numbers[j] > numbers[j + 1]",
"numbers[j]",
"numbers",
"j",
"numbers[j + 1]",
"numbers",
"j + 1",
"j",
"1",
"{\n temp = numbers[j];\n numbers[j] = numbers[j + 1];\n numbers[j + 1] = temp;\n }",
"temp = numbers[j]",
"temp",
"numbers[j]",
"numbers",
"j",
"numbers[j] = numbers[j + 1]",
"numbers[j]",
"numbers",
"j",
"numbers[j + 1]",
"numbers",
"j + 1",
"j",
"1",
"numbers[j + 1] = temp",
"numbers[j + 1]",
"numbers",
"j + 1",
"j",
"1",
"temp",
"System.out.println(numbers[0] + \" \" + numbers[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"numbers[0] + \" \" + numbers[1]",
"numbers[0] + \" \" + numbers[1]",
"numbers[0]",
"numbers",
"0",
"\" \"",
"numbers[1]",
"numbers",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
for(int i = 1; ; i++){
int x = scanner.nextInt();
int y = scanner.nextInt();
int numbers[] = {x, y};
int temp;
if(x == 0 && y == 0){
break;
}
for(int j = 0; j < numbers.length - 1; j++){
if(numbers[j] > numbers[j + 1]){
temp = numbers[j];
numbers[j] = numbers[j + 1];
numbers[j + 1] = temp;
}
System.out.println(numbers[0] + " " + numbers[1]);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
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,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
15,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
15,
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
],
[
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 Scanner scan = new Scanner(System.in);\n\n\n\t for(;;){\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }\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 Scanner scan = new Scanner(System.in);\n\n\n\t for(;;){\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t Scanner scan = new Scanner(System.in);\n\n\n\t for(;;){\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }\n\n\t}",
"main",
"{\n\n\t Scanner scan = new Scanner(System.in);\n\n\n\t for(;;){\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(;;){\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }",
";",
"{\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }",
"{\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }",
"int str1 = Integer.parseInt(scan.next());",
"str1",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"int str2 = Integer.parseInt(scan.next());",
"str2",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}",
"str1 == 0 && str2 == 0",
"str1 == 0",
"str1",
"0",
"str2 == 0",
"str2",
"0",
"{\n\t \t\tbreak;\n\t \t}",
"break;",
"if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}",
"str1 <= str2",
"str1",
"str2",
"{\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}",
"System.out.println(str1 +\" \"+ str2)",
"System.out.println",
"System.out",
"System",
"System.out",
"str1 +\" \"+ str2",
"str1 +\" \"+ str2",
"str1",
"\" \"",
"str2",
"{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}",
"System.out.println(str2 +\" \"+ str1)",
"System.out.println",
"System.out",
"System",
"System.out",
"str2 +\" \"+ str1",
"str2 +\" \"+ str1",
"str2",
"\" \"",
"str1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t Scanner scan = new Scanner(System.in);\n\n\n\t for(;;){\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t Scanner scan = new Scanner(System.in);\n\n\n\t for(;;){\n\t\t int str1 = Integer.parseInt(scan.next());\n\t\t int str2 = Integer.parseInt(scan.next());\n\n\t \tif(str1 == 0 && str2 == 0){\n\t \t\tbreak;\n\t \t}else if(str1 <= str2){\n\t \t System.out.println(str1 +\" \"+ str2);\n\t \t}else{\n\t \t System.out.println(str2 +\" \"+ str1);\n\t \t}\n\t }\n\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
for(;;){
int str1 = Integer.parseInt(scan.next());
int str2 = Integer.parseInt(scan.next());
if(str1 == 0 && str2 == 0){
break;
}else if(str1 <= str2){
System.out.println(str1 +" "+ str2);
}else{
System.out.println(str2 +" "+ str1);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
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
],
[
95,
11
],
[
95,
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
],
[
23,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
69,
74
],
[
61,
75
],
[
59,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
79,
84
],
[
57,
85
],
[
14,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
12,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n while(true){\n String data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\n\");\n }\n System.out.print(output);\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n while(true){\n String data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\n\");\n }\n System.out.print(output);\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 data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\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 data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\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 data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\n\");\n }",
"true",
"{\n String data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\n\");\n }",
"String data[] = br.readLine().split(\" \");",
"data",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(data[0]);",
"x",
"Integer.parseInt(data[0])",
"Integer.parseInt",
"Integer",
"data[0]",
"data",
"0",
"int y = Integer.parseInt(data[1]);",
"y",
"Integer.parseInt(data[1])",
"Integer.parseInt",
"Integer",
"data[1]",
"data",
"1",
"if(x == 0 && y == 0)\n break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\n\")",
"output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append",
"output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y))",
"output.append(Integer.toString(x<y?x:y)).append(\" \").append",
"output.append(Integer.toString(x<y?x:y)).append(\" \")",
"output.append(Integer.toString(x<y?x:y)).append",
"output.append(Integer.toString(x<y?x:y))",
"output.append",
"output",
"Integer.toString(x<y?x:y)",
"Integer.toString",
"Integer",
"x<y?x:y",
"x<y",
"x",
"y",
"x",
"y",
"\" \"",
"Integer.toString(x>y?x:y)",
"Integer.toString",
"Integer",
"x>y?x:y",
"x>y",
"x",
"y",
"x",
"y",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n while(true){\n String data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\n\");\n }\n System.out.print(output);\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n while(true){\n String data[] = br.readLine().split(\" \");\n int x = Integer.parseInt(data[0]);\n int y = Integer.parseInt(data[1]);\n if(x == 0 && y == 0)\n break;\n \n output.append(Integer.toString(x<y?x:y)).append(\" \").append(Integer.toString(x>y?x:y)).append(\"\\n\");\n }\n System.out.print(output);\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 output = new StringBuilder();
while(true){
String data[] = br.readLine().split(" ");
int x = Integer.parseInt(data[0]);
int y = Integer.parseInt(data[1]);
if(x == 0 && y == 0)
break;
output.append(Integer.toString(x<y?x:y)).append(" ").append(Integer.toString(x>y?x:y)).append("\n");
}
System.out.print(output);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
14,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
52,
54
],
[
14,
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\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint x = Integer.parseInt(scan.next());\n\t\t\tint y = Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\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\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint x = Integer.parseInt(scan.next());\n\t\t\tint y = Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\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\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 scan = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint x = Integer.parseInt(scan.next());\n\t\t\tint y = Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\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\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile (true) {\n\t\t\tint x = Integer.parseInt(scan.next());\n\t\t\tint y = Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\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\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while (true) {\n\t\t\tint x = Integer.parseInt(scan.next());\n\t\t\tint y = Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\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\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"true",
"{\n\t\t\tint x = Integer.parseInt(scan.next());\n\t\t\tint y = Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\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\t\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t}",
"int x = Integer.parseInt(scan.next());",
"x",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"int y = Integer.parseInt(scan.next());",
"y",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"if (x == 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\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"
] | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
while (true) {
int x = Integer.parseInt(scan.next());
int y = Integer.parseInt(scan.next());
if (x == 0 && y == 0) {
break;
}
if (x > y) {
int tmp = x;
x = y;
y = tmp;
}
System.out.println(x + " " + y);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
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
],
[
65,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
18,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
8,
62
],
[
62,
63
],
[
0,
64
],
[
64,
65
],
[
64,
66
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"Main",
"public static Scanner sc;",
"sc",
"public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n System.out.println(a + \" \" + b);\n }\n }",
"main",
"{\n sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n System.out.println(a + \" \" + b);\n }\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n System.out.println(a + \" \" + b);\n }",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n 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) {\n int t = a;\n a = b;\n b = t;\n }",
"a > b",
"a",
"b",
"{\n int t = a;\n a = b;\n b = t;\n }",
"int t = a;",
"t",
"a",
"a = b",
"a",
"b",
"b = t",
"b",
"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 public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"public class Main {\n public static Scanner sc;\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n while (sc.hasNext()) {\n int a = sc.nextInt();\n int b = sc.nextInt();\n if (a == 0 && b == 0) break;\n if (a > b) {\n int t = a;\n a = b;\n b = t;\n }\n System.out.println(a + \" \" + b);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static Scanner sc;
public static void main(String[] args) throws Exception {
sc = new Scanner(System.in);
while (sc.hasNext()) {
int a = sc.nextInt();
int b = sc.nextInt();
if (a == 0 && b == 0) break;
if (a > b) {
int t = a;
a = b;
b = t;
}
System.out.println(a + " " + b);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
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,
30,
3,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
103,
11
],
[
103,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
24,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
24,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
71,
77
],
[
69,
78
],
[
67,
79
],
[
62,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
85,
91
],
[
83,
92
],
[
81,
93
],
[
14,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
12,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}",
";",
"{\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}",
"{\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}",
"String num = br.readLine();",
"num",
"br.readLine()",
"br.readLine",
"br",
"String[] set = num.split(\" \");",
"set",
"num.split(\" \")",
"num.split",
"num",
"\" \"",
"int a = Integer.parseInt(set[0]);",
"a",
"Integer.parseInt(set[0])",
"Integer.parseInt",
"Integer",
"set[0]",
"set",
"0",
"int b = Integer.parseInt(set[1]);",
"b",
"Integer.parseInt(set[1])",
"Integer.parseInt",
"Integer",
"set[1]",
"set",
"1",
"if (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t}",
"sb.append(b).append(\" \").append(a).append(\"\\n\")",
"sb.append(b).append(\" \").append(a).append",
"sb.append(b).append(\" \").append(a)",
"sb.append(b).append(\" \").append",
"sb.append(b).append(\" \")",
"sb.append(b).append",
"sb.append(b)",
"sb.append",
"sb",
"b",
"\" \"",
"a",
"\"\\n\"",
"{\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}",
"sb.append(a).append(\" \").append(b).append(\"\\n\")",
"sb.append(a).append(\" \").append(b).append",
"sb.append(a).append(\" \").append(b)",
"sb.append(a).append(\" \").append",
"sb.append(a).append(\" \")",
"sb.append(a).append",
"sb.append(a)",
"sb.append",
"sb",
"a",
"\" \"",
"b",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tfor(;;) {\n\t\t\tString num = br.readLine();\n\t\t\tString[] set = num.split(\" \");\n\n\t\t\tint a = Integer.parseInt(set[0]);\n\t\t\tint b = Integer.parseInt(set[1]);\n\n\t\t\tif (a == 0 && b == 0) {\n\t\t\t\tbreak;\n\t\t\t} else if (a > b) {\n\t\t\tsb.append(b).append(\" \").append(a).append(\"\\n\");\n\t\t\t} else {\n\t\t\tsb.append(a).append(\" \").append(b).append(\"\\n\");\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
for(;;) {
String num = br.readLine();
String[] set = num.split(" ");
int a = Integer.parseInt(set[0]);
int b = Integer.parseInt(set[1]);
if (a == 0 && b == 0) {
break;
} else if (a > b) {
sb.append(b).append(" ").append(a).append("\n");
} else {
sb.append(a).append(" ").append(b).append("\n");
}
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
98,
14
],
[
98,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
18,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
28,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
52,
53
],
[
37,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
60,
61
],
[
37,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
37,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
75,
82
],
[
82,
83
],
[
82,
84
],
[
37,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
91,
91
],
[
91,
92
],
[
91,
93
],
[
91,
94
],
[
15,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n\npublic class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"Main",
"public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }",
"main",
"{\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }",
"try{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}",
"catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}",
"IOException e",
"{\n \t\tSystem.err.println(e);\n\t\t}",
"System.err.println(e)",
"System.err.println",
"System.err",
"System",
"System.err",
"e",
"{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"while(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}",
"true",
"{\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}",
"String buf = br.readLine();",
"buf",
"br.readLine()",
"br.readLine",
"br",
"StringTokenizer st=new StringTokenizer(buf,\" \");",
"st",
"new StringTokenizer(buf,\" \")",
"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;",
"if(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}",
"int storage=y;",
"storage",
"y",
"y=x",
"y",
"x",
"x=storage",
"x",
"storage",
"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\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\twhile(true){\n\t\t\t\tString buf = br.readLine();\n\t\t\t\tStringTokenizer st=new StringTokenizer(buf,\" \");\n\t \t\tint x = Integer.parseInt(st.nextToken());\n\t \t\tint y = Integer.parseInt(st.nextToken());\n\t\t\t\tif(x == 0 && y==0) break;\n\t\t\t\tif(x > y){\n\t\t\t\t\tint storage=y;\n\t\t\t\t\ty=x;\n\t\t\t\t\tx=storage;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x+\" \"+y);\n \t\t}\n\n \t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
try{
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
while(true){
String buf = br.readLine();
StringTokenizer st=new StringTokenizer(buf," ");
int x = Integer.parseInt(st.nextToken());
int y = Integer.parseInt(st.nextToken());
if(x == 0 && y==0) break;
if(x > y){
int storage=y;
y=x;
x=storage;
}
System.out.println(x+" "+y);
}
} catch(IOException e) {
System.err.println(e);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
0,
13,
17,
0,
13,
17,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
2,
2,
13,
17,
2,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
93,
8
],
[
93,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
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
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
53,
55
],
[
44,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
63,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
44,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
9,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0 || y != 0){\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }\n\t}\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0 || y != 0){\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0 || y != 0){\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }\n\t}",
"main",
"{\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0 || y != 0){\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x",
"x",
"y;",
"y",
"x = 1",
"x",
"1",
"y = 1",
"y",
"1",
"while(x != 0 || y != 0){\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }",
"x = sc.nextInt()",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y = sc.nextInt()",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}",
"(x!=0 || y != 0) && x >= y",
"(x!=0 || y != 0)",
"x!=0",
"x",
"0",
"y != 0",
"y",
"0",
"x >= y",
"x",
"y",
"{\n \t\tSystem.out.println(y+\" \"+x);}",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}",
"(x!=0 || y != 0) && x < y",
"(x!=0 || y != 0)",
"x!=0",
"x",
"0",
"y != 0",
"y",
"0",
"x < y",
"x",
"y",
"{\n \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",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0 || y != 0){\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n Scanner sc = new Scanner(System.in);\n int x,y;\n x = 1;\n y = 1;\n while(x != 0 || y != 0){\n \tx = sc.nextInt();\n \ty = sc.nextInt();\n \tif((x!=0 || y != 0) && x >= y){\n \t\tSystem.out.println(y+\" \"+x);}\n \telse if((x!=0 || y != 0) && x < y){\n \tSystem.out.println(x+\" \"+y);\n \t}\n }\n\t}\n\n}",
"Main"
] | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
int x,y;
x = 1;
y = 1;
while(x != 0 || y != 0){
x = sc.nextInt();
y = sc.nextInt();
if((x!=0 || y != 0) && x >= y){
System.out.println(y+" "+x);}
else if((x!=0 || y != 0) && x < y){
System.out.println(x+" "+y);
}
}
}
} |
[
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,
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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
14,
2,
18,
13,
13,
18,
13,
13,
4,
13,
13,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
23,
13,
23,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
143,
5
],
[
143,
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
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
32,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
47,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
73,
85
],
[
72,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
86,
94
],
[
94,
95
],
[
94,
96
],
[
94,
97
],
[
94,
98
],
[
72,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
6,
113
],
[
113,
114
],
[
143,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
117,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
127,
129
],
[
117,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
117,
135
],
[
115,
136
],
[
136,
137
],
[
115,
138
],
[
138,
139
],
[
115,
140
],
[
140,
141
],
[
0,
142
],
[
142,
143
],
[
142,
144
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[3000];\n\t\tint[] b = new int[3000];\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}\n\t}\n\n\tstatic void swap(int[] a,int[] b,int i){\n\t\tint tmp =a[i];\n\t\ta[i]=b[i];\n\t\tb[i]=tmp;\n\t\treturn;\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[3000];\n\t\tint[] b = new int[3000];\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}\n\t}\n\n\tstatic void swap(int[] a,int[] b,int i){\n\t\tint tmp =a[i];\n\t\ta[i]=b[i];\n\t\tb[i]=tmp;\n\t\treturn;\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[3000];\n\t\tint[] b = new int[3000];\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[3000];\n\t\tint[] b = new int[3000];\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int[] a = new int[3000];",
"a",
"new int[3000]",
"3000",
"int[] b = new int[3000];",
"b",
"new int[3000]",
"3000",
"for(int i = 0 ; i<3000 ; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i<3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}",
"{\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}",
"a[i]=scan.nextInt()",
"a[i]",
"a",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b[i]=scan.nextInt()",
"b[i]",
"b",
"i",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a[i]==0&& b[i]==0) break;",
"a[i]==0&& b[i]==0",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"b[i]==0",
"b[i]",
"b",
"i",
"0",
"break;",
"for(int i = 0 ; i<3000 ; i++){\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}",
"int i = 0 ;",
"int i = 0 ;",
"i",
"0",
"i<3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}",
"{\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}",
"if(a[i]==0&& b[i]==0) break;",
"a[i]==0&& b[i]==0",
"a[i]==0",
"a[i]",
"a",
"i",
"0",
"b[i]==0",
"b[i]",
"b",
"i",
"0",
"break;",
"if(a[i]>b[i])swap(a,b,i);",
"a[i]>b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"swap(a,b,i)",
"swap",
"a",
"b",
"i",
"System.out.println(a[i]+\" \"+b[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[i]+\" \"+b[i]",
"a[i]+\" \"+b[i]",
"a[i]",
"a",
"i",
"\" \"",
"b[i]",
"b",
"i",
"String[] args",
"args",
"static void swap(int[] a,int[] b,int i){\n\t\tint tmp =a[i];\n\t\ta[i]=b[i];\n\t\tb[i]=tmp;\n\t\treturn;\n\t}",
"swap",
"{\n\t\tint tmp =a[i];\n\t\ta[i]=b[i];\n\t\tb[i]=tmp;\n\t\treturn;\n\t}",
"int tmp =a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i]=b[i]",
"a[i]",
"a",
"i",
"b[i]",
"b",
"i",
"b[i]=tmp",
"b[i]",
"b",
"i",
"tmp",
"return;",
"int[] a",
"a",
"int[] b",
"b",
"int i",
"i",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[3000];\n\t\tint[] b = new int[3000];\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}\n\t}\n\n\tstatic void swap(int[] a,int[] b,int i){\n\t\tint tmp =a[i];\n\t\ta[i]=b[i];\n\t\tb[i]=tmp;\n\t\treturn;\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] a = new int[3000];\n\t\tint[] b = new int[3000];\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\ta[i]=scan.nextInt();\n\t\t\tb[i]=scan.nextInt();\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t}\n\n\t\tfor(int i = 0 ; i<3000 ; i++){\n\t\t\tif(a[i]==0&& b[i]==0) break;\n\t\t\tif(a[i]>b[i])swap(a,b,i);\n\t\t\tSystem.out.println(a[i]+\" \"+b[i]);\n\t\t}\n\t}\n\n\tstatic void swap(int[] a,int[] b,int i){\n\t\tint tmp =a[i];\n\t\ta[i]=b[i];\n\t\tb[i]=tmp;\n\t\treturn;\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[] a = new int[3000];
int[] b = new int[3000];
for(int i = 0 ; i<3000 ; i++){
a[i]=scan.nextInt();
b[i]=scan.nextInt();
if(a[i]==0&& b[i]==0) break;
}
for(int i = 0 ; i<3000 ; i++){
if(a[i]==0&& b[i]==0) break;
if(a[i]>b[i])swap(a,b,i);
System.out.println(a[i]+" "+b[i]);
}
}
static void swap(int[] a,int[] b,int i){
int tmp =a[i];
a[i]=b[i];
b[i]=tmp;
return;
}
} |
[
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,
30,
3,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
14,
2,
13,
13,
30,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
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
],
[
36,
37
],
[
17,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
47,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
43,
61
],
[
17,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
71,
80
],
[
69,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
67,
85
],
[
17,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
95,
104
],
[
93,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
91,
109
],
[
8,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.util.Scanner;\npublic class Main {\n public static void main (String args[]){\n \tScanner str =new Scanner(System.in);\n StringBuffer buf = new StringBuffer();\n \twhile(true){\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}\n \tSystem.out.print(buf);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main (String args[]){\n \tScanner str =new Scanner(System.in);\n StringBuffer buf = new StringBuffer();\n \twhile(true){\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}\n \tSystem.out.print(buf);\n }\n}",
"Main",
"public static void main (String args[]){\n \tScanner str =new Scanner(System.in);\n StringBuffer buf = new StringBuffer();\n \twhile(true){\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}\n \tSystem.out.print(buf);\n }",
"main",
"{\n \tScanner str =new Scanner(System.in);\n StringBuffer buf = new StringBuffer();\n \twhile(true){\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}\n \tSystem.out.print(buf);\n }",
"Scanner str =new Scanner(System.in);",
"str",
"new Scanner(System.in)",
"StringBuffer buf = new StringBuffer();",
"buf",
"new StringBuffer()",
"while(true){\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}",
"true",
"{\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}",
"int a = str.nextInt();",
"a",
"str.nextInt()",
"str.nextInt",
"str",
"int b = str.nextInt();",
"b",
"str.nextInt()",
"str.nextInt",
"str",
"if(a==0&&b==0){\n \t \tbreak;\n \t }",
"a==0&&b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"{\n \t \tbreak;\n \t }",
"break;",
"if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }",
"a<b",
"a",
"b",
"{\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }",
"buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\")",
"buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append",
"buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b))",
"buf.append(Integer.toString(a)).append(\" \").append",
"buf.append(Integer.toString(a)).append(\" \")",
"buf.append(Integer.toString(a)).append",
"buf.append(Integer.toString(a))",
"buf.append",
"buf",
"Integer.toString(a)",
"Integer.toString",
"Integer",
"a",
"\" \"",
"Integer.toString(b)",
"Integer.toString",
"Integer",
"b",
"\"\\n\"",
"if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }",
"a>b",
"a",
"b",
"{\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }",
"buf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\")",
"buf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append",
"buf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a))",
"buf.append(Integer.toString(b)).append(\" \").append",
"buf.append(Integer.toString(b)).append(\" \")",
"buf.append(Integer.toString(b)).append",
"buf.append(Integer.toString(b))",
"buf.append",
"buf",
"Integer.toString(b)",
"Integer.toString",
"Integer",
"b",
"\" \"",
"Integer.toString(a)",
"Integer.toString",
"Integer",
"a",
"\"\\n\"",
"if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }",
"a==b",
"a",
"b",
"{\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }",
"buf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\")",
"buf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append",
"buf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a))",
"buf.append(Integer.toString(b)).append(\" \").append",
"buf.append(Integer.toString(b)).append(\" \")",
"buf.append(Integer.toString(b)).append",
"buf.append(Integer.toString(b))",
"buf.append",
"buf",
"Integer.toString(b)",
"Integer.toString",
"Integer",
"b",
"\" \"",
"Integer.toString(a)",
"Integer.toString",
"Integer",
"a",
"\"\\n\"",
"System.out.print(buf)",
"System.out.print",
"System.out",
"System",
"System.out",
"buf",
"String args[]",
"args",
"public class Main {\n public static void main (String args[]){\n \tScanner str =new Scanner(System.in);\n StringBuffer buf = new StringBuffer();\n \twhile(true){\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}\n \tSystem.out.print(buf);\n }\n}",
"public class Main {\n public static void main (String args[]){\n \tScanner str =new Scanner(System.in);\n StringBuffer buf = new StringBuffer();\n \twhile(true){\n \t int a = str.nextInt();\n \t int b = str.nextInt();\n \t if(a==0&&b==0){\n \t \tbreak;\n \t }\n \t if(a<b){\n \t buf.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n \t }\n \t if(a>b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n \t if(a==b){\n \t \tbuf.append(Integer.toString(b)).append(\" \").append(Integer.toString(a)).append(\"\\n\");\n \t }\n\n \t}\n \tSystem.out.print(buf);\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main (String args[]){
Scanner str =new Scanner(System.in);
StringBuffer buf = new StringBuffer();
while(true){
int a = str.nextInt();
int b = str.nextInt();
if(a==0&&b==0){
break;
}
if(a<b){
buf.append(Integer.toString(a)).append(" ").append(Integer.toString(b)).append("\n");
}
if(a>b){
buf.append(Integer.toString(b)).append(" ").append(Integer.toString(a)).append("\n");
}
if(a==b){
buf.append(Integer.toString(b)).append(" ").append(Integer.toString(a)).append("\n");
}
}
System.out.print(buf);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
14,
4,
18,
13,
17,
30,
3,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
4,
18,
13,
13,
17,
41,
13,
39,
4,
18,
13,
18,
13,
17,
4,
18,
13,
18,
13,
17,
4,
18,
13,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
30,
4,
18,
18,
13,
13,
18,
13,
17,
4,
18,
18,
13,
13,
17,
4,
18,
18,
13,
13,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
133,
11
],
[
133,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
24,
26
],
[
14,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
29,
39
],
[
39,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
41,
46
],
[
46,
47
],
[
14,
48
],
[
48,
49
],
[
48,
50
],
[
14,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
61,
62
],
[
52,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
67,
73
],
[
64,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
76,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
86,
88
],
[
64,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
64,
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
],
[
93,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
107,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
116,
121
],
[
107,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
127,
129
],
[
12,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
] | [
"import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tString[] kari1 = new String[2];\n\n\t\tfor (int i = 0; i < cn; i++) {\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tString[] kari1 = new String[2];\n\n\t\tfor (int i = 0; i < cn; i++) {\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\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\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tString[] kari1 = new String[2];\n\n\t\tfor (int i = 0; i < cn; i++) {\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tString[] kari1 = new String[2];\n\n\t\tfor (int i = 0; i < cn; i++) {\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<String> lines = new ArrayList<String>();",
"lines",
"new ArrayList<String>()",
"String string = \"\";",
"string",
"\"\"",
"int cn = 0;",
"cn",
"0",
"while (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"string = sc.nextLine()",
"string",
"sc.nextLine()",
"sc.nextLine",
"sc",
"lines.add(string)",
"lines.add",
"lines",
"string",
"cn++",
"cn",
"if (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}",
"string.equals(\"0 0\")",
"string.equals",
"string",
"\"0 0\"",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"String[] kari1 = new String[2];",
"kari1",
"new String[2]",
"2",
"for (int i = 0; i < cn; i++) {\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cn",
"i",
"cn",
"i++",
"i++",
"i",
"{\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}\n\t\t}",
"{\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}\n\t\t}",
"kari1 = lines.get(i).split(\" \")",
"kari1",
"lines.get(i).split(\" \")",
"lines.get(i).split",
"lines.get(i)",
"lines.get",
"lines",
"i",
"\" \"",
"int[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};",
"kari2",
"{Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])}",
"Integer.parseInt(kari1[0])",
"Integer.parseInt",
"Integer",
"kari1[0]",
"kari1",
"0",
"Integer.parseInt(kari1[1])",
"Integer.parseInt",
"Integer",
"kari1[1]",
"kari1",
"1",
"Arrays.sort(kari2)",
"Arrays.sort",
"Arrays",
"kari2",
"if (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}",
"kari2[0] == 0 && kari2[1] == 0",
"kari2[0] == 0",
"kari2[0]",
"kari2",
"0",
"0",
"kari2[1] == 0",
"kari2[1]",
"kari2",
"1",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}",
"System.out.print(kari2[0])",
"System.out.print",
"System.out",
"System",
"System.out",
"kari2[0]",
"kari2",
"0",
"System.out.print(\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"\" \"",
"System.out.println(kari2[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"kari2[1]",
"kari2",
"1",
"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\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tString[] kari1 = new String[2];\n\n\t\tfor (int i = 0; i < cn; i++) {\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\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\n\t\tArrayList<String> lines = new ArrayList<String>();\n\n\t\tString string = \"\";\n\t\tint cn = 0;\n\t\twhile (true) {\n\t\t\tstring = sc.nextLine();\n\t\t\tlines.add(string);\n\t\t\tcn++;\n\t\t\tif (string.equals(\"0 0\")) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tString[] kari1 = new String[2];\n\n\t\tfor (int i = 0; i < cn; i++) {\n\t\t\tkari1 = lines.get(i).split(\" \");\n\t\t\tint[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};\n\t\t\tArrays.sort(kari2);\n\t\t\tif (kari2[0] == 0 && kari2[1] == 0) {\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tSystem.out.print(kari2[0]);\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\tSystem.out.println(kari2[1]);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<String> lines = new ArrayList<String>();
String string = "";
int cn = 0;
while (true) {
string = sc.nextLine();
lines.add(string);
cn++;
if (string.equals("0 0")) {
break;
}
}
String[] kari1 = new String[2];
for (int i = 0; i < cn; i++) {
kari1 = lines.get(i).split(" ");
int[] kari2 = {Integer.parseInt(kari1[0]),Integer.parseInt(kari1[1])};
Arrays.sort(kari2);
if (kari2[0] == 0 && kari2[1] == 0) {
break;
} else {
System.out.print(kari2[0]);
System.out.print(" ");
System.out.println(kari2[1]);
}
}
}
} |
[
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,
38,
5,
13,
30,
30,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
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
],
[
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
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
32,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
32,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
32,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
32,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
32,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
73,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
95,
95
],
[
95,
96
],
[
95,
97
],
[
95,
98
],
[
9,
99
],
[
99,
100
]
] | [
"import java.io.*;\nimport java.util.*;\n\nclass Main{\n public static void main(String args[]){\n \n BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n for(int i=0;i<3000;i++){\n try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }\n\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[]){\n \n BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n for(int i=0;i<3000;i++){\n try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }\n\n }\n }\n}",
"Main",
"public static void main(String args[]){\n \n BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n for(int i=0;i<3000;i++){\n try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }\n\n }\n }",
"main",
"{\n \n BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n for(int i=0;i<3000;i++){\n try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }\n\n }\n }",
"BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"for(int i=0;i<3000;i++){\n try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }\n\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }\n\n }",
"{\n try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }\n\n }",
"try{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }catch(IOException e){\n \n }",
"catch(IOException e){\n \n }",
"IOException e",
"{\n \n }",
"{\n String s=reader.readLine();\n StringTokenizer st = new StringTokenizer(s);\n \n String x=st.nextToken();\n String y=st.nextToken();\n \n int xn=Integer.parseInt(x);\n int yn=Integer.parseInt(y);\n \n if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }\n \n \n }",
"String s=reader.readLine();",
"s",
"reader.readLine()",
"reader.readLine",
"reader",
"StringTokenizer st = new StringTokenizer(s);",
"st",
"new StringTokenizer(s)",
"String x=st.nextToken();",
"x",
"st.nextToken()",
"st.nextToken",
"st",
"String y=st.nextToken();",
"y",
"st.nextToken()",
"st.nextToken",
"st",
"int xn=Integer.parseInt(x);",
"xn",
"Integer.parseInt(x)",
"Integer.parseInt",
"Integer",
"x",
"int yn=Integer.parseInt(y);",
"yn",
"Integer.parseInt(y)",
"Integer.parseInt",
"Integer",
"y",
"if(xn==0&&yn==0){\n break;\n }else if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }",
"xn==0&&yn==0",
"xn==0",
"xn",
"0",
"yn==0",
"yn",
"0",
"{\n break;\n }",
"break;",
"if(xn>yn){\n System.out.println(yn+\" \"+xn);\n }else{\n System.out.println(xn+\" \"+yn);\n }",
"xn>yn",
"xn",
"yn",
"{\n System.out.println(yn+\" \"+xn);\n }",
"System.out.println(yn+\" \"+xn)",
"System.out.println",
"System.out",
"System",
"System.out",
"yn+\" \"+xn",
"yn+\" \"+xn",
"yn",
"\" \"",
"xn",
"{\n System.out.println(xn+\" \"+yn);\n }",
"System.out.println(xn+\" \"+yn)",
"System.out.println",
"System.out",
"System",
"System.out",
"xn+\" \"+yn",
"xn+\" \"+yn",
"xn",
"\" \"",
"yn",
"String args[]",
"args"
] | import java.io.*;
import java.util.*;
class Main{
public static void main(String args[]){
BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));
for(int i=0;i<3000;i++){
try{
String s=reader.readLine();
StringTokenizer st = new StringTokenizer(s);
String x=st.nextToken();
String y=st.nextToken();
int xn=Integer.parseInt(x);
int yn=Integer.parseInt(y);
if(xn==0&&yn==0){
break;
}else if(xn>yn){
System.out.println(yn+" "+xn);
}else{
System.out.println(xn+" "+yn);
}
}catch(IOException e){
}
}
}
} |
[
7,
15,
13,
17,
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,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
2,
2,
13,
17,
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
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
8,
18
],
[
18,
19
],
[
18,
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
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
36,
43
],
[
43,
44
],
[
43,
45
],
[
21,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
21,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
] | [
"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 a,b,tmp;\n\t\tfor(;;){\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\t\t}\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 scan = new Scanner(System.in);\n\t\tint a,b,tmp;\n\t\tfor(;;){\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\t\t}\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\tint a,b,tmp;\n\t\tfor(;;){\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\t\t}\n\t\t\n\t\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,tmp;\n\t\tfor(;;){\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\t\t}\n\t\t\n\t\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a",
"a",
"b",
"b",
"tmp;",
"tmp",
"for(;;){\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\t\t}",
";",
"{\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\t\t}",
"{\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.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",
"if(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}",
"a >= b",
"a",
"b",
"{\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",
"if (a == 0 && b == 0)\n\t\t\tbreak;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"System.out.println(a+\" \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+\" \"+b",
"a+\" \"+b",
"a",
"\" \"",
"b",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a,b,tmp;\n\t\tfor(;;){\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\t\t}\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\tint a,b,tmp;\n\t\tfor(;;){\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tif(a >= b){\n\t\t\ttmp = a;\n\t\t\ta = b;\n\t\t\tb = tmp;\n\t\t}\n\t\t\n\t\tif (a == 0 && b == 0)\n\t\t\tbreak;\n\t\tSystem.out.println(a+\" \"+b);\n\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 scan = new Scanner(System.in);
int a,b,tmp;
for(;;){
a = scan.nextInt();
b = scan.nextInt();
if(a >= b){
tmp = a;
a = b;
b = tmp;
}
if (a == 0 && b == 0)
break;
System.out.println(a+" "+b);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
4,
18,
13,
17,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
2,
18,
13,
17,
18,
13,
17,
2,
18,
13,
17,
17,
30,
3,
4,
13,
13,
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,
12,
13,
30,
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,
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
],
[
136,
11
],
[
136,
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
],
[
26,
32
],
[
23,
33
],
[
33,
34
],
[
33,
35
],
[
23,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
23,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
60,
74
],
[
74,
75
],
[
23,
76
],
[
76,
77
],
[
76,
78
],
[
23,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
81,
92
],
[
92,
93
],
[
92,
94
],
[
79,
95
],
[
14,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
12,
102
],
[
102,
103
],
[
136,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
115,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
125,
127
],
[
115,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
104,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\n\t}\n\t\n\tpublic static void change(int[] array){\n\t\tif (array[0] > array[1]){\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\n\t}\n\t\n\tpublic static void change(int[] array){\n\t\tif (array[0] > array[1]){\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\n\t}",
"main",
"{\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"while(true){\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}",
"String[] arr = reader.readLine().split(\" \", 0);",
"arr",
"reader.readLine().split(\" \", 0)",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"0",
"int[] arr_int = new int[2];",
"arr_int",
"new int[2]",
"2",
"for (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}",
"int i =0;",
"int i =0;",
"i",
"0",
"i< 2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}",
"{\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}",
"arr_int[i] = Integer.parseInt(arr[i])",
"arr_int[i]",
"arr_int",
"i",
"Integer.parseInt(arr[i])",
"Integer.parseInt",
"Integer",
"arr[i]",
"arr",
"i",
"if (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}",
"arr_int[0] == arr_int[1] && arr_int[0] == 0",
"arr_int[0] == arr_int[1]",
"arr_int[0]",
"arr_int",
"0",
"arr_int[1]",
"arr_int",
"1",
"arr_int[0] == 0",
"arr_int[0]",
"arr_int",
"0",
"0",
"{\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"change(arr_int)",
"change",
"arr_int",
"builder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\")",
"builder.append(arr_int[0]).append(\" \").append(arr_int[1]).append",
"builder.append(arr_int[0]).append(\" \").append(arr_int[1])",
"builder.append(arr_int[0]).append(\" \").append",
"builder.append(arr_int[0]).append(\" \")",
"builder.append(arr_int[0]).append",
"builder.append(arr_int[0])",
"builder.append",
"builder",
"arr_int[0]",
"arr_int",
"0",
"\" \"",
"arr_int[1]",
"arr_int",
"1",
"\"\\n\"",
"System.out.print(builder)",
"System.out.print",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public static void change(int[] array){\n\t\tif (array[0] > array[1]){\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}\n\t}",
"change",
"{\n\t\tif (array[0] > array[1]){\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}\n\t}",
"if (array[0] > array[1]){\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}",
"array[0] > array[1]",
"array[0]",
"array",
"0",
"array[1]",
"array",
"1",
"{\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}",
"int tmp = array[0];",
"tmp",
"array[0]",
"array",
"0",
"array[0] = array[1]",
"array[0]",
"array",
"0",
"array[1]",
"array",
"1",
"array[1] = tmp",
"array[1]",
"array",
"1",
"tmp",
"int[] array",
"array",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\n\t}\n\t\n\tpublic static void change(int[] array){\n\t\tif (array[0] > array[1]){\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder builder = new StringBuilder();\n\t\twhile(true){\n\t\t\tString[] arr = reader.readLine().split(\" \", 0);\n\t\t\tint[] arr_int = new int[2];\n\t\t\tfor (int i =0; i< 2; i++){\n\t\t\t\tarr_int[i] = Integer.parseInt(arr[i]);\n\t\t\t}\n\t\t\tif (arr_int[0] == arr_int[1] && arr_int[0] == 0){\n\t\t\t\t\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tchange(arr_int);\n\t\t\tbuilder.append(arr_int[0]).append(\" \").append(arr_int[1]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(builder);\n\n\t}\n\t\n\tpublic static void change(int[] array){\n\t\tif (array[0] > array[1]){\n\t\t\tint tmp = array[0];\n\t\t\tarray[0] = array[1];\n\t\t\tarray[1] = tmp;\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
StringBuilder builder = new StringBuilder();
while(true){
String[] arr = reader.readLine().split(" ", 0);
int[] arr_int = new int[2];
for (int i =0; i< 2; i++){
arr_int[i] = Integer.parseInt(arr[i]);
}
if (arr_int[0] == arr_int[1] && arr_int[0] == 0){
break;
}
change(arr_int);
builder.append(arr_int[0]).append(" ").append(arr_int[1]).append("\n");
}
System.out.print(builder);
}
public static void change(int[] array){
if (array[0] > array[1]){
int tmp = array[0];
array[0] = array[1];
array[1] = tmp;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
42,
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,
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
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
12,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
18,
23
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
40,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
49,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
78,
83
],
[
49,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
89,
90
],
[
89,
91
],
[
49,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
97,
99
],
[
6,
100
],
[
100,
101
]
] | [
"import java.util.Scanner;\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\n\");\n String[] s = sc.next().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n while (!(a == 0 && b == 0)) {\n if (a <= b) {\n System.out.println(a + \" \" + b);\n } else {\n System.out.println(b + \" \" + a);\n }\n s = sc.next().split(\" \");\n a = Integer.parseInt(s[0]);\n b = Integer.parseInt(s[1]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\n\");\n String[] s = sc.next().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n while (!(a == 0 && b == 0)) {\n if (a <= b) {\n System.out.println(a + \" \" + b);\n } else {\n System.out.println(b + \" \" + a);\n }\n s = sc.next().split(\" \");\n a = Integer.parseInt(s[0]);\n b = Integer.parseInt(s[1]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\n\");\n String[] s = sc.next().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n while (!(a == 0 && b == 0)) {\n if (a <= b) {\n System.out.println(a + \" \" + b);\n } else {\n System.out.println(b + \" \" + a);\n }\n s = sc.next().split(\" \");\n a = Integer.parseInt(s[0]);\n b = Integer.parseInt(s[1]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\n\");\n String[] s = sc.next().split(\" \");\n int a = Integer.parseInt(s[0]);\n int b = Integer.parseInt(s[1]);\n while (!(a == 0 && b == 0)) {\n if (a <= b) {\n System.out.println(a + \" \" + b);\n } else {\n System.out.println(b + \" \" + a);\n }\n s = sc.next().split(\" \");\n a = Integer.parseInt(s[0]);\n b = Integer.parseInt(s[1]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"sc.useDelimiter(\"\\n\")",
"sc.useDelimiter",
"sc",
"\"\\n\"",
"String[] s = sc.next().split(\" \");",
"s",
"sc.next().split(\" \")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\" \"",
"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",
"while (!(a == 0 && b == 0)) {\n if (a <= b) {\n System.out.println(a + \" \" + b);\n } else {\n System.out.println(b + \" \" + a);\n }\n s = sc.next().split(\" \");\n a = Integer.parseInt(s[0]);\n b = Integer.parseInt(s[1]);\n }",
"!(a == 0 && b == 0)",
"(a == 0 && b == 0)",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n if (a <= b) {\n System.out.println(a + \" \" + b);\n } else {\n System.out.println(b + \" \" + a);\n }\n s = sc.next().split(\" \");\n a = Integer.parseInt(s[0]);\n b = Integer.parseInt(s[1]);\n }",
"if (a <= b) {\n System.out.println(a + \" \" + b);\n } else {\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",
"{\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",
"s = sc.next().split(\" \")",
"s",
"sc.next().split(\" \")",
"sc.next().split",
"sc.next()",
"sc.next",
"sc",
"\" \"",
"a = Integer.parseInt(s[0])",
"a",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"b = Integer.parseInt(s[1])",
"b",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
sc.useDelimiter("\n");
String[] s = sc.next().split(" ");
int a = Integer.parseInt(s[0]);
int b = Integer.parseInt(s[1]);
while (!(a == 0 && b == 0)) {
if (a <= b) {
System.out.println(a + " " + b);
} else {
System.out.println(b + " " + a);
}
s = sc.next().split(" ");
a = Integer.parseInt(s[0]);
b = Integer.parseInt(s[1]);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
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
],
[
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
],
[
17,
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
],
[
17,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
74,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
74,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
]
] | [
"import java.io.*;\n\nclass Main{\n\t\n\tpublic static void main(String[] args)throws IOException{\n\t\t\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder result = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString tmp = input.readLine();\n\t\t\tString[] strInput = tmp.split(\" \");\n\t\t\tint x = Integer.parseInt(strInput[0]);\n\t\t\tint y = Integer.parseInt(strInput[1]);\n\t\t\t\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif(x > y){\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}\n\n\t\t\tresult.append(x + \" \" + y + \"\\n\");\n\t\t}\n\t \n\t\tSystem.out.print(result);\n\t\t\n\t}\n\t\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\t\n\tpublic static void main(String[] args)throws IOException{\n\t\t\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder result = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString tmp = input.readLine();\n\t\t\tString[] strInput = tmp.split(\" \");\n\t\t\tint x = Integer.parseInt(strInput[0]);\n\t\t\tint y = Integer.parseInt(strInput[1]);\n\t\t\t\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif(x > y){\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}\n\n\t\t\tresult.append(x + \" \" + y + \"\\n\");\n\t\t}\n\t \n\t\tSystem.out.print(result);\n\t\t\n\t}\n\t\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\t\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder result = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString tmp = input.readLine();\n\t\t\tString[] strInput = tmp.split(\" \");\n\t\t\tint x = Integer.parseInt(strInput[0]);\n\t\t\tint y = Integer.parseInt(strInput[1]);\n\t\t\t\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif(x > y){\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}\n\n\t\t\tresult.append(x + \" \" + y + \"\\n\");\n\t\t}\n\t \n\t\tSystem.out.print(result);\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder result = new StringBuilder();\n\t\t\n\t\twhile(true){\n\t\t\tString tmp = input.readLine();\n\t\t\tString[] strInput = tmp.split(\" \");\n\t\t\tint x = Integer.parseInt(strInput[0]);\n\t\t\tint y = Integer.parseInt(strInput[1]);\n\t\t\t\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif(x > y){\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}\n\n\t\t\tresult.append(x + \" \" + y + \"\\n\");\n\t\t}\n\t \n\t\tSystem.out.print(result);\n\t\t\n\t}",
"BufferedReader input = new BufferedReader(new InputStreamReader(System.in));",
"input",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder result = new StringBuilder();",
"result",
"new StringBuilder()",
"while(true){\n\t\t\tString tmp = input.readLine();\n\t\t\tString[] strInput = tmp.split(\" \");\n\t\t\tint x = Integer.parseInt(strInput[0]);\n\t\t\tint y = Integer.parseInt(strInput[1]);\n\t\t\t\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif(x > y){\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}\n\n\t\t\tresult.append(x + \" \" + y + \"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString tmp = input.readLine();\n\t\t\tString[] strInput = tmp.split(\" \");\n\t\t\tint x = Integer.parseInt(strInput[0]);\n\t\t\tint y = Integer.parseInt(strInput[1]);\n\t\t\t\n\t\t\tif(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tif(x > y){\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}\n\n\t\t\tresult.append(x + \" \" + y + \"\\n\");\n\t\t}",
"String tmp = input.readLine();",
"tmp",
"input.readLine()",
"input.readLine",
"input",
"String[] strInput = tmp.split(\" \");",
"strInput",
"tmp.split(\" \")",
"tmp.split",
"tmp",
"\" \"",
"int x = Integer.parseInt(strInput[0]);",
"x",
"Integer.parseInt(strInput[0])",
"Integer.parseInt",
"Integer",
"strInput[0]",
"strInput",
"0",
"int y = Integer.parseInt(strInput[1]);",
"y",
"Integer.parseInt(strInput[1])",
"Integer.parseInt",
"Integer",
"strInput[1]",
"strInput",
"1",
"if(x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x > y){\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t int temp = x;\n\t\t\t x = y;\n\t\t\t y = temp;\n\t\t\t \n\t\t\t}",
"int temp = x;",
"temp",
"x",
"x = y",
"x",
"y",
"y = temp",
"y",
"temp",
"result.append(x + \" \" + y + \"\\n\")",
"result.append",
"result",
"x + \" \" + y + \"\\n\"",
"y",
"x + \" \" + y + \"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"System.out.print(result)",
"System.out.print",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args"
] | import java.io.*;
class Main{
public static void main(String[] args)throws IOException{
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
StringBuilder result = new StringBuilder();
while(true){
String tmp = input.readLine();
String[] strInput = tmp.split(" ");
int x = Integer.parseInt(strInput[0]);
int y = Integer.parseInt(strInput[1]);
if(x == 0 && y == 0){
break;
}
if(x > y){
int temp = x;
x = y;
y = temp;
}
result.append(x + " " + y + "\n");
}
System.out.print(result);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
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,
13,
2,
13,
17,
3,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
118,
14
],
[
118,
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
],
[
34,
35
],
[
35,
36
],
[
32,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
29,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
59,
61
],
[
54,
62
],
[
29,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
29,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
29,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
17,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
85,
95
],
[
95,
96
],
[
96,
97
],
[
85,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
105,
110
],
[
105,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
15,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> arrIntA = new ArrayList<Integer>();\n\t\tArrayList<Integer> arrIntB = new ArrayList<Integer>();\n\n\t\twhile(true) {\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}\n\n\t\tfor(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));\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",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> arrIntA = new ArrayList<Integer>();\n\t\tArrayList<Integer> arrIntB = new ArrayList<Integer>();\n\n\t\twhile(true) {\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}\n\n\t\tfor(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));\n\t}\n}",
"Main",
"public static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> arrIntA = new ArrayList<Integer>();\n\t\tArrayList<Integer> arrIntB = new ArrayList<Integer>();\n\n\t\twhile(true) {\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}\n\n\t\tfor(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));\n\t}",
"main",
"{\n\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> arrIntA = new ArrayList<Integer>();\n\t\tArrayList<Integer> arrIntB = new ArrayList<Integer>();\n\n\t\twhile(true) {\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}\n\n\t\tfor(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));\n\t}",
"BufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));",
"buffReader",
"new BufferedReader(new InputStreamReader(System.in))",
"ArrayList<Integer> arrIntA = new ArrayList<Integer>();",
"arrIntA",
"new ArrayList<Integer>()",
"ArrayList<Integer> arrIntB = new ArrayList<Integer>();",
"arrIntB",
"new ArrayList<Integer>()",
"while(true) {\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}",
"true",
"{\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}",
"String[] strNumbers = buffReader.readLine().split(\" \");",
"strNumbers",
"buffReader.readLine().split(\" \")",
"buffReader.readLine().split",
"buffReader.readLine()",
"buffReader.readLine",
"buffReader",
"\" \"",
"int a = Integer.parseInt(strNumbers[0]);",
"a",
"Integer.parseInt(strNumbers[0])",
"Integer.parseInt",
"Integer",
"strNumbers[0]",
"strNumbers",
"0",
"int b = Integer.parseInt(strNumbers[1]);",
"b",
"Integer.parseInt(strNumbers[1])",
"Integer.parseInt",
"Integer",
"strNumbers[1]",
"strNumbers",
"1",
"if(a == b && a == 0) break;",
"a == b && a == 0",
"a == b",
"a",
"b",
"a == 0",
"a",
"0",
"break;",
"if(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}",
"b < a",
"b",
"a",
"{\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}",
"int tmp = a;",
"tmp",
"a",
"a = b",
"a",
"b",
"b = tmp",
"b",
"tmp",
"arrIntA.add(a)",
"arrIntA.add",
"arrIntA",
"a",
"arrIntB.add(b)",
"arrIntB.add",
"arrIntB",
"b",
"for(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arrIntA.size()",
"i",
"arrIntA.size()",
"arrIntA.size",
"arrIntA",
"i++",
"i++",
"i",
"System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));",
"System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"arrIntA.get(i) + \" \" + arrIntB.get(i)",
"arrIntA.get(i) + \" \" + arrIntB.get(i)",
"arrIntA.get(i)",
"arrIntA.get",
"arrIntA",
"i",
"\" \"",
"arrIntB.get(i)",
"arrIntB.get",
"arrIntB",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> arrIntA = new ArrayList<Integer>();\n\t\tArrayList<Integer> arrIntB = new ArrayList<Integer>();\n\n\t\twhile(true) {\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}\n\n\t\tfor(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\n\t\tBufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));\n\t\tArrayList<Integer> arrIntA = new ArrayList<Integer>();\n\t\tArrayList<Integer> arrIntB = new ArrayList<Integer>();\n\n\t\twhile(true) {\n\t\t\tString[] strNumbers = buffReader.readLine().split(\" \");\n\t\t\tint a = Integer.parseInt(strNumbers[0]);\n\t\t\tint b = Integer.parseInt(strNumbers[1]);\n\n\t\t\tif(a == b && a == 0) break;\n\n\t\t\tif(b < a) {\n\t\t\t\tint tmp = a;\n\t\t\t\ta = b;\n\t\t\t\tb = tmp;\n\t\t\t}\n\n\t\t\tarrIntA.add(a);\n\t\t\tarrIntB.add(b);\n\t\t}\n\n\t\tfor(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + \" \" + arrIntB.get(i));\n\t}\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 NumberFormatException, IOException {
BufferedReader buffReader = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> arrIntA = new ArrayList<Integer>();
ArrayList<Integer> arrIntB = new ArrayList<Integer>();
while(true) {
String[] strNumbers = buffReader.readLine().split(" ");
int a = Integer.parseInt(strNumbers[0]);
int b = Integer.parseInt(strNumbers[1]);
if(a == b && a == 0) break;
if(b < a) {
int tmp = a;
a = b;
b = tmp;
}
arrIntA.add(a);
arrIntB.add(b);
}
for(int i = 0; i < arrIntA.size(); i++) System.out.println(arrIntA.get(i) + " " + arrIntB.get(i));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
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
],
[
80,
5
],
[
80,
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
],
[
21,
22
],
[
22,
23
],
[
19,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
16,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
16,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
16,
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
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"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\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}",
"sc.hasNext()",
"sc.hasNext",
"sc",
"{\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}",
"String[] s = sc.nextLine().split(\" \");",
"s",
"sc.nextLine().split(\" \")",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"int x = Integer.parseInt(s[0]);",
"x",
"Integer.parseInt(s[0])",
"Integer.parseInt",
"Integer",
"s[0]",
"s",
"0",
"int y = Integer.parseInt(s[1]);",
"y",
"Integer.parseInt(s[1])",
"Integer.parseInt",
"Integer",
"s[1]",
"s",
"1",
"if (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"{\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\twhile (sc.hasNext()) {\n\t\t\tString[] s = sc.nextLine().split(\" \");\n\t\t\tint x = Integer.parseInt(s[0]);\n\t\t\tint y = Integer.parseInt(s[1]);\n\n\t\t\tif (x == 0 && y == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (x > y) {\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t} else {\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
String[] s = sc.nextLine().split(" ");
int x = Integer.parseInt(s[0]);
int y = Integer.parseInt(s[1]);
if (x == 0 && y == 0) {
break;
}
if (x > y) {
System.out.println(y + " " + x);
} else {
System.out.println(x + " " + y);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
98,
11
],
[
98,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
15,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
26,
28
],
[
22,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
31,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
31,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
31,
59
],
[
59,
60
],
[
31,
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
],
[
31,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
31,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
91,
91
],
[
91,
92
],
[
91,
93
],
[
91,
94
],
[
12,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"int i = 1;",
"i",
"1",
"while (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"true",
"{\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}",
"String str = reader.readLine();",
"str",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] arr = str.split(\" \");",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int x = Integer.parseInt(arr[0]);",
"x",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"int y = Integer.parseInt(arr[1]);",
"y",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"int temp;",
"temp",
"if (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}",
"temp = x",
"temp",
"x",
"x = y",
"x",
"y",
"y = temp",
"y",
"temp",
"if (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\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;",
"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\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint i = 1;\n\t\t\twhile (true) {\n\t\t\t\tString str = reader.readLine();\n\t\t\t\tString[] arr = str.split(\" \");\n\t\t\t\tint x = Integer.parseInt(arr[0]);\n\t\t\t\tint y = Integer.parseInt(arr[1]);\n\t\t\t\tint temp;\n\t\t\t\t\n\t\t\t\tif (x > y) {\n\t\t\t\t\ttemp = x;\n\t\t\t\t\tx = y;\n\t\t\t\t\ty = temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
try {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
int i = 1;
while (true) {
String str = reader.readLine();
String[] arr = str.split(" ");
int x = Integer.parseInt(arr[0]);
int y = Integer.parseInt(arr[1]);
int temp;
if (x > y) {
temp = x;
x = y;
y = temp;
}
if (x == 0 && y == 0) {
break;
}
System.out.println(x + " " + y);
}
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
11,
1,
30,
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,
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,
17,
4,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
107,
5
],
[
107,
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
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
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
],
[
44,
45
],
[
25,
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
],
[
25,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
25,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
69,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
75,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
90,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
90,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tint tmpX,tmpY;\n\t\tfor(;;){\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}\n\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\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\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tint tmpX,tmpY;\n\t\tfor(;;){\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}\n\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tint tmpX,tmpY;\n\t\tfor(;;){\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}\n\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tint tmpX,tmpY;\n\t\tfor(;;){\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}\n\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}\n\t\t}\n\t}",
"List<Integer> listX = new ArrayList<Integer>();",
"listX",
"new ArrayList<Integer>()",
"List<Integer> listY = new ArrayList<Integer>();",
"listY",
"new ArrayList<Integer>()",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int tmpX",
"tmpX",
"tmpY;",
"tmpY",
"for(;;){\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}",
";",
"{\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}",
"{\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}",
"tmpX = scan.nextInt()",
"tmpX",
"scan.nextInt()",
"scan.nextInt",
"scan",
"tmpY = scan.nextInt()",
"tmpY",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}",
"(tmpX == 0) && (tmpY == 0)",
"(tmpX == 0)",
"tmpX",
"0",
"(tmpY == 0)",
"tmpY",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}",
"tmpX > tmpY",
"tmpX",
"tmpY",
"{\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}",
"int small = tmpY;",
"small",
"tmpY",
"tmpY = tmpX",
"tmpY",
"tmpX",
"tmpX = small",
"tmpX",
"small",
"listX.add(tmpX)",
"listX.add",
"listX",
"tmpX",
"listY.add(tmpY)",
"listY.add",
"listY",
"tmpY",
"if(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.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.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}\n\t\t}",
"for(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.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.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}",
"{\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}",
"System.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i))",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"listX.get(i)",
"listX.get",
"listX",
"i",
"listY.get(i)",
"listY.get",
"listY",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tint tmpX,tmpY;\n\t\tfor(;;){\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}\n\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tList<Integer> listX = new ArrayList<Integer>();\n\t\tList<Integer> listY = new ArrayList<Integer>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tint tmpX,tmpY;\n\t\tfor(;;){\n\t\t\ttmpX = scan.nextInt();\n\t\t\ttmpY = scan.nextInt();\n\t\t\tif((tmpX == 0) && (tmpY == 0)){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif(tmpX > tmpY){\n\t\t\t\tint small = tmpY;\n\t\t\t\ttmpY = tmpX;\n\t\t\t\ttmpX = small;\n\t\t\t}\n\t\t\tlistX.add(tmpX);\n\t\t\tlistY.add(tmpY);\n\t\t}\n\n\t\tif(listX.size() != 0){\n\t\t\tfor(int i = 0; i < listX.size(); i++){\n\t\t\t\tSystem.out.printf(\"%d %d\\n\", listX.get(i), listY.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
List<Integer> listX = new ArrayList<Integer>();
List<Integer> listY = new ArrayList<Integer>();
Scanner scan = new Scanner(System.in);
int tmpX,tmpY;
for(;;){
tmpX = scan.nextInt();
tmpY = scan.nextInt();
if((tmpX == 0) && (tmpY == 0)){
break;
}
if(tmpX > tmpY){
int small = tmpY;
tmpY = tmpX;
tmpX = small;
}
listX.add(tmpX);
listY.add(tmpY);
}
if(listX.size() != 0){
for(int i = 0; i < listX.size(); i++){
System.out.printf("%d %d\n", listX.get(i), listY.get(i));
}
}
}
} |
[
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,
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
],
[
91,
5
],
[
91,
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
],
[
32,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
24,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
24,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
52,
60
],
[
60,
61
],
[
24,
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
],
[
62,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
84,
84
],
[
84,
85
],
[
84,
86
],
[
84,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
] | [
"import java.util.*; \n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 3000; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\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.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 3000; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n } \n } \n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 3000; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n } \n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 3000; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n } \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i = 0; i < 3000; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n }",
"{\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n }",
"String line = sc.nextLine();",
"line",
"sc.nextLine()",
"sc.nextLine",
"sc",
"String[] l = line.split(\" \");",
"l",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"int x = Integer.parseInt(l[0]);",
"x",
"Integer.parseInt(l[0])",
"Integer.parseInt",
"Integer",
"l[0]",
"l",
"0",
"int y = Integer.parseInt(l[1]);",
"y",
"Integer.parseInt(l[1])",
"Integer.parseInt",
"Integer",
"l[1]",
"l",
"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 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) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 3000; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n } \n } \n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n for(int i = 0; i < 3000; i++) {\n String line = sc.nextLine();\n String[] l = line.split(\" \");\n int x = Integer.parseInt(l[0]);\n int y = Integer.parseInt(l[1]);\n\n if(x == 0 && y == 0) {\n break;\n } \n\n if(x <= y) {\n System.out.println(x + \" \" + y); \n } else {\n System.out.println(y + \" \" + x); \n } \n } \n } \n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(int i = 0; i < 3000; i++) {
String line = sc.nextLine();
String[] l = line.split(" ");
int x = Integer.parseInt(l[0]);
int y = Integer.parseInt(l[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,
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,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
74,
5
],
[
74,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
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
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
56,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
45,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
67,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
6,
71
],
[
71,
72
],
[
0,
73
],
[
73,
74
],
[
73,
75
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for(int i = 0; i < 3000; i++) {\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for(int i = 0; i < 3000; i++) {\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for(int i = 0; i < 3000; i++) {\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n for(int i = 0; i < 3000; i++) {\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"for(int i = 0; i < 3000; i++) {\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }",
"{\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }",
"int x = scanner.nextInt();",
"x",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"int y = scanner.nextInt();",
"y",
"scanner.nextInt()",
"scanner.nextInt",
"scanner",
"if (x == 0 && y == 0) {\n break;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n break;\n }",
"break;",
"if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }",
"x < y",
"x",
"y",
"{\n System.out.println(x + \" \" + y);\n }",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"{\n System.out.println(y + \" \" + x);\n }",
"System.out.println(y + \" \" + x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y + \" \" + x",
"y + \" \" + x",
"y",
"\" \"",
"x",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for(int i = 0; i < 3000; i++) {\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n for(int i = 0; i < 3000; i++) {\n int x = scanner.nextInt();\n int y = scanner.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n if (x < y) {\n System.out.println(x + \" \" + y);\n } else {\n System.out.println(y + \" \" + x);\n }\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
for(int i = 0; i < 3000; i++) {
int x = scanner.nextInt();
int y = scanner.nextInt();
if (x == 0 && y == 0) {
break;
}
if (x < y) {
System.out.println(x + " " + y);
} else {
System.out.println(y + " " + x);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
11,
1,
30,
30,
0,
13,
4,
18,
4,
18,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
3,
4,
18,
18,
13,
13,
2,
2,
8,
2,
18,
13,
17,
18,
13,
17,
18,
13,
17,
18,
13,
17,
17,
8,
2,
18,
13,
17,
18,
13,
17,
18,
13,
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
],
[
11,
14
],
[
14,
15
],
[
14,
16
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
28,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
28,
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
],
[
28,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
88,
90
],
[
80,
91
],
[
91,
92
],
[
91,
93
],
[
79,
94
],
[
79,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
100,
102
],
[
95,
103
],
[
103,
104
],
[
103,
105
],
[
95,
106
],
[
106,
107
],
[
106,
108
],
[
9,
109
],
[
109,
110
]
] | [
"import java.io.*;\nimport java.util.Arrays;\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i;\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]==0 && n[1]==0) break;\n\t\t\tSystem.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]));\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i;\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]==0 && n[1]==0) break;\n\t\t\tSystem.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tint i;\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]==0 && n[1]==0) break;\n\t\t\tSystem.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]));\n\t\t}\n\t}",
"main",
"{\n\t\tint i;\n\t\tint[] n = new int[5];\n\t\tString[] str = new String[5];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tfor(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]==0 && n[1]==0) break;\n\t\t\tSystem.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]));\n\t\t}\n\t}",
"int i;",
"i",
"int[] n = new int[5];",
"n",
"new int[5]",
"5",
"String[] str = new String[5];",
"str",
"new String[5]",
"5",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"for(;;){\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]==0 && n[1]==0) break;\n\t\t\tSystem.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]));\n\t\t}",
";",
"{\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]==0 && n[1]==0) break;\n\t\t\tSystem.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]));\n\t\t}",
"{\n\t\t\tstr = in.readLine().split(\" \");\n\t\t\tfor(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}\n\t\t\tif(n[0]==0 && n[1]==0) break;\n\t\t\tSystem.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]));\n\t\t}",
"str = in.readLine().split(\" \")",
"str",
"in.readLine().split(\" \")",
"in.readLine().split",
"in.readLine()",
"in.readLine",
"in",
"\" \"",
"for(i=0;i<2;i++){\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}",
"i=0;",
"i=0",
"i",
"0",
"i<2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}",
"{\n\t\t\t\tn[i]=Integer.parseInt(str[i]);\n\t\t\t}",
"n[i]=Integer.parseInt(str[i])",
"n[i]",
"n",
"i",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"if(n[0]==0 && n[1]==0) break;",
"n[0]==0 && n[1]==0",
"n[0]==0",
"n[0]",
"n",
"0",
"0",
"n[1]==0",
"n[1]",
"n",
"1",
"0",
"break;",
"System.out.println((n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1]))",
"System.out.println",
"System.out",
"System",
"System.out",
"(n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1])",
"(n[0]>n[1]?n[1]:n[0])+\" \"+(n[0]>n[1]?n[0]:n[1])",
"(n[0]>n[1]?n[1]:n[0])",
"n[0]>n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"n[1]",
"n",
"1",
"n[0]",
"n",
"0",
"\" \"",
"(n[0]>n[1]?n[0]:n[1])",
"n[0]>n[1]",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"n[0]",
"n",
"0",
"n[1]",
"n",
"1",
"String[] args",
"args"
] | import java.io.*;
import java.util.Arrays;
class Main{
public static void main(String[] args) throws IOException {
int i;
int[] n = new int[5];
String[] str = new String[5];
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
for(;;){
str = in.readLine().split(" ");
for(i=0;i<2;i++){
n[i]=Integer.parseInt(str[i]);
}
if(n[0]==0 && n[1]==0) break;
System.out.println((n[0]>n[1]?n[1]:n[0])+" "+(n[0]>n[1]?n[0]:n[1]));
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
4,
18,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
119,
11
],
[
119,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
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
],
[
47,
50
],
[
36,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
14,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
62,
66
],
[
55,
67
],
[
67,
68
],
[
68,
69
],
[
55,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
89,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
89,
94
],
[
89,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
72,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
106,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
12,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
] | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> arraylistX = new ArrayList<Integer>();\n\t\tList<Integer> arraylistY = new ArrayList<Integer>();\n\t\tint lastAddX;\n\t\tint lastAddY;\n\t\tdo {\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}while(lastAddX != 0 || lastAddY != 0);\n\t\t\n\t\tfor(int i = 0; i < arraylistX.size()-1; i++) {\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> arraylistX = new ArrayList<Integer>();\n\t\tList<Integer> arraylistY = new ArrayList<Integer>();\n\t\tint lastAddX;\n\t\tint lastAddY;\n\t\tdo {\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}while(lastAddX != 0 || lastAddY != 0);\n\t\t\n\t\tfor(int i = 0; i < arraylistX.size()-1; i++) {\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> arraylistX = new ArrayList<Integer>();\n\t\tList<Integer> arraylistY = new ArrayList<Integer>();\n\t\tint lastAddX;\n\t\tint lastAddY;\n\t\tdo {\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}while(lastAddX != 0 || lastAddY != 0);\n\t\t\n\t\tfor(int i = 0; i < arraylistX.size()-1; i++) {\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> arraylistX = new ArrayList<Integer>();\n\t\tList<Integer> arraylistY = new ArrayList<Integer>();\n\t\tint lastAddX;\n\t\tint lastAddY;\n\t\tdo {\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}while(lastAddX != 0 || lastAddY != 0);\n\t\t\n\t\tfor(int i = 0; i < arraylistX.size()-1; i++) {\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}\n\t}",
"Scanner stdIn = new Scanner(System.in);",
"stdIn",
"new Scanner(System.in)",
"List<Integer> arraylistX = new ArrayList<Integer>();",
"arraylistX",
"new ArrayList<Integer>()",
"List<Integer> arraylistY = new ArrayList<Integer>();",
"arraylistY",
"new ArrayList<Integer>()",
"int lastAddX;",
"lastAddX",
"int lastAddY;",
"lastAddY",
"do {\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}while(lastAddX != 0 || lastAddY != 0);",
"lastAddX != 0 || lastAddY != 0",
"lastAddX != 0",
"lastAddX",
"0",
"lastAddY != 0",
"lastAddY",
"0",
"{\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}",
"lastAddX = stdIn.nextInt()",
"lastAddX",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"lastAddY = stdIn.nextInt()",
"lastAddY",
"stdIn.nextInt()",
"stdIn.nextInt",
"stdIn",
"arraylistX.add(lastAddX)",
"arraylistX.add",
"arraylistX",
"lastAddX",
"arraylistY.add(lastAddY)",
"arraylistY.add",
"arraylistY",
"lastAddY",
"for(int i = 0; i < arraylistX.size()-1; i++) {\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arraylistX.size()-1",
"i",
"arraylistX.size()-1",
"arraylistX.size()",
"arraylistX.size",
"arraylistX",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}",
"if(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}",
"arraylistX.get(i) < arraylistY.get(i)",
"arraylistX.get(i)",
"arraylistX.get",
"arraylistX",
"i",
"arraylistY.get(i)",
"arraylistY.get",
"arraylistY",
"i",
"{\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}",
"System.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"arraylistX.get(i) + \" \" + arraylistY.get(i)",
"arraylistX.get(i) + \" \" + arraylistY.get(i)",
"arraylistX.get(i)",
"arraylistX.get",
"arraylistX",
"i",
"\" \"",
"arraylistY.get(i)",
"arraylistY.get",
"arraylistY",
"i",
"{\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}",
"System.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"arraylistY.get(i) + \" \" + arraylistX.get(i)",
"arraylistY.get(i) + \" \" + arraylistX.get(i)",
"arraylistY.get(i)",
"arraylistY.get",
"arraylistY",
"i",
"\" \"",
"arraylistX.get(i)",
"arraylistX.get",
"arraylistX",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tList<Integer> arraylistX = new ArrayList<Integer>();\n\t\tList<Integer> arraylistY = new ArrayList<Integer>();\n\t\tint lastAddX;\n\t\tint lastAddY;\n\t\tdo {\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}while(lastAddX != 0 || lastAddY != 0);\n\t\t\n\t\tfor(int i = 0; i < arraylistX.size()-1; i++) {\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.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 stdIn = new Scanner(System.in);\n\t\tList<Integer> arraylistX = new ArrayList<Integer>();\n\t\tList<Integer> arraylistY = new ArrayList<Integer>();\n\t\tint lastAddX;\n\t\tint lastAddY;\n\t\tdo {\n\t\t\tlastAddX = stdIn.nextInt();\n\t\t\tlastAddY = stdIn.nextInt();\n\t\t\tarraylistX.add(lastAddX);\n\t\t\tarraylistY.add(lastAddY);\n\t\t\t\n\t\t}while(lastAddX != 0 || lastAddY != 0);\n\t\t\n\t\tfor(int i = 0; i < arraylistX.size()-1; i++) {\n\t\t\tif(arraylistX.get(i) < arraylistY.get(i)) {\n\t\t\t\tSystem.out.println(arraylistX.get(i) + \" \" + arraylistY.get(i));\n\t\t\t}\n\t\t\telse {\n\t\t\t\tSystem.out.println(arraylistY.get(i) + \" \" + arraylistX.get(i));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner stdIn = new Scanner(System.in);
List<Integer> arraylistX = new ArrayList<Integer>();
List<Integer> arraylistY = new ArrayList<Integer>();
int lastAddX;
int lastAddY;
do {
lastAddX = stdIn.nextInt();
lastAddY = stdIn.nextInt();
arraylistX.add(lastAddX);
arraylistY.add(lastAddY);
}while(lastAddX != 0 || lastAddY != 0);
for(int i = 0; i < arraylistX.size()-1; i++) {
if(arraylistX.get(i) < arraylistY.get(i)) {
System.out.println(arraylistX.get(i) + " " + arraylistY.get(i));
}
else {
System.out.println(arraylistY.get(i) + " " + arraylistX.get(i));
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
42,
17,
30,
0,
13,
4,
18,
4,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
0,
18,
13,
17,
4,
18,
13,
18,
13,
17,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
30,
3,
14,
2,
18,
13,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
112,
8
],
[
112,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
31,
36
],
[
28,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
28,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
28,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
57,
69
],
[
69,
70
],
[
28,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
86,
91
],
[
91,
92
],
[
91,
93
],
[
71,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
9,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }\n \n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }\n \n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }\n \n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }\n \n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder st = new StringBuilder();",
"st",
"new StringBuilder()",
"String[] ary = new String[2];",
"ary",
"new String[2]",
"2",
"int[] num = new int[2];",
"num",
"new int[2]",
"2",
"while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }",
"true",
"{\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }",
"ary = br.readLine().split(\" \")",
"ary",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"num[0] = Integer.parseInt(ary[0])",
"num[0]",
"num",
"0",
"Integer.parseInt(ary[0])",
"Integer.parseInt",
"Integer",
"ary[0]",
"ary",
"0",
"num[1] = Integer.parseInt(ary[1])",
"num[1]",
"num",
"1",
"Integer.parseInt(ary[1])",
"Integer.parseInt",
"Integer",
"ary[1]",
"ary",
"1",
"if(num[0] == 0 && num[1] == 0){\n break;\n }",
"num[0] == 0 && num[1] == 0",
"num[0] == 0",
"num[0]",
"num",
"0",
"0",
"num[1] == 0",
"num[1]",
"num",
"1",
"0",
"{\n break;\n }",
"break;",
"if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }",
"num[0] > num[1]",
"num[0]",
"num",
"0",
"num[1]",
"num",
"1",
"{\n System.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",
"{\n System.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",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }\n \n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder st = new StringBuilder();\n \n String[] ary = new String[2];\n int[] num = new int[2];\n \n while(true){\n ary = br.readLine().split(\" \");\n //ary = inputStr.split(\" \");\n num[0] = Integer.parseInt(ary[0]);\n num[1] = Integer.parseInt(ary[1]);\n \n if(num[0] == 0 && num[1] == 0){\n break;\n }\n \n if(num[0] > num[1]){\n System.out.println(num[1] + \" \" + num[0]);\n }else{\n System.out.println(num[0] + \" \" + num[1]);\n }\n }\n \n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder st = new StringBuilder();
String[] ary = new String[2];
int[] num = new int[2];
while(true){
ary = br.readLine().split(" ");
//ary = inputStr.split(" ");
num[0] = Integer.parseInt(ary[0]);
num[1] = Integer.parseInt(ary[1]);
if(num[0] == 0 && num[1] == 0){
break;
}
if(num[0] > num[1]){
System.out.println(num[1] + " " + num[0]);
}else{
System.out.println(num[0] + " " + num[1]);
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
14,
4,
18,
13,
17,
3,
41,
13,
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,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
104,
14
],
[
104,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
24,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
24,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
39,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
46,
59
],
[
59,
60
],
[
59,
61
],
[
46,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
46,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
46,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
46,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
93,
98
],
[
98,
99
],
[
98,
100
],
[
15,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
] | [
"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) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\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",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"BufferedReader in = new BufferedReader(new InputStreamReader(System.in));",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"NumberFormatException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t}",
"while ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}",
"(str = in.readLine()) != null",
"(str = in.readLine())",
"str",
"in.readLine()",
"in.readLine",
"in",
"null",
"{\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}",
"if (str.equals(\"0 0\")) break;",
"str.equals(\"0 0\")",
"str.equals",
"str",
"\"0 0\"",
"break;",
"String[] ab = str.split(\" \");",
"ab",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int[] numbers = new int[2];",
"numbers",
"new int[2]",
"2",
"numbers[0] = Integer.parseInt(ab[0])",
"numbers[0]",
"numbers",
"0",
"Integer.parseInt(ab[0])",
"Integer.parseInt",
"Integer",
"ab[0]",
"ab",
"0",
"numbers[1] = Integer.parseInt(ab[1])",
"numbers[1]",
"numbers",
"1",
"Integer.parseInt(ab[1])",
"Integer.parseInt",
"Integer",
"ab[1]",
"ab",
"1",
"Arrays.sort(numbers)",
"Arrays.sort",
"Arrays",
"numbers",
"System.out.println(numbers[0] + \" \" + numbers[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"numbers[0] + \" \" + numbers[1]",
"numbers[0] + \" \" + numbers[1]",
"numbers[0]",
"numbers",
"0",
"\" \"",
"numbers[1]",
"numbers",
"1",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tString str = \"\";\n\t\ttry {\n\t\t\twhile ((str = in.readLine()) != null) {\n\t\t\t\tif (str.equals(\"0 0\")) break;\n\t\t\t\tString[] ab = str.split(\" \");\n\t\t\t\t\n\t\t\t\tint[] numbers = new int[2];\n\t\t\t\tnumbers[0] = Integer.parseInt(ab[0]);\n\t\t\t\tnumbers[1] = Integer.parseInt(ab[1]);\n\t\t\t\t\n\t\t\t\tArrays.sort(numbers);\n\t\t\t\tSystem.out.println(numbers[0] + \" \" + numbers[1]);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\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) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String str = "";
try {
while ((str = in.readLine()) != null) {
if (str.equals("0 0")) break;
String[] ab = str.split(" ");
int[] numbers = new int[2];
numbers[0] = Integer.parseInt(ab[0]);
numbers[1] = Integer.parseInt(ab[1]);
Arrays.sort(numbers);
System.out.println(numbers[0] + " " + numbers[1]);
}
} catch (NumberFormatException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
42,
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,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
33,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
33,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
33,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint box = 0;\n\t\twhile(x != 0 || y != 0)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint box = 0;\n\t\twhile(x != 0 || y != 0)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint box = 0;\n\t\twhile(x != 0 || y != 0)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint box = 0;\n\t\twhile(x != 0 || y != 0)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x = scan.nextInt();",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int y = scan.nextInt();",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int box = 0;",
"box",
"0",
"while(x != 0 || y != 0)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}",
"x != 0 || y != 0",
"x != 0",
"x",
"0",
"y != 0",
"y",
"0",
"{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}",
"if(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\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",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint box = 0;\n\t\twhile(x != 0 || y != 0)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x = scan.nextInt();\n\t\tint y = scan.nextInt();\n\t\tint box = 0;\n\t\twhile(x != 0 || y != 0)\n\t\t{\n\t\t\tif(x > y)\n\t\t\t{\n\t\t\t\tbox = x;\n\t\t\t\tx = y;\n\t\t\t\ty = box;\n\t\t\t}\n\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t}\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args)
{
Scanner scan = new Scanner(System.in);
int x = scan.nextInt();
int y = scan.nextInt();
int box = 0;
while(x != 0 || y != 0)
{
if(x > y)
{
box = x;
x = y;
y = box;
}
System.out.println(x + " " + y);
x = scan.nextInt();
y = scan.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
17,
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,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[
13,
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
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
42,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
70,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
70,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
6,
80
],
[
80,
81
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main (String[] args ){\n\t\tint x,y;\n\t\tint z = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tx = in.nextInt();\n\t\t\ty = in.nextInt();\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if (x <= y ){\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main (String[] args ){\n\t\tint x,y;\n\t\tint z = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tx = in.nextInt();\n\t\t\ty = in.nextInt();\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if (x <= y ){\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main (String[] args ){\n\t\tint x,y;\n\t\tint z = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tx = in.nextInt();\n\t\t\ty = in.nextInt();\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if (x <= y ){\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tint x,y;\n\t\tint z = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tx = in.nextInt();\n\t\t\ty = in.nextInt();\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if (x <= y ){\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}\n\t\t}\n\t}",
"int x",
"x",
"y;",
"y",
"int z = 0;",
"z",
"0",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"while(true){\n\t\t\tx = in.nextInt();\n\t\t\ty = in.nextInt();\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if (x <= y ){\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tx = in.nextInt();\n\t\t\ty = in.nextInt();\n\t\t\tif( x == 0 && y == 0){\n\t\t\t\tbreak;\n\t\t\t}else if (x <= y ){\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}\n\t\t}",
"x = in.nextInt()",
"x",
"in.nextInt()",
"in.nextInt",
"in",
"y = in.nextInt()",
"y",
"in.nextInt()",
"in.nextInt",
"in",
"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(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if (x <= y ){\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t} else {\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}",
"x <= y",
"x",
"y",
"{\n\t\t\t\tSystem.out.println(String.valueOf(x) + ' ' + String.valueOf(y));\n\t\t\t}",
"System.out.println(String.valueOf(x) + ' ' + String.valueOf(y))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(x) + ' ' + String.valueOf(y)",
"String.valueOf(x) + ' ' + String.valueOf(y)",
"String.valueOf(x)",
"String.valueOf",
"String",
"x",
"' '",
"String.valueOf(y)",
"String.valueOf",
"String",
"y",
"{\n\t\t\t\tSystem.out.println(String.valueOf(y) + ' ' + String.valueOf(x));\n\t\t\t}",
"System.out.println(String.valueOf(y) + ' ' + String.valueOf(x))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.valueOf(y) + ' ' + String.valueOf(x)",
"String.valueOf(y) + ' ' + String.valueOf(x)",
"String.valueOf(y)",
"String.valueOf",
"String",
"y",
"' '",
"String.valueOf(x)",
"String.valueOf",
"String",
"x",
"String[] args",
"args"
] | import java.util.*;
class Main{
public static void main (String[] args ){
int x,y;
int z = 0;
Scanner in = new Scanner(System.in);
while(true){
x = in.nextInt();
y = in.nextInt();
if( x == 0 && y == 0){
break;
}else if (x <= y ){
System.out.println(String.valueOf(x) + ' ' + String.valueOf(y));
} else {
System.out.println(String.valueOf(y) + ' ' + String.valueOf(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,
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
],
[
71,
5
],
[
71,
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
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
48,
55
],
[
55,
56
],
[
55,
57
],
[
24,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }\n\t}\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }\n\t}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"for(int i=1; i>0; i++){\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i>0",
"i",
"0",
"i++",
"i++",
"i",
"{\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }",
"{\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }",
"int iNum1 = scan.nextInt();",
"iNum1",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int iNum2 = scan.nextInt();",
"iNum2",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(iNum1 == 0 && iNum2 == 0)\n break;",
"iNum1 == 0 && iNum2 == 0",
"iNum1 == 0",
"iNum1",
"0",
"iNum2 == 0",
"iNum2",
"0",
"break;",
"if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }",
"iNum1 > iNum2",
"iNum1",
"iNum2",
"{\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }",
"int temp = iNum1;",
"temp",
"iNum1",
"iNum1 = iNum2",
"iNum1",
"iNum2",
"iNum2 = temp",
"iNum2",
"temp",
"System.out.println(iNum1 + \" \" + iNum2)",
"System.out.println",
"System.out",
"System",
"System.out",
"iNum1 + \" \" + iNum2",
"iNum1 + \" \" + iNum2",
"iNum1",
"\" \"",
"iNum2",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n for(int i=1; i>0; i++){\n int iNum1 = scan.nextInt();\n int iNum2 = scan.nextInt();\n if(iNum1 == 0 && iNum2 == 0)\n break;\n if(iNum1 > iNum2){\n \tint temp = iNum1;\n \tiNum1 = iNum2;\n \tiNum2 = temp;\n }\n System.out.println(iNum1 + \" \" + iNum2);\n }\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
for(int i=1; i>0; i++){
int iNum1 = scan.nextInt();
int iNum2 = scan.nextInt();
if(iNum1 == 0 && iNum2 == 0)
break;
if(iNum1 > iNum2){
int temp = iNum1;
iNum1 = iNum2;
iNum2 = temp;
}
System.out.println(iNum1 + " " + iNum2);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
42,
2,
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,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
4,
18,
18,
13,
13,
13,
30,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
106,
11
],
[
106,
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
],
[
18,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
25,
30
],
[
30,
31
],
[
25,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
42,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
42,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
42,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
75,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
25,
100
],
[
100,
101
],
[
101,
102
],
[
12,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"try {\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t}",
"String str;",
"str",
"String[] arr;",
"arr",
"int i;",
"i",
"int j;",
"j",
"while((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}",
"(str = br.readLine()) != null",
"(str = br.readLine())",
"str",
"br.readLine()",
"br.readLine",
"br",
"null",
"{\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}",
"arr = str.split(\" \")",
"arr",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"i = Integer.parseInt(arr[0])",
"i",
"Integer.parseInt(arr[0])",
"Integer.parseInt",
"Integer",
"arr[0]",
"arr",
"0",
"j = Integer.parseInt(arr[1])",
"j",
"Integer.parseInt(arr[1])",
"Integer.parseInt",
"Integer",
"arr[1]",
"arr",
"1",
"if(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"i == 0 && j == 0",
"i == 0",
"i",
"0",
"j == 0",
"j",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"if(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}",
"i <= j",
"i",
"j",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"{\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}",
"System.out.println(arr[1] + \" \" + arr[0])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[1] + \" \" + arr[0]",
"arr[1] + \" \" + arr[0]",
"arr[1]",
"arr",
"1",
"\" \"",
"arr[0]",
"arr",
"0",
"br.close()",
"br.close",
"br",
"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\t\ttry {\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\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\t\ttry {\n\t\t\tString str;\n\t\t\tString[] arr;\n\t\t\tint i;\n\t\t\tint j;\n\t\t\twhile((str = br.readLine()) != null){\n\t\t\t\tarr = str.split(\" \");\n\t\t\t\ti = Integer.parseInt(arr[0]);\n\t\t\t\tj = Integer.parseInt(arr[1]);\n\t\t\t\tif(i == 0 && j == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(i <= j) System.out.println(str);\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.println(arr[1] + \" \" + arr[0]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tbr.close();\n\t\t} catch (IOException e) {\n\t\t\t// TODO 自動生成された catch ブロック\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
String str;
String[] arr;
int i;
int j;
while((str = br.readLine()) != null){
arr = str.split(" ");
i = Integer.parseInt(arr[0]);
j = Integer.parseInt(arr[1]);
if(i == 0 && j == 0) {
break;
}
if(i <= j) System.out.println(str);
else {
System.out.println(arr[1] + " " + arr[0]);
}
}
br.close();
} catch (IOException e) {
// TODO 自動生成された catch ブロック
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
4,
18,
18,
13,
13,
8,
2,
13,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
23,
13,
6,
13,
12,
13,
30,
4,
18,
13,
23,
13,
10,
6,
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
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
39,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
66,
56
],
[
66,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
] | [
"import java.util.*;\n\nclass SwappingTwoNumbers {\n public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n while(true) {\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n if(a == 0 && b == 0)\n break;\n System.out.println(a < b ? a + \" \" + b : b + \" \" + a);\n }\n }\n}\npublic class Main {\n public static void main(String... args) {\n SwappingTwoNumbers.main();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class SwappingTwoNumbers {\n public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n while(true) {\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n if(a == 0 && b == 0)\n break;\n System.out.println(a < b ? a + \" \" + b : b + \" \" + a);\n }\n }\n}",
"SwappingTwoNumbers",
"public static void main(String...args) {\n final Scanner sc = new Scanner(System.in);\n while(true) {\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n if(a == 0 && b == 0)\n break;\n System.out.println(a < b ? a + \" \" + b : b + \" \" + a);\n }\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n while(true) {\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n if(a == 0 && b == 0)\n break;\n System.out.println(a < b ? a + \" \" + b : b + \" \" + a);\n }\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while(true) {\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n if(a == 0 && b == 0)\n break;\n System.out.println(a < b ? a + \" \" + b : b + \" \" + a);\n }",
"true",
"{\n final int a = sc.nextInt();\n final int b = sc.nextInt();\n if(a == 0 && b == 0)\n break;\n System.out.println(a < b ? a + \" \" + b : b + \" \" + a);\n }",
"final int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"final int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a == 0 && b == 0)\n break;",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"break;",
"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",
"public class Main {\n public static void main(String... args) {\n SwappingTwoNumbers.main();\n }\n}",
"Main",
"public static void main(String... args) {\n SwappingTwoNumbers.main();\n }",
"main",
"{\n SwappingTwoNumbers.main();\n }",
"SwappingTwoNumbers.main()",
"SwappingTwoNumbers.main",
"SwappingTwoNumbers",
"String... args",
"args",
"public class Main {\n public static void main(String... args) {\n SwappingTwoNumbers.main();\n }\n}",
"public class Main {\n public static void main(String... args) {\n SwappingTwoNumbers.main();\n }\n}",
"Main"
] | import java.util.*;
class SwappingTwoNumbers {
public static void main(String...args) {
final Scanner sc = new Scanner(System.in);
while(true) {
final int a = sc.nextInt();
final int b = sc.nextInt();
if(a == 0 && b == 0)
break;
System.out.println(a < b ? a + " " + b : b + " " + a);
}
}
}
public class Main {
public static void main(String... args) {
SwappingTwoNumbers.main();
}
} |
[
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,
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,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
92,
5
],
[
92,
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
],
[
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
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
34,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
34,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
6,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i,j;\n\t\t\n\t\ti=in.nextInt();\n\t\tj=in.nextInt();\n\t\twhile(i!=0 || j!=0){\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i,j;\n\t\t\n\t\ti=in.nextInt();\n\t\tj=in.nextInt();\n\t\twhile(i!=0 || j!=0){\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i,j;\n\t\t\n\t\ti=in.nextInt();\n\t\tj=in.nextInt();\n\t\twhile(i!=0 || j!=0){\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}\n\t\t\n\t\tin.close();\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tint i,j;\n\t\t\n\t\ti=in.nextInt();\n\t\tj=in.nextInt();\n\t\twhile(i!=0 || j!=0){\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}\n\t\t\n\t\tin.close();\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int i",
"i",
"j;",
"j",
"i=in.nextInt()",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"j=in.nextInt()",
"j",
"in.nextInt()",
"in.nextInt",
"in",
"while(i!=0 || j!=0){\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}",
"i!=0 || j!=0",
"i!=0",
"i",
"0",
"j!=0",
"j",
"0",
"{\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}",
"if(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}",
"i<j",
"i",
"j",
"{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}",
"System.out.println(i+\" \"+j)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+\" \"+j",
"i+\" \"+j",
"i",
"\" \"",
"j",
"if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}",
"i>j",
"i",
"j",
"{\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}",
"System.out.println(j+\" \"+i)",
"System.out.println",
"System.out",
"System",
"System.out",
"j+\" \"+i",
"j+\" \"+i",
"j",
"\" \"",
"i",
"{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}",
"System.out.println(i+\" \"+j)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+\" \"+j",
"i+\" \"+j",
"i",
"\" \"",
"j",
"i=in.nextInt()",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"j=in.nextInt()",
"j",
"in.nextInt()",
"in.nextInt",
"in",
"in.close()",
"in.close",
"in",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i,j;\n\t\t\n\t\ti=in.nextInt();\n\t\tj=in.nextInt();\n\t\twhile(i!=0 || j!=0){\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint i,j;\n\t\t\n\t\ti=in.nextInt();\n\t\tj=in.nextInt();\n\t\twhile(i!=0 || j!=0){\n\t\t\tif(i<j){\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}else if(i>j){\n\t\t\t\tSystem.out.println(j+\" \"+i);\t\n\t\t\t}else{\n\t\t\t\tSystem.out.println(i+\" \"+j);\n\t\t\t}\n\t\t\ti=in.nextInt();\n\t\t\tj=in.nextInt();\n\t\t}\n\t\t\n\t\tin.close();\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
int i,j;
i=in.nextInt();
j=in.nextInt();
while(i!=0 || j!=0){
if(i<j){
System.out.println(i+" "+j);
}else if(i>j){
System.out.println(j+" "+i);
}else{
System.out.println(i+" "+j);
}
i=in.nextInt();
j=in.nextInt();
}
in.close();
}
} |
[
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,
13,
13,
30,
4,
18,
18,
13,
13,
17,
13,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
17,
13,
13,
14,
2,
2,
13,
13,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
13,
13,
30,
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
],
[
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
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
40,
46
],
[
40,
47
],
[
35,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
53,
59
],
[
53,
60
],
[
48,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
70,
76
],
[
70,
77
],
[
61,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
] | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<=3000;i++){\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }\n }\n}\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<=3000;i++){\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<=3000;i++){\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<=3000;i++){\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for(int i=0;i<=3000;i++){\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<=3000",
"i",
"3000",
"i++",
"i++",
"i",
"{\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }",
"{\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b=sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }",
"a<b",
"a",
"b",
"{\n System.out.printf(\"%d %d\\n\",a,b);\n }",
"System.out.printf(\"%d %d\\n\",a,b)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a",
"b",
"if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }",
"a>b",
"a",
"b",
"{\n System.out.printf(\"%d %d\\n\",b,a);\n }",
"System.out.printf(\"%d %d\\n\",b,a)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"b",
"a",
"if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }",
"a==b && a!=0",
"a==b",
"a",
"b",
"a!=0",
"a",
"0",
"{\n System.out.printf(\"%d %d\\n\",a,b);\n }",
"System.out.printf(\"%d %d\\n\",a,b)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a",
"b",
"{\n break;\n }",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<=3000;i++){\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n for(int i=0;i<=3000;i++){\n int a=sc.nextInt();\n int b=sc.nextInt();\n if(a<b){\n System.out.printf(\"%d %d\\n\",a,b);\n }else if(a>b){\n System.out.printf(\"%d %d\\n\",b,a);\n }else if(a==b && a!=0){\n System.out.printf(\"%d %d\\n\",a,b);\n }else{\n break;\n }\n }\n }\n}",
"Main"
] | import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
for(int i=0;i<=3000;i++){
int a=sc.nextInt();
int b=sc.nextInt();
if(a<b){
System.out.printf("%d %d\n",a,b);
}else if(a>b){
System.out.printf("%d %d\n",b,a);
}else if(a==b && a!=0){
System.out.printf("%d %d\n",a,b);
}else{
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
18,
13,
13,
13,
30,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
42,
2,
17,
17,
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,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
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
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
12,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
31
],
[
31,
32
],
[
31,
33
],
[
22,
34
],
[
34,
35
],
[
34,
36
],
[
22,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
41,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
41,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
74,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
73,
85
],
[
85,
86
],
[
41,
87
],
[
87,
88
],
[
87,
89
],
[
22,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
98,
99
],
[
99,
100
],
[
90,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
111,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
121,
123
],
[
111,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
102,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
135,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
135,
140
],
[
140,
141
],
[
140,
142
],
[
6,
143
],
[
143,
144
]
] | [
"import java.io.*;\n\nclass Main{\n public static void main(String[] args){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try { \n int[] x = new int[10000];\n int[] y = new int[10000];\n int a = 0, b = 0;\n\n while(2 > 1){\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }\n\n\n for(int i = 0; i < a; i++){\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try { \n int[] x = new int[10000];\n int[] y = new int[10000];\n int a = 0, b = 0;\n\n while(2 > 1){\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }\n\n\n for(int i = 0; i < a; i++){\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }\n}",
"Main",
"public static void main(String[] args){\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try { \n int[] x = new int[10000];\n int[] y = new int[10000];\n int a = 0, b = 0;\n\n while(2 > 1){\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }\n\n\n for(int i = 0; i < a; i++){\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n try { \n int[] x = new int[10000];\n int[] y = new int[10000];\n int a = 0, b = 0;\n\n while(2 > 1){\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }\n\n\n for(int i = 0; i < a; i++){\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"try { \n int[] x = new int[10000];\n int[] y = new int[10000];\n int a = 0, b = 0;\n\n while(2 > 1){\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }\n\n\n for(int i = 0; i < a; i++){\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }\n \n } catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }",
"catch (IOException e) {\n //TODO: handle exception\n System.out.println(e);\n }",
"IOException e",
"{\n //TODO: handle exception\n System.out.println(e);\n }",
"System.out.println(e)",
"System.out.println",
"System.out",
"System",
"System.out",
"e",
"{ \n int[] x = new int[10000];\n int[] y = new int[10000];\n int a = 0, b = 0;\n\n while(2 > 1){\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }\n\n\n for(int i = 0; i < a; i++){\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }\n \n }",
"int[] x = new int[10000];",
"x",
"new int[10000]",
"10000",
"int[] y = new int[10000];",
"y",
"new int[10000]",
"10000",
"int a = 0",
"a",
"0",
"b = 0;",
"b",
"0",
"while(2 > 1){\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }",
"2 > 1",
"2",
"1",
"{\n String line = reader.readLine();\n String[] strAry = line.split(\" \");\n\n x[a] = Integer.parseInt(strAry[0]);\n y[a] = Integer.parseInt(strAry[1]);\n\n if(x[a] == 0 && y[a] == 0){\n break;\n }\n a += 1;\n\n }",
"String line = reader.readLine();",
"line",
"reader.readLine()",
"reader.readLine",
"reader",
"String[] strAry = line.split(\" \");",
"strAry",
"line.split(\" \")",
"line.split",
"line",
"\" \"",
"x[a] = Integer.parseInt(strAry[0])",
"x[a]",
"x",
"a",
"Integer.parseInt(strAry[0])",
"Integer.parseInt",
"Integer",
"strAry[0]",
"strAry",
"0",
"y[a] = Integer.parseInt(strAry[1])",
"y[a]",
"y",
"a",
"Integer.parseInt(strAry[1])",
"Integer.parseInt",
"Integer",
"strAry[1]",
"strAry",
"1",
"if(x[a] == 0 && y[a] == 0){\n break;\n }",
"x[a] == 0 && y[a] == 0",
"x[a] == 0",
"x[a]",
"x",
"a",
"0",
"y[a] == 0",
"y[a]",
"y",
"a",
"0",
"{\n break;\n }",
"break;",
"a += 1",
"a",
"1",
"for(int i = 0; i < a; i++){\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }",
"{\n if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }\n System.out.println(x[i] + \" \" + y[i]);\n }",
"if(x[i] > y[i]){\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }",
"x[i] > y[i]",
"x[i]",
"x",
"i",
"y[i]",
"y",
"i",
"{\n b = y[i];\n y[i] = x[i];\n x[i] = b;\n }",
"b = y[i]",
"b",
"y[i]",
"y",
"i",
"y[i] = x[i]",
"y[i]",
"y",
"i",
"x[i]",
"x",
"i",
"x[i] = b",
"x[i]",
"x",
"i",
"b",
"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"
] | import java.io.*;
class Main{
public static void main(String[] args){
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
try {
int[] x = new int[10000];
int[] y = new int[10000];
int a = 0, b = 0;
while(2 > 1){
String line = reader.readLine();
String[] strAry = line.split(" ");
x[a] = Integer.parseInt(strAry[0]);
y[a] = Integer.parseInt(strAry[1]);
if(x[a] == 0 && y[a] == 0){
break;
}
a += 1;
}
for(int i = 0; i < a; i++){
if(x[i] > y[i]){
b = y[i];
y[i] = x[i];
x[i] = b;
}
System.out.println(x[i] + " " + y[i]);
}
} catch (IOException e) {
//TODO: handle exception
System.out.println(e);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
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,
4,
13,
12,
13,
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,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
81,
8
],
[
8,
9
],
[
81,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
81,
40
],
[
40,
41
],
[
40,
42
],
[
42,
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
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
81,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
69,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
] | [
"import java.util.Scanner;\npublic class Main{\n\n int x,y;\n \n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\twhile(true){\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\n\t}\n\t\n\n }\n public void output(){\n \n\tif(x < y){\n\t System.out.println(x+\" \"+y);\n \t}else{\n\t System.out.println(y+\" \"+x);\n\n\t\t}\n\n\n\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t// \tp.output();\n }\n}\n ",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n int x,y;\n \n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\twhile(true){\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\n\t}\n\t\n\n }\n public void output(){\n \n\tif(x < y){\n\t System.out.println(x+\" \"+y);\n \t}else{\n\t System.out.println(y+\" \"+x);\n\n\t\t}\n\n\n\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t// \tp.output();\n }\n}",
"Main",
"int x",
"x",
"y;",
"y",
"public void input(){\n\tScanner scan = new Scanner(System.in);\n\twhile(true){\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\n\t}\n\t\n\n }",
"input",
"{\n\tScanner scan = new Scanner(System.in);\n\twhile(true){\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\n\t}\n\t\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\n\t}",
"true",
"{\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\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)break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"output()",
"output",
"public void output(){\n \n\tif(x < y){\n\t System.out.println(x+\" \"+y);\n \t}else{\n\t System.out.println(y+\" \"+x);\n\n\t\t}\n\n\n\n }",
"output",
"{\n \n\tif(x < y){\n\t System.out.println(x+\" \"+y);\n \t}else{\n\t System.out.println(y+\" \"+x);\n\n\t\t}\n\n\n\n }",
"if(x < y){\n\t System.out.println(x+\" \"+y);\n \t}else{\n\t System.out.println(y+\" \"+x);\n\n\t\t}",
"x < y",
"x",
"y",
"{\n\t System.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 System.out.println(y+\" \"+x);\n\n\t\t}",
"System.out.println(y+\" \"+x)",
"System.out.println",
"System.out",
"System",
"System.out",
"y+\" \"+x",
"y+\" \"+x",
"y",
"\" \"",
"x",
"public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t// \tp.output();\n }",
"main",
"{\n\tMain p = new Main();\n\tp.input();\n\t// \tp.output();\n }",
"Main p = new Main();",
"p",
"new Main()",
"p.input()",
"p.input",
"p",
"String[] args",
"args",
"public class Main{\n\n int x,y;\n \n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\twhile(true){\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\n\t}\n\t\n\n }\n public void output(){\n \n\tif(x < y){\n\t System.out.println(x+\" \"+y);\n \t}else{\n\t System.out.println(y+\" \"+x);\n\n\t\t}\n\n\n\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t// \tp.output();\n }\n}",
"public class Main{\n\n int x,y;\n \n\n\n\n public void input(){\n\tScanner scan = new Scanner(System.in);\n\twhile(true){\n\n\tx = scan.nextInt();\n y = scan.nextInt();\n\n\tif(x == 0 && y == 0)break;\n output();\n\t}\n\t\n\n }\n public void output(){\n \n\tif(x < y){\n\t System.out.println(x+\" \"+y);\n \t}else{\n\t System.out.println(y+\" \"+x);\n\n\t\t}\n\n\n\n }\n \n\n\n\n public static void main(String[] args){\n\tMain p = new Main();\n\tp.input();\n\t// \tp.output();\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
int x,y;
public void input(){
Scanner scan = new Scanner(System.in);
while(true){
x = scan.nextInt();
y = scan.nextInt();
if(x == 0 && y == 0)break;
output();
}
}
public void output(){
if(x < y){
System.out.println(x+" "+y);
}else{
System.out.println(y+" "+x);
}
}
public static void main(String[] args){
Main p = new Main();
p.input();
// p.output();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
30,
3,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
29,
2,
2,
13,
13,
13,
29,
2,
2,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
22,
27
],
[
27,
28
],
[
16,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
6,
37
],
[
37,
38
],
[
96,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
41,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
41,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
41,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
71,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
41,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
39,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
] | [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\n\tString inputnum;\n\twhile(true){\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}\n\n }\n public static String select(String inputnum){\n\tString space = \" \";\n\tString nums[] = inputnum.split(space);\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n if(x > y){\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}\n\treturn(x + space + y);\n }\n\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\n\tString inputnum;\n\twhile(true){\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}\n\n }\n public static String select(String inputnum){\n\tString space = \" \";\n\tString nums[] = inputnum.split(space);\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n if(x > y){\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}\n\treturn(x + space + y);\n }\n\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\n\tString inputnum;\n\twhile(true){\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n\n\tString inputnum;\n\twhile(true){\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String inputnum;",
"inputnum",
"while(true){\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}",
"true",
"{\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}",
"inputnum = sc.nextLine()",
"inputnum",
"sc.nextLine()",
"sc.nextLine",
"sc",
"if(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}",
"inputnum.equals(\"0 0\")",
"inputnum.equals",
"inputnum",
"\"0 0\"",
"{\n\t\t\tbreak;\n\t\t}",
"break;",
"System.out.println(select(inputnum))",
"System.out.println",
"System.out",
"System",
"System.out",
"select(inputnum)",
"select",
"inputnum",
"String[] args",
"args",
"public static String select(String inputnum){\n\tString space = \" \";\n\tString nums[] = inputnum.split(space);\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n if(x > y){\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}\n\treturn(x + space + y);\n }",
"select",
"{\n\tString space = \" \";\n\tString nums[] = inputnum.split(space);\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n if(x > y){\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}\n\treturn(x + space + y);\n }",
"String space = \" \";",
"space",
"\" \"",
"String nums[] = inputnum.split(space);",
"nums",
"inputnum.split(space)",
"inputnum.split",
"inputnum",
"space",
"int x = Integer.parseInt(nums[0]);",
"x",
"Integer.parseInt(nums[0])",
"Integer.parseInt",
"Integer",
"nums[0]",
"nums",
"0",
"int y = Integer.parseInt(nums[1]);",
"y",
"Integer.parseInt(nums[1])",
"Integer.parseInt",
"Integer",
"nums[1]",
"nums",
"1",
"if(x > y){\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}",
"x > y",
"x",
"y",
"{\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}",
"int temp = x;",
"temp",
"x",
"x = y",
"x",
"y",
"y = temp",
"y",
"temp",
"return(x + space + y);",
"(x + space + y)",
"x + space + y",
"x",
"space",
"y",
"return(x + space + y);",
"(x + space + y)",
"x + space + y",
"x",
"space",
"y",
"String inputnum",
"inputnum",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\n\tString inputnum;\n\twhile(true){\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}\n\n }\n public static String select(String inputnum){\n\tString space = \" \";\n\tString nums[] = inputnum.split(space);\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n if(x > y){\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}\n\treturn(x + space + y);\n }\n\n\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n\n\tString inputnum;\n\twhile(true){\n\t\tinputnum = sc.nextLine();\n\t\tif(inputnum.equals(\"0 0\")){\n\t\t\tbreak;\n\t\t}\n\tSystem.out.println(select(inputnum));\n\t}\n\n }\n public static String select(String inputnum){\n\tString space = \" \";\n\tString nums[] = inputnum.split(space);\n int x = Integer.parseInt(nums[0]);\n int y = Integer.parseInt(nums[1]);\n\n if(x > y){\n\t\tint temp = x;\n\t\tx = y;\n\t\ty = temp;\n\t\treturn(x + space + y);\n\t}\n\treturn(x + space + y);\n }\n\n\n}",
"Main"
] | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
String inputnum;
while(true){
inputnum = sc.nextLine();
if(inputnum.equals("0 0")){
break;
}
System.out.println(select(inputnum));
}
}
public static String select(String inputnum){
String space = " ";
String nums[] = inputnum.split(space);
int x = Integer.parseInt(nums[0]);
int y = Integer.parseInt(nums[1]);
if(x > y){
int temp = x;
x = y;
y = temp;
return(x + space + y);
}
return(x + space + y);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
17,
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,
0,
18,
13,
17,
13,
0,
18,
13,
17,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
93,
11
],
[
93,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
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
],
[
63,
65
],
[
62,
66
],
[
27,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
27,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
27,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
12,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n int[] s = new int[2];\n while(true){\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"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 Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n int[] s = new int[2];\n while(true){\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }\n }\n}",
"Main",
"public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n int[] s = new int[2];\n while(true){\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }\n }",
"main",
"{\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n int[] s = new int[2];\n while(true){\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }\n }",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"int[] s = new int[2];",
"s",
"new int[2]",
"2",
"while(true){\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }",
"true",
"{\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }",
"String[] input = br.readLine().split(\" \");",
"input",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int x = Integer.parseInt(input[0]);",
"x",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"int y = Integer.parseInt(input[1]);",
"y",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"if(x == 0 && y == 0){\n \tbreak;\n }",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"{\n \tbreak;\n }",
"break;",
"s[0] = x",
"s[0]",
"s",
"0",
"x",
"s[1] = y",
"s[1]",
"s",
"1",
"y",
"Arrays.sort(s)",
"Arrays.sort",
"Arrays",
"s",
"System.out.println(s[0] + \" \" + s[1] )",
"System.out.println",
"System.out",
"System",
"System.out",
"s[0] + \" \" + s[1]",
"s[0] + \" \" + s[1]",
"s[0]",
"s",
"0",
"\" \"",
"s[1]",
"s",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n int[] s = new int[2];\n while(true){\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }\n }\n}",
"public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n int[] s = new int[2];\n while(true){\n \tString[] input = br.readLine().split(\" \");\n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n if(x == 0 && y == 0){\n \tbreak;\n }\n s[0] = x;\n s[1] = y;\n Arrays.sort(s);\n System.out.println(s[0] + \" \" + s[1] );\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
public class Main {
public static void main(String[] args)throws Exception {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
int[] s = new int[2];
while(true){
String[] input = br.readLine().split(" ");
int x = Integer.parseInt(input[0]);
int y = Integer.parseInt(input[1]);
if(x == 0 && y == 0){
break;
}
s[0] = x;
s[1] = y;
Arrays.sort(s);
System.out.println(s[0] + " " + s[1] );
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
98,
5
],
[
98,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
17,
45
],
[
45,
46
],
[
17,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
47,
55
],
[
17,
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
],
[
17,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
74,
83
],
[
72,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
70,
88
],
[
8,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
6,
95
],
[
95,
96
],
[
0,
97
],
[
97,
98
],
[
97,
99
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] age){\n\t\tScanner imput = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] age){\n\t\tScanner imput = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main",
"public static void main(String[] age){\n\t\tScanner imput = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"main",
"{\n\t\tScanner imput = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}",
"Scanner imput = new Scanner(System.in);",
"imput",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}",
"true",
"{\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}",
"String x = imput.nextLine();",
"x",
"imput.nextLine()",
"imput.nextLine",
"imput",
"String[] arrayimput = x.split(\" \");",
"arrayimput",
"x.split(\" \")",
"x.split",
"x",
"\" \"",
"int a = Integer.parseInt(arrayimput[0]);",
"a",
"Integer.parseInt(arrayimput[0])",
"Integer.parseInt",
"Integer",
"arrayimput[0]",
"arrayimput",
"0",
"int b = Integer.parseInt(arrayimput[1]);",
"b",
"Integer.parseInt(arrayimput[1])",
"Integer.parseInt",
"Integer",
"arrayimput[1]",
"arrayimput",
"1",
"int c;",
"c",
"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\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}",
"c = a",
"c",
"a",
"a = b",
"a",
"b",
"b = c",
"b",
"c",
"sb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\")",
"sb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append",
"sb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b))",
"sb.append(Integer.toString(a)).append(\" \").append",
"sb.append(Integer.toString(a)).append(\" \")",
"sb.append(Integer.toString(a)).append",
"sb.append(Integer.toString(a))",
"sb.append",
"sb",
"Integer.toString(a)",
"Integer.toString",
"Integer",
"a",
"\" \"",
"Integer.toString(b)",
"Integer.toString",
"Integer",
"b",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] age",
"age",
"public class Main {\n\tpublic static void main(String[] age){\n\t\tScanner imput = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] age){\n\t\tScanner imput = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tString x = imput.nextLine();\n\t\t\tString[] arrayimput = x.split(\" \");\n\t\t\tint a = Integer.parseInt(arrayimput[0]);\n\t\t\tint b = Integer.parseInt(arrayimput[1]);\n\t\t\tint c;\n\t\t\tif(a == 0 & b == 0) break;\n\t\t\tif(a > b){\n\t\t\t\tc = a;\n\t\t\t\ta = b;\n\t\t\t\tb = c;\n\t\t\t}\n\t\t\tsb.append(Integer.toString(a)).append(\" \").append(Integer.toString(b)).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] age){
Scanner imput = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
while(true){
String x = imput.nextLine();
String[] arrayimput = x.split(" ");
int a = Integer.parseInt(arrayimput[0]);
int b = Integer.parseInt(arrayimput[1]);
int c;
if(a == 0 & b == 0) break;
if(a > b){
c = a;
a = b;
b = c;
}
sb.append(Integer.toString(a)).append(" ").append(Integer.toString(b)).append("\n");
}
System.out.print(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
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,
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,
40,
13,
9,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
40,
13,
9,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
107,
11
],
[
107,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
21,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
25,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
25,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
25,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
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
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
83,
83
],
[
83,
84
],
[
83,
85
],
[
83,
86
],
[
76,
87
],
[
87,
88
],
[
76,
89
],
[
72,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
97,
97
],
[
97,
98
],
[
97,
99
],
[
97,
100
],
[
90,
101
],
[
101,
102
],
[
90,
103
],
[
12,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint count = 0;\n\n\t\twhile(count < 3000){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\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.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint count = 0;\n\n\t\twhile(count < 3000){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint count = 0;\n\n\t\twhile(count < 3000){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\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\n\t\tint count = 0;\n\n\t\twhile(count < 3000){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\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 count = 0;",
"count",
"0",
"while(count < 3000){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"count < 3000",
"count",
"3000",
"{\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"String str = br.readLine();",
"str",
"br.readLine()",
"br.readLine",
"br",
"String[] s = str.split(\" \");",
"s",
"str.split(\" \")",
"str.split",
"str",
"\" \"",
"int 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((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}",
"(0 <= a) && (b <= 10000)",
"(0 <= a)",
"0",
"a",
"(b <= 10000)",
"b",
"10000",
"{\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}",
"if((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"(a == 0)&&(b == 0)",
"(a == 0)",
"a",
"0",
"(b == 0)",
"b",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"a > b",
"a",
"b",
"{\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}",
"System.out.println(b +\" \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b +\" \"+a",
"b +\" \"+a",
"b",
"\" \"",
"a",
"count++",
"count",
"continue;",
"{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}",
"System.out.println(a +\" \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a +\" \"+b",
"a +\" \"+b",
"a",
"\" \"",
"b",
"count++",
"count",
"continue;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint count = 0;\n\n\t\twhile(count < 3000){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\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 IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint count = 0;\n\n\t\twhile(count < 3000){\n\t\t\tString str = br.readLine();\n\t\t\tString[] s = str.split(\" \");\n\n\t\t\tint a = Integer.parseInt(s[0]);\n\t\t\tint b = Integer.parseInt(s[1]);\n\n\t\t\tif((0 <= a) && (b <= 10000)){\n\t\t\t\tif((a == 0)&&(b == 0)){\n\t\t\t\t\tbreak;\n\t\t\t\t}else if(a > b){\n\t\t\t\t\tSystem.out.println(b +\" \"+a);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println(a +\" \"+b);\n\t\t\t\t\tcount++;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int count = 0;
while(count < 3000){
String str = br.readLine();
String[] s = str.split(" ");
int a = Integer.parseInt(s[0]);
int b = Integer.parseInt(s[1]);
if((0 <= a) && (b <= 10000)){
if((a == 0)&&(b == 0)){
break;
}else if(a > b){
System.out.println(b +" "+a);
count++;
continue;
}else{
System.out.println(a +" "+b);
count++;
continue;
}
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
47,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
47,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
47,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
72,
79
],
[
79,
80
],
[
79,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
] | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint x = stdin.nextInt();\n\tint y = stdin.nextInt();\n int w = 0;\n\tif(y<x){\n\t w = y;\n\t y = x;\n\t x = w;\n\t}\n\twhile(x!=0 || y!=0){\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}\n }\n}\n\n\t",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint x = stdin.nextInt();\n\tint y = stdin.nextInt();\n int w = 0;\n\tif(y<x){\n\t w = y;\n\t y = x;\n\t x = w;\n\t}\n\twhile(x!=0 || y!=0){\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint x = stdin.nextInt();\n\tint y = stdin.nextInt();\n int w = 0;\n\tif(y<x){\n\t w = y;\n\t y = x;\n\t x = w;\n\t}\n\twhile(x!=0 || y!=0){\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}\n }",
"main",
"{\n\tScanner stdin = new Scanner(System.in);\n\tint x = stdin.nextInt();\n\tint y = stdin.nextInt();\n int w = 0;\n\tif(y<x){\n\t w = y;\n\t y = x;\n\t x = w;\n\t}\n\twhile(x!=0 || y!=0){\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}\n }",
"Scanner stdin = new Scanner(System.in);",
"stdin",
"new Scanner(System.in)",
"int x = stdin.nextInt();",
"x",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int y = stdin.nextInt();",
"y",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"int w = 0;",
"w",
"0",
"if(y<x){\n\t w = y;\n\t y = x;\n\t x = w;\n\t}",
"y<x",
"y",
"x",
"{\n\t w = y;\n\t y = x;\n\t x = w;\n\t}",
"w = y",
"w",
"y",
"y = x",
"y",
"x",
"x = w",
"x",
"w",
"while(x!=0 || y!=0){\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}",
"x!=0 || y!=0",
"x!=0",
"x",
"0",
"y!=0",
"y",
"0",
"{\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"x = stdin.nextInt()",
"x",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"y = stdin.nextInt()",
"y",
"stdin.nextInt()",
"stdin.nextInt",
"stdin",
"if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }",
"y<x",
"y",
"x",
"{\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }",
"w = y",
"w",
"y",
"y = x",
"y",
"x",
"x = w",
"x",
"w",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint x = stdin.nextInt();\n\tint y = stdin.nextInt();\n int w = 0;\n\tif(y<x){\n\t w = y;\n\t y = x;\n\t x = w;\n\t}\n\twhile(x!=0 || y!=0){\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}\n }\n}",
"public class Main{\n public static void main(String[] args){\n\tScanner stdin = new Scanner(System.in);\n\tint x = stdin.nextInt();\n\tint y = stdin.nextInt();\n int w = 0;\n\tif(y<x){\n\t w = y;\n\t y = x;\n\t x = w;\n\t}\n\twhile(x!=0 || y!=0){\n\t System.out.println(x+\" \"+y);\n\t x = stdin.nextInt();\n\t y = stdin.nextInt();\n\t if(y<x){\n\t\tw = y;\n\t\ty = x;\n\t\tx = w;\n\t }\n\t}\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner stdin = new Scanner(System.in);
int x = stdin.nextInt();
int y = stdin.nextInt();
int w = 0;
if(y<x){
w = y;
y = x;
x = w;
}
while(x!=0 || y!=0){
System.out.println(x+" "+y);
x = stdin.nextInt();
y = stdin.nextInt();
if(y<x){
w = y;
y = x;
x = w;
}
}
}
}
|
[
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,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
4,
18,
13,
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
],
[
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
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
23,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
23,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
23,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
56,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
11,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
78,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
99,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
11,
109
],
[
109,
110
],
[
110,
111
],
[
9,
112
],
[
112,
113
],
[
0,
114
],
[
114,
115
],
[
114,
116
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> nums2 = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}\n\n\t\tfor ( int i = 0; i < nums1.size(); i++ ) {\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}\n\n\t\tscanner.close();\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> nums2 = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}\n\n\t\tfor ( int i = 0; i < nums1.size(); i++ ) {\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}\n\n\t\tscanner.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> nums2 = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}\n\n\t\tfor ( int i = 0; i < nums1.size(); i++ ) {\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}\n\n\t\tscanner.close();\n\t}",
"main",
"{\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> nums2 = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}\n\n\t\tfor ( int i = 0; i < nums1.size(); i++ ) {\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}\n\n\t\tscanner.close();\n\t}",
"Scanner scanner = new Scanner( System.in );",
"scanner",
"new Scanner( System.in )",
"ArrayList<Integer> nums1 = new ArrayList<Integer>();",
"nums1",
"new ArrayList<Integer>()",
"ArrayList<Integer> nums2 = new ArrayList<Integer>();",
"nums2",
"new ArrayList<Integer>()",
"while ( true ) {\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}",
"String inputText1 = scanner.next();",
"inputText1",
"scanner.next()",
"scanner.next",
"scanner",
"String inputText2 = scanner.next();",
"inputText2",
"scanner.next()",
"scanner.next",
"scanner",
"int x1 = Integer.parseInt(inputText1);",
"x1",
"Integer.parseInt(inputText1)",
"Integer.parseInt",
"Integer",
"inputText1",
"int x2 = Integer.parseInt(inputText2);",
"x2",
"Integer.parseInt(inputText2)",
"Integer.parseInt",
"Integer",
"inputText2",
"if ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}",
"x1 == 0 && x2 == 0",
"x1 == 0",
"x1",
"0",
"x2 == 0",
"x2",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}",
"x1 <= x2",
"x1",
"x2",
"{\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}",
"nums1.add(x1)",
"nums1.add",
"nums1",
"x1",
"nums2.add(x2)",
"nums2.add",
"nums2",
"x2",
"{\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}",
"nums1.add(x2)",
"nums1.add",
"nums1",
"x2",
"nums2.add(x1)",
"nums2.add",
"nums2",
"x1",
"for ( int i = 0; i < nums1.size(); i++ ) {\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < nums1.size()",
"i",
"nums1.size()",
"nums1.size",
"nums1",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}",
"System.out.println(nums1.get(i) + \" \" + nums2.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"nums1.get(i) + \" \" + nums2.get(i)",
"nums1.get(i) + \" \" + nums2.get(i)",
"nums1.get(i)",
"nums1.get",
"nums1",
"i",
"\" \"",
"nums2.get(i)",
"nums2.get",
"nums2",
"i",
"scanner.close()",
"scanner.close",
"scanner",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> nums2 = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}\n\n\t\tfor ( int i = 0; i < nums1.size(); i++ ) {\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}\n\n\t\tscanner.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner( System.in );\n\n\t\tArrayList<Integer> nums1 = new ArrayList<Integer>();\n\t\tArrayList<Integer> nums2 = new ArrayList<Integer>();\n\n\t\twhile ( true ) {\n\t\t\tString inputText1 = scanner.next();\n\t\t\tString inputText2 = scanner.next();\n\n\t\t\tint x1 = Integer.parseInt(inputText1);\n\t\t\tint x2 = Integer.parseInt(inputText2);\n\n\t\t\tif ( x1 == 0 && x2 == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\n\t\t\tif ( x1 <= x2 ) {\n\t\t\t\tnums1.add(x1);\n\t\t\t\tnums2.add(x2);\n\t\t\t}\n\t\t\telse {\n\t\t\t\tnums1.add(x2);\n\t\t\t\tnums2.add(x1);\n\t\t\t}\n\t\t}\n\n\t\tfor ( int i = 0; i < nums1.size(); i++ ) {\n\t\t\tSystem.out.println(nums1.get(i) + \" \" + nums2.get(i));\n\t\t}\n\n\t\tscanner.close();\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<Integer> nums1 = new ArrayList<Integer>();
ArrayList<Integer> nums2 = new ArrayList<Integer>();
while ( true ) {
String inputText1 = scanner.next();
String inputText2 = scanner.next();
int x1 = Integer.parseInt(inputText1);
int x2 = Integer.parseInt(inputText2);
if ( x1 == 0 && x2 == 0 ) {
break;
}
if ( x1 <= x2 ) {
nums1.add(x1);
nums2.add(x2);
}
else {
nums1.add(x2);
nums2.add(x1);
}
}
for ( int i = 0; i < nums1.size(); i++ ) {
System.out.println(nums1.get(i) + " " + nums2.get(i));
}
scanner.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
40,
17,
30,
41,
13,
20,
41,
13,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
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,
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
],
[
108,
11
],
[
108,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
18,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
37,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
44,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
44,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
44,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
44,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
82,
89
],
[
89,
90
],
[
89,
91
],
[
44,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
98,
98
],
[
98,
99
],
[
98,
100
],
[
98,
101
],
[
27,
102
],
[
102,
103
],
[
103,
104
],
[
12,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math;\n\npublic class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.Math;",
"Math",
"java.lang",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"main",
"{\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }",
"try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }",
"Exception e",
"{\n e.getStackTrace();\n System.exit(-1);\n }",
"e.getStackTrace()",
"e.getStackTrace",
"e",
"System.exit(-1)",
"System.exit",
"System",
"-1",
"1",
"{\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n }",
"BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));",
"stdReader",
"new BufferedReader(new InputStreamReader(System.in))",
"String line;",
"line",
"int count = 1;",
"count",
"1",
"while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }",
"(line = stdReader.readLine()) != null",
"(line = stdReader.readLine())",
"line",
"stdReader.readLine()",
"stdReader.readLine",
"stdReader",
"null",
"{\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }",
"String[] input = line.split(\" \", 0);",
"input",
"line.split(\" \", 0)",
"line.split",
"line",
"\" \"",
"0",
"int x = Integer.parseInt(input[0]);",
"x",
"Integer.parseInt(input[0])",
"Integer.parseInt",
"Integer",
"input[0]",
"input",
"0",
"int y = Integer.parseInt(input[1]);",
"y",
"Integer.parseInt(input[1])",
"Integer.parseInt",
"Integer",
"input[1]",
"input",
"1",
"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 int temp = x;\n x = y;\n y = temp;\n }",
"x > y",
"x",
"y",
"{\n int temp = x;\n x = y;\n y = temp;\n }",
"int temp = x;",
"temp",
"x",
"x = y",
"x",
"y",
"y = temp",
"y",
"temp",
"System.out.println(x + \" \" + y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x + \" \" + y",
"x + \" \" + y",
"x",
"\" \"",
"y",
"stdReader.close()",
"stdReader.close",
"stdReader",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 1;\n while((line = stdReader.readLine()) != null) {\n String[] input = line.split(\" \", 0);\n \n int x = Integer.parseInt(input[0]);\n int y = Integer.parseInt(input[1]);\n \n // x ??¨ y ????????????0?????´????????????\n if(x == 0 && y == 0) {\n break;\n }\n \n // x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????) \n if(x > y) {\n int temp = x;\n x = y;\n y = temp;\n }\n \n System.out.println(x + \" \" + y);\n \n \n }\n stdReader.close();\n } catch(Exception e) {\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math;
public class Main {
public static void main(String[] args) {
try {
BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));
String line;
int count = 1;
while((line = stdReader.readLine()) != null) {
String[] input = line.split(" ", 0);
int x = Integer.parseInt(input[0]);
int y = Integer.parseInt(input[1]);
// x ??¨ y ????????????0?????´????????????
if(x == 0 && y == 0) {
break;
}
// x ??¨ y????????????????°???????????????????????????? (????§???????????????§??????)
if(x > y) {
int temp = x;
x = y;
y = temp;
}
System.out.println(x + " " + y);
}
stdReader.close();
} catch(Exception e) {
e.getStackTrace();
System.exit(-1);
}
}
} |
[
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,
4,
18,
18,
13,
13,
8,
2,
13,
13,
2,
2,
13,
17,
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
],
[
67,
5
],
[
67,
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
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
45,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
40,
49
],
[
50,
50
],
[
50,
51
],
[
50,
52
],
[
50,
53
],
[
34,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
34,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
6,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
] | [
"\nimport java.util.Scanner;\npublic class Main{\n\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\t\ta=sc.nextInt();\n\t\tb=sc.nextInt();\n\t\t\n\t\twhile(a!=0 || b!=0){\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\t\ta=sc.nextInt();\n\t\tb=sc.nextInt();\n\t\t\n\t\twhile(a!=0 || b!=0){\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\t\ta=sc.nextInt();\n\t\tb=sc.nextInt();\n\t\t\n\t\twhile(a!=0 || b!=0){\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}\n\t\t\n\t}",
"main",
"{\n\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\t\ta=sc.nextInt();\n\t\tb=sc.nextInt();\n\t\t\n\t\twhile(a!=0 || b!=0){\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}\n\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"a=sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b=sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(a!=0 || b!=0){\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}",
"a!=0 || b!=0",
"a!=0",
"a",
"0",
"b!=0",
"b",
"0",
"{\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}",
"System.out.println(b>a?a+\" \" +b:b+\" \"+a)",
"System.out.println",
"System.out",
"System",
"System.out",
"b>a?a+\" \" +b:b+\" \"+a",
"b>a",
"b",
"a",
"a+\" \" +b",
"a+\" \" +b",
"a",
"\" \"",
"b",
"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",
"public class Main{\n\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\t\ta=sc.nextInt();\n\t\tb=sc.nextInt();\n\t\t\n\t\twhile(a!=0 || b!=0){\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main{\n\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tint a,b;\n\t\ta=sc.nextInt();\n\t\tb=sc.nextInt();\n\t\t\n\t\twhile(a!=0 || b!=0){\n\t\t\t\n\t\t\tSystem.out.println(b>a?a+\" \" +b:b+\" \"+a);\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] |
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int a,b;
a=sc.nextInt();
b=sc.nextInt();
while(a!=0 || b!=0){
System.out.println(b>a?a+" " +b:b+" "+a);
a=sc.nextInt();
b=sc.nextInt();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
2,
2,
13,
17,
2,
13,
17,
30,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
22,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
42,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
31,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
30,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
30,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
] | [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner n = new Scanner(System.in);\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\twhile (a != 0 || b != 0){\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\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 n = new Scanner(System.in);\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\twhile (a != 0 || b != 0){\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner n = new Scanner(System.in);\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\twhile (a != 0 || b != 0){\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t}\n\t}",
"main",
"{\n\t\t\n\t\tScanner n = new Scanner(System.in);\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\twhile (a != 0 || b != 0){\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t}\n\t}",
"Scanner n = new Scanner(System.in);",
"n",
"new Scanner(System.in)",
"int a=n.nextInt();",
"a",
"n.nextInt()",
"n.nextInt",
"n",
"int b=n.nextInt();",
"b",
"n.nextInt()",
"n.nextInt",
"n",
"while (a != 0 || b != 0){\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t}",
"a != 0 || b != 0",
"a != 0",
"a",
"0",
"b != 0",
"b",
"0",
"{\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t}",
"if (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.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",
"{System.out.println(a+\" \"+b);\n\t\t\t}",
"System.out.println(a+\" \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+\" \"+b",
"a+\" \"+b",
"a",
"\" \"",
"b",
"a=n.nextInt()",
"a",
"n.nextInt()",
"n.nextInt",
"n",
"b=n.nextInt()",
"b",
"n.nextInt()",
"n.nextInt",
"n",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner n = new Scanner(System.in);\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\twhile (a != 0 || b != 0){\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner n = new Scanner(System.in);\n\t\tint a=n.nextInt();\n\t\tint b=n.nextInt();\n\t\twhile (a != 0 || b != 0){\n\t\t\t\n\t\t\tif (a>b){\n\t\t\t\tSystem.out.println(b+\" \"+a);\n\t\t\t}else{System.out.println(a+\" \"+b);\n\t\t\t}\n\t\t\ta=n.nextInt();\n\t\t\tb=n.nextInt();\n\t\t}\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner n = new Scanner(System.in);
int a=n.nextInt();
int b=n.nextInt();
while (a != 0 || b != 0){
if (a>b){
System.out.println(b+" "+a);
}else{System.out.println(a+" "+b);
}
a=n.nextInt();
b=n.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,
30,
3,
14,
2,
13,
13,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
30,
4,
18,
13,
2,
2,
2,
13,
17,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
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
],
[
36,
37
],
[
28,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
48,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
48,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
59,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
59,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
6,
70
],
[
70,
71
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0){\n\t\t\t\tbreak;\n\t\t\t}else if(x>y){\n\t \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.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0){\n\t\t\t\tbreak;\n\t\t\t}else if(x>y){\n\t \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\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0){\n\t\t\t\tbreak;\n\t\t\t}else if(x>y){\n\t \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\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(true){\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0){\n\t\t\t\tbreak;\n\t\t\t}else if(x>y){\n\t \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}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true){\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0){\n\t\t\t\tbreak;\n\t\t\t}else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}",
"true",
"{\n\t\t\tint x=sc.nextInt();\n\t\t\tint y=sc.nextInt();\n\t\t\tif(x==0&&y==0){\n\t\t\t\tbreak;\n\t\t\t}else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }\n\t\t}",
"int x=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y=sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0&&y==0){\n\t\t\t\tbreak;\n\t\t\t}else if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"if(x>y){\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }else{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"x>y",
"x",
"y",
"{\n\t \tsb.append(y+\" \"+x+\"\\n\");\n\t }",
"sb.append(y+\" \"+x+\"\\n\")",
"sb.append",
"sb",
"y+\" \"+x+\"\\n\"",
"x",
"y+\" \"+x+\"\\n\"",
"y",
"\" \"",
"x",
"\"\\n\"",
"{\n\t \tsb.append(x+\" \"+y+\"\\n\");\n\t }",
"sb.append(x+\" \"+y+\"\\n\")",
"sb.append",
"sb",
"x+\" \"+y+\"\\n\"",
"y",
"x+\" \"+y+\"\\n\"",
"x",
"\" \"",
"y",
"\"\\n\"",
"System.out.print(sb)",
"System.out.print",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
while(true){
int x=sc.nextInt();
int y=sc.nextInt();
if(x==0&&y==0){
break;
}else if(x>y){
sb.append(y+" "+x+"\n");
}else{
sb.append(x+" "+y+"\n");
}
}
System.out.print(sb);
}
} |
[
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,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
14,
2,
13,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
18,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
64,
64
],
[
64,
65
],
[
64,
66
],
[
64,
67
],
[
18,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
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
]
] | [
"import java.util.Scanner;\n\n class Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\telse if(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y ){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\t\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\telse if(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y ){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}\t\n}",
"Main",
"@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\telse if(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y ){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint x;\n\t\tint y;\n\t\t\n\t\twhile(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\telse if(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y ){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int x;",
"x",
"int y;",
"y",
"while(true){\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\telse if(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y ){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tx = scan.nextInt();\n\t\t\ty = scan.nextInt();\n\t\t\tif(x == 0 && y == 0)break;\n\t\t\tif(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\telse if(x < y){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t\tif(x == y ){\n\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t}\n\t\t}",
"x = scan.nextInt()",
"x",
"scan.nextInt()",
"scan.nextInt",
"scan",
"y = scan.nextInt()",
"y",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(x == 0 && y == 0)break;",
"x == 0 && y == 0",
"x == 0",
"x",
"0",
"y == 0",
"y",
"0",
"break;",
"if(x > y){\n\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t}\n\t\t\telse 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(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}",
"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 == 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"
] | import java.util.Scanner;
class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int x;
int y;
while(true){
x = scan.nextInt();
y = scan.nextInt();
if(x == 0 && y == 0)break;
if(x > y){
System.out.println(y + " " + x);
}
else if(x < y){
System.out.println(x + " " + y);
}
if(x == y ){
System.out.println(x + " " + y);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
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
]
] | [
"\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(x==0&&y==0)break;\n if(x<y)System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x=sc.nextInt();\n int y=sc.nextInt();\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",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(x==0&&y==0)break;\n if(x<y)System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\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)break;\n if(x<y)System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\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)break;\n if(x<y)System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }",
"true",
"{\n int x=sc.nextInt();\n int y=sc.nextInt();\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=sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y=sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0&&y==0)break;",
"x==0&&y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"break;",
"if(x<y)System.out.println(x+\" \"+y);\n 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",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x=sc.nextInt();\n int y=sc.nextInt();\n if(x==0&&y==0)break;\n if(x<y)System.out.println(x+\" \"+y);\n else System.out.println(y+\" \"+x);\n }\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int x=sc.nextInt();\n int y=sc.nextInt();\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"
] |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(true){
int x=sc.nextInt();
int y=sc.nextInt();
if(x==0&&y==0)break;
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,
17,
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
] | [
[
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
],
[
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
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
18,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
42,
49
],
[
49,
50
],
[
49,
51
],
[
18,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
6,
62
],
[
62,
63
]
] | [
"\nimport java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nint m =sc.nextInt();\nif(n==0 && m==0) break;\nif(n>m){ i=n; n=m; m=i;} \nSystem.out.println(n+\" \"+m);\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nint m =sc.nextInt();\nif(n==0 && m==0) break;\nif(n>m){ i=n; n=m; m=i;} \nSystem.out.println(n+\" \"+m);\n}\n}\n}",
"Main",
"public static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nint m =sc.nextInt();\nif(n==0 && m==0) break;\nif(n>m){ i=n; n=m; m=i;} \nSystem.out.println(n+\" \"+m);\n}\n}",
"main",
"{\nScanner sc = new Scanner(System.in);\nint i=0;\nfor(;;){\nint n =sc.nextInt();\nint m =sc.nextInt();\nif(n==0 && m==0) break;\nif(n>m){ i=n; n=m; m=i;} \nSystem.out.println(n+\" \"+m);\n}\n}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=0;",
"i",
"0",
"for(;;){\nint n =sc.nextInt();\nint m =sc.nextInt();\nif(n==0 && m==0) break;\nif(n>m){ i=n; n=m; m=i;} \nSystem.out.println(n+\" \"+m);\n}",
";",
"{\nint n =sc.nextInt();\nint m =sc.nextInt();\nif(n==0 && m==0) break;\nif(n>m){ i=n; n=m; m=i;} \nSystem.out.println(n+\" \"+m);\n}",
"{\nint n =sc.nextInt();\nint m =sc.nextInt();\nif(n==0 && m==0) break;\nif(n>m){ i=n; n=m; m=i;} \nSystem.out.println(n+\" \"+m);\n}",
"int n =sc.nextInt();",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int m =sc.nextInt();",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(n==0 && m==0) break;",
"n==0 && m==0",
"n==0",
"n",
"0",
"m==0",
"m",
"0",
"break;",
"if(n>m){ i=n; n=m; m=i;}",
"n>m",
"n",
"m",
"{ i=n; n=m; m=i;}",
"i=n",
"i",
"n",
"n=m",
"n",
"m",
"m=i",
"m",
"i",
"System.out.println(n+\" \"+m)",
"System.out.println",
"System.out",
"System",
"System.out",
"n+\" \"+m",
"n+\" \"+m",
"n",
"\" \"",
"m",
"String[] args",
"args"
] |
import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i=0;
for(;;){
int n =sc.nextInt();
int m =sc.nextInt();
if(n==0 && m==0) break;
if(n>m){ i=n; n=m; m=i;}
System.out.println(n+" "+m);
}
}
} |
[
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,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
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
],
[
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
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
17,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
17,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
61,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
50,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
72,
72
],
[
72,
73
],
[
72,
74
],
[
72,
75
],
[
9,
76
],
[
76,
77
]
] | [
"import java.util.Scanner;\nimport java.io.*;\n\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t Scanner sc = new Scanner(System.in);\n\t while( true ){\n\t \tString s1 = sc.next();\n\t \tint x = Integer.parseInt(s1);\n\t \tString s2 = sc.next();\n\t \tint y = Integer.parseInt(s2);\n\t \tif( x == 0 && y == 0){\n\t \t\tbreak;\n\t \t}\n\t \tif( x < y ){\n\t \t System.out.println( x + \" \" + y );\n\t \t}\n\t \telse{\n\t \t\tSystem.out.println( y + \" \" + x );\n\t \t}\n\t }\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String args[]) {\n\t Scanner sc = new Scanner(System.in);\n\t while( true ){\n\t \tString s1 = sc.next();\n\t \tint x = Integer.parseInt(s1);\n\t \tString s2 = sc.next();\n\t \tint y = Integer.parseInt(s2);\n\t \tif( x == 0 && y == 0){\n\t \t\tbreak;\n\t \t}\n\t \tif( x < y ){\n\t \t System.out.println( x + \" \" + y );\n\t \t}\n\t \telse{\n\t \t\tSystem.out.println( y + \" \" + x );\n\t \t}\n\t }\n\t}\n}",
"Main",
"public static void main(String args[]) {\n\t Scanner sc = new Scanner(System.in);\n\t while( true ){\n\t \tString s1 = sc.next();\n\t \tint x = Integer.parseInt(s1);\n\t \tString s2 = sc.next();\n\t \tint y = Integer.parseInt(s2);\n\t \tif( x == 0 && y == 0){\n\t \t\tbreak;\n\t \t}\n\t \tif( x < y ){\n\t \t System.out.println( x + \" \" + y );\n\t \t}\n\t \telse{\n\t \t\tSystem.out.println( y + \" \" + x );\n\t \t}\n\t }\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n\t while( true ){\n\t \tString s1 = sc.next();\n\t \tint x = Integer.parseInt(s1);\n\t \tString s2 = sc.next();\n\t \tint y = Integer.parseInt(s2);\n\t \tif( x == 0 && y == 0){\n\t \t\tbreak;\n\t \t}\n\t \tif( x < y ){\n\t \t System.out.println( x + \" \" + y );\n\t \t}\n\t \telse{\n\t \t\tSystem.out.println( y + \" \" + x );\n\t \t}\n\t }\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"while( true ){\n\t \tString s1 = sc.next();\n\t \tint x = Integer.parseInt(s1);\n\t \tString s2 = sc.next();\n\t \tint y = Integer.parseInt(s2);\n\t \tif( x == 0 && y == 0){\n\t \t\tbreak;\n\t \t}\n\t \tif( x < y ){\n\t \t System.out.println( x + \" \" + y );\n\t \t}\n\t \telse{\n\t \t\tSystem.out.println( y + \" \" + x );\n\t \t}\n\t }",
"true",
"{\n\t \tString s1 = sc.next();\n\t \tint x = Integer.parseInt(s1);\n\t \tString s2 = sc.next();\n\t \tint y = Integer.parseInt(s2);\n\t \tif( x == 0 && y == 0){\n\t \t\tbreak;\n\t \t}\n\t \tif( x < y ){\n\t \t System.out.println( x + \" \" + y );\n\t \t}\n\t \telse{\n\t \t\tSystem.out.println( y + \" \" + x );\n\t \t}\n\t }",
"String s1 = sc.next();",
"s1",
"sc.next()",
"sc.next",
"sc",
"int x = Integer.parseInt(s1);",
"x",
"Integer.parseInt(s1)",
"Integer.parseInt",
"Integer",
"s1",
"String s2 = sc.next();",
"s2",
"sc.next()",
"sc.next",
"sc",
"int y = Integer.parseInt(s2);",
"y",
"Integer.parseInt(s2)",
"Integer.parseInt",
"Integer",
"s2",
"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 System.out.println( x + \" \" + y );\n\t \t}\n\t \telse{\n\t \t\tSystem.out.println( y + \" \" + x );\n\t \t}",
"x < y",
"x",
"y",
"{\n\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",
"{\n\t \t\tSystem.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",
"String args[]",
"args"
] | import java.util.Scanner;
import java.io.*;
class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
while( true ){
String s1 = sc.next();
int x = Integer.parseInt(s1);
String s2 = sc.next();
int y = Integer.parseInt(s2);
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,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
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
] | [
[
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
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
14,
46
],
[
46,
47
],
[
14,
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
],
[
14,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
6,
72
],
[
72,
73
]
] | [
"import java.util.Scanner;\nclass Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nwhile(true){\nString A=scan.next();\nString B=scan.next();\nint a=Integer.parseInt(A);\nint b=Integer.parseInt(B);\nif(a==0&&b==0)\n\tbreak;\nint okiba;\nif(a>b){\nokiba=a;\na=b;\nb=okiba;\n}\nSystem.out.println(a+\" \"+b);\n}\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nwhile(true){\nString A=scan.next();\nString B=scan.next();\nint a=Integer.parseInt(A);\nint b=Integer.parseInt(B);\nif(a==0&&b==0)\n\tbreak;\nint okiba;\nif(a>b){\nokiba=a;\na=b;\nb=okiba;\n}\nSystem.out.println(a+\" \"+b);\n}\n}\n}",
"Main",
"public static void main(String[] args){\nScanner scan=new Scanner(System.in);\nwhile(true){\nString A=scan.next();\nString B=scan.next();\nint a=Integer.parseInt(A);\nint b=Integer.parseInt(B);\nif(a==0&&b==0)\n\tbreak;\nint okiba;\nif(a>b){\nokiba=a;\na=b;\nb=okiba;\n}\nSystem.out.println(a+\" \"+b);\n}\n}",
"main",
"{\nScanner scan=new Scanner(System.in);\nwhile(true){\nString A=scan.next();\nString B=scan.next();\nint a=Integer.parseInt(A);\nint b=Integer.parseInt(B);\nif(a==0&&b==0)\n\tbreak;\nint okiba;\nif(a>b){\nokiba=a;\na=b;\nb=okiba;\n}\nSystem.out.println(a+\" \"+b);\n}\n}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"while(true){\nString A=scan.next();\nString B=scan.next();\nint a=Integer.parseInt(A);\nint b=Integer.parseInt(B);\nif(a==0&&b==0)\n\tbreak;\nint okiba;\nif(a>b){\nokiba=a;\na=b;\nb=okiba;\n}\nSystem.out.println(a+\" \"+b);\n}",
"true",
"{\nString A=scan.next();\nString B=scan.next();\nint a=Integer.parseInt(A);\nint b=Integer.parseInt(B);\nif(a==0&&b==0)\n\tbreak;\nint okiba;\nif(a>b){\nokiba=a;\na=b;\nb=okiba;\n}\nSystem.out.println(a+\" \"+b);\n}",
"String A=scan.next();",
"A",
"scan.next()",
"scan.next",
"scan",
"String B=scan.next();",
"B",
"scan.next()",
"scan.next",
"scan",
"int a=Integer.parseInt(A);",
"a",
"Integer.parseInt(A)",
"Integer.parseInt",
"Integer",
"A",
"int b=Integer.parseInt(B);",
"b",
"Integer.parseInt(B)",
"Integer.parseInt",
"Integer",
"B",
"if(a==0&&b==0)\n\tbreak;",
"a==0&&b==0",
"a==0",
"a",
"0",
"b==0",
"b",
"0",
"break;",
"int okiba;",
"okiba",
"if(a>b){\nokiba=a;\na=b;\nb=okiba;\n}",
"a>b",
"a",
"b",
"{\nokiba=a;\na=b;\nb=okiba;\n}",
"okiba=a",
"okiba",
"a",
"a=b",
"a",
"b",
"b=okiba",
"b",
"okiba",
"System.out.println(a+\" \"+b)",
"System.out.println",
"System.out",
"System",
"System.out",
"a+\" \"+b",
"a+\" \"+b",
"a",
"\" \"",
"b",
"String[] args",
"args"
] | import java.util.Scanner;
class Main{
public static void main(String[] args){
Scanner scan=new Scanner(System.in);
while(true){
String A=scan.next();
String B=scan.next();
int a=Integer.parseInt(A);
int b=Integer.parseInt(B);
if(a==0&&b==0)
break;
int okiba;
if(a>b){
okiba=a;
a=b;
b=okiba;
}
System.out.println(a+" "+b);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
42,
17,
30,
41,
13,
8,
2,
13,
13,
2,
2,
13,
17,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
3,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
32,
32
],
[
32,
33
],
[
32,
34
],
[
32,
35
],
[
27,
36
],
[
37,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
24,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
24,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
24,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
24,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\twhile(true){\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\twhile(true){\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\twhile(true){\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\twhile(true){\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"while(true){\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}",
"true",
"{\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}",
"String str = (a > b) ? b + \" \" + a : a + \" \" + b;",
"str",
"(a > b) ? b + \" \" + a : a + \" \" + b",
"(a > b)",
"a",
"b",
"b + \" \" + a",
"b + \" \" + a",
"b",
"\" \"",
"a",
"a + \" \" + b",
"a + \" \" + b",
"a",
"\" \"",
"b",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"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;",
"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 = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\twhile(true){\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\n\t\twhile(true){\n\t\t\tString str = (a > b) ? b + \" \" + a : a + \" \" + b;\n\t\t\tSystem.out.println(str);\n\t\t\ta = sc.nextInt();\n\t\t\tb = sc.nextInt();\n\t\t\tif(a == 0 && b == 0) break;\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
while(true){
String str = (a > b) ? b + " " + a : a + " " + b;
System.out.println(str);
a = sc.nextInt();
b = sc.nextInt();
if(a == 0 && b == 0) break;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
17,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
14,
2,
2,
18,
13,
17,
17,
2,
18,
13,
17,
17,
3,
4,
18,
18,
13,
13,
2,
2,
18,
13,
17,
17,
18,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
76,
8
],
[
76,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
19
],
[
19,
20
],
[
19,
21
],
[
21,
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
],
[
21,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
21,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
46,
58
],
[
21,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
9,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
] | [
"import java.util.Arrays;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[2];\n\t\twhile(true) {\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}\n\n\n }\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[2];\n\t\twhile(true) {\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}\n\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[2];\n\t\twhile(true) {\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}\n\n\n }",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[2];\n\t\twhile(true) {\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int[] a = new int[2];",
"a",
"new int[2]",
"2",
"while(true) {\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}",
"true",
"{\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}",
"for(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<2",
"i",
"2",
"i++",
"i++",
"i",
"{\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}",
"{\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}",
"a[i] = sc.nextInt()",
"a[i]",
"a",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"Arrays.sort(a)",
"Arrays.sort",
"Arrays",
"a",
"if(a[0]==0 && a[1] ==0)break;",
"a[0]==0 && a[1] ==0",
"a[0]==0",
"a[0]",
"a",
"0",
"0",
"a[1] ==0",
"a[1]",
"a",
"1",
"0",
"break;",
"System.out.println(a[0] +\" \" + a[1])",
"System.out.println",
"System.out",
"System",
"System.out",
"a[0] +\" \" + a[1]",
"a[0] +\" \" + a[1]",
"a[0]",
"a",
"0",
"\" \"",
"a[1]",
"a",
"1",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[2];\n\t\twhile(true) {\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}\n\n\n }\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint[] a = new int[2];\n\t\twhile(true) {\n\t\t\tfor(int i = 0; i<2; i++) {\n\t\t\t\t a[i] = sc.nextInt();\n\t\t\t}\n\t\t Arrays.sort(a);\n\n\t\t if(a[0]==0 && a[1] ==0)break;\n\t\t System.out.println(a[0] +\" \" + a[1]);\n\n\t\t}\n\n\n }\n\n}",
"Main"
] | import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int[] a = new int[2];
while(true) {
for(int i = 0; i<2; i++) {
a[i] = sc.nextInt();
}
Arrays.sort(a);
if(a[0]==0 && a[1] ==0)break;
System.out.println(a[0] +" " + a[1]);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
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,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
0,
13,
2,
13,
17,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
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
],
[
19,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
19,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
19,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
60,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
19,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
] | [
"import java.util.Scanner;\npublic class Main {\npublic static void main(String[] args) {\nScanner sc= new Scanner(System.in);\n\nint i=1;\nint tmp;\nwhile(true){\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}\n\n}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\npublic static void main(String[] args) {\nScanner sc= new Scanner(System.in);\n\nint i=1;\nint tmp;\nwhile(true){\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}\n\n}\n}",
"Main",
"public static void main(String[] args) {\nScanner sc= new Scanner(System.in);\n\nint i=1;\nint tmp;\nwhile(true){\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}\n\n}",
"main",
"{\nScanner sc= new Scanner(System.in);\n\nint i=1;\nint tmp;\nwhile(true){\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}\n\n}",
"Scanner sc= new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i=1;",
"i",
"1",
"int tmp;",
"tmp",
"while(true){\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}",
"true",
"{\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int y = sc.nextInt();",
"y",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x==0 && y==0){break;}",
"x==0 && y==0",
"x==0",
"x",
"0",
"y==0",
"y",
"0",
"{break;}",
"break;",
"if(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}",
"x>y",
"x",
"y",
"{\ntmp =x;\nx=y;\ny=tmp;\n}",
"tmp =x",
"tmp",
"x",
"x=y",
"x",
"y",
"y=tmp",
"y",
"tmp",
"System.out.println(x+\" \"+y)",
"System.out.println",
"System.out",
"System",
"System.out",
"x+\" \"+y",
"x+\" \"+y",
"x",
"\" \"",
"y",
"i=i+1",
"i",
"i+1",
"i",
"1",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\nScanner sc= new Scanner(System.in);\n\nint i=1;\nint tmp;\nwhile(true){\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}\n\n}\n}",
"public class Main {\npublic static void main(String[] args) {\nScanner sc= new Scanner(System.in);\n\nint i=1;\nint tmp;\nwhile(true){\nint x = sc.nextInt();\nint y = sc.nextInt();\nif(x==0 && y==0){break;}\n\nif(x>y){\ntmp =x;\nx=y;\ny=tmp;\n}\n\nSystem.out.println(x+\" \"+y);\ni=i+1;\n\n}\n\n}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc= new Scanner(System.in);
int i=1;
int tmp;
while(true){
int x = sc.nextInt();
int y = sc.nextInt();
if(x==0 && y==0){break;}
if(x>y){
tmp =x;
x=y;
y=tmp;
}
System.out.println(x+" "+y);
i=i+1;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
13,
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
],
[
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
],
[
17,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
17,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
30,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
54,
60
],
[
54,
61
],
[
50,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
62,
68
],
[
62,
69
],
[
15,
70
],
[
70,
71
]
] | [
"import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n int a, b;\n int idx = 0;\n while(true) {\n\t a = in.nextInt();\n\t b = in.nextInt();\n\t if(a == 0 && a == b) return;\n\t if(a<b) System.out.printf(\"%d %d\\n\", a, b);\n\t else System.out.printf(\"%d %d\\n\", b, a);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n int a, b;\n int idx = 0;\n while(true) {\n\t a = in.nextInt();\n\t b = in.nextInt();\n\t if(a == 0 && a == b) return;\n\t if(a<b) System.out.printf(\"%d %d\\n\", a, b);\n\t else System.out.printf(\"%d %d\\n\", b, a);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n int a, b;\n int idx = 0;\n while(true) {\n\t a = in.nextInt();\n\t b = in.nextInt();\n\t if(a == 0 && a == b) return;\n\t if(a<b) System.out.printf(\"%d %d\\n\", a, b);\n\t else System.out.printf(\"%d %d\\n\", b, a);\n }\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n int a, b;\n int idx = 0;\n while(true) {\n\t a = in.nextInt();\n\t b = in.nextInt();\n\t if(a == 0 && a == b) return;\n\t if(a<b) System.out.printf(\"%d %d\\n\", a, b);\n\t else System.out.printf(\"%d %d\\n\", b, a);\n }\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"int a",
"a",
"b;",
"b",
"int idx = 0;",
"idx",
"0",
"while(true) {\n\t a = in.nextInt();\n\t b = in.nextInt();\n\t if(a == 0 && a == b) return;\n\t if(a<b) System.out.printf(\"%d %d\\n\", a, b);\n\t else System.out.printf(\"%d %d\\n\", b, a);\n }",
"true",
"{\n\t a = in.nextInt();\n\t b = in.nextInt();\n\t if(a == 0 && a == b) return;\n\t if(a<b) System.out.printf(\"%d %d\\n\", a, b);\n\t else System.out.printf(\"%d %d\\n\", b, a);\n }",
"a = in.nextInt()",
"a",
"in.nextInt()",
"in.nextInt",
"in",
"b = in.nextInt()",
"b",
"in.nextInt()",
"in.nextInt",
"in",
"if(a == 0 && a == b) return;",
"a == 0 && a == b",
"a == 0",
"a",
"0",
"a == b",
"a",
"b",
"return;",
"if(a<b) System.out.printf(\"%d %d\\n\", a, b);\n\t else System.out.printf(\"%d %d\\n\", b, a);",
"a<b",
"a",
"b",
"System.out.printf(\"%d %d\\n\", a, b)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"a",
"b",
"System.out.printf(\"%d %d\\n\", b, a)",
"System.out.printf",
"System.out",
"System",
"System.out",
"\"%d %d\\n\"",
"b",
"a",
"String[] args",
"args"
] | import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
class Main {
public static void main(String[] args) throws IOException {
Scanner in = new Scanner(System.in);
int a, b;
int idx = 0;
while(true) {
a = in.nextInt();
b = in.nextInt();
if(a == 0 && a == b) return;
if(a<b) System.out.printf("%d %d\n", a, b);
else System.out.printf("%d %d\n", b, a);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
20,
17,
42,
17,
30,
0,
18,
13,
13,
4,
18,
13,
0,
18,
13,
13,
4,
18,
13,
14,
2,
2,
18,
13,
13,
17,
2,
18,
13,
13,
17,
3,
14,
2,
18,
13,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
18,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
27,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
42,
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
],
[
66,
67
],
[
66,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
73,
75
],
[
63,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
27,
81
],
[
81,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
83,
88
],
[
88,
89
],
[
88,
90
],
[
83,
91
],
[
91,
92
],
[
92,
93
],
[
83,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
6,
109
],
[
109,
110
]
] | [
"import java.util.*;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint temp, cnt = 0;\n\t\tint x[] = new int[3000], y[] = new int[3000];\n\t\t\n\t\twhile(true){\n\t\t\tx[cnt] = sc.nextInt();\n\t\t\ty[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(x[cnt] == 0 && y[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(x[cnt] > y[cnt]){\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(x[i] + \" \" + y[i]);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n\tpublic static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint temp, cnt = 0;\n\t\tint x[] = new int[3000], y[] = new int[3000];\n\t\t\n\t\twhile(true){\n\t\t\tx[cnt] = sc.nextInt();\n\t\t\ty[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(x[cnt] == 0 && y[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(x[cnt] > y[cnt]){\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(x[i] + \" \" + y[i]);\n\t}\n}",
"Main",
"public static void main(String args[]){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint temp, cnt = 0;\n\t\tint x[] = new int[3000], y[] = new int[3000];\n\t\t\n\t\twhile(true){\n\t\t\tx[cnt] = sc.nextInt();\n\t\t\ty[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(x[cnt] == 0 && y[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(x[cnt] > y[cnt]){\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(x[i] + \" \" + y[i]);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint temp, cnt = 0;\n\t\tint x[] = new int[3000], y[] = new int[3000];\n\t\t\n\t\twhile(true){\n\t\t\tx[cnt] = sc.nextInt();\n\t\t\ty[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(x[cnt] == 0 && y[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(x[cnt] > y[cnt]){\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(x[i] + \" \" + y[i]);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int temp",
"temp",
"cnt = 0;",
"cnt",
"0",
"int x[] = new int[3000]",
"x",
"new int[3000]",
"3000",
"y[] = new int[3000];",
"y",
"new int[3000]",
"3000",
"while(true){\n\t\t\tx[cnt] = sc.nextInt();\n\t\t\ty[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(x[cnt] == 0 && y[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(x[cnt] > y[cnt]){\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}",
"true",
"{\n\t\t\tx[cnt] = sc.nextInt();\n\t\t\ty[cnt] = sc.nextInt();\n\t\t\t\n\t\t\tif(x[cnt] == 0 && y[cnt] == 0)\n\t\t\t\tbreak;\n\t\t\t\n\t\t\tif(x[cnt] > y[cnt]){\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}\n\t\t\t\n\t\t\tcnt ++;\n\t\t}",
"x[cnt] = sc.nextInt()",
"x[cnt]",
"x",
"cnt",
"sc.nextInt()",
"sc.nextInt",
"sc",
"y[cnt] = sc.nextInt()",
"y[cnt]",
"y",
"cnt",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(x[cnt] == 0 && y[cnt] == 0)\n\t\t\t\tbreak;",
"x[cnt] == 0 && y[cnt] == 0",
"x[cnt] == 0",
"x[cnt]",
"x",
"cnt",
"0",
"y[cnt] == 0",
"y[cnt]",
"y",
"cnt",
"0",
"break;",
"if(x[cnt] > y[cnt]){\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}",
"x[cnt] > y[cnt]",
"x[cnt]",
"x",
"cnt",
"y[cnt]",
"y",
"cnt",
"{\n\t\t\t\ttemp = x[cnt];\n\t\t\t\tx[cnt] = y[cnt];\n\t\t\t\ty[cnt] = temp;\n\t\t\t}",
"temp = x[cnt]",
"temp",
"x[cnt]",
"x",
"cnt",
"x[cnt] = y[cnt]",
"x[cnt]",
"x",
"cnt",
"y[cnt]",
"y",
"cnt",
"y[cnt] = temp",
"y[cnt]",
"y",
"cnt",
"temp",
"cnt ++",
"cnt",
"for(int i = 0; i < cnt; i++)\n\t\t\tSystem.out.println(x[i] + \" \" + y[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cnt",
"i",
"cnt",
"i++",
"i++",
"i",
"System.out.println(x[i] + \" \" + y[i]);",
"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"
] | import java.util.*;
class Main{
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int temp, cnt = 0;
int x[] = new int[3000], y[] = new int[3000];
while(true){
x[cnt] = sc.nextInt();
y[cnt] = sc.nextInt();
if(x[cnt] == 0 && y[cnt] == 0)
break;
if(x[cnt] > y[cnt]){
temp = x[cnt];
x[cnt] = y[cnt];
y[cnt] = temp;
}
cnt ++;
}
for(int i = 0; i < cnt; i++)
System.out.println(x[i] + " " + y[i]);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
4,
13,
13,
13,
23,
13,
12,
13,
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,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
77,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
16,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
16,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
16,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
8,
41
],
[
41,
42
],
[
77,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
57,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
46,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
68,
68
],
[
68,
69
],
[
68,
70
],
[
68,
71
],
[
43,
72
],
[
72,
73
],
[
43,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(x,y);\n }\n }\n\n private static void comp(int x,int y) {\n if (x < y) {\n System.out.println(x +\" \"+y);\n } else {\n System.out.println(y +\" \"+x);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(x,y);\n }\n }\n\n private static void comp(int x,int y) {\n if (x < y) {\n System.out.println(x +\" \"+y);\n } else {\n System.out.println(y +\" \"+x);\n }\n }\n}",
"Main",
"private static Scanner scan;",
"scan",
"public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(x,y);\n }\n }",
"main",
"{\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(x,y);\n }\n }",
"scan = new Scanner(System.in)",
"scan",
"new Scanner(System.in)",
"while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(x,y);\n }",
"true",
"{\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(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;",
"comp(x,y)",
"comp",
"x",
"y",
"String[] args",
"args",
"private static void comp(int x,int y) {\n if (x < y) {\n System.out.println(x +\" \"+y);\n } else {\n System.out.println(y +\" \"+x);\n }\n }",
"comp",
"{\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",
"int x",
"x",
"int y",
"y",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(x,y);\n }\n }\n\n private static void comp(int x,int y) {\n if (x < y) {\n System.out.println(x +\" \"+y);\n } else {\n System.out.println(y +\" \"+x);\n }\n }\n}",
"public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n while (true) {\n int x = scan.nextInt();\n int y = scan.nextInt();\n if (x == 0 && y == 0) {\n break;\n }\n comp(x,y);\n }\n }\n\n private static void comp(int x,int y) {\n if (x < y) {\n System.out.println(x +\" \"+y);\n } else {\n System.out.println(y +\" \"+x);\n }\n }\n}",
"Main"
] | import java.util.Scanner;
public class Main {
private static Scanner scan;
public static void main(String[] args) {
scan = new Scanner(System.in);
while (true) {
int x = scan.nextInt();
int y = scan.nextInt();
if (x == 0 && y == 0) {
break;
}
comp(x,y);
}
}
private static void comp(int x,int y) {
if (x < y) {
System.out.println(x +" "+y);
} else {
System.out.println(y +" "+x);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
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,
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
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
21,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
28,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
38,
43
],
[
35,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
35,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
60,
70
],
[
70,
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
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint x, y;\n\t\t\tdo {\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} while (true);\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",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint x, y;\n\t\t\tdo {\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} while (true);\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\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint x, y;\n\t\t\tdo {\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tint x, y;\n\t\t\tdo {\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}",
"InputStreamReader isr = new InputStreamReader(System.in);",
"isr",
"new InputStreamReader(System.in)",
"BufferedReader br = new BufferedReader(isr);",
"br",
"new BufferedReader(isr)",
"try {\n\t\t\tint x, y;\n\t\t\tdo {\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tint x, y;\n\t\t\tdo {\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} while (true);\n\t\t}",
"int x",
"x",
"y;",
"y",
"do {\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} while (true);",
"true",
"{\n\t\t\t\tString[] list = br.readLine().split(\" \");\n\t\t\t\tx = Integer.parseInt(list[0]);\n\t\t\t\ty = Integer.parseInt(list[1]);\n\t\t\t\tif (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}",
"String[] list = br.readLine().split(\" \");",
"list",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"x = Integer.parseInt(list[0])",
"x",
"Integer.parseInt(list[0])",
"Integer.parseInt",
"Integer",
"list[0]",
"list",
"0",
"y = Integer.parseInt(list[1])",
"y",
"Integer.parseInt(list[1])",
"Integer.parseInt",
"Integer",
"list[1]",
"list",
"1",
"if (x == 0 && y == 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t} else {\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\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;",
"{\n\t\t\t\t\tif (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}\n\t\t\t\t}",
"if (x > y) {\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println(x + \" \" + y);\n\t\t\t\t\t}",
"x > y",
"x",
"y",
"{\n\t\t\t\t\t\tSystem.out.println(y + \" \" + x);\n\t\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\t\tSystem.out.println(x + \" \" + y);\n\t\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.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main {
public static void main(String[] args) {
InputStreamReader isr = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(isr);
try {
int x, y;
do {
String[] list = br.readLine().split(" ");
x = Integer.parseInt(list[0]);
y = Integer.parseInt(list[1]);
if (x == 0 && y == 0) {
break;
} else {
if (x > y) {
System.out.println(y + " " + x);
} else {
System.out.println(x + " " + y);
}
}
} while (true);
} catch (IOException e) {
e.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
4,
18,
4,
18,
4,
18,
4,
18,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
105,
11
],
[
105,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
23,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
23,
51
],
[
51,
52
],
[
23,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
23,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
23,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
81,
90
],
[
79,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
77,
95
],
[
14,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
12,
102
],
[
102,
103
],
[
0,
104
],
[
104,
105
],
[
104,
106
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n while(true){\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(output);\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\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n while(true){\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(output);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n while(true){\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(output);\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n while(true){\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\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 input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }",
"true",
"{\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] strArray = input.split(\" \");",
"strArray",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int x = Integer.parseInt(strArray[0]);",
"x",
"Integer.parseInt(strArray[0])",
"Integer.parseInt",
"Integer",
"strArray[0]",
"strArray",
"0",
"int y = Integer.parseInt(strArray[1]);",
"y",
"Integer.parseInt(strArray[1])",
"Integer.parseInt",
"Integer",
"strArray[1]",
"strArray",
"1",
"int changeBox;",
"changeBox",
"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 changeBox = x;\n x = y;\n y = changeBox;\n }",
"x > y",
"x",
"y",
"{\n changeBox = x;\n x = y;\n y = changeBox;\n }",
"changeBox = x",
"changeBox",
"x",
"x = y",
"x",
"y",
"y = changeBox",
"y",
"changeBox",
"output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\")",
"output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append",
"output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y))",
"output.append(Integer.toString(x)).append(\" \").append",
"output.append(Integer.toString(x)).append(\" \")",
"output.append(Integer.toString(x)).append",
"output.append(Integer.toString(x))",
"output.append",
"output",
"Integer.toString(x)",
"Integer.toString",
"Integer",
"x",
"\" \"",
"Integer.toString(y)",
"Integer.toString",
"Integer",
"y",
"\"\\n\"",
"System.out.print(output)",
"System.out.print",
"System.out",
"System",
"System.out",
"output",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n while(true){\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(output);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder output = new StringBuilder();\n\n while(true){\n String input = br.readLine();\n String[] strArray = input.split(\" \");\n\n int x = Integer.parseInt(strArray[0]);\n int y = Integer.parseInt(strArray[1]);\n\n int changeBox;\n\n if(x == 0 && y == 0){\n break;\n }\n\n if(x > y){\n changeBox = x;\n x = y;\n y = changeBox;\n }\n output.append(Integer.toString(x)).append(\" \").append(Integer.toString(y)).append(\"\\n\");\n }\n System.out.print(output);\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 output = new StringBuilder();
while(true){
String input = br.readLine();
String[] strArray = input.split(" ");
int x = Integer.parseInt(strArray[0]);
int y = Integer.parseInt(strArray[1]);
int changeBox;
if(x == 0 && y == 0){
break;
}
if(x > y){
changeBox = x;
x = y;
y = changeBox;
}
output.append(Integer.toString(x)).append(" ").append(Integer.toString(y)).append("\n");
}
System.out.print(output);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
2,
13,
17,
30,
3,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
13,
0,
13,
13,
0,
13,
2,
2,
13,
17,
13,
4,
18,
13,
13,
40,
13,
41,
13,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
129,
11
],
[
129,
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
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
31,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
53,
55
],
[
31,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
31,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
85,
86
],
[
85,
87
],
[
31,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
31,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
31,
99
],
[
99,
100
],
[
14,
101
],
[
101,
102
],
[
101,
103
],
[
14,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
12,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n // 自分の得意な言語で\n // Let's チャレンジ!!\n\t\tint s = 0;\n\t\tint i = 0;\n\t\tString tN;\n\t\tArrayList<String> array = new ArrayList<String>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }\n int N = i;\n\n for(i = 0;i<N;i++){\n \tSystem.out.println(array.get(i));\n }\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n // 自分の得意な言語で\n // Let's チャレンジ!!\n\t\tint s = 0;\n\t\tint i = 0;\n\t\tString tN;\n\t\tArrayList<String> array = new ArrayList<String>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }\n int N = i;\n\n for(i = 0;i<N;i++){\n \tSystem.out.println(array.get(i));\n }\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\n // 自分の得意な言語で\n // Let's チャレンジ!!\n\t\tint s = 0;\n\t\tint i = 0;\n\t\tString tN;\n\t\tArrayList<String> array = new ArrayList<String>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }\n int N = i;\n\n for(i = 0;i<N;i++){\n \tSystem.out.println(array.get(i));\n }\n\n }",
"main",
"{\n\n // 自分の得意な言語で\n // Let's チャレンジ!!\n\t\tint s = 0;\n\t\tint i = 0;\n\t\tString tN;\n\t\tArrayList<String> array = new ArrayList<String>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }\n int N = i;\n\n for(i = 0;i<N;i++){\n \tSystem.out.println(array.get(i));\n }\n\n }",
"int s = 0;",
"s",
"0",
"int i = 0;",
"i",
"0",
"String tN;",
"tN",
"ArrayList<String> array = new ArrayList<String>();",
"array",
"new ArrayList<String>()",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }",
"true",
"{\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }",
"String line = br.readLine();",
"line",
"br.readLine()",
"br.readLine",
"br",
"line = line.trim()",
"line",
"line.trim()",
"line.trim",
"line",
"String[] readLineArray = line.split(\"[\\\\s+]\");",
"readLineArray",
"line.split(\"[\\\\s+]\")",
"line.split",
"line",
"\"[\\\\s+]\"",
"int a = Integer.parseInt(readLineArray[0]);",
"a",
"Integer.parseInt(readLineArray[0])",
"Integer.parseInt",
"Integer",
"readLineArray[0]",
"readLineArray",
"0",
"int b = Integer.parseInt(readLineArray[1]);",
"b",
"Integer.parseInt(readLineArray[1])",
"Integer.parseInt",
"Integer",
"readLineArray[1]",
"readLineArray",
"1",
"if(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}",
"a == 0 && b == 0",
"a == 0",
"a",
"0",
"b == 0",
"b",
"0",
"{\n \t\tbreak;\n \t}",
"break;",
"if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}",
"a > b",
"a",
"b",
"{\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}",
"s = a",
"s",
"a",
"a = b",
"a",
"b",
"b = s",
"b",
"s",
"tN = (a+\" \"+b)",
"tN",
"(a+\" \"+b)",
"a+\" \"+b",
"a",
"\" \"",
"b",
"array.add(tN)",
"array.add",
"array",
"tN",
"i++",
"i",
"int N = i;",
"N",
"i",
"for(i = 0;i<N;i++){\n \tSystem.out.println(array.get(i));\n }",
"i = 0;",
"i = 0",
"i",
"0",
"i<N",
"i",
"N",
"i++",
"i++",
"i",
"{\n \tSystem.out.println(array.get(i));\n }",
"{\n \tSystem.out.println(array.get(i));\n }",
"System.out.println(array.get(i))",
"System.out.println",
"System.out",
"System",
"System.out",
"array.get(i)",
"array.get",
"array",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n // 自分の得意な言語で\n // Let's チャレンジ!!\n\t\tint s = 0;\n\t\tint i = 0;\n\t\tString tN;\n\t\tArrayList<String> array = new ArrayList<String>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }\n int N = i;\n\n for(i = 0;i<N;i++){\n \tSystem.out.println(array.get(i));\n }\n\n }\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws Exception{\n\n // 自分の得意な言語で\n // Let's チャレンジ!!\n\t\tint s = 0;\n\t\tint i = 0;\n\t\tString tN;\n\t\tArrayList<String> array = new ArrayList<String>();\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n \tString line = br.readLine();\n \t//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。\n \tline = line.trim();\n \t//半角スペースを区切り文字として扱う\n \tString[] readLineArray = line.split(\"[\\\\s+]\");\n \t//変数に配列を代入\n \tint a = Integer.parseInt(readLineArray[0]);\n \tint b = Integer.parseInt(readLineArray[1]);\n \tif(a == 0 && b == 0){\n \t\tbreak;\n \t}else if(a > b){\n \t\ts = a;\n \t\ta = b;\n \t\tb = s;\n\n \t}\n \ttN = (a+\" \"+b);\n array.add(tN);\n\n \ti++;\n }\n int N = i;\n\n for(i = 0;i<N;i++){\n \tSystem.out.println(array.get(i));\n }\n\n }\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
public class Main {
public static void main(String[] args) throws Exception{
// 自分の得意な言語で
// Let's チャレンジ!!
int s = 0;
int i = 0;
String tN;
ArrayList<String> array = new ArrayList<String>();
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String line = br.readLine();
//文字列に先頭又は最後に空白文字がくっ付いている場合、それらを全て取り除きます。
line = line.trim();
//半角スペースを区切り文字として扱う
String[] readLineArray = line.split("[\\s+]");
//変数に配列を代入
int a = Integer.parseInt(readLineArray[0]);
int b = Integer.parseInt(readLineArray[1]);
if(a == 0 && b == 0){
break;
}else if(a > b){
s = a;
a = b;
b = s;
}
tN = (a+" "+b);
array.add(tN);
i++;
}
int N = i;
for(i = 0;i<N;i++){
System.out.println(array.get(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t//Start of Main Method\n\t\t\tint startNumber = sc.nextInt();\n\t\t\tint endNumber = sc.nextInt();\n\t\t\tint divisor = sc.nextInt();\n\n\t\t\tint lastlyDivisor = 0;\n\t\t\tfor(int i = startNumber; endNumber >= i;i++) {\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(lastlyDivisor);\n\n\n\t\t//End of Main Method\n\t\t}\n\n\t//End of Main class\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\t//Start of Main Method\n\t\t\tint startNumber = sc.nextInt();\n\t\t\tint endNumber = sc.nextInt();\n\t\t\tint divisor = sc.nextInt();\n\n\t\t\tint lastlyDivisor = 0;\n\t\t\tfor(int i = startNumber; endNumber >= i;i++) {\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(lastlyDivisor);\n\n\n\t\t//End of Main Method\n\t\t}\n\n\t//End of Main class\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t//Start of Main Method\n\t\t\tint startNumber = sc.nextInt();\n\t\t\tint endNumber = sc.nextInt();\n\t\t\tint divisor = sc.nextInt();\n\n\t\t\tint lastlyDivisor = 0;\n\t\t\tfor(int i = startNumber; endNumber >= i;i++) {\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(lastlyDivisor);\n\n\n\t\t//End of Main Method\n\t\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t//Start of Main Method\n\t\t\tint startNumber = sc.nextInt();\n\t\t\tint endNumber = sc.nextInt();\n\t\t\tint divisor = sc.nextInt();\n\n\t\t\tint lastlyDivisor = 0;\n\t\t\tfor(int i = startNumber; endNumber >= i;i++) {\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(lastlyDivisor);\n\n\n\t\t//End of Main Method\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int startNumber = sc.nextInt();",
"startNumber",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int endNumber = sc.nextInt();",
"endNumber",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int divisor = sc.nextInt();",
"divisor",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int lastlyDivisor = 0;",
"lastlyDivisor",
"0",
"for(int i = startNumber; endNumber >= i;i++) {\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}",
"int i = startNumber;",
"int i = startNumber;",
"i",
"startNumber",
"endNumber >= i",
"endNumber",
"i",
"i++",
"i++",
"i",
"{\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}",
"{\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}",
"if(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}",
"divisor % i == 0",
"divisor % i",
"divisor",
"i",
"0",
"{\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}",
"lastlyDivisor++",
"lastlyDivisor",
"System.out.println(lastlyDivisor)",
"System.out.println",
"System.out",
"System",
"System.out",
"lastlyDivisor",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t//Start of Main Method\n\t\t\tint startNumber = sc.nextInt();\n\t\t\tint endNumber = sc.nextInt();\n\t\t\tint divisor = sc.nextInt();\n\n\t\t\tint lastlyDivisor = 0;\n\t\t\tfor(int i = startNumber; endNumber >= i;i++) {\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(lastlyDivisor);\n\n\n\t\t//End of Main Method\n\t\t}\n\n\t//End of Main class\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t//Start of Main Method\n\t\t\tint startNumber = sc.nextInt();\n\t\t\tint endNumber = sc.nextInt();\n\t\t\tint divisor = sc.nextInt();\n\n\t\t\tint lastlyDivisor = 0;\n\t\t\tfor(int i = startNumber; endNumber >= i;i++) {\n\n\t\t\t\tif(divisor % i == 0) {\n\t\t\t\t\tlastlyDivisor++;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tSystem.out.println(lastlyDivisor);\n\n\n\t\t//End of Main Method\n\t\t}\n\n\t//End of Main class\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
//Start of Main Method
int startNumber = sc.nextInt();
int endNumber = sc.nextInt();
int divisor = sc.nextInt();
int lastlyDivisor = 0;
for(int i = startNumber; endNumber >= i;i++) {
if(divisor % i == 0) {
lastlyDivisor++;
}
}
System.out.println(lastlyDivisor);
//End of Main Method
}
//End of Main class
}
|
[
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,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
88,
11
],
[
88,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
14,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
14,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
14,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
12,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
] | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] a_b_c = str.split(\" \", 0);\n\n\t\tint a = Integer.parseInt(a_b_c[0]);\n\t\tint b = Integer.parseInt(a_b_c[1]);\n\t\tint c = Integer.parseInt(a_b_c[2]);\n\n\t\tint divisor = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(divisor);\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] a_b_c = str.split(\" \", 0);\n\n\t\tint a = Integer.parseInt(a_b_c[0]);\n\t\tint b = Integer.parseInt(a_b_c[1]);\n\t\tint c = Integer.parseInt(a_b_c[2]);\n\n\t\tint divisor = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(divisor);\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] a_b_c = str.split(\" \", 0);\n\n\t\tint a = Integer.parseInt(a_b_c[0]);\n\t\tint b = Integer.parseInt(a_b_c[1]);\n\t\tint c = Integer.parseInt(a_b_c[2]);\n\n\t\tint divisor = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(divisor);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] a_b_c = str.split(\" \", 0);\n\n\t\tint a = Integer.parseInt(a_b_c[0]);\n\t\tint b = Integer.parseInt(a_b_c[1]);\n\t\tint c = Integer.parseInt(a_b_c[2]);\n\n\t\tint divisor = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(divisor);\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[] a_b_c = str.split(\" \", 0);",
"a_b_c",
"str.split(\" \", 0)",
"str.split",
"str",
"\" \"",
"0",
"int a = Integer.parseInt(a_b_c[0]);",
"a",
"Integer.parseInt(a_b_c[0])",
"Integer.parseInt",
"Integer",
"a_b_c[0]",
"a_b_c",
"0",
"int b = Integer.parseInt(a_b_c[1]);",
"b",
"Integer.parseInt(a_b_c[1])",
"Integer.parseInt",
"Integer",
"a_b_c[1]",
"a_b_c",
"1",
"int c = Integer.parseInt(a_b_c[2]);",
"c",
"Integer.parseInt(a_b_c[2])",
"Integer.parseInt",
"Integer",
"a_b_c[2]",
"a_b_c",
"2",
"int divisor = 0;",
"divisor",
"0",
"for (int i = a; i <= b; i++) {\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}",
"int i = a;",
"int i = a;",
"i",
"a",
"i <= b",
"i",
"b",
"i++",
"i++",
"i",
"{\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}",
"if (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}",
"c % i == 0",
"c % i",
"c",
"i",
"0",
"{\n\t\t\t\tdivisor++;\n\t\t\t}",
"divisor++",
"divisor",
"System.out.println(divisor)",
"System.out.println",
"System.out",
"System",
"System.out",
"divisor",
"String args[]",
"args",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] a_b_c = str.split(\" \", 0);\n\n\t\tint a = Integer.parseInt(a_b_c[0]);\n\t\tint b = Integer.parseInt(a_b_c[1]);\n\t\tint c = Integer.parseInt(a_b_c[2]);\n\n\t\tint divisor = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(divisor);\n\t}\n}",
"public class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str = br.readLine();\n\t\tString[] a_b_c = str.split(\" \", 0);\n\n\t\tint a = Integer.parseInt(a_b_c[0]);\n\t\tint b = Integer.parseInt(a_b_c[1]);\n\t\tint c = Integer.parseInt(a_b_c[2]);\n\n\t\tint divisor = 0;\n\n\t\tfor (int i = a; i <= b; i++) {\n\t\t\tif (c % i == 0) {\n\t\t\t\tdivisor++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(divisor);\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String args[]) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String str = br.readLine();
String[] a_b_c = str.split(" ", 0);
int a = Integer.parseInt(a_b_c[0]);
int b = Integer.parseInt(a_b_c[1]);
int c = Integer.parseInt(a_b_c[2]);
int divisor = 0;
for (int i = a; i <= b; i++) {
if (c % i == 0) {
divisor++;
}
}
System.out.println(divisor);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
] | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int iNumA = scan.nextInt();\n int iNumB = scan.nextInt();\n int iNumC = scan.nextInt();\n int count = 0;\n for(int i=iNumA; i<=iNumB; i++){\n \tif(iNumC%i == 0)\n \t\tcount++;\n }\n System.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int iNumA = scan.nextInt();\n int iNumB = scan.nextInt();\n int iNumC = scan.nextInt();\n int count = 0;\n for(int i=iNumA; i<=iNumB; i++){\n \tif(iNumC%i == 0)\n \t\tcount++;\n }\n System.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int iNumA = scan.nextInt();\n int iNumB = scan.nextInt();\n int iNumC = scan.nextInt();\n int count = 0;\n for(int i=iNumA; i<=iNumB; i++){\n \tif(iNumC%i == 0)\n \t\tcount++;\n }\n System.out.println(count);\n\t}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n int iNumA = scan.nextInt();\n int iNumB = scan.nextInt();\n int iNumC = scan.nextInt();\n int count = 0;\n for(int i=iNumA; i<=iNumB; i++){\n \tif(iNumC%i == 0)\n \t\tcount++;\n }\n System.out.println(count);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int iNumA = scan.nextInt();",
"iNumA",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int iNumB = scan.nextInt();",
"iNumB",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int iNumC = scan.nextInt();",
"iNumC",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int count = 0;",
"count",
"0",
"for(int i=iNumA; i<=iNumB; i++){\n \tif(iNumC%i == 0)\n \t\tcount++;\n }",
"int i=iNumA;",
"int i=iNumA;",
"i",
"iNumA",
"i<=iNumB",
"i",
"iNumB",
"i++",
"i++",
"i",
"{\n \tif(iNumC%i == 0)\n \t\tcount++;\n }",
"{\n \tif(iNumC%i == 0)\n \t\tcount++;\n }",
"if(iNumC%i == 0)\n \t\tcount++;",
"iNumC%i == 0",
"iNumC%i",
"iNumC",
"i",
"0",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int iNumA = scan.nextInt();\n int iNumB = scan.nextInt();\n int iNumC = scan.nextInt();\n int count = 0;\n for(int i=iNumA; i<=iNumB; i++){\n \tif(iNumC%i == 0)\n \t\tcount++;\n }\n System.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int iNumA = scan.nextInt();\n int iNumB = scan.nextInt();\n int iNumC = scan.nextInt();\n int count = 0;\n for(int i=iNumA; i<=iNumB; i++){\n \tif(iNumC%i == 0)\n \t\tcount++;\n }\n System.out.println(count);\n\t}\n}",
"Main"
] | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
int iNumA = scan.nextInt();
int iNumB = scan.nextInt();
int iNumC = scan.nextInt();
int count = 0;
for(int i=iNumA; i<=iNumB; i++){
if(iNumC%i == 0)
count++;
}
System.out.println(count);
}
} |
[
7,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
14,
2,
2,
2,
2,
2,
2,
2,
13,
13,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
2,
17,
13,
2,
13,
17,
30,
11,
1,
0,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
97,
2
],
[
97,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
6,
8
],
[
5,
9
],
[
9,
10
],
[
5,
11
],
[
11,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
15,
17
],
[
5,
18
],
[
18,
19
],
[
18,
20
],
[
5,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
5,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
5,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
5,
36
],
[
36,
37
],
[
42,
38
],
[
58,
39
],
[
55,
40
],
[
52,
41
],
[
49,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
49,
49
],
[
49,
50
],
[
49,
51
],
[
52,
52
],
[
52,
53
],
[
52,
54
],
[
55,
55
],
[
55,
56
],
[
55,
57
],
[
58,
58
],
[
58,
59
],
[
58,
60
],
[
42,
61
],
[
61,
62
],
[
61,
63
],
[
36,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
74,
75
],
[
65,
76
],
[
77,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
5,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
3,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
] | [
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tint i = 1;\n\t\tint t = 0;\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tc = scan.nextInt();\n\t\t\n\t\tif(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}System.out.println(t);\n\t\t\n\t\t\t\n\n\n\n\n\t\t}\n}",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tint i = 1;\n\t\tint t = 0;\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tc = scan.nextInt();\n\t\t\n\t\tif(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}System.out.println(t);\n\t\t\n\t\t\t\n\n\n\n\n\t\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tint i = 1;\n\t\tint t = 0;\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tc = scan.nextInt();\n\t\t\n\t\tif(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}System.out.println(t);\n\t\t\n\t\t\t\n\n\n\n\n\t\t}",
"main",
"{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tint i = 1;\n\t\tint t = 0;\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tc = scan.nextInt();\n\t\t\n\t\tif(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}System.out.println(t);\n\t\t\n\t\t\t\n\n\n\n\n\t\t}",
"java.util.Scanner scan = new java.util.Scanner(System.in);",
"scan",
"new java.util.Scanner(System.in)",
"int a;",
"a",
"int b;",
"b",
"int c;",
"c",
"int i = 1;",
"i",
"1",
"int t = 0;",
"t",
"0",
"a = scan.nextInt()",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"b = scan.nextInt()",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"c = scan.nextInt()",
"c",
"scan.nextInt()",
"scan.nextInt",
"scan",
"if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}",
"a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000",
"1<=c",
"b <=10000",
"1<=b",
"a <=10000",
"a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000",
"a <= b",
"a",
"b",
"1<=a",
"1",
"a",
"a <=10000",
"a",
"10000",
"1<=b",
"1",
"b",
"b <=10000",
"b",
"10000",
"1<=c",
"1",
"c",
"c<= 10000",
"c",
"10000",
"{\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}",
"for(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}",
"i = a;",
"i = a",
"i",
"a",
"i <= b",
"i",
"b",
"i++",
"i++",
"i",
"{\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}",
"if(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}",
"c % i == 0",
"c % i",
"c",
"i",
"0",
"{\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}",
"t += 1",
"t",
"1",
"System.out.println(t)",
"System.out.println",
"System.out",
"System",
"System.out",
"t",
"String[] args",
"args",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tint i = 1;\n\t\tint t = 0;\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tc = scan.nextInt();\n\t\t\n\t\tif(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}System.out.println(t);\n\t\t\n\t\t\t\n\n\n\n\n\t\t}\n}",
"public class Main {\n\n\n\t\tpublic static void main(String[] args) {\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\tint a;\n\t\tint b;\n\t\tint c;\n\t\tint i = 1;\n\t\tint t = 0;\n\t\ta = scan.nextInt();\n\t\tb = scan.nextInt();\n\t\tc = scan.nextInt();\n\t\t\n\t\tif(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){\n\t\tfor(i = a; i <= b ; i++){\n\t\t\tif(c % i == 0){\n\t\t\t\t\n\t\t\t\tt += 1;\n\t\t\t}\n\t\t}\n\t\t}System.out.println(t);\n\t\t\n\t\t\t\n\n\n\n\n\t\t}\n}",
"Main"
] | public class Main {
public static void main(String[] args) {
java.util.Scanner scan = new java.util.Scanner(System.in);
int a;
int b;
int c;
int i = 1;
int t = 0;
a = scan.nextInt();
b = scan.nextInt();
c = scan.nextInt();
if(a <= b && 1<=a && a <=10000 && 1<=b && b <=10000 && 1<=c && c<= 10000){
for(i = a; i <= b ; i++){
if(c % i == 0){
t += 1;
}
}
}System.out.println(t);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
42,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
6,
57
],
[
57,
58
]
] | [
"import java.util.Scanner;\n\nclass Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = a;i <= b; i++){\n\t if(c % i == 0) ans++;\n\t }\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = a;i <= b; i++){\n\t if(c % i == 0) ans++;\n\t }\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = a;i <= b; i++){\n\t if(c % i == 0) ans++;\n\t }\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint a = scan.nextInt();\n\t\tint b = scan.nextInt();\n\t\tint c = scan.nextInt();\n\t\tint ans = 0;\n\t\t\n\t\tfor(int i = a;i <= b; i++){\n\t if(c % i == 0) ans++;\n\t }\n\t\tSystem.out.println(ans);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"int a = scan.nextInt();",
"a",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int b = scan.nextInt();",
"b",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int c = scan.nextInt();",
"c",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int ans = 0;",
"ans",
"0",
"for(int i = a;i <= b; i++){\n\t if(c % i == 0) ans++;\n\t }",
"int i = a;",
"int i = a;",
"i",
"a",
"i <= b",
"i",
"b",
"i++",
"i++",
"i",
"{\n\t if(c % i == 0) ans++;\n\t }",
"{\n\t if(c % i == 0) ans++;\n\t }",
"if(c % i == 0) ans++;",
"c % i == 0",
"c % i",
"c",
"i",
"0",
"ans++",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
] | import java.util.Scanner;
class Main {
@SuppressWarnings("resource")
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int a = scan.nextInt();
int b = scan.nextInt();
int c = scan.nextInt();
int ans = 0;
for(int i = a;i <= b; i++){
if(c % i == 0) ans++;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
19,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
55,
57
],
[
50,
58
],
[
58,
59
],
[
59,
60
],
[
50,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
63,
69
],
[
69,
70
],
[
70,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
]
] | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString[] cut = input.split(\" \");\n\t\tint a =Integer.parseInt(cut[0]);\n\t\tint b =Integer.parseInt(cut[1]);\n\t\tint c =Integer.parseInt(cut[2]);\n\t\tint count=0;\n\t for(int x = a;x <= b; x++ ){\n\t\t if(c%x==0){\n\t\t\t count++;\n\t\t }\n\t }\n\t System.out.println(count);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString[] cut = input.split(\" \");\n\t\tint a =Integer.parseInt(cut[0]);\n\t\tint b =Integer.parseInt(cut[1]);\n\t\tint c =Integer.parseInt(cut[2]);\n\t\tint count=0;\n\t for(int x = a;x <= b; x++ ){\n\t\t if(c%x==0){\n\t\t\t count++;\n\t\t }\n\t }\n\t System.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString[] cut = input.split(\" \");\n\t\tint a =Integer.parseInt(cut[0]);\n\t\tint b =Integer.parseInt(cut[1]);\n\t\tint c =Integer.parseInt(cut[2]);\n\t\tint count=0;\n\t for(int x = a;x <= b; x++ ){\n\t\t if(c%x==0){\n\t\t\t count++;\n\t\t }\n\t }\n\t System.out.println(count);\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tString[] cut = input.split(\" \");\n\t\tint a =Integer.parseInt(cut[0]);\n\t\tint b =Integer.parseInt(cut[1]);\n\t\tint c =Integer.parseInt(cut[2]);\n\t\tint count=0;\n\t for(int x = a;x <= b; x++ ){\n\t\t if(c%x==0){\n\t\t\t count++;\n\t\t }\n\t }\n\t System.out.println(count);\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String input = br.readLine();",
"input",
"br.readLine()",
"br.readLine",
"br",
"String[] cut = input.split(\" \");",
"cut",
"input.split(\" \")",
"input.split",
"input",
"\" \"",
"int a =Integer.parseInt(cut[0]);",
"a",
"Integer.parseInt(cut[0])",
"Integer.parseInt",
"Integer",
"cut[0]",
"cut",
"0",
"int b =Integer.parseInt(cut[1]);",
"b",
"Integer.parseInt(cut[1])",
"Integer.parseInt",
"Integer",
"cut[1]",
"cut",
"1",
"int c =Integer.parseInt(cut[2]);",
"c",
"Integer.parseInt(cut[2])",
"Integer.parseInt",
"Integer",
"cut[2]",
"cut",
"2",
"int count=0;",
"count",
"0",
"for(int x = a;x <= b; x++ ){\n\t\t if(c%x==0){\n\t\t\t count++;\n\t\t }\n\t }",
"int x = a;",
"int x = a;",
"x",
"a",
"x <= b",
"x",
"b",
"x++",
"x++",
"x",
"{\n\t\t if(c%x==0){\n\t\t\t count++;\n\t\t }\n\t }",
"{\n\t\t if(c%x==0){\n\t\t\t count++;\n\t\t }\n\t }",
"if(c%x==0){\n\t\t\t count++;\n\t\t }",
"c%x==0",
"c%x",
"c",
"x",
"0",
"{\n\t\t\t count++;\n\t\t }",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args"
] | import java.io.*;
class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String input = br.readLine();
String[] cut = input.split(" ");
int a =Integer.parseInt(cut[0]);
int b =Integer.parseInt(cut[1]);
int c =Integer.parseInt(cut[2]);
int count=0;
for(int x = a;x <= b; x++ ){
if(c%x==0){
count++;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
13,
41,
13,
20,
42,
2,
13,
13,
30,
14,
2,
2,
13,
13,
17,
30,
0,
13,
2,
13,
13,
14,
2,
13,
13,
3,
14,
2,
13,
13,
4,
18,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
40,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
2,
4,
18,
13,
13,
13,
2,
4,
18,
13,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
124,
8
],
[
124,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
43,
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
],
[
90,
91
],
[
91,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
83,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
100,
105
],
[
99,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
106,
111
],
[
98,
112
],
[
112,
113
],
[
113,
114
],
[
11,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
9,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
] | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint x = sc.nextInt();\n\n\t\tint i = 1;\n\t\tint c = x;\n\t\tArrayList<Integer> yakusu = new ArrayList<Integer>();\n\t\twhile(c >= i) {\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\n\t\tint count = 0;\n\t\tfor(int j = 0; j < yakusu.size(); j++) {\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}\n",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint x = sc.nextInt();\n\n\t\tint i = 1;\n\t\tint c = x;\n\t\tArrayList<Integer> yakusu = new ArrayList<Integer>();\n\t\twhile(c >= i) {\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\n\t\tint count = 0;\n\t\tfor(int j = 0; j < yakusu.size(); j++) {\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"Main",
"public static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint x = sc.nextInt();\n\n\t\tint i = 1;\n\t\tint c = x;\n\t\tArrayList<Integer> yakusu = new ArrayList<Integer>();\n\t\twhile(c >= i) {\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\n\t\tint count = 0;\n\t\tfor(int j = 0; j < yakusu.size(); j++) {\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint x = sc.nextInt();\n\n\t\tint i = 1;\n\t\tint c = x;\n\t\tArrayList<Integer> yakusu = new ArrayList<Integer>();\n\t\twhile(c >= i) {\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\n\t\tint count = 0;\n\t\tfor(int j = 0; j < yakusu.size(); j++) {\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int a = sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int b = sc.nextInt();",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int x = sc.nextInt();",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int i = 1;",
"i",
"1",
"int c = x;",
"c",
"x",
"ArrayList<Integer> yakusu = new ArrayList<Integer>();",
"yakusu",
"new ArrayList<Integer>()",
"while(c >= i) {\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}",
"c >= i",
"c",
"i",
"{\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}",
"if(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}",
"x % i == 0",
"x % i",
"x",
"i",
"0",
"{\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}",
"c = x / i",
"c",
"x / i",
"x",
"i",
"if(c < i) break;",
"c < i",
"c",
"i",
"break;",
"if(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}",
"i == c",
"i",
"c",
"yakusu.add(c)",
"yakusu.add",
"yakusu",
"c",
"{\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}",
"yakusu.add(i)",
"yakusu.add",
"yakusu",
"i",
"yakusu.add(c)",
"yakusu.add",
"yakusu",
"c",
"i++",
"i",
"int count = 0;",
"count",
"0",
"for(int j = 0; j < yakusu.size(); j++) {\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < yakusu.size()",
"j",
"yakusu.size()",
"yakusu.size",
"yakusu",
"j++",
"j++",
"j",
"{\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}",
"yakusu.get(j) >= a && yakusu.get(j) <= b",
"yakusu.get(j) >= a",
"yakusu.get(j)",
"yakusu.get",
"yakusu",
"j",
"a",
"yakusu.get(j) <= b",
"yakusu.get(j)",
"yakusu.get",
"yakusu",
"j",
"b",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint x = sc.nextInt();\n\n\t\tint i = 1;\n\t\tint c = x;\n\t\tArrayList<Integer> yakusu = new ArrayList<Integer>();\n\t\twhile(c >= i) {\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\n\t\tint count = 0;\n\t\tfor(int j = 0; j < yakusu.size(); j++) {\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a = sc.nextInt();\n\t\tint b = sc.nextInt();\n\t\tint x = sc.nextInt();\n\n\t\tint i = 1;\n\t\tint c = x;\n\t\tArrayList<Integer> yakusu = new ArrayList<Integer>();\n\t\twhile(c >= i) {\n\n//\t\t\tSystem.out.println(\"pass\");\n\t\t\tif(x % i == 0) {\n\n\t\t\t\tc = x / i;\n\n\t\t\t\tif(c < i) break;\n\n\t\t\t\tif(i == c) yakusu.add(c);\n\t\t\t\telse {\n\t\t\t\t\tyakusu.add(i);\n\t\t\t\t\tyakusu.add(c);\n\t\t\t\t}\n\t\t\t}\n\t\t\ti++;\n\n\t\t}\n\n\t\tint count = 0;\n\t\tfor(int j = 0; j < yakusu.size(); j++) {\n\t\t\tif(yakusu.get(j) >= a && yakusu.get(j) <= b) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(count);\n\n\t}\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);
int a = sc.nextInt();
int b = sc.nextInt();
int x = sc.nextInt();
int i = 1;
int c = x;
ArrayList<Integer> yakusu = new ArrayList<Integer>();
while(c >= i) {
// System.out.println("pass");
if(x % i == 0) {
c = x / i;
if(c < i) break;
if(i == c) yakusu.add(c);
else {
yakusu.add(i);
yakusu.add(c);
}
}
i++;
}
int count = 0;
for(int j = 0; j < yakusu.size(); j++) {
if(yakusu.get(j) >= a && yakusu.get(j) <= b) {
count++;
}
}
System.out.println(count);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
17,
8,
2,
4,
18,
13,
17,
40,
17,
4,
18,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
2,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
4,
18,
13,
17,
8,
2,
4,
18,
13,
17,
40,
17,
4,
18,
13,
4,
18,
13,
17,
0,
13,
4,
18,
13,
2,
4,
18,
13,
17,
17,
41,
13,
4,
18,
13,
4,
18,
13,
17,
8,
2,
4,
18,
13,
17,
40,
17,
4,
18,
13,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
14,
2,
13,
2,
13,
13,
30,
14,
2,
2,
13,
13,
2,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
176,
8
],
[
176,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
20,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
47,
52
],
[
52,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
46,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
36,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
66,
71
],
[
36,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
82,
87
],
[
87,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
36,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
101,
106
],
[
36,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
117,
122
],
[
122,
123
],
[
116,
124
],
[
124,
125
],
[
125,
126
],
[
116,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
36,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
131,
136
],
[
136,
137
],
[
136,
138
],
[
131,
139
],
[
139,
140
],
[
140,
141
],
[
131,
142
],
[
143,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
143,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
149,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
161,
163
],
[
156,
164
],
[
164,
165
],
[
165,
166
],
[
36,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
167,
172
],
[
9,
173
],
[
173,
174
],
[
0,
175
],
[
175,
176
],
[
175,
177
]
] | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tint yakusu = 0;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tint yakusu = 0;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tint yakusu = 0;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"main",
"{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tint yakusu = 0;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String buffer;",
"buffer",
"int yakusu = 0;",
"yakusu",
"0",
"try {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}",
"catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}",
"Exception ex",
"{\n\t\t\tex.printStackTrace();\n\t\t}",
"ex.printStackTrace()",
"ex.printStackTrace",
"ex",
"{\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t}",
"while ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}",
"(buffer = reader.readLine()) != null",
"(buffer = reader.readLine())",
"buffer",
"reader.readLine()",
"reader.readLine",
"reader",
"null",
"{\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}",
"Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));",
"a",
"Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"Integer.valueOf",
"Integer",
"buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))",
"buffer.substring",
"buffer",
"0",
"buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")",
"buffer.indexOf(\" \") == -1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"-1",
"1",
"buffer.length()",
"buffer.length",
"buffer",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"buffer = buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer",
"buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer.substring",
"buffer",
"buffer.indexOf(\" \") + 1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"1",
"Integer b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));",
"b",
"Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"Integer.valueOf",
"Integer",
"buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))",
"buffer.substring",
"buffer",
"0",
"buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")",
"buffer.indexOf(\" \") == -1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"-1",
"1",
"buffer.length()",
"buffer.length",
"buffer",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"buffer = buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer",
"buffer.substring(buffer.indexOf(\" \") + 1)",
"buffer.substring",
"buffer",
"buffer.indexOf(\" \") + 1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"1",
"Integer c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));",
"c",
"Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))",
"Integer.valueOf",
"Integer",
"buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))",
"buffer.substring",
"buffer",
"0",
"buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")",
"buffer.indexOf(\" \") == -1",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"-1",
"1",
"buffer.length()",
"buffer.length",
"buffer",
"buffer.indexOf(\" \")",
"buffer.indexOf",
"buffer",
"\" \"",
"for (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= c",
"i",
"c",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"{\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}",
"int sho = c / i;",
"sho",
"c / i",
"c",
"i",
"if (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"c == sho * i",
"c",
"sho * i",
"sho",
"i",
"{\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}",
"if (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}",
"a <= i && i <= b",
"a <= i",
"a",
"i",
"i <= b",
"i",
"b",
"{\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}",
"yakusu++",
"yakusu",
"System.out.println(yakusu)",
"System.out.println",
"System.out",
"System",
"System.out",
"yakusu",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tint yakusu = 0;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\t\tint yakusu = 0;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tInteger a = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger b = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\tInteger c = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\tfor (int i = 1; i <= c; i++) {\n\t\t\t\t\tint sho = c / i;\n\t\t\t\t\tif (c == sho * i) {\n\t\t\t\t\t\tif (a <= i && i <= b) {\n\t\t\t\t\t\t\tyakusu++;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.println(yakusu);\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}",
"Main"
] | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String buffer;
int yakusu = 0;
try {
while ((buffer = reader.readLine()) != null) {
Integer a = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")));
buffer = buffer.substring(buffer.indexOf(" ") + 1);
Integer b = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")));
buffer = buffer.substring(buffer.indexOf(" ") + 1);
Integer c = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")));
for (int i = 1; i <= c; i++) {
int sho = c / i;
if (c == sho * i) {
if (a <= i && i <= b) {
yakusu++;
}
}
}
System.out.println(yakusu);
}
} catch (Exception ex) {
ex.printStackTrace();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
4,
18,
13,
18,
13,
17,
41,
13,
41,
13,
17,
41,
13,
17,
11,
1,
0,
13,
13,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
14,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
] | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
87,
5
],
[
87,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
8,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
52,
62
],
[
62,
63
],
[
63,
64
],
[
52,
65
],
[
66,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
6,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
] | [
"import java.io.*;\n\npublic class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n int c = Integer.parseInt(str[2]);\n int i,mod=0,count=0;\n for(i=a;i<b+1;i++){\n mod=c%i;\n if(mod==0)count++;\n }\n System.out.println(count);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n int c = Integer.parseInt(str[2]);\n int i,mod=0,count=0;\n for(i=a;i<b+1;i++){\n mod=c%i;\n if(mod==0)count++;\n }\n System.out.println(count);\n }\n}",
"Main",
"public static void main(String[]args) throws NumberFormatException, IOException {\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n int c = Integer.parseInt(str[2]);\n int i,mod=0,count=0;\n for(i=a;i<b+1;i++){\n mod=c%i;\n if(mod==0)count++;\n }\n System.out.println(count);\n }",
"main",
"{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n int c = Integer.parseInt(str[2]);\n int i,mod=0,count=0;\n for(i=a;i<b+1;i++){\n mod=c%i;\n if(mod==0)count++;\n }\n System.out.println(count);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[]str= br.readLine().split(\" \");",
"str",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int a = Integer.parseInt(str[0]);",
"a",
"Integer.parseInt(str[0])",
"Integer.parseInt",
"Integer",
"str[0]",
"str",
"0",
"int b = Integer.parseInt(str[1]);",
"b",
"Integer.parseInt(str[1])",
"Integer.parseInt",
"Integer",
"str[1]",
"str",
"1",
"int c = Integer.parseInt(str[2]);",
"c",
"Integer.parseInt(str[2])",
"Integer.parseInt",
"Integer",
"str[2]",
"str",
"2",
"int i",
"i",
"mod=0",
"mod",
"0",
"count=0;",
"count",
"0",
"for(i=a;i<b+1;i++){\n mod=c%i;\n if(mod==0)count++;\n }",
"i=a;",
"i=a",
"i",
"a",
"i<b+1",
"i",
"b+1",
"b",
"1",
"i++",
"i++",
"i",
"{\n mod=c%i;\n if(mod==0)count++;\n }",
"{\n mod=c%i;\n if(mod==0)count++;\n }",
"mod=c%i",
"mod",
"c%i",
"c",
"i",
"if(mod==0)count++;",
"mod==0",
"mod",
"0",
"count++",
"count",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"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 \n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n int c = Integer.parseInt(str[2]);\n int i,mod=0,count=0;\n for(i=a;i<b+1;i++){\n mod=c%i;\n if(mod==0)count++;\n }\n System.out.println(count);\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 \n String[]str= br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int b = Integer.parseInt(str[1]);\n int c = Integer.parseInt(str[2]);\n int i,mod=0,count=0;\n for(i=a;i<b+1;i++){\n mod=c%i;\n if(mod==0)count++;\n }\n System.out.println(count);\n }\n}",
"Main"
] | import java.io.*;
public class Main{
public static void main(String[]args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[]str= br.readLine().split(" ");
int a = Integer.parseInt(str[0]);
int b = Integer.parseInt(str[1]);
int c = Integer.parseInt(str[2]);
int i,mod=0,count=0;
for(i=a;i<b+1;i++){
mod=c%i;
if(mod==0)count++;
}
System.out.println(count);
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.