node_ids
listlengths 4
1.4k
| edge_index
listlengths 1
2.22k
| text
listlengths 4
1.4k
| source
stringlengths 14
427k
|
---|---|---|---|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
17,
0,
13,
17,
0,
13,
2,
13,
17,
3,
40,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
2,
13,
17,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
144,
5
],
[
144,
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
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
43,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
65,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
61,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
81,
90
],
[
90,
91
],
[
90,
92
],
[
55,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
42,
98
],
[
31,
99
],
[
99,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
107,
108
],
[
6,
109
],
[
109,
110
],
[
144,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
117,
122
],
[
122,
123
],
[
122,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
117,
128
],
[
129,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
132,
136
],
[
136,
137
],
[
136,
138
],
[
113,
139
],
[
139,
140
],
[
111,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner scanner = new Scanner(System.in);\n\t String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t long N = Long.parseLong(scanner.next());\n StringBuilder sb = new StringBuilder();\n\t int z = 1;\n\t while(true) {\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }\n\n\t System.out.println(sb.toString());\n\t}\n\n\tpublic static double getValue(int z) {\n\t double sum = 0;\n\t\tfor (int i = 0; i < z; i++) {\n\t\t sum += Math.pow(26, i+1);\n\t\t}\n\t\treturn sum;\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner scanner = new Scanner(System.in);\n\t String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t long N = Long.parseLong(scanner.next());\n StringBuilder sb = new StringBuilder();\n\t int z = 1;\n\t while(true) {\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }\n\n\t System.out.println(sb.toString());\n\t}\n\n\tpublic static double getValue(int z) {\n\t double sum = 0;\n\t\tfor (int i = 0; i < z; i++) {\n\t\t sum += Math.pow(26, i+1);\n\t\t}\n\t\treturn sum;\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner scanner = new Scanner(System.in);\n\t String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t long N = Long.parseLong(scanner.next());\n StringBuilder sb = new StringBuilder();\n\t int z = 1;\n\t while(true) {\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }\n\n\t System.out.println(sb.toString());\n\t}",
"main",
"{\n\t Scanner scanner = new Scanner(System.in);\n\t String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t long N = Long.parseLong(scanner.next());\n StringBuilder sb = new StringBuilder();\n\t int z = 1;\n\t while(true) {\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }\n\n\t System.out.println(sb.toString());\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String alphabet = \"abcdefghijklmnopqrstuvwxyz\";",
"alphabet",
"\"abcdefghijklmnopqrstuvwxyz\"",
"long N = Long.parseLong(scanner.next());",
"N",
"Long.parseLong(scanner.next())",
"Long.parseLong",
"Long",
"scanner.next()",
"scanner.next",
"scanner",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int z = 1;",
"z",
"1",
"while(true) {\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }",
"true",
"{\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }",
"double sum = Main.getValue(z);",
"sum",
"Main.getValue(z)",
"Main.getValue",
"Main",
"z",
"if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }",
"N <= sum",
"N",
"sum",
"{\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }",
"for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < z",
"i",
"z",
"i++",
"i++",
"i",
"{\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }",
"{\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }",
"int index = (int)(N % 26);",
"index",
"(int)(N % 26)",
"N",
"26",
"if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }",
"index > 0",
"index",
"0",
"{\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t }",
"sb.insert(0, alphabet.charAt(index - 1))",
"sb.insert",
"sb",
"0",
"alphabet.charAt(index - 1)",
"alphabet.charAt",
"alphabet",
"index - 1",
"index",
"1",
"N -= index - 1",
"N",
"index - 1",
"index",
"1",
"{\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }",
"sb.insert(0, alphabet.charAt(25))",
"sb.insert",
"sb",
"0",
"alphabet.charAt(25)",
"alphabet.charAt",
"alphabet",
"25",
"N -= 25",
"N",
"25",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"break;",
"z++",
"z",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public static double getValue(int z) {\n\t double sum = 0;\n\t\tfor (int i = 0; i < z; i++) {\n\t\t sum += Math.pow(26, i+1);\n\t\t}\n\t\treturn sum;\n\t}",
"getValue",
"{\n\t double sum = 0;\n\t\tfor (int i = 0; i < z; i++) {\n\t\t sum += Math.pow(26, i+1);\n\t\t}\n\t\treturn sum;\n\t}",
"double sum = 0;",
"sum",
"0",
"for (int i = 0; i < z; i++) {\n\t\t sum += Math.pow(26, i+1);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < z",
"i",
"z",
"i++",
"i++",
"i",
"{\n\t\t sum += Math.pow(26, i+1);\n\t\t}",
"{\n\t\t sum += Math.pow(26, i+1);\n\t\t}",
"sum += Math.pow(26, i+1)",
"sum",
"Math.pow(26, i+1)",
"Math.pow",
"Math",
"26",
"i+1",
"i",
"1",
"return sum;",
"sum",
"int z",
"z",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner scanner = new Scanner(System.in);\n\t String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t long N = Long.parseLong(scanner.next());\n StringBuilder sb = new StringBuilder();\n\t int z = 1;\n\t while(true) {\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }\n\n\t System.out.println(sb.toString());\n\t}\n\n\tpublic static double getValue(int z) {\n\t double sum = 0;\n\t\tfor (int i = 0; i < z; i++) {\n\t\t sum += Math.pow(26, i+1);\n\t\t}\n\t\treturn sum;\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner scanner = new Scanner(System.in);\n\t String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t long N = Long.parseLong(scanner.next());\n StringBuilder sb = new StringBuilder();\n\t int z = 1;\n\t while(true) {\n\t \tdouble sum = Main.getValue(z);\n\t if (N <= sum) {\n\t for (int i = 0; i < z; i++) {\n\t int index = (int)(N % 26);\n\t if (index > 0) {\n\t sb.insert(0, alphabet.charAt(index - 1));\n\t N -= index - 1;\n\t } else {\n\t \tsb.insert(0, alphabet.charAt(25));\n\t \tN -= 25;\n\t }\n\n\t N = N / 26;\n\t }\n\t break;\n\t }\n\t z++;\n\t }\n\n\t System.out.println(sb.toString());\n\t}\n\n\tpublic static double getValue(int z) {\n\t double sum = 0;\n\t\tfor (int i = 0; i < z; i++) {\n\t\t sum += Math.pow(26, i+1);\n\t\t}\n\t\treturn sum;\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String alphabet = "abcdefghijklmnopqrstuvwxyz";
long N = Long.parseLong(scanner.next());
StringBuilder sb = new StringBuilder();
int z = 1;
while(true) {
double sum = Main.getValue(z);
if (N <= sum) {
for (int i = 0; i < z; i++) {
int index = (int)(N % 26);
if (index > 0) {
sb.insert(0, alphabet.charAt(index - 1));
N -= index - 1;
} else {
sb.insert(0, alphabet.charAt(25));
N -= 25;
}
N = N / 26;
}
break;
}
z++;
}
System.out.println(sb.toString());
}
public static double getValue(int z) {
double sum = 0;
for (int i = 0; i < z; i++) {
sum += Math.pow(26, i+1);
}
return sum;
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
4,
18,
13,
41,
13,
4,
13,
2,
13,
17,
0,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
4,
13,
2,
13,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
35,
13,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
0,
13,
17,
29,
17,
29,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
200,
5
],
[
200,
6
],
[
6,
7
],
[
200,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
10,
26
],
[
26,
27
],
[
26,
28
],
[
10,
29
],
[
29,
30
],
[
29,
31
],
[
10,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
10,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
8,
55
],
[
55,
56
],
[
200,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
60,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
60,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
60,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
60,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
60,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
60,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
60,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
60,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
60,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
60,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
60,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
60,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
60,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
60,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
60,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
60,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
60,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
60,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
60,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
60,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
60,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
60,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
60,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
60,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
193,
194
],
[
59,
195
],
[
195,
196
],
[
57,
197
],
[
197,
198
],
[
0,
199
],
[
199,
200
],
[
199,
201
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static long N;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tN = scan.nextLong();\n\t\tString S = judge(N % 26);\n\t\tN /= 26;\n\t\tint i = 1;\n\n\t\twhile (N != 0) {\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}\n\n\t\tSystem.out.println(S);\n\t}\n\n\tpublic static String judge(long x) {\n\n\t\tswitch ((int)x) {\n\t\tcase 1:\n\t\t\treturn \"a\";\n\t\tcase 2:\n\t\t\treturn \"b\";\n\t\tcase 3:\n\t\t\treturn \"c\";\n\t\tcase 4:\n\t\t\treturn \"d\";\n\t\tcase 5:\n\t\t\treturn \"e\";\n\t\tcase 6:\n\t\t\treturn \"f\";\n\t\tcase 7:\n\t\t\treturn \"g\";\n\t\tcase 8:\n\t\t\treturn \"h\";\n\t\tcase 9:\n\t\t\treturn \"i\";\n\t\tcase 10:\n\t\t\treturn \"j\";\n\t\tcase 11:\n\t\t\treturn \"k\";\n\t\tcase 12:\n\t\t\treturn \"l\";\n\t\tcase 13:\n\t\t\treturn \"m\";\n\t\tcase 14:\n\t\t\treturn \"n\";\n\t\tcase 15:\n\t\t\treturn \"o\";\n\t\tcase 16:\n\t\t\treturn \"p\";\n\t\tcase 17:\n\t\t\treturn \"q\";\n\t\tcase 18:\n\t\t\treturn \"r\";\n\t\tcase 19:\n\t\t\treturn \"s\";\n\t\tcase 20:\n\t\t\treturn \"t\";\n\t\tcase 21:\n\t\t\treturn \"u\";\n\t\tcase 22:\n\t\t\treturn \"v\";\n\t\tcase 23:\n\t\t\treturn \"w\";\n\t\tcase 24:\n\t\t\treturn \"x\";\n\t\tcase 25:\n\t\t\treturn \"y\";\n\t\tcase 0:\n\t\t\t N -= 1;\n\t\t\treturn \"z\";\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static long N;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tN = scan.nextLong();\n\t\tString S = judge(N % 26);\n\t\tN /= 26;\n\t\tint i = 1;\n\n\t\twhile (N != 0) {\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}\n\n\t\tSystem.out.println(S);\n\t}\n\n\tpublic static String judge(long x) {\n\n\t\tswitch ((int)x) {\n\t\tcase 1:\n\t\t\treturn \"a\";\n\t\tcase 2:\n\t\t\treturn \"b\";\n\t\tcase 3:\n\t\t\treturn \"c\";\n\t\tcase 4:\n\t\t\treturn \"d\";\n\t\tcase 5:\n\t\t\treturn \"e\";\n\t\tcase 6:\n\t\t\treturn \"f\";\n\t\tcase 7:\n\t\t\treturn \"g\";\n\t\tcase 8:\n\t\t\treturn \"h\";\n\t\tcase 9:\n\t\t\treturn \"i\";\n\t\tcase 10:\n\t\t\treturn \"j\";\n\t\tcase 11:\n\t\t\treturn \"k\";\n\t\tcase 12:\n\t\t\treturn \"l\";\n\t\tcase 13:\n\t\t\treturn \"m\";\n\t\tcase 14:\n\t\t\treturn \"n\";\n\t\tcase 15:\n\t\t\treturn \"o\";\n\t\tcase 16:\n\t\t\treturn \"p\";\n\t\tcase 17:\n\t\t\treturn \"q\";\n\t\tcase 18:\n\t\t\treturn \"r\";\n\t\tcase 19:\n\t\t\treturn \"s\";\n\t\tcase 20:\n\t\t\treturn \"t\";\n\t\tcase 21:\n\t\t\treturn \"u\";\n\t\tcase 22:\n\t\t\treturn \"v\";\n\t\tcase 23:\n\t\t\treturn \"w\";\n\t\tcase 24:\n\t\t\treturn \"x\";\n\t\tcase 25:\n\t\t\treturn \"y\";\n\t\tcase 0:\n\t\t\t N -= 1;\n\t\t\treturn \"z\";\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n}",
"Main",
"public static long N;",
"N",
"public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tN = scan.nextLong();\n\t\tString S = judge(N % 26);\n\t\tN /= 26;\n\t\tint i = 1;\n\n\t\twhile (N != 0) {\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}\n\n\t\tSystem.out.println(S);\n\t}",
"main",
"{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tN = scan.nextLong();\n\t\tString S = judge(N % 26);\n\t\tN /= 26;\n\t\tint i = 1;\n\n\t\twhile (N != 0) {\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}\n\n\t\tSystem.out.println(S);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"N = scan.nextLong()",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String S = judge(N % 26);",
"S",
"judge(N % 26)",
"judge",
"N % 26",
"N",
"26",
"N /= 26",
"N",
"26",
"int i = 1;",
"i",
"1",
"while (N != 0) {\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}",
"N != 0",
"N",
"0",
"{\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}",
"S = judge(N % 26) + S",
"S",
"judge(N % 26) + S",
"judge(N % 26)",
"judge",
"N % 26",
"N",
"26",
"S",
"N /= 26",
"N",
"26",
"System.out.println(S)",
"System.out.println",
"System.out",
"System",
"System.out",
"S",
"String[] args",
"args",
"public static String judge(long x) {\n\n\t\tswitch ((int)x) {\n\t\tcase 1:\n\t\t\treturn \"a\";\n\t\tcase 2:\n\t\t\treturn \"b\";\n\t\tcase 3:\n\t\t\treturn \"c\";\n\t\tcase 4:\n\t\t\treturn \"d\";\n\t\tcase 5:\n\t\t\treturn \"e\";\n\t\tcase 6:\n\t\t\treturn \"f\";\n\t\tcase 7:\n\t\t\treturn \"g\";\n\t\tcase 8:\n\t\t\treturn \"h\";\n\t\tcase 9:\n\t\t\treturn \"i\";\n\t\tcase 10:\n\t\t\treturn \"j\";\n\t\tcase 11:\n\t\t\treturn \"k\";\n\t\tcase 12:\n\t\t\treturn \"l\";\n\t\tcase 13:\n\t\t\treturn \"m\";\n\t\tcase 14:\n\t\t\treturn \"n\";\n\t\tcase 15:\n\t\t\treturn \"o\";\n\t\tcase 16:\n\t\t\treturn \"p\";\n\t\tcase 17:\n\t\t\treturn \"q\";\n\t\tcase 18:\n\t\t\treturn \"r\";\n\t\tcase 19:\n\t\t\treturn \"s\";\n\t\tcase 20:\n\t\t\treturn \"t\";\n\t\tcase 21:\n\t\t\treturn \"u\";\n\t\tcase 22:\n\t\t\treturn \"v\";\n\t\tcase 23:\n\t\t\treturn \"w\";\n\t\tcase 24:\n\t\t\treturn \"x\";\n\t\tcase 25:\n\t\t\treturn \"y\";\n\t\tcase 0:\n\t\t\t N -= 1;\n\t\t\treturn \"z\";\n\t\t}\n\n\t\treturn \"\";\n\t}",
"judge",
"{\n\n\t\tswitch ((int)x) {\n\t\tcase 1:\n\t\t\treturn \"a\";\n\t\tcase 2:\n\t\t\treturn \"b\";\n\t\tcase 3:\n\t\t\treturn \"c\";\n\t\tcase 4:\n\t\t\treturn \"d\";\n\t\tcase 5:\n\t\t\treturn \"e\";\n\t\tcase 6:\n\t\t\treturn \"f\";\n\t\tcase 7:\n\t\t\treturn \"g\";\n\t\tcase 8:\n\t\t\treturn \"h\";\n\t\tcase 9:\n\t\t\treturn \"i\";\n\t\tcase 10:\n\t\t\treturn \"j\";\n\t\tcase 11:\n\t\t\treturn \"k\";\n\t\tcase 12:\n\t\t\treturn \"l\";\n\t\tcase 13:\n\t\t\treturn \"m\";\n\t\tcase 14:\n\t\t\treturn \"n\";\n\t\tcase 15:\n\t\t\treturn \"o\";\n\t\tcase 16:\n\t\t\treturn \"p\";\n\t\tcase 17:\n\t\t\treturn \"q\";\n\t\tcase 18:\n\t\t\treturn \"r\";\n\t\tcase 19:\n\t\t\treturn \"s\";\n\t\tcase 20:\n\t\t\treturn \"t\";\n\t\tcase 21:\n\t\t\treturn \"u\";\n\t\tcase 22:\n\t\t\treturn \"v\";\n\t\tcase 23:\n\t\t\treturn \"w\";\n\t\tcase 24:\n\t\t\treturn \"x\";\n\t\tcase 25:\n\t\t\treturn \"y\";\n\t\tcase 0:\n\t\t\t N -= 1;\n\t\t\treturn \"z\";\n\t\t}\n\n\t\treturn \"\";\n\t}",
"switch ((int)x) {\n\t\tcase 1:\n\t\t\treturn \"a\";\n\t\tcase 2:\n\t\t\treturn \"b\";\n\t\tcase 3:\n\t\t\treturn \"c\";\n\t\tcase 4:\n\t\t\treturn \"d\";\n\t\tcase 5:\n\t\t\treturn \"e\";\n\t\tcase 6:\n\t\t\treturn \"f\";\n\t\tcase 7:\n\t\t\treturn \"g\";\n\t\tcase 8:\n\t\t\treturn \"h\";\n\t\tcase 9:\n\t\t\treturn \"i\";\n\t\tcase 10:\n\t\t\treturn \"j\";\n\t\tcase 11:\n\t\t\treturn \"k\";\n\t\tcase 12:\n\t\t\treturn \"l\";\n\t\tcase 13:\n\t\t\treturn \"m\";\n\t\tcase 14:\n\t\t\treturn \"n\";\n\t\tcase 15:\n\t\t\treturn \"o\";\n\t\tcase 16:\n\t\t\treturn \"p\";\n\t\tcase 17:\n\t\t\treturn \"q\";\n\t\tcase 18:\n\t\t\treturn \"r\";\n\t\tcase 19:\n\t\t\treturn \"s\";\n\t\tcase 20:\n\t\t\treturn \"t\";\n\t\tcase 21:\n\t\t\treturn \"u\";\n\t\tcase 22:\n\t\t\treturn \"v\";\n\t\tcase 23:\n\t\t\treturn \"w\";\n\t\tcase 24:\n\t\t\treturn \"x\";\n\t\tcase 25:\n\t\t\treturn \"y\";\n\t\tcase 0:\n\t\t\t N -= 1;\n\t\t\treturn \"z\";\n\t\t}",
"(int)x",
"case 1:",
"1",
"case 1:",
"return \"a\";",
"\"a\"",
"case 2:",
"2",
"case 2:",
"return \"b\";",
"\"b\"",
"case 3:",
"3",
"case 3:",
"return \"c\";",
"\"c\"",
"case 4:",
"4",
"case 4:",
"return \"d\";",
"\"d\"",
"case 5:",
"5",
"case 5:",
"return \"e\";",
"\"e\"",
"case 6:",
"6",
"case 6:",
"return \"f\";",
"\"f\"",
"case 7:",
"7",
"case 7:",
"return \"g\";",
"\"g\"",
"case 8:",
"8",
"case 8:",
"return \"h\";",
"\"h\"",
"case 9:",
"9",
"case 9:",
"return \"i\";",
"\"i\"",
"case 10:",
"10",
"case 10:",
"return \"j\";",
"\"j\"",
"case 11:",
"11",
"case 11:",
"return \"k\";",
"\"k\"",
"case 12:",
"12",
"case 12:",
"return \"l\";",
"\"l\"",
"case 13:",
"13",
"case 13:",
"return \"m\";",
"\"m\"",
"case 14:",
"14",
"case 14:",
"return \"n\";",
"\"n\"",
"case 15:",
"15",
"case 15:",
"return \"o\";",
"\"o\"",
"case 16:",
"16",
"case 16:",
"return \"p\";",
"\"p\"",
"case 17:",
"17",
"case 17:",
"return \"q\";",
"\"q\"",
"case 18:",
"18",
"case 18:",
"return \"r\";",
"\"r\"",
"case 19:",
"19",
"case 19:",
"return \"s\";",
"\"s\"",
"case 20:",
"20",
"case 20:",
"return \"t\";",
"\"t\"",
"case 21:",
"21",
"case 21:",
"return \"u\";",
"\"u\"",
"case 22:",
"22",
"case 22:",
"return \"v\";",
"\"v\"",
"case 23:",
"23",
"case 23:",
"return \"w\";",
"\"w\"",
"case 24:",
"24",
"case 24:",
"return \"x\";",
"\"x\"",
"case 25:",
"25",
"case 25:",
"return \"y\";",
"\"y\"",
"case 0:",
"0",
"case 0:",
"N -= 1",
"N",
"1",
"return \"z\";",
"\"z\"",
"return \"\";",
"\"\"",
"long x",
"x",
"public class Main {\n\n\tpublic static long N;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tN = scan.nextLong();\n\t\tString S = judge(N % 26);\n\t\tN /= 26;\n\t\tint i = 1;\n\n\t\twhile (N != 0) {\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}\n\n\t\tSystem.out.println(S);\n\t}\n\n\tpublic static String judge(long x) {\n\n\t\tswitch ((int)x) {\n\t\tcase 1:\n\t\t\treturn \"a\";\n\t\tcase 2:\n\t\t\treturn \"b\";\n\t\tcase 3:\n\t\t\treturn \"c\";\n\t\tcase 4:\n\t\t\treturn \"d\";\n\t\tcase 5:\n\t\t\treturn \"e\";\n\t\tcase 6:\n\t\t\treturn \"f\";\n\t\tcase 7:\n\t\t\treturn \"g\";\n\t\tcase 8:\n\t\t\treturn \"h\";\n\t\tcase 9:\n\t\t\treturn \"i\";\n\t\tcase 10:\n\t\t\treturn \"j\";\n\t\tcase 11:\n\t\t\treturn \"k\";\n\t\tcase 12:\n\t\t\treturn \"l\";\n\t\tcase 13:\n\t\t\treturn \"m\";\n\t\tcase 14:\n\t\t\treturn \"n\";\n\t\tcase 15:\n\t\t\treturn \"o\";\n\t\tcase 16:\n\t\t\treturn \"p\";\n\t\tcase 17:\n\t\t\treturn \"q\";\n\t\tcase 18:\n\t\t\treturn \"r\";\n\t\tcase 19:\n\t\t\treturn \"s\";\n\t\tcase 20:\n\t\t\treturn \"t\";\n\t\tcase 21:\n\t\t\treturn \"u\";\n\t\tcase 22:\n\t\t\treturn \"v\";\n\t\tcase 23:\n\t\t\treturn \"w\";\n\t\tcase 24:\n\t\t\treturn \"x\";\n\t\tcase 25:\n\t\t\treturn \"y\";\n\t\tcase 0:\n\t\t\t N -= 1;\n\t\t\treturn \"z\";\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n}",
"public class Main {\n\n\tpublic static long N;\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tN = scan.nextLong();\n\t\tString S = judge(N % 26);\n\t\tN /= 26;\n\t\tint i = 1;\n\n\t\twhile (N != 0) {\n\t\t\tS = judge(N % 26) + S;\n\t\t\tN /= 26;\n\n\t\t}\n\n\t\tSystem.out.println(S);\n\t}\n\n\tpublic static String judge(long x) {\n\n\t\tswitch ((int)x) {\n\t\tcase 1:\n\t\t\treturn \"a\";\n\t\tcase 2:\n\t\t\treturn \"b\";\n\t\tcase 3:\n\t\t\treturn \"c\";\n\t\tcase 4:\n\t\t\treturn \"d\";\n\t\tcase 5:\n\t\t\treturn \"e\";\n\t\tcase 6:\n\t\t\treturn \"f\";\n\t\tcase 7:\n\t\t\treturn \"g\";\n\t\tcase 8:\n\t\t\treturn \"h\";\n\t\tcase 9:\n\t\t\treturn \"i\";\n\t\tcase 10:\n\t\t\treturn \"j\";\n\t\tcase 11:\n\t\t\treturn \"k\";\n\t\tcase 12:\n\t\t\treturn \"l\";\n\t\tcase 13:\n\t\t\treturn \"m\";\n\t\tcase 14:\n\t\t\treturn \"n\";\n\t\tcase 15:\n\t\t\treturn \"o\";\n\t\tcase 16:\n\t\t\treturn \"p\";\n\t\tcase 17:\n\t\t\treturn \"q\";\n\t\tcase 18:\n\t\t\treturn \"r\";\n\t\tcase 19:\n\t\t\treturn \"s\";\n\t\tcase 20:\n\t\t\treturn \"t\";\n\t\tcase 21:\n\t\t\treturn \"u\";\n\t\tcase 22:\n\t\t\treturn \"v\";\n\t\tcase 23:\n\t\t\treturn \"w\";\n\t\tcase 24:\n\t\t\treturn \"x\";\n\t\tcase 25:\n\t\t\treturn \"y\";\n\t\tcase 0:\n\t\t\t N -= 1;\n\t\t\treturn \"z\";\n\t\t}\n\n\t\treturn \"\";\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static long N;
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
N = scan.nextLong();
String S = judge(N % 26);
N /= 26;
int i = 1;
while (N != 0) {
S = judge(N % 26) + S;
N /= 26;
}
System.out.println(S);
}
public static String judge(long x) {
switch ((int)x) {
case 1:
return "a";
case 2:
return "b";
case 3:
return "c";
case 4:
return "d";
case 5:
return "e";
case 6:
return "f";
case 7:
return "g";
case 8:
return "h";
case 9:
return "i";
case 10:
return "j";
case 11:
return "k";
case 12:
return "l";
case 13:
return "m";
case 14:
return "n";
case 15:
return "o";
case 16:
return "p";
case 17:
return "q";
case 18:
return "r";
case 19:
return "s";
case 20:
return "t";
case 21:
return "u";
case 22:
return "v";
case 23:
return "w";
case 24:
return "x";
case 25:
return "y";
case 0:
N -= 1;
return "z";
}
return "";
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
17,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
41,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
18,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
18,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
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
],
[
133,
8
],
[
133,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
60,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
51,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
84,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
84,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
11,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
108,
112
],
[
104,
113
],
[
113,
114
],
[
113,
115
],
[
104,
116
],
[
116,
117
],
[
117,
118
],
[
104,
119
],
[
120,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
121,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
9,
130
],
[
130,
131
],
[
0,
132
],
[
132,
133
],
[
132,
134
]
]
| [
"import java.util.*; \nimport java.lang.*; \n\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long N = scan.nextLong();\n \n char[] alpha = new char[26];\n for(int i = 0; i < 26; i++){\n alpha[i] = (char)(97 + i);\n }\n \n ArrayList<Character> ans = new ArrayList<>();\n while(N>=1){\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }\n \n for(int i=ans.size()-1; i>=0; i--){\n System.out.print(ans.get(i));\n }\n }\n \n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long N = scan.nextLong();\n \n char[] alpha = new char[26];\n for(int i = 0; i < 26; i++){\n alpha[i] = (char)(97 + i);\n }\n \n ArrayList<Character> ans = new ArrayList<>();\n while(N>=1){\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }\n \n for(int i=ans.size()-1; i>=0; i--){\n System.out.print(ans.get(i));\n }\n }\n \n}",
"Main",
"public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long N = scan.nextLong();\n \n char[] alpha = new char[26];\n for(int i = 0; i < 26; i++){\n alpha[i] = (char)(97 + i);\n }\n \n ArrayList<Character> ans = new ArrayList<>();\n while(N>=1){\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }\n \n for(int i=ans.size()-1; i>=0; i--){\n System.out.print(ans.get(i));\n }\n }",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n \n long N = scan.nextLong();\n \n char[] alpha = new char[26];\n for(int i = 0; i < 26; i++){\n alpha[i] = (char)(97 + i);\n }\n \n ArrayList<Character> ans = new ArrayList<>();\n while(N>=1){\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }\n \n for(int i=ans.size()-1; i>=0; i--){\n System.out.print(ans.get(i));\n }\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"char[] alpha = new char[26];",
"alpha",
"new char[26]",
"26",
"for(int i = 0; i < 26; i++){\n alpha[i] = (char)(97 + i);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n alpha[i] = (char)(97 + i);\n }",
"{\n alpha[i] = (char)(97 + i);\n }",
"alpha[i] = (char)(97 + i)",
"alpha[i]",
"alpha",
"i",
"(char)(97 + i)",
"97",
"i",
"ArrayList<Character> ans = new ArrayList<>();",
"ans",
"new ArrayList<>()",
"while(N>=1){\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }",
"N>=1",
"N",
"1",
"{\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }",
"long a = N%26;",
"a",
"N%26",
"N",
"26",
"int b = (int) a;",
"b",
"(int) a",
"if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }",
"b!=0",
"b",
"0",
"{\n ans.add(alpha[b-1]);\n }",
"ans.add(alpha[b-1])",
"ans.add",
"ans",
"alpha[b-1]",
"alpha",
"b-1",
"b",
"1",
"if(b==0){\n ans.add(alpha[25]);\n }",
"b==0",
"b",
"0",
"{\n ans.add(alpha[25]);\n }",
"ans.add(alpha[25])",
"ans.add",
"ans",
"alpha[25]",
"alpha",
"25",
"if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }",
"N%26!=0",
"N%26",
"N",
"26",
"0",
"{\n N=N/26;\n }",
"N=N/26",
"N",
"N/26",
"N",
"26",
"{\n N=N/26-1;\n }",
"N=N/26-1",
"N",
"N/26-1",
"N/26",
"N",
"26",
"1",
"for(int i=ans.size()-1; i>=0; i--){\n System.out.print(ans.get(i));\n }",
"int i=ans.size()-1;",
"int i=ans.size()-1;",
"i",
"ans.size()-1",
"ans.size()",
"ans.size",
"ans",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(ans.get(i));\n }",
"{\n System.out.print(ans.get(i));\n }",
"System.out.print(ans.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"ans.get(i)",
"ans.get",
"ans",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long N = scan.nextLong();\n \n char[] alpha = new char[26];\n for(int i = 0; i < 26; i++){\n alpha[i] = (char)(97 + i);\n }\n \n ArrayList<Character> ans = new ArrayList<>();\n while(N>=1){\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }\n \n for(int i=ans.size()-1; i>=0; i--){\n System.out.print(ans.get(i));\n }\n }\n \n}",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n \n long N = scan.nextLong();\n \n char[] alpha = new char[26];\n for(int i = 0; i < 26; i++){\n alpha[i] = (char)(97 + i);\n }\n \n ArrayList<Character> ans = new ArrayList<>();\n while(N>=1){\n long a = N%26;\n int b = (int) a;\n if(b!=0){\n ans.add(alpha[b-1]);\n }else if(b==0){\n ans.add(alpha[25]);\n }\n \n if(N%26!=0){\n N=N/26;\n }else{\n N=N/26-1;\n }\n }\n \n for(int i=ans.size()-1; i>=0; i--){\n System.out.print(ans.get(i));\n }\n }\n \n}",
"Main"
]
| import java.util.*;
import java.lang.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long N = scan.nextLong();
char[] alpha = new char[26];
for(int i = 0; i < 26; i++){
alpha[i] = (char)(97 + i);
}
ArrayList<Character> ans = new ArrayList<>();
while(N>=1){
long a = N%26;
int b = (int) a;
if(b!=0){
ans.add(alpha[b-1]);
}else if(b==0){
ans.add(alpha[25]);
}
if(N%26!=0){
N=N/26;
}else{
N=N/26-1;
}
}
for(int i=ans.size()-1; i>=0; i--){
System.out.print(ans.get(i));
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
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
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"//package com.company;\n\n\nimport java.util.Scanner;\n\npublic class Main{\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n StringBuilder ans=new StringBuilder();\n long n=sc.nextLong();\n while(n>0){\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }\n System.out.println(ans.reverse().toString());\n\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n StringBuilder ans=new StringBuilder();\n long n=sc.nextLong();\n while(n>0){\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }\n System.out.println(ans.reverse().toString());\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n StringBuilder ans=new StringBuilder();\n long n=sc.nextLong();\n while(n>0){\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }\n System.out.println(ans.reverse().toString());\n\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n StringBuilder ans=new StringBuilder();\n long n=sc.nextLong();\n while(n>0){\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }\n System.out.println(ans.reverse().toString());\n\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"StringBuilder ans=new StringBuilder();",
"ans",
"new StringBuilder()",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"while(n>0){\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }",
"n>0",
"n",
"0",
"{\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }",
"n--",
"n",
"ans.append((char) ((n % 26) + 'a'))",
"ans.append",
"ans",
"(char) ((n % 26) + 'a')",
"(n % 26)",
"n",
"26",
"'a'",
"n/=26",
"n",
"26",
"System.out.println(ans.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.reverse().toString()",
"ans.reverse().toString",
"ans.reverse()",
"ans.reverse",
"ans",
"String[] args",
"args",
"public class Main{\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n StringBuilder ans=new StringBuilder();\n long n=sc.nextLong();\n while(n>0){\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }\n System.out.println(ans.reverse().toString());\n\n }\n}",
"public class Main{\n\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n StringBuilder ans=new StringBuilder();\n long n=sc.nextLong();\n while(n>0){\n n--;\n ans.append((char) ((n % 26) + 'a'));\n n/=26;\n }\n System.out.println(ans.reverse().toString());\n\n }\n}",
"Main"
]
| //package com.company;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
StringBuilder ans=new StringBuilder();
long n=sc.nextLong();
while(n>0){
n--;
ans.append((char) ((n % 26) + 'a'));
n/=26;
}
System.out.println(ans.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
17,
17,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
0,
13,
13,
41,
13,
4,
18,
13,
2,
13,
2,
13,
13,
0,
13,
13,
29,
2,
4,
13,
13,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
77,
5
],
[
77,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
25,
29
],
[
25,
30
],
[
6,
31
],
[
31,
32
],
[
77,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
35,
43
],
[
43,
44
],
[
43,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
35,
56
],
[
56,
57
],
[
56,
58
],
[
35,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
61,
64
],
[
61,
65
],
[
61,
66
],
[
60,
67
],
[
33,
68
],
[
68,
69
],
[
33,
70
],
[
70,
71
],
[
33,
72
],
[
72,
73
],
[
33,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\t// 0がaになり、1大きい数が渡されるけど、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 1, 26));\n\t\t\n\t}\n\t\n\t/**\n\t * 10進数をオリジナル進数(アルファベット)文字列に変換\n\t * @param dNum 変換する10進数\n\t * @param origin 10進数の0をオリジナル進数で変換した後の文字\n\t * @param offset オリジナル変数の0に何を足せば10進数の0になるか?\n\t * @param baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, final int offset, final int baseNumber) {\n\t\t\n\t\t// よくわからんワンちゃん\n\t\tif(dNum <= 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\t\n\t\t// 邪魔なのでオフセットは消化\n\t\tdNum -= offset;\n\t\t\n\t\t// char型とintの足し算で文字を求める\n\t\tString ret = String.valueOf((char)(origin + dNum % baseNumber));\n\t\t// 小数点以下は切り捨てられる\n\t\tdNum /= baseNumber ; \n\t\t\n\t\t// 次の位も頼みます\n\t\treturn convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\t// 0がaになり、1大きい数が渡されるけど、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 1, 26));\n\t\t\n\t}\n\t\n\t/**\n\t * 10進数をオリジナル進数(アルファベット)文字列に変換\n\t * @param dNum 変換する10進数\n\t * @param origin 10進数の0をオリジナル進数で変換した後の文字\n\t * @param offset オリジナル変数の0に何を足せば10進数の0になるか?\n\t * @param baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, final int offset, final int baseNumber) {\n\t\t\n\t\t// よくわからんワンちゃん\n\t\tif(dNum <= 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\t\n\t\t// 邪魔なのでオフセットは消化\n\t\tdNum -= offset;\n\t\t\n\t\t// char型とintの足し算で文字を求める\n\t\tString ret = String.valueOf((char)(origin + dNum % baseNumber));\n\t\t// 小数点以下は切り捨てられる\n\t\tdNum /= baseNumber ; \n\t\t\n\t\t// 次の位も頼みます\n\t\treturn convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\t// 0がaになり、1大きい数が渡されるけど、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 1, 26));\n\t\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\t// 0がaになり、1大きい数が渡されるけど、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 1, 26));\n\t\t\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"scan.close()",
"scan.close",
"scan",
"System.out.println(convertOriginalShinsuStr(n, 'a', 1, 26))",
"System.out.println",
"System.out",
"System",
"System.out",
"convertOriginalShinsuStr(n, 'a', 1, 26)",
"convertOriginalShinsuStr",
"n",
"'a'",
"1",
"26",
"String[] args",
"args",
"/**\n\t * 10進数をオリジナル進数(アルファベット)文字列に変換\n\t * @param dNum 変換する10進数\n\t * @param origin 10進数の0をオリジナル進数で変換した後の文字\n\t * @param offset オリジナル変数の0に何を足せば10進数の0になるか?\n\t * @param baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, final int offset, final int baseNumber) {\n\t\t\n\t\t// よくわからんワンちゃん\n\t\tif(dNum <= 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\t\n\t\t// 邪魔なのでオフセットは消化\n\t\tdNum -= offset;\n\t\t\n\t\t// char型とintの足し算で文字を求める\n\t\tString ret = String.valueOf((char)(origin + dNum % baseNumber));\n\t\t// 小数点以下は切り捨てられる\n\t\tdNum /= baseNumber ; \n\t\t\n\t\t// 次の位も頼みます\n\t\treturn convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;\n\t\t\n\t}",
"convertOriginalShinsuStr",
"{\n\t\t\n\t\t// よくわからんワンちゃん\n\t\tif(dNum <= 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\t\n\t\t// 邪魔なのでオフセットは消化\n\t\tdNum -= offset;\n\t\t\n\t\t// char型とintの足し算で文字を求める\n\t\tString ret = String.valueOf((char)(origin + dNum % baseNumber));\n\t\t// 小数点以下は切り捨てられる\n\t\tdNum /= baseNumber ; \n\t\t\n\t\t// 次の位も頼みます\n\t\treturn convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;\n\t\t\n\t}",
"if(dNum <= 0) {\n\t\t\treturn \"\";\n\t\t}",
"dNum <= 0",
"dNum",
"0",
"{\n\t\t\treturn \"\";\n\t\t}",
"return \"\";",
"\"\"",
"dNum -= offset",
"dNum",
"offset",
"String ret = String.valueOf((char)(origin + dNum % baseNumber));",
"ret",
"String.valueOf((char)(origin + dNum % baseNumber))",
"String.valueOf",
"String",
"(char)(origin + dNum % baseNumber)",
"origin",
"dNum % baseNumber",
"dNum",
"baseNumber",
"dNum /= baseNumber",
"dNum",
"baseNumber",
"return convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;",
"convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret",
"convertOriginalShinsuStr(dNum, origin, offset, baseNumber)",
"convertOriginalShinsuStr",
"dNum",
"origin",
"offset",
"baseNumber",
"ret",
"long dNum",
"dNum",
"final char origin",
"origin",
"final int offset",
"offset",
"final int baseNumber",
"baseNumber",
"public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\t// 0がaになり、1大きい数が渡されるけど、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 1, 26));\n\t\t\n\t}\n\t\n\t/**\n\t * 10進数をオリジナル進数(アルファベット)文字列に変換\n\t * @param dNum 変換する10進数\n\t * @param origin 10進数の0をオリジナル進数で変換した後の文字\n\t * @param offset オリジナル変数の0に何を足せば10進数の0になるか?\n\t * @param baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, final int offset, final int baseNumber) {\n\t\t\n\t\t// よくわからんワンちゃん\n\t\tif(dNum <= 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\t\n\t\t// 邪魔なのでオフセットは消化\n\t\tdNum -= offset;\n\t\t\n\t\t// char型とintの足し算で文字を求める\n\t\tString ret = String.valueOf((char)(origin + dNum % baseNumber));\n\t\t// 小数点以下は切り捨てられる\n\t\tdNum /= baseNumber ; \n\t\t\n\t\t// 次の位も頼みます\n\t\treturn convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;\n\t\t\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tscan.close();\n\t\t\n\t\t// 0がaになり、1大きい数が渡されるけど、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 1, 26));\n\t\t\n\t}\n\t\n\t/**\n\t * 10進数をオリジナル進数(アルファベット)文字列に変換\n\t * @param dNum 変換する10進数\n\t * @param origin 10進数の0をオリジナル進数で変換した後の文字\n\t * @param offset オリジナル変数の0に何を足せば10進数の0になるか?\n\t * @param baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, final int offset, final int baseNumber) {\n\t\t\n\t\t// よくわからんワンちゃん\n\t\tif(dNum <= 0) {\n\t\t\treturn \"\";\n\t\t}\n\t\t\n\t\t// 邪魔なのでオフセットは消化\n\t\tdNum -= offset;\n\t\t\n\t\t// char型とintの足し算で文字を求める\n\t\tString ret = String.valueOf((char)(origin + dNum % baseNumber));\n\t\t// 小数点以下は切り捨てられる\n\t\tdNum /= baseNumber ; \n\t\t\n\t\t// 次の位も頼みます\n\t\treturn convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;\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);
long n = scan.nextLong();
scan.close();
// 0がaになり、1大きい数が渡されるけど、アルファベットだけの26進数にしてね
System.out.println(convertOriginalShinsuStr(n, 'a', 1, 26));
}
/**
* 10進数をオリジナル進数(アルファベット)文字列に変換
* @param dNum 変換する10進数
* @param origin 10進数の0をオリジナル進数で変換した後の文字
* @param offset オリジナル変数の0に何を足せば10進数の0になるか?
* @param baseNumber 何進数に変換するの
* @return オリジナル進数(アルファベット)文字列
*/
public static String convertOriginalShinsuStr(
long dNum, final char origin, final int offset, final int baseNumber) {
// よくわからんワンちゃん
if(dNum <= 0) {
return "";
}
// 邪魔なのでオフセットは消化
dNum -= offset;
// char型とintの足し算で文字を求める
String ret = String.valueOf((char)(origin + dNum % baseNumber));
// 小数点以下は切り捨てられる
dNum /= baseNumber ;
// 次の位も頼みます
return convertOriginalShinsuStr(dNum, origin, offset, baseNumber) + ret;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
41,
13,
20,
12,
13,
30,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
13,
4,
18,
4,
18,
13,
4,
18,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
0,
13,
17,
29,
4,
18,
13,
12,
13,
30,
29,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
167,
26
],
[
167,
27
],
[
27,
28
],
[
27,
29
],
[
167,
30
],
[
30,
31
],
[
30,
32
],
[
167,
33
],
[
33,
34
],
[
167,
35
],
[
35,
36
],
[
167,
37
],
[
37,
38
],
[
37,
39
],
[
167,
40
],
[
40,
41
],
[
40,
42
],
[
167,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
57,
68
],
[
68,
69
],
[
68,
70
],
[
45,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
45,
79
],
[
79,
80
],
[
80,
81
],
[
167,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
82,
88
],
[
88,
89
],
[
167,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
90,
102
],
[
102,
103
],
[
167,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
167,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
167,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
129,
130
],
[
167,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
134,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
133,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
167,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
167,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
0,
166
],
[
166,
167
],
[
166,
168
]
]
| [
"\n\nimport java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\n\npublic class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long n = nl();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }\n out.println(sb.reverse().toString());\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long n = nl();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }\n out.println(sb.reverse().toString());\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"Main",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"int totalCases",
"totalCases",
"testNum;",
"testNum",
"PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));",
"out",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))",
"void solve() throws IOException {\n\n }",
"solve",
"{\n\n }",
"void execute() throws IOException {\n long n = nl();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }\n out.println(sb.reverse().toString());\n\n out.close();\n }",
"execute",
"{\n long n = nl();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }\n out.println(sb.reverse().toString());\n\n out.close();\n }",
"long n = nl();",
"n",
"nl()",
"nl",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }",
"n--",
"n",
"sb.append((char)(n%26 + 'a'))",
"sb.append",
"sb",
"(char)(n%26 + 'a')",
"n%26",
"n",
"26",
"'a'",
"n /= 26",
"n",
"26",
"out.println(sb.reverse().toString())",
"out.println",
"out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"out.close()",
"out.close",
"out",
"public static void main(String[] args) throws IOException {\n new Main().execute();\n }",
"main",
"{\n new Main().execute();\n }",
"new Main().execute()",
"new Main().execute",
"new Main()",
"String[] args",
"args",
"void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }",
"debug",
"{\n System.out.println(Arrays.deepToString(os));\n }",
"System.out.println(Arrays.deepToString(os))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"int ni() throws IOException {\n return Integer.parseInt(ns());\n }",
"ni",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"long nl() throws IOException {\n return Long.parseLong(ns());\n }",
"nl",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"double nd() throws IOException {\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }",
"ns",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n tokenizer = new StringTokenizer(br.readLine());\n }",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }",
"nline",
"{\n tokenizer = null;\n return br.readLine();\n }",
"tokenizer = null",
"tokenizer",
"null",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"boolean input() throws IOException {\n return true;\n }",
"input",
"{\n return true;\n }",
"return true;",
"true",
"public class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long n = nl();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }\n out.println(sb.reverse().toString());\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"public class Main {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer tokenizer = null;\n int totalCases, testNum;\n\n PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));\n\n void solve() throws IOException {\n\n }\n\n void execute() throws IOException {\n long n = nl();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n sb.append((char)(n%26 + 'a'));\n n /= 26;\n }\n out.println(sb.reverse().toString());\n\n out.close();\n }\n\n public static void main(String[] args) throws IOException {\n new Main().execute();\n }\n\n void debug(Object... os) {\n System.out.println(Arrays.deepToString(os));\n }\n\n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n\n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n\n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n\n String ns() throws IOException {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(br.readLine());\n }\n return tokenizer.nextToken();\n }\n\n String nline() throws IOException {\n tokenizer = null;\n return br.readLine();\n }\n\n boolean input() throws IOException {\n return true;\n }\n\n}",
"Main"
]
|
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.Arrays;
import java.util.StringTokenizer;
public class Main {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer tokenizer = null;
int totalCases, testNum;
PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
void solve() throws IOException {
}
void execute() throws IOException {
long n = nl();
StringBuilder sb = new StringBuilder();
while (n > 0) {
n--;
sb.append((char)(n%26 + 'a'));
n /= 26;
}
out.println(sb.reverse().toString());
out.close();
}
public static void main(String[] args) throws IOException {
new Main().execute();
}
void debug(Object... os) {
System.out.println(Arrays.deepToString(os));
}
int ni() throws IOException {
return Integer.parseInt(ns());
}
long nl() throws IOException {
return Long.parseLong(ns());
}
double nd() throws IOException {
return Double.parseDouble(ns());
}
String ns() throws IOException {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
tokenizer = new StringTokenizer(br.readLine());
}
return tokenizer.nextToken();
}
String nline() throws IOException {
tokenizer = null;
return br.readLine();
}
boolean input() throws IOException {
return true;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
13,
4,
18,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
17,
2,
17,
2,
13,
17,
0,
13,
17,
40,
13,
4,
18,
13,
17,
2,
17,
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
],
[
62,
8
],
[
62,
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
],
[
11,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
31,
41
],
[
41,
42
],
[
41,
43
],
[
31,
44
],
[
44,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
9,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import static java.lang.Long.parseLong;\n\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = parseLong(sc.next()) - 1;\n StringBuilder sb = new StringBuilder();\n while (n >= 26) {\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }\n sb.insert(0, (char) ('a' + n));\n System.out.println(sb);\n }\n}",
"import static java.lang.Long.parseLong;",
"import static java.lang.Long.parseLong;",
"import static java.lang.Long.parseLong;",
"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 long n = parseLong(sc.next()) - 1;\n StringBuilder sb = new StringBuilder();\n while (n >= 26) {\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }\n sb.insert(0, (char) ('a' + n));\n System.out.println(sb);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = parseLong(sc.next()) - 1;\n StringBuilder sb = new StringBuilder();\n while (n >= 26) {\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }\n sb.insert(0, (char) ('a' + n));\n System.out.println(sb);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = parseLong(sc.next()) - 1;\n StringBuilder sb = new StringBuilder();\n while (n >= 26) {\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }\n sb.insert(0, (char) ('a' + n));\n System.out.println(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = parseLong(sc.next()) - 1;",
"n",
"parseLong(sc.next()) - 1",
"parseLong(sc.next())",
"parseLong",
"sc.next()",
"sc.next",
"sc",
"1",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n >= 26) {\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }",
"n >= 26",
"n",
"26",
"{\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }",
"sb.insert(0, (char) ('a' + n % 26))",
"sb.insert",
"sb",
"0",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"n--",
"n",
"sb.insert(0, (char) ('a' + n))",
"sb.insert",
"sb",
"0",
"(char) ('a' + n)",
"'a'",
"n",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = parseLong(sc.next()) - 1;\n StringBuilder sb = new StringBuilder();\n while (n >= 26) {\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }\n sb.insert(0, (char) ('a' + n));\n System.out.println(sb);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = parseLong(sc.next()) - 1;\n StringBuilder sb = new StringBuilder();\n while (n >= 26) {\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n n--;\n }\n sb.insert(0, (char) ('a' + n));\n System.out.println(sb);\n }\n}",
"Main"
]
| import static java.lang.Long.parseLong;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = parseLong(sc.next()) - 1;
StringBuilder sb = new StringBuilder();
while (n >= 26) {
sb.insert(0, (char) ('a' + n % 26));
n /= 26;
n--;
}
sb.insert(0, (char) ('a' + n));
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
17,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
52,
5
],
[
52,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long input = scanner.nextLong();\n\n StringBuilder sbr = new StringBuilder();\n while ( input > 0 ){\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }\n\n System.out.println( sbr.reverse().toString());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long input = scanner.nextLong();\n\n StringBuilder sbr = new StringBuilder();\n while ( input > 0 ){\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }\n\n System.out.println( sbr.reverse().toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long input = scanner.nextLong();\n\n StringBuilder sbr = new StringBuilder();\n while ( input > 0 ){\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }\n\n System.out.println( sbr.reverse().toString());\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n long input = scanner.nextLong();\n\n StringBuilder sbr = new StringBuilder();\n while ( input > 0 ){\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }\n\n System.out.println( sbr.reverse().toString());\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long input = scanner.nextLong();",
"input",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"StringBuilder sbr = new StringBuilder();",
"sbr",
"new StringBuilder()",
"while ( input > 0 ){\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }",
"input > 0",
"input",
"0",
"{\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }",
"input -= 1",
"input",
"1",
"sbr.append( (char) ( 'a' + input % 26 ))",
"sbr.append",
"sbr",
"(char) ( 'a' + input % 26 )",
"'a'",
"input % 26",
"input",
"26",
"input /= 26",
"input",
"26",
"System.out.println( sbr.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sbr.reverse().toString()",
"sbr.reverse().toString",
"sbr.reverse()",
"sbr.reverse",
"sbr",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long input = scanner.nextLong();\n\n StringBuilder sbr = new StringBuilder();\n while ( input > 0 ){\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }\n\n System.out.println( sbr.reverse().toString());\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long input = scanner.nextLong();\n\n StringBuilder sbr = new StringBuilder();\n while ( input > 0 ){\n input -= 1;\n sbr.append( (char) ( 'a' + input % 26 ));\n input /= 26;\n }\n\n System.out.println( sbr.reverse().toString());\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long input = scanner.nextLong();
StringBuilder sbr = new StringBuilder();
while ( input > 0 ){
input -= 1;
sbr.append( (char) ( 'a' + input % 26 ));
input /= 26;
}
System.out.println( sbr.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
41,
13,
2,
17,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
34,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
30,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
50,
61
],
[
61,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n long n = in.nextLong();\n String s = \"\";\n while(n > 0) {\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }\n System.out.println(s);\n\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n long n = in.nextLong();\n String s = \"\";\n while(n > 0) {\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }\n System.out.println(s);\n\n \n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n long n = in.nextLong();\n String s = \"\";\n while(n > 0) {\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }\n System.out.println(s);\n\n \n }",
"main",
"{\n \tScanner in = new Scanner(System.in);\n long n = in.nextLong();\n String s = \"\";\n while(n > 0) {\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }\n System.out.println(s);\n\n \n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"String s = \"\";",
"s",
"\"\"",
"while(n > 0) {\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }",
"n > 0",
"n",
"0",
"{\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }",
"long mod = n%26;",
"mod",
"n%26",
"n",
"26",
"if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }",
"mod != 0",
"mod",
"0",
"{\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n }",
"char c = (char) (96 + mod);",
"c",
"(char) (96 + mod)",
"96",
"mod",
"s = c + s",
"s",
"c + s",
"c",
"s",
"n = n/26",
"n",
"n/26",
"n",
"26",
"{\n s = 'z' + s;\n n = n/26;\n n--;\n }",
"s = 'z' + s",
"s",
"'z' + s",
"'z'",
"s",
"n = n/26",
"n",
"n/26",
"n",
"26",
"n--",
"n",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n long n = in.nextLong();\n String s = \"\";\n while(n > 0) {\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }\n System.out.println(s);\n\n \n }\n}",
"public class Main{\n public static void main(String[] args){\n \tScanner in = new Scanner(System.in);\n long n = in.nextLong();\n String s = \"\";\n while(n > 0) {\n long mod = n%26;\n if(mod != 0) {\n char c = (char) (96 + mod);\n s = c + s;\n n = n/26;\n } else {\n s = 'z' + s;\n n = n/26;\n n--;\n }\n }\n System.out.println(s);\n\n \n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner in = new Scanner(System.in);
long n = in.nextLong();
String s = "";
while(n > 0) {
long mod = n%26;
if(mod != 0) {
char c = (char) (96 + mod);
s = c + s;
n = n/26;
} else {
s = 'z' + s;
n = n/26;
n--;
}
}
System.out.println(s);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
40,
13,
41,
13,
17,
42,
2,
17,
13,
30,
40,
13,
41,
13,
2,
13,
17,
0,
13,
2,
13,
18,
13,
13,
0,
13,
2,
13,
17,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
107,
20
],
[
107,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
23,
36
],
[
36,
37
],
[
36,
38
],
[
23,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
23,
61
],
[
61,
62
],
[
61,
63
],
[
23,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
68,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
23,
88
],
[
88,
89
],
[
88,
90
],
[
23,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
23,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
21,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
]
| [
"\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Scanner;\n \npublic class Main { \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(0<n){\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }\n StringBuilder sb = new StringBuilder(ans);\n String s = sb.reverse().toString();\n System.out.println(s);\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main { \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(0<n){\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }\n StringBuilder sb = new StringBuilder(ans);\n String s = sb.reverse().toString();\n System.out.println(s);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(0<n){\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }\n StringBuilder sb = new StringBuilder(ans);\n String s = sb.reverse().toString();\n System.out.println(s);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(0<n){\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }\n StringBuilder sb = new StringBuilder(ans);\n String s = sb.reverse().toString();\n System.out.println(s);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String[] list = new String[26];",
"list",
"new String[26]",
"26",
"char temp = 'a';",
"temp",
"'a'",
"for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n list[i] = String.valueOf(temp++);\n }",
"{\n list[i] = String.valueOf(temp++);\n }",
"list[i] = String.valueOf(temp++)",
"list[i]",
"list",
"i",
"String.valueOf(temp++)",
"String.valueOf",
"String",
"temp++",
"temp",
"String ans = \"\";",
"ans",
"\"\"",
"while(0<n){\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }",
"0<n",
"0",
"n",
"{\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }",
"n--",
"n",
"int mod = (int)( n % 26 );",
"mod",
"(int)( n % 26 )",
"n",
"26",
"ans =ans + list[mod]",
"ans",
"ans + list[mod]",
"ans",
"list[mod]",
"list",
"mod",
"n = n /26",
"n",
"n /26",
"n",
"26",
"StringBuilder sb = new StringBuilder(ans);",
"sb",
"new StringBuilder(ans)",
"String s = sb.reverse().toString();",
"s",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main { \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(0<n){\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }\n StringBuilder sb = new StringBuilder(ans);\n String s = sb.reverse().toString();\n System.out.println(s);\n }\n}",
"public class Main { \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(0<n){\n n--;\n int mod = (int)( n % 26 );\n ans =ans + list[mod];\n n = n /26;\n }\n StringBuilder sb = new StringBuilder(ans);\n String s = sb.reverse().toString();\n System.out.println(s);\n }\n}",
"Main"
]
|
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
String[] list = new String[26];
char temp = 'a';
for(int i=0;i<26;i++){
list[i] = String.valueOf(temp++);
}
String ans = "";
while(0<n){
n--;
int mod = (int)( n % 26 );
ans =ans + list[mod];
n = n /26;
}
StringBuilder sb = new StringBuilder(ans);
String s = sb.reverse().toString();
System.out.println(s);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
4,
18,
13,
17,
2,
17,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
24,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}\n\n\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}",
"n--",
"n",
"int t = (int) (n % 26);",
"t",
"(int) (n % 26)",
"n",
"26",
"sb.insert(0, (char) ('a' + t))",
"sb.insert",
"sb",
"0",
"(char) ('a' + t)",
"'a'",
"t",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tint t = (int) (n % 26);\n\t\t\tsb.insert(0, (char) ('a' + t));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Long n = sc.nextLong();
StringBuilder sb = new StringBuilder();
while (n > 0) {
n--;
int t = (int) (n % 26);
sb.insert(0, (char) ('a' + t));
n = n / 26;
}
System.out.println(sb.toString());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
40,
13,
17,
30,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
54,
5
],
[
54,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
6,
51
],
[
51,
52
],
[
0,
53
],
[
53,
54
],
[
53,
55
]
]
| [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\nStringBuilder sb = new StringBuilder();\n\nwhile(n-->0){\n sb.append((char)('a'+n%26));\n n/=26;\n}sb.reverse();\nSystem.out.println(sb.toString());\n\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\nStringBuilder sb = new StringBuilder();\n\nwhile(n-->0){\n sb.append((char)('a'+n%26));\n n/=26;\n}sb.reverse();\nSystem.out.println(sb.toString());\n\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\nStringBuilder sb = new StringBuilder();\n\nwhile(n-->0){\n sb.append((char)('a'+n%26));\n n/=26;\n}sb.reverse();\nSystem.out.println(sb.toString());\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\nStringBuilder sb = new StringBuilder();\n\nwhile(n-->0){\n sb.append((char)('a'+n%26));\n n/=26;\n}sb.reverse();\nSystem.out.println(sb.toString());\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(n-->0){\n sb.append((char)('a'+n%26));\n n/=26;\n}",
"n-->0",
"n--",
"n",
"0",
"{\n sb.append((char)('a'+n%26));\n n/=26;\n}",
"sb.append((char)('a'+n%26))",
"sb.append",
"sb",
"(char)('a'+n%26)",
"'a'",
"n%26",
"n",
"26",
"n/=26",
"n",
"26",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\nStringBuilder sb = new StringBuilder();\n\nwhile(n-->0){\n sb.append((char)('a'+n%26));\n n/=26;\n}sb.reverse();\nSystem.out.println(sb.toString());\n\n sc.close();\n }\n}",
"public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n Long n = sc.nextLong();\nStringBuilder sb = new StringBuilder();\n\nwhile(n-->0){\n sb.append((char)('a'+n%26));\n n/=26;\n}sb.reverse();\nSystem.out.println(sb.toString());\n\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Long n = sc.nextLong();
StringBuilder sb = new StringBuilder();
while(n-->0){
sb.append((char)('a'+n%26));
n/=26;
}sb.reverse();
System.out.println(sb.toString());
sc.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
13,
0,
13,
17,
40,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
18,
13,
17,
13,
0,
13,
2,
13,
17,
30,
0,
13,
2,
18,
13,
2,
13,
17,
13,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
157,
5
],
[
157,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
30,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
41,
44
],
[
41,
45
],
[
41,
46
],
[
41,
47
],
[
41,
48
],
[
41,
49
],
[
41,
50
],
[
41,
51
],
[
41,
52
],
[
41,
53
],
[
41,
54
],
[
41,
55
],
[
41,
56
],
[
41,
57
],
[
41,
58
],
[
41,
59
],
[
41,
60
],
[
41,
61
],
[
41,
62
],
[
41,
63
],
[
41,
64
],
[
41,
65
],
[
41,
66
],
[
41,
67
],
[
8,
68
],
[
68,
69
],
[
68,
70
],
[
8,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
80,
81
],
[
71,
82
],
[
83,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
86,
90
],
[
8,
91
],
[
91,
92
],
[
91,
93
],
[
8,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
94,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
109,
111
],
[
106,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
112,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
118,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
112,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
137,
139
],
[
134,
140
],
[
131,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
8,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
6,
154
],
[
154,
155
],
[
0,
156
],
[
156,
157
],
[
156,
158
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int k = 0;\n long t = 0;\n long tt = 26;\n while(t < n) {\n t += tt;\n tt *= 26;\n k++;\n }\n String[] s = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n long r = n;\n for(int i = 1; i < k; i++) {\n r -= (long)Math.pow(26, i);\n }\n String ans = \"\";\n for(int i = 1; i <= k; i++) {\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }\n System.out.println(ans);\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 long n = sc.nextLong();\n int k = 0;\n long t = 0;\n long tt = 26;\n while(t < n) {\n t += tt;\n tt *= 26;\n k++;\n }\n String[] s = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n long r = n;\n for(int i = 1; i < k; i++) {\n r -= (long)Math.pow(26, i);\n }\n String ans = \"\";\n for(int i = 1; i <= k; i++) {\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int k = 0;\n long t = 0;\n long tt = 26;\n while(t < n) {\n t += tt;\n tt *= 26;\n k++;\n }\n String[] s = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n long r = n;\n for(int i = 1; i < k; i++) {\n r -= (long)Math.pow(26, i);\n }\n String ans = \"\";\n for(int i = 1; i <= k; i++) {\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int k = 0;\n long t = 0;\n long tt = 26;\n while(t < n) {\n t += tt;\n tt *= 26;\n k++;\n }\n String[] s = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n long r = n;\n for(int i = 1; i < k; i++) {\n r -= (long)Math.pow(26, i);\n }\n String ans = \"\";\n for(int i = 1; i <= k; i++) {\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int k = 0;",
"k",
"0",
"long t = 0;",
"t",
"0",
"long tt = 26;",
"tt",
"26",
"while(t < n) {\n t += tt;\n tt *= 26;\n k++;\n }",
"t < n",
"t",
"n",
"{\n t += tt;\n tt *= 26;\n k++;\n }",
"t += tt",
"t",
"tt",
"tt *= 26",
"tt",
"26",
"k++",
"k",
"String[] s = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};",
"s",
"{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"long r = n;",
"r",
"n",
"for(int i = 1; i < k; i++) {\n r -= (long)Math.pow(26, i);\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < k",
"i",
"k",
"i++",
"i++",
"i",
"{\n r -= (long)Math.pow(26, i);\n }",
"{\n r -= (long)Math.pow(26, i);\n }",
"r -= (long)Math.pow(26, i)",
"r",
"(long)Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"String ans = \"\";",
"ans",
"\"\"",
"for(int i = 1; i <= k; i++) {\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= k",
"i",
"k",
"i++",
"i++",
"i",
"{\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }",
"{\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }",
"int rr = (int)(r % 26);",
"rr",
"(int)(r % 26)",
"r",
"26",
"if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }",
"(rr % 26) == 0",
"(rr % 26)",
"rr",
"26",
"0",
"{\n ans = s[25] + ans;\n r = (r / 26);\n }",
"ans = s[25] + ans",
"ans",
"s[25] + ans",
"s[25]",
"s",
"25",
"ans",
"r = (r / 26)",
"r",
"(r / 26)",
"r",
"26",
"{\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }",
"ans = s[rr - 1] + ans",
"ans",
"s[rr - 1] + ans",
"s[rr - 1]",
"s",
"rr - 1",
"rr",
"1",
"ans",
"r = (r / 26) + 1",
"r",
"(r / 26) + 1",
"(r / 26)",
"r",
"26",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int k = 0;\n long t = 0;\n long tt = 26;\n while(t < n) {\n t += tt;\n tt *= 26;\n k++;\n }\n String[] s = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n long r = n;\n for(int i = 1; i < k; i++) {\n r -= (long)Math.pow(26, i);\n }\n String ans = \"\";\n for(int i = 1; i <= k; i++) {\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int k = 0;\n long t = 0;\n long tt = 26;\n while(t < n) {\n t += tt;\n tt *= 26;\n k++;\n }\n String[] s = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n long r = n;\n for(int i = 1; i < k; i++) {\n r -= (long)Math.pow(26, i);\n }\n String ans = \"\";\n for(int i = 1; i <= k; i++) {\n int rr = (int)(r % 26);\n if((rr % 26) == 0) {\n ans = s[25] + ans;\n r = (r / 26);\n } else {\n ans = s[rr - 1] + ans;\n r = (r / 26) + 1;\n }\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
int k = 0;
long t = 0;
long tt = 26;
while(t < n) {
t += tt;
tt *= 26;
k++;
}
String[] s = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};
long r = n;
for(int i = 1; i < k; i++) {
r -= (long)Math.pow(26, i);
}
String ans = "";
for(int i = 1; i <= k; i++) {
int rr = (int)(r % 26);
if((rr % 26) == 0) {
ans = s[25] + ans;
r = (r / 26);
} else {
ans = s[rr - 1] + ans;
r = (r / 26) + 1;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
39,
17,
40,
17,
17,
17,
41,
13,
39,
17,
17,
40,
17,
17,
41,
13,
41,
13,
39,
40,
17,
17,
40,
17,
17,
41,
13,
39,
17,
17,
40,
17,
40,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
17,
2,
13,
17,
0,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
2,
2,
2,
13,
17,
2,
13,
13,
2,
13,
17,
2,
13,
13,
30,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
18,
13,
13,
13,
41,
13,
2,
18,
13,
13,
13,
14,
2,
4,
13,
13,
13,
40,
18,
18,
13,
13,
13,
30,
40,
13,
0,
18,
18,
13,
13,
13,
17,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
17,
23,
13,
12,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
326,
11
],
[
326,
12
],
[
12,
13
],
[
12,
14
],
[
326,
15
],
[
15,
16
],
[
15,
17
],
[
326,
18
],
[
18,
19
],
[
326,
20
],
[
20,
21
],
[
20,
22
],
[
326,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
25,
29
],
[
25,
30
],
[
326,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
33,
36
],
[
36,
37
],
[
33,
38
],
[
326,
39
],
[
39,
40
],
[
326,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
43,
49
],
[
326,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
55,
56
],
[
52,
57
],
[
57,
58
],
[
326,
59
],
[
59,
60
],
[
326,
61
],
[
61,
62
],
[
326,
63
],
[
63,
64
],
[
326,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
67,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
80,
90
],
[
90,
91
],
[
90,
92
],
[
67,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
97,
101
],
[
93,
102
],
[
102,
103
],
[
102,
104
],
[
93,
105
],
[
105,
106
],
[
106,
107
],
[
93,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
67,
117
],
[
117,
118
],
[
118,
119
],
[
65,
120
],
[
120,
121
],
[
326,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
128,
127
],
[
135,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
132,
134
],
[
135,
135
],
[
135,
136
],
[
135,
137
],
[
128,
138
],
[
138,
139
],
[
138,
140
],
[
125,
141
],
[
141,
142
],
[
142,
143
],
[
124,
144
],
[
144,
145
],
[
122,
146
],
[
146,
147
],
[
122,
148
],
[
148,
149
],
[
326,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
153,
158
],
[
158,
159
],
[
158,
160
],
[
153,
161
],
[
161,
162
],
[
162,
163
],
[
153,
164
],
[
165,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
165,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
175,
179
],
[
165,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
182,
185
],
[
181,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
180,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
195,
201
],
[
192,
202
],
[
202,
203
],
[
202,
204
],
[
202,
205
],
[
150,
206
],
[
206,
207
],
[
150,
208
],
[
208,
209
],
[
326,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
210,
219
],
[
219,
220
],
[
326,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
227
],
[
227,
228
],
[
227,
229
],
[
223,
230
],
[
230,
231
],
[
230,
232
],
[
221,
233
],
[
233,
234
],
[
221,
235
],
[
235,
236
],
[
326,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
237,
241
],
[
241,
242
],
[
237,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
237,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
252,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
262,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
251,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
237,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
281,
284
],
[
284,
285
],
[
237,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
290,
293
],
[
293,
294
],
[
237,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
300,
301
],
[
299,
302
],
[
302,
303
],
[
237,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
306,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
310,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
306,
323
],
[
323,
324
],
[
0,
325
],
[
325,
326
],
[
325,
327
]
]
| [
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\n\n\n\n\n\npublic class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n long N = in.nextLong();\n String temp = \"\";\n while(N>0){\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }\n for(int i=temp.length()-1;i>=0;i--){\n out.print(temp.charAt(i));\n }\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n long N = in.nextLong();\n String temp = \"\";\n while(N>0){\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }\n for(int i=temp.length()-1;i>=0;i--){\n out.print(temp.charAt(i));\n }\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"Main",
"static MyScanner in = new MyScanner();",
"in",
"new MyScanner()",
"static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"int N;",
"N",
"static int max = 200001;",
"max",
"200001",
"static int [] dr = {1,-1,0,0};",
"dr",
"{1,-1,0,0}",
"1",
"-1",
"1",
"0",
"0",
"static int [] dc={0,0,-1,1};",
"dc",
"{0,0,-1,1}",
"0",
"0",
"-1",
"1",
"1",
"static boolean [][] grid;",
"grid",
"static int [] bishopr = {-1,1,-1,1};",
"bishopr",
"{-1,1,-1,1}",
"-1",
"1",
"1",
"-1",
"1",
"1",
"static int [] bishopc = {1,1,-1,-1};",
"bishopc",
"{1,1,-1,-1}",
"1",
"1",
"-1",
"1",
"-1",
"1",
"static long H",
"H",
"W",
"W",
"cnt;",
"cnt",
"public static void main(String args[]) throws IOException {\n long N = in.nextLong();\n String temp = \"\";\n while(N>0){\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }\n for(int i=temp.length()-1;i>=0;i--){\n out.print(temp.charAt(i));\n }\n out.flush();\n }",
"main",
"{\n long N = in.nextLong();\n String temp = \"\";\n while(N>0){\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }\n for(int i=temp.length()-1;i>=0;i--){\n out.print(temp.charAt(i));\n }\n out.flush();\n }",
"long N = in.nextLong();",
"N",
"in.nextLong()",
"in.nextLong",
"in",
"String temp = \"\";",
"temp",
"\"\"",
"while(N>0){\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }",
"N>0",
"N",
"0",
"{\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }",
"N--",
"N",
"temp+=(char)('a'+N%26)",
"temp",
"(char)('a'+N%26)",
"'a'",
"N%26",
"N",
"26",
"N/=26",
"N",
"26",
"for(int i=temp.length()-1;i>=0;i--){\n out.print(temp.charAt(i));\n }",
"int i=temp.length()-1;",
"int i=temp.length()-1;",
"i",
"temp.length()-1",
"temp.length()",
"temp.length",
"temp",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n out.print(temp.charAt(i));\n }",
"{\n out.print(temp.charAt(i));\n }",
"out.print(temp.charAt(i))",
"out.print",
"out",
"temp.charAt(i)",
"temp.charAt",
"temp",
"i",
"out.flush()",
"out.flush",
"out",
"String args[]",
"args",
"static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }",
"isValid",
"{\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }",
"if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }",
"r>=0&&r<H&&c>=0&&c<W",
"c>=0",
"r>=0&&r<H&&c>=0&&c<W",
"r>=0",
"r",
"0",
"r<H",
"r",
"H",
"c>=0",
"c",
"0",
"c<W",
"c",
"W",
"{\n return true;\n }",
"return true;",
"true",
"return false;",
"false",
"int r",
"r",
"int c",
"c",
"private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }",
"dfs",
"{\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }",
"for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<4",
"i",
"4",
"i++",
"i++",
"i",
"{\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }",
"{\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }",
"int nr = bishopr[i] +r;",
"nr",
"bishopr[i] +r",
"bishopr[i]",
"bishopr",
"i",
"r",
"int nc = bishopc[i]+c;",
"nc",
"bishopc[i]+c",
"bishopc[i]",
"bishopc",
"i",
"c",
"if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }",
"isValid(nr, nc)&&!grid[nr][nc]",
"isValid(nr, nc)",
"isValid",
"nr",
"nc",
"!grid[nr][nc]",
"grid[nr][nc]",
"grid[nr]",
"grid",
"nr",
"nc",
"{\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }",
"cnt++",
"cnt",
"grid[nr][nc] = true",
"grid[nr][nc]",
"grid[nr]",
"grid",
"nr",
"nc",
"true",
"dfs(nr, nc)",
"dfs",
"nr",
"nc",
"int r",
"r",
"int c",
"c",
"static boolean isEven(long a) {\n return (a&1)==0;\n }",
"isEven",
"{\n return (a&1)==0;\n }",
"return (a&1)==0;",
"(a&1)==0",
"(a&1)",
"a",
"1",
"0",
"long a",
"a",
"static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }",
"swap",
"{\n\n int temmp = b;\n b=a;\n a = temmp;\n }",
"int temmp = b;",
"temmp",
"b",
"b=a",
"b",
"a",
"a = temmp",
"a",
"temmp",
"int a",
"a",
"int b",
"b",
"public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }",
"MyScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"MyScanner",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n long N = in.nextLong();\n String temp = \"\";\n while(N>0){\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }\n for(int i=temp.length()-1;i>=0;i--){\n out.print(temp.charAt(i));\n }\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"public class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n static boolean [][] grid;\n static int [] bishopr = {-1,1,-1,1};\n static int [] bishopc = {1,1,-1,-1};\n static long H,W,cnt;\n public static void main(String args[]) throws IOException {\n long N = in.nextLong();\n String temp = \"\";\n while(N>0){\n N--;\n temp+=(char)('a'+N%26);\n N/=26;\n }\n for(int i=temp.length()-1;i>=0;i--){\n out.print(temp.charAt(i));\n }\n out.flush();\n }\n static boolean isValid (int r, int c){\n if(r>=0&&r<H&&c>=0&&c<W){\n return true;\n }\n return false;\n }\n private static void dfs(int r, int c) {\n for(int i=0;i<4;i++){\n int nr = bishopr[i] +r;\n int nc = bishopc[i]+c;\n if(isValid(nr, nc)&&!grid[nr][nc]){\n cnt++;\n grid[nr][nc] = true;\n dfs(nr, nc);\n }\n }\n }\n\n static boolean isEven(long a) {\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n \n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n \n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n int nextInt() {\n return Integer.parseInt(next());\n }\n \n long nextLong() {\n return Long.parseLong(next());\n }\n \n double nextDouble() {\n return Double.parseDouble(next());\n }\n \n String nextLine(){\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n \n }\n}",
"Main"
]
| import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
static MyScanner in = new MyScanner();
static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
int N;
static int max = 200001;
static int [] dr = {1,-1,0,0};
static int [] dc={0,0,-1,1};
static boolean [][] grid;
static int [] bishopr = {-1,1,-1,1};
static int [] bishopc = {1,1,-1,-1};
static long H,W,cnt;
public static void main(String args[]) throws IOException {
long N = in.nextLong();
String temp = "";
while(N>0){
N--;
temp+=(char)('a'+N%26);
N/=26;
}
for(int i=temp.length()-1;i>=0;i--){
out.print(temp.charAt(i));
}
out.flush();
}
static boolean isValid (int r, int c){
if(r>=0&&r<H&&c>=0&&c<W){
return true;
}
return false;
}
private static void dfs(int r, int c) {
for(int i=0;i<4;i++){
int nr = bishopr[i] +r;
int nc = bishopc[i]+c;
if(isValid(nr, nc)&&!grid[nr][nc]){
cnt++;
grid[nr][nc] = true;
dfs(nr, nc);
}
}
}
static boolean isEven(long a) {
return (a&1)==0;
}
static void swap (int a, int b){
int temmp = b;
b=a;
a = temmp;
}
public static class MyScanner {
BufferedReader br;
StringTokenizer st;
public MyScanner() {
br = new BufferedReader(new InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine(){
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
17,
40,
13,
14,
2,
13,
13,
30,
0,
13,
20,
13,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
13,
13,
17,
2,
2,
13,
17,
17,
0,
13,
17,
3,
30,
0,
13,
13,
4,
18,
18,
13,
13,
20,
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
],
[
96,
11
],
[
96,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
51
],
[
51,
52
],
[
46,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
53,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
70,
70
],
[
70,
71
],
[
70,
72
],
[
70,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
65,
79
],
[
79,
80
],
[
79,
81
],
[
46,
82
],
[
42,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
14,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
12,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.*;\nimport java.util.function.*;\nimport java.math.*;\npublic class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong N = Long.valueOf(s.next());\n\t\t\n\t\tchar[] ret;\n\t\t\n\t\tint keta = 0;\n\t\tlong now = 1;\n\t\twhile(true) {\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(ret));\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.function.*;",
"function.*",
"java.util",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong N = Long.valueOf(s.next());\n\t\t\n\t\tchar[] ret;\n\t\t\n\t\tint keta = 0;\n\t\tlong now = 1;\n\t\twhile(true) {\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(ret));\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong N = Long.valueOf(s.next());\n\t\t\n\t\tchar[] ret;\n\t\t\n\t\tint keta = 0;\n\t\tlong now = 1;\n\t\twhile(true) {\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(ret));\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tlong N = Long.valueOf(s.next());\n\t\t\n\t\tchar[] ret;\n\t\t\n\t\tint keta = 0;\n\t\tlong now = 1;\n\t\twhile(true) {\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(ret));\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long N = Long.valueOf(s.next());",
"N",
"Long.valueOf(s.next())",
"Long.valueOf",
"Long",
"s.next()",
"s.next",
"s",
"char[] ret;",
"ret",
"int keta = 0;",
"keta",
"0",
"long now = 1;",
"now",
"1",
"while(true) {\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}",
"now *= 26",
"now",
"26",
"keta++",
"keta",
"if(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}",
"N <= now",
"N",
"now",
"{\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}",
"ret = new char[keta]",
"ret",
"new char[keta]",
"keta",
"N--",
"N",
"for(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < keta",
"i",
"keta",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}",
"{\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}",
"ret[keta-i-1] = (char)(N%26 + 'a')",
"ret[keta-i-1]",
"ret",
"keta-i-1",
"keta-i-1",
"keta",
"i",
"1",
"(char)(N%26 + 'a')",
"N%26",
"N",
"26",
"'a'",
"N /= 26",
"N",
"26",
"break;",
"{\n\t\t\t\tN -= now;\n\t\t\t}",
"N -= now",
"N",
"now",
"System.out.println(new String(ret))",
"System.out.println",
"System.out",
"System",
"System.out",
"new String(ret)",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong N = Long.valueOf(s.next());\n\t\t\n\t\tchar[] ret;\n\t\t\n\t\tint keta = 0;\n\t\tlong now = 1;\n\t\twhile(true) {\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(ret));\n\t}\n}",
"public class Main {\n public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong N = Long.valueOf(s.next());\n\t\t\n\t\tchar[] ret;\n\t\t\n\t\tint keta = 0;\n\t\tlong now = 1;\n\t\twhile(true) {\n\t\t\tnow *= 26;\n\t\t\tketa++;\n\t\t\tif(N <= now) {\n\t\t\t\tret = new char[keta];\n\t\t\t\tN--;\n\t\t\t\tfor(int i = 0; i < keta; i++) {\n\t\t\t\t\tret[keta-i-1] = (char)(N%26 + 'a');\n\t\t\t\t\tN /= 26;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}else {\n\t\t\t\tN -= now;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(new String(ret));\n\t}\n}",
"Main"
]
| import java.util.*;
import java.util.function.*;
import java.math.*;
public class Main {
public static void main(String[] args){
Scanner s = new Scanner(System.in);
long N = Long.valueOf(s.next());
char[] ret;
int keta = 0;
long now = 1;
while(true) {
now *= 26;
keta++;
if(N <= now) {
ret = new char[keta];
N--;
for(int i = 0; i < keta; i++) {
ret[keta-i-1] = (char)(N%26 + 'a');
N /= 26;
}
break;
}else {
N -= now;
}
}
System.out.println(new String(ret));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
17,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
41,
13,
13,
4,
18,
13,
18,
13,
2,
13,
17,
0,
13,
2,
13,
17,
30,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
18,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
58,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
54,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
79,
80
],
[
79,
81
],
[
75,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
75,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
8,
92
],
[
92,
93
],
[
93,
94
],
[
8,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
95,
100
],
[
8,
101
],
[
101,
102
],
[
102,
103
],
[
6,
104
],
[
104,
105
],
[
0,
106
],
[
106,
107
],
[
106,
108
]
]
| [
"\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tchar[] s = new char[26];\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}\n\n\t\t//ArrayList<Character> q = new ArrayList<>();\n\t\tStringBuilder q =new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}\n\n\t\tq.reverse();\n\t\tSystem.out.println(q);\n\t\tsc.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tchar[] s = new char[26];\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}\n\n\t\t//ArrayList<Character> q = new ArrayList<>();\n\t\tStringBuilder q =new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}\n\n\t\tq.reverse();\n\t\tSystem.out.println(q);\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tchar[] s = new char[26];\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}\n\n\t\t//ArrayList<Character> q = new ArrayList<>();\n\t\tStringBuilder q =new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}\n\n\t\tq.reverse();\n\t\tSystem.out.println(q);\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tchar[] s = new char[26];\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}\n\n\t\t//ArrayList<Character> q = new ArrayList<>();\n\t\tStringBuilder q =new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}\n\n\t\tq.reverse();\n\t\tSystem.out.println(q);\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"char[] s = new char[26];",
"s",
"new char[26]",
"26",
"for (int i = 0; i < 26; i++) {\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}",
"{\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}",
"s[i] = (char) ('a' + i)",
"s[i]",
"s",
"i",
"(char) ('a' + i)",
"'a'",
"i",
"StringBuilder q =new StringBuilder();",
"q",
"new StringBuilder()",
"while (n > 0) {\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}",
"long k = n % 26;",
"k",
"n % 26",
"n",
"26",
"if (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}",
"k != 0",
"k",
"0",
"{\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t}",
"int y = (int) k;",
"y",
"(int) k",
"q.append(s[y - 1])",
"q.append",
"q",
"s[y - 1]",
"s",
"y - 1",
"y",
"1",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"{\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}",
"q.append(s[25])",
"q.append",
"q",
"s[25]",
"s",
"25",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"n = n - 1",
"n",
"n - 1",
"n",
"1",
"q.reverse()",
"q.reverse",
"q",
"System.out.println(q)",
"System.out.println",
"System.out",
"System",
"System.out",
"q",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tchar[] s = new char[26];\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}\n\n\t\t//ArrayList<Character> q = new ArrayList<>();\n\t\tStringBuilder q =new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}\n\n\t\tq.reverse();\n\t\tSystem.out.println(q);\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tchar[] s = new char[26];\n\n\t\tfor (int i = 0; i < 26; i++) {\n\t\t\ts[i] = (char) ('a' + i);\n\t\t\t// System.out.print(i+1+\" \");\n\t\t\t// System.out.println((char) ('a'+i));\n\t\t}\n\n\t\t//ArrayList<Character> q = new ArrayList<>();\n\t\tStringBuilder q =new StringBuilder();\n\n\t\twhile (n > 0) {\n\t\t\tlong k = n % 26;\n\t\t\t//System.out.println(k);\n\n\t\t\tif (k != 0) {\n\t\t\t\tint y = (int) k;\n\t\t\t\tq.append(s[y - 1]);\n\n\t\t\t\tn = n / 26;\n\n\t\t\t} else {\n\t\t\t\tq.append(s[25]);\n\t\t\t\tn = n / 26;\n\t\t\t\tn = n - 1;\n\t\t\t}\n\t\t}\n\n\t\tq.reverse();\n\t\tSystem.out.println(q);\n\t\tsc.close();\n\t}\n}",
"Main"
]
|
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Long n = sc.nextLong();
char[] s = new char[26];
for (int i = 0; i < 26; i++) {
s[i] = (char) ('a' + i);
// System.out.print(i+1+" ");
// System.out.println((char) ('a'+i));
}
//ArrayList<Character> q = new ArrayList<>();
StringBuilder q =new StringBuilder();
while (n > 0) {
long k = n % 26;
//System.out.println(k);
if (k != 0) {
int y = (int) k;
q.append(s[y - 1]);
n = n / 26;
} else {
q.append(s[25]);
n = n / 26;
n = n - 1;
}
}
q.reverse();
System.out.println(q);
sc.close();
}
}
|
[
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,
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,
15,
13,
17,
6,
13,
12,
13,
30,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
40,
13,
41,
13,
2,
17,
17,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
14,
2,
13,
13,
30,
41,
13,
13,
41,
13,
20,
0,
13,
2,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
18,
13,
2,
2,
13,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
2,
18,
13,
2,
2,
13,
13,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
29,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
0,
40
],
[
40,
41
],
[
40,
42
],
[
0,
43
],
[
43,
44
],
[
43,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
],
[
0,
64
],
[
280,
65
],
[
280,
66
],
[
66,
67
],
[
66,
68
],
[
66,
69
],
[
69,
70
],
[
66,
71
],
[
71,
72
],
[
66,
73
],
[
73,
74
],
[
280,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
77,
89
],
[
89,
90
],
[
77,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
77,
96
],
[
96,
97
],
[
96,
98
],
[
77,
99
],
[
99,
100
],
[
99,
101
],
[
77,
102
],
[
102,
103
],
[
102,
104
],
[
77,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
77,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
111,
119
],
[
119,
120
],
[
120,
121
],
[
111,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
128,
134
],
[
77,
135
],
[
135,
136
],
[
135,
137
],
[
77,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
138,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
164,
166
],
[
160,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
171,
173
],
[
160,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
174,
179
],
[
179,
180
],
[
179,
181
],
[
174,
182
],
[
182,
183
],
[
183,
184
],
[
174,
185
],
[
186,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
191,
193
],
[
194,
194
],
[
194,
195
],
[
194,
196
],
[
194,
197
],
[
186,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
201,
203
],
[
186,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
210,
210
],
[
210,
211
],
[
210,
212
],
[
210,
213
],
[
206,
214
],
[
160,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
215,
220
],
[
220,
221
],
[
221,
222
],
[
160,
223
],
[
75,
224
],
[
224,
225
],
[
280,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
226,
230
],
[
230,
231
],
[
226,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
238,
240
],
[
232,
241
],
[
241,
242
],
[
226,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
246,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
256,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
245,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
226,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
274,
277
],
[
277,
278
],
[
0,
279
],
[
279,
280
],
[
279,
281
]
]
| [
"import java.io.InputStream;\nimport java.io.OutputStream;\nimport java.util.*;\nimport java.io.PrintWriter;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\nimport java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.InputStream;\n\npublic class Main{\n\t//WRWWRWRR wwwrrrrwwwwrrr\n\t///112 112\n\t///1223 12\n\tpublic void solve(int testNumber, InputReader in, PrintWriter out) {\n\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tn--;\n\t\tlong max = (long)1e18+1;\n\t\tList<Long> res = new ArrayList<>();\n\t\tlong aka = 0;\n\t\tlong[] arr = new long[20];\n\t\tarr[0] = 1;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}\n\t}\n//\tpublic static void main(String[] args){\n// InputStream inputStream = System.in;\n// OutputStream outputStream = System.out;\n// InputReader in = new InputReader(inputStream);\n// PrintWriter out = new PrintWriter(outputStream);\n// Main solver = new Main();\n//// int num = in.nextInt();\n//// while(num-->0){\n//// solver.solve(1, in, out);\n//// }\n// solver.solve(1, in, out);\n// out.close();\n// }\n\tstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer tokenizer;\n\n\t\tpublic InputReader(InputStream stream) {\n\t\t\treader = new BufferedReader(new InputStreamReader(stream), 32768);\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main{\n\t//WRWWRWRR wwwrrrrwwwwrrr\n\t///112 112\n\t///1223 12\n\tpublic void solve(int testNumber, InputReader in, PrintWriter out) {\n\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tn--;\n\t\tlong max = (long)1e18+1;\n\t\tList<Long> res = new ArrayList<>();\n\t\tlong aka = 0;\n\t\tlong[] arr = new long[20];\n\t\tarr[0] = 1;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}\n\t}\n//\tpublic static void main(String[] args){\n// InputStream inputStream = System.in;\n// OutputStream outputStream = System.out;\n// InputReader in = new InputReader(inputStream);\n// PrintWriter out = new PrintWriter(outputStream);\n// Main solver = new Main();\n//// int num = in.nextInt();\n//// while(num-->0){\n//// solver.solve(1, in, out);\n//// }\n// solver.solve(1, in, out);\n// out.close();\n// }\n\tstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer tokenizer;\n\n\t\tpublic InputReader(InputStream stream) {\n\t\t\treader = new BufferedReader(new InputStreamReader(stream), 32768);\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"Main",
"//WRWWRWRR wwwrrrrwwwwrrr\n\t///112 112\n\t///1223 12\n\tpublic void solve(int testNumber, InputReader in, PrintWriter out) {\n\n\t}",
"solve",
"{\n\n\t}",
"int testNumber",
"testNumber",
"InputReader in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args){\n\t\tScanner scanner = new Scanner(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tn--;\n\t\tlong max = (long)1e18+1;\n\t\tList<Long> res = new ArrayList<>();\n\t\tlong aka = 0;\n\t\tlong[] arr = new long[20];\n\t\tarr[0] = 1;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tn--;\n\t\tlong max = (long)1e18+1;\n\t\tList<Long> res = new ArrayList<>();\n\t\tlong aka = 0;\n\t\tlong[] arr = new long[20];\n\t\tarr[0] = 1;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}\n\t}",
"Scanner scanner = new Scanner(new InputStreamReader(System.in));",
"scanner",
"new Scanner(new InputStreamReader(System.in))",
"long n = Long.parseLong(scanner.nextLine());",
"n",
"Long.parseLong(scanner.nextLine())",
"Long.parseLong",
"Long",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"n--",
"n",
"long max = (long)1e18+1;",
"max",
"(long)1e18+1",
"(long)1e18",
"1",
"List<Long> res = new ArrayList<>();",
"res",
"new ArrayList<>()",
"long aka = 0;",
"aka",
"0",
"long[] arr = new long[20];",
"arr",
"new long[20]",
"20",
"arr[0] = 1",
"arr[0]",
"arr",
"0",
"1",
"for(int i=1;i<20;i++){\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<20",
"i",
"20",
"i++",
"i++",
"i",
"{\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}",
"{\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}",
"arr[i] = arr[i-1]*26",
"arr[i]",
"arr",
"i",
"arr[i-1]*26",
"arr[i-1]",
"arr",
"i-1",
"i",
"1",
"26",
"long sum = 0;",
"sum",
"0",
"for(int i=1;i<20;i++){\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<20",
"i",
"20",
"i++",
"i++",
"i",
"{\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}",
"{\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}",
"sum+=arr[i]",
"sum",
"arr[i]",
"arr",
"i",
"if(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}",
"n<sum",
"n",
"sum",
"{\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}",
"int len = i;",
"len",
"i",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"n-=(sum-arr[i])",
"n",
"(sum-arr[i])",
"sum",
"arr[i]",
"arr",
"i",
"for(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<len",
"j",
"len",
"j++",
"j++",
"j",
"{\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}",
"{\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}",
"int idx = (int) (n/arr[len-j-1]);",
"idx",
"(int) (n/arr[len-j-1])",
"n",
"arr[len-j-1]",
"arr",
"len-j-1",
"len-j-1",
"len",
"j",
"1",
"sb.append((char)(idx+'a'))",
"sb.append",
"sb",
"(char)(idx+'a')",
"idx",
"'a'",
"n-=arr[len-j-1]*idx",
"n",
"arr[len-j-1]*idx",
"arr[len-j-1]",
"arr",
"len-j-1",
"len-j-1",
"len",
"j",
"1",
"idx",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"return ;",
"String[] args",
"args",
"\tstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer tokenizer;\n\n\t\tpublic InputReader(InputStream stream) {\n\t\t\treader = new BufferedReader(new InputStreamReader(stream), 32768);\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public InputReader(InputStream stream) {\n\t\t\treader = new BufferedReader(new InputStreamReader(stream), 32768);\n\t\t\ttokenizer = null;\n\t\t}",
"InputReader",
"{\n\t\t\treader = new BufferedReader(new InputStreamReader(stream), 32768);\n\t\t\ttokenizer = null;\n\t\t}",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"public String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"nextInt",
"{\n\t\t\treturn Integer.parseInt(next());\n\t\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public class Main{\n\t//WRWWRWRR wwwrrrrwwwwrrr\n\t///112 112\n\t///1223 12\n\tpublic void solve(int testNumber, InputReader in, PrintWriter out) {\n\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tn--;\n\t\tlong max = (long)1e18+1;\n\t\tList<Long> res = new ArrayList<>();\n\t\tlong aka = 0;\n\t\tlong[] arr = new long[20];\n\t\tarr[0] = 1;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}\n\t}\n//\tpublic static void main(String[] args){\n// InputStream inputStream = System.in;\n// OutputStream outputStream = System.out;\n// InputReader in = new InputReader(inputStream);\n// PrintWriter out = new PrintWriter(outputStream);\n// Main solver = new Main();\n//// int num = in.nextInt();\n//// while(num-->0){\n//// solver.solve(1, in, out);\n//// }\n// solver.solve(1, in, out);\n// out.close();\n// }\n\tstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer tokenizer;\n\n\t\tpublic InputReader(InputStream stream) {\n\t\t\treader = new BufferedReader(new InputStreamReader(stream), 32768);\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"public class Main{\n\t//WRWWRWRR wwwrrrrwwwwrrr\n\t///112 112\n\t///1223 12\n\tpublic void solve(int testNumber, InputReader in, PrintWriter out) {\n\n\t}\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(scanner.nextLine());\n\t\tn--;\n\t\tlong max = (long)1e18+1;\n\t\tList<Long> res = new ArrayList<>();\n\t\tlong aka = 0;\n\t\tlong[] arr = new long[20];\n\t\tarr[0] = 1;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tarr[i] = arr[i-1]*26;\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(int i=1;i<20;i++){\n\t\t\tsum+=arr[i];\n\t\t\tif(n<sum){\n\t\t\t\tint len = i;\n\t\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\tn-=(sum-arr[i]);\n\t\t\t\tfor(int j=0;j<len;j++){\n\t\t\t\t\tint idx = (int) (n/arr[len-j-1]);\n\t\t\t\t\t//System.out.println(n+\" \"+arr[len-j-1]);\n\t\t\t\t\tsb.append((char)(idx+'a'));\n\t\t\t\t\tn-=arr[len-j-1]*idx;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(sb.toString());\n\t\t\t\treturn ;\n\t\t\t}\n\t\t}\n\t}\n//\tpublic static void main(String[] args){\n// InputStream inputStream = System.in;\n// OutputStream outputStream = System.out;\n// InputReader in = new InputReader(inputStream);\n// PrintWriter out = new PrintWriter(outputStream);\n// Main solver = new Main();\n//// int num = in.nextInt();\n//// while(num-->0){\n//// solver.solve(1, in, out);\n//// }\n// solver.solve(1, in, out);\n// out.close();\n// }\n\tstatic class InputReader {\n\t\tpublic BufferedReader reader;\n\t\tpublic StringTokenizer tokenizer;\n\n\t\tpublic InputReader(InputStream stream) {\n\t\t\treader = new BufferedReader(new InputStreamReader(stream), 32768);\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t}\n}",
"Main"
]
| import java.io.InputStream;
import java.io.OutputStream;
import java.util.*;
import java.io.PrintWriter;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.StringTokenizer;
import java.io.IOException;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.InputStream;
public class Main{
//WRWWRWRR wwwrrrrwwwwrrr
///112 112
///1223 12
public void solve(int testNumber, InputReader in, PrintWriter out) {
}
public static void main(String[] args){
Scanner scanner = new Scanner(new InputStreamReader(System.in));
long n = Long.parseLong(scanner.nextLine());
n--;
long max = (long)1e18+1;
List<Long> res = new ArrayList<>();
long aka = 0;
long[] arr = new long[20];
arr[0] = 1;
for(int i=1;i<20;i++){
arr[i] = arr[i-1]*26;
}
long sum = 0;
for(int i=1;i<20;i++){
sum+=arr[i];
if(n<sum){
int len = i;
StringBuilder sb = new StringBuilder();
n-=(sum-arr[i]);
for(int j=0;j<len;j++){
int idx = (int) (n/arr[len-j-1]);
//System.out.println(n+" "+arr[len-j-1]);
sb.append((char)(idx+'a'));
n-=arr[len-j-1]*idx;
}
System.out.println(sb.toString());
return ;
}
}
}
// public static void main(String[] args){
// InputStream inputStream = System.in;
// OutputStream outputStream = System.out;
// InputReader in = new InputReader(inputStream);
// PrintWriter out = new PrintWriter(outputStream);
// Main solver = new Main();
//// int num = in.nextInt();
//// while(num-->0){
//// solver.solve(1, in, out);
//// }
// solver.solve(1, in, out);
// out.close();
// }
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
2,
18,
13,
17,
13,
30,
0,
13,
2,
18,
13,
2,
13,
17,
13,
0,
13,
13,
41,
13,
13,
0,
13,
2,
18,
13,
2,
13,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
22,
25
],
[
22,
26
],
[
22,
27
],
[
22,
28
],
[
22,
29
],
[
22,
30
],
[
22,
31
],
[
22,
32
],
[
22,
33
],
[
22,
34
],
[
22,
35
],
[
22,
36
],
[
22,
37
],
[
22,
38
],
[
22,
39
],
[
22,
40
],
[
22,
41
],
[
22,
42
],
[
22,
43
],
[
22,
44
],
[
22,
45
],
[
22,
46
],
[
22,
47
],
[
22,
48
],
[
11,
49
],
[
49,
50
],
[
49,
51
],
[
11,
52
],
[
52,
53
],
[
52,
54
],
[
11,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
62,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
62,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
85,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
62,
107
],
[
107,
108
],
[
107,
109
],
[
11,
110
],
[
110,
111
],
[
110,
112
],
[
11,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
115,
121
],
[
11,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
9,
128
],
[
128,
129
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main{\n\tpublic static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\n\t long c=sc.nextLong();\n\t String[] letter = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\n\t \n\t long i=0;\n\t int j=0;\n\t String str=\"\";\n\t while(c>26)\n\t {\n\t \t\n\t \ti=c/26;\n\t \tif(c%26==0)\n\t \t{\n\t \t\ti=i-1;\n\t \t}\n\t \tj=(int)(c%26);\n\t \tif(j==0){\n\t \tstr=letter[25]+str;\n\n\t \t}\n\t \telse{\n\t \tstr=letter[j-1]+str;\n\n\t \t}\n\t \tc=i;\n\n\t }\n\t int x = (int)c;\n\t str=letter[x-1]+str;\n\t \n\t \n\tSystem.out.println(str);\n\t\n\t\t\t\t\n\t\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n\tpublic static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\n\t long c=sc.nextLong();\n\t String[] letter = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\n\t \n\t long i=0;\n\t int j=0;\n\t String str=\"\";\n\t while(c>26)\n\t {\n\t \t\n\t \ti=c/26;\n\t \tif(c%26==0)\n\t \t{\n\t \t\ti=i-1;\n\t \t}\n\t \tj=(int)(c%26);\n\t \tif(j==0){\n\t \tstr=letter[25]+str;\n\n\t \t}\n\t \telse{\n\t \tstr=letter[j-1]+str;\n\n\t \t}\n\t \tc=i;\n\n\t }\n\t int x = (int)c;\n\t str=letter[x-1]+str;\n\t \n\t \n\tSystem.out.println(str);\n\t\n\t\t\t\t\n\t\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\n\t long c=sc.nextLong();\n\t String[] letter = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\n\t \n\t long i=0;\n\t int j=0;\n\t String str=\"\";\n\t while(c>26)\n\t {\n\t \t\n\t \ti=c/26;\n\t \tif(c%26==0)\n\t \t{\n\t \t\ti=i-1;\n\t \t}\n\t \tj=(int)(c%26);\n\t \tif(j==0){\n\t \tstr=letter[25]+str;\n\n\t \t}\n\t \telse{\n\t \tstr=letter[j-1]+str;\n\n\t \t}\n\t \tc=i;\n\n\t }\n\t int x = (int)c;\n\t str=letter[x-1]+str;\n\t \n\t \n\tSystem.out.println(str);\n\t\n\t\t\t\t\n\t\t\n\t}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n\t long c=sc.nextLong();\n\t String[] letter = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\n\t \n\t long i=0;\n\t int j=0;\n\t String str=\"\";\n\t while(c>26)\n\t {\n\t \t\n\t \ti=c/26;\n\t \tif(c%26==0)\n\t \t{\n\t \t\ti=i-1;\n\t \t}\n\t \tj=(int)(c%26);\n\t \tif(j==0){\n\t \tstr=letter[25]+str;\n\n\t \t}\n\t \telse{\n\t \tstr=letter[j-1]+str;\n\n\t \t}\n\t \tc=i;\n\n\t }\n\t int x = (int)c;\n\t str=letter[x-1]+str;\n\t \n\t \n\tSystem.out.println(str);\n\t\n\t\t\t\t\n\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long c=sc.nextLong();",
"c",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String[] letter = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"letter",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"long i=0;",
"i",
"0",
"int j=0;",
"j",
"0",
"String str=\"\";",
"str",
"\"\"",
"while(c>26)\n\t {\n\t \t\n\t \ti=c/26;\n\t \tif(c%26==0)\n\t \t{\n\t \t\ti=i-1;\n\t \t}\n\t \tj=(int)(c%26);\n\t \tif(j==0){\n\t \tstr=letter[25]+str;\n\n\t \t}\n\t \telse{\n\t \tstr=letter[j-1]+str;\n\n\t \t}\n\t \tc=i;\n\n\t }",
"c>26",
"c",
"26",
"{\n\t \t\n\t \ti=c/26;\n\t \tif(c%26==0)\n\t \t{\n\t \t\ti=i-1;\n\t \t}\n\t \tj=(int)(c%26);\n\t \tif(j==0){\n\t \tstr=letter[25]+str;\n\n\t \t}\n\t \telse{\n\t \tstr=letter[j-1]+str;\n\n\t \t}\n\t \tc=i;\n\n\t }",
"i=c/26",
"i",
"c/26",
"c",
"26",
"if(c%26==0)\n\t \t{\n\t \t\ti=i-1;\n\t \t}",
"c%26==0",
"c%26",
"c",
"26",
"0",
"{\n\t \t\ti=i-1;\n\t \t}",
"i=i-1",
"i",
"i-1",
"i",
"1",
"j=(int)(c%26)",
"j",
"(int)(c%26)",
"c",
"26",
"if(j==0){\n\t \tstr=letter[25]+str;\n\n\t \t}\n\t \telse{\n\t \tstr=letter[j-1]+str;\n\n\t \t}",
"j==0",
"j",
"0",
"{\n\t \tstr=letter[25]+str;\n\n\t \t}",
"str=letter[25]+str",
"str",
"letter[25]+str",
"letter[25]",
"letter",
"25",
"str",
"{\n\t \tstr=letter[j-1]+str;\n\n\t \t}",
"str=letter[j-1]+str",
"str",
"letter[j-1]+str",
"letter[j-1]",
"letter",
"j-1",
"j",
"1",
"str",
"c=i",
"c",
"i",
"int x = (int)c;",
"x",
"(int)c",
"str=letter[x-1]+str",
"str",
"letter[x-1]+str",
"letter[x-1]",
"letter",
"x-1",
"x",
"1",
"str",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long c=sc.nextLong();
String[] letter = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
long i=0;
int j=0;
String str="";
while(c>26)
{
i=c/26;
if(c%26==0)
{
i=i-1;
}
j=(int)(c%26);
if(j==0){
str=letter[25]+str;
}
else{
str=letter[j-1]+str;
}
c=i;
}
int x = (int)c;
str=letter[x-1]+str;
System.out.println(str);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
2,
2,
13,
17,
17,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
4,
18,
4,
18,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
295,
23
],
[
295,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
26,
37
],
[
37,
38
],
[
37,
39
],
[
26,
40
],
[
40,
41
],
[
40,
42
],
[
26,
43
],
[
43,
44
],
[
43,
45
],
[
26,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
46,
51
],
[
26,
52
],
[
52,
53
],
[
53,
54
],
[
24,
55
],
[
55,
56
],
[
295,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
61,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
78,
84
],
[
74,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
61,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
59,
100
],
[
100,
101
],
[
59,
102
],
[
102,
103
],
[
59,
104
],
[
104,
105
],
[
295,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
106,
110
],
[
110,
111
],
[
110,
112
],
[
106,
114
],
[
114,
115
],
[
106,
116
],
[
116,
117
],
[
106,
118
],
[
118,
119
],
[
106,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
120,
128
],
[
128,
129
],
[
106,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
133,
138
],
[
138,
139
],
[
139,
140
],
[
132,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
149,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
145,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
132,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
106,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
177,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
177,
191
],
[
191,
192
],
[
191,
193
],
[
177,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
198,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
177,
207
],
[
207,
208
],
[
207,
209
],
[
177,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
210,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
221,
222
],
[
221,
223
],
[
216,
224
],
[
224,
225
],
[
225,
226
],
[
215,
227
],
[
227,
228
],
[
227,
229
],
[
215,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
232,
234
],
[
215,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
177,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
106,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
252,
255
],
[
245,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
243,
260
],
[
260,
261
],
[
106,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
269,
267
],
[
279,
268
],
[
276,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
273,
275
],
[
276,
276
],
[
276,
277
],
[
276,
278
],
[
279,
279
],
[
279,
280
],
[
279,
281
],
[
269,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
262,
286
],
[
286,
287
],
[
106,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
0,
294
],
[
294,
295
],
[
294,
296
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long n = s.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }\n\n out.println(ans.reverse().toString());\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long n = s.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }\n\n out.println(ans.reverse().toString());\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"FastReader in = new FastReader(inputStream);",
"in",
"new FastReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();",
"solver",
"new COneQuadrillionAndOneDalmatians()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long n = s.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }\n\n out.println(ans.reverse().toString());\n }\n\n }",
"COneQuadrillionAndOneDalmatians",
"public void solve(int testNumber, FastReader s, PrintWriter out) {\n long n = s.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }\n\n out.println(ans.reverse().toString());\n }",
"solve",
"{\n long n = s.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }\n\n out.println(ans.reverse().toString());\n }",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }",
"n > 0",
"n",
"0",
"{\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }",
"ans.append((char) (((n - 1L) % 26L) + 'a'))",
"ans.append",
"ans",
"(char) (((n - 1L) % 26L) + 'a')",
"((n - 1L) % 26L)",
"(n - 1L)",
"n",
"1L",
"26L",
"'a'",
"n = (n - 1L) / 26L",
"n",
"(n - 1L) / 26L",
"(n - 1L)",
"n",
"1L",
"26L",
"out.println(ans.reverse().toString())",
"out.println",
"out",
"ans.reverse().toString()",
"ans.reverse().toString",
"ans.reverse()",
"ans.reverse",
"ans",
"int testNumber",
"testNumber",
"FastReader s",
"s",
"PrintWriter out",
"out",
"static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"FastReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private FastReader.SpaceCharFilter filter;",
"filter",
"public FastReader(InputStream stream) {\n this.stream = stream;\n }",
"FastReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long n = s.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }\n\n out.println(ans.reverse().toString());\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, FastReader s, PrintWriter out) {\n long n = s.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n > 0) {\n ans.append((char) (((n - 1L) % 26L) + 'a'));\n n = (n - 1L) / 26L;\n }\n\n out.println(ans.reverse().toString());\n }\n\n }\n\n static class FastReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private FastReader.SpaceCharFilter filter;\n\n public FastReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
FastReader in = new FastReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();
solver.solve(1, in, out);
out.close();
}
static class COneQuadrillionAndOneDalmatians {
public void solve(int testNumber, FastReader s, PrintWriter out) {
long n = s.nextLong();
StringBuilder ans = new StringBuilder();
while (n > 0) {
ans.append((char) (((n - 1L) % 26L) + 'a'));
n = (n - 1L) / 26L;
}
out.println(ans.reverse().toString());
}
}
static class FastReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private FastReader.SpaceCharFilter filter;
public FastReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public long nextLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
4,
18,
13,
17,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
18,
13,
2,
13,
17,
13,
0,
13,
2,
13,
2,
4,
18,
13,
17,
13,
13,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
36,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
36,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
36,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
72,
78
],
[
36,
79
],
[
79,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
6,
87
],
[
87,
88
]
]
| [
"import java.util.*; \n\nclass Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n String ans=\"\";\n \t\tint c=0;\n\t\tString s=\"abcdefghijklmnopqrstuvwxyz\";\n \t\tString[] a=s.split(\"\");\n \n \n \t\twhile(n>0){\n long b1=n/(long)Math.pow(26,c);\n long b2=b1%26;\n if(b2==0){\n b2=26;\n }\n ans=a[(int)b2-1]+ans;\n n=n-(long)Math.pow(26,c)*b2;\n c++;\n \n }\n\t\t\n\n \tSystem.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n String ans=\"\";\n \t\tint c=0;\n\t\tString s=\"abcdefghijklmnopqrstuvwxyz\";\n \t\tString[] a=s.split(\"\");\n \n \n \t\twhile(n>0){\n long b1=n/(long)Math.pow(26,c);\n long b2=b1%26;\n if(b2==0){\n b2=26;\n }\n ans=a[(int)b2-1]+ans;\n n=n-(long)Math.pow(26,c)*b2;\n c++;\n \n }\n\t\t\n\n \tSystem.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n String ans=\"\";\n \t\tint c=0;\n\t\tString s=\"abcdefghijklmnopqrstuvwxyz\";\n \t\tString[] a=s.split(\"\");\n \n \n \t\twhile(n>0){\n long b1=n/(long)Math.pow(26,c);\n long b2=b1%26;\n if(b2==0){\n b2=26;\n }\n ans=a[(int)b2-1]+ans;\n n=n-(long)Math.pow(26,c)*b2;\n c++;\n \n }\n\t\t\n\n \tSystem.out.println(ans);\n }",
"main",
"{\n\tScanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n String ans=\"\";\n \t\tint c=0;\n\t\tString s=\"abcdefghijklmnopqrstuvwxyz\";\n \t\tString[] a=s.split(\"\");\n \n \n \t\twhile(n>0){\n long b1=n/(long)Math.pow(26,c);\n long b2=b1%26;\n if(b2==0){\n b2=26;\n }\n ans=a[(int)b2-1]+ans;\n n=n-(long)Math.pow(26,c)*b2;\n c++;\n \n }\n\t\t\n\n \tSystem.out.println(ans);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans=\"\";",
"ans",
"\"\"",
"int c=0;",
"c",
"0",
"String s=\"abcdefghijklmnopqrstuvwxyz\";",
"s",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String[] a=s.split(\"\");",
"a",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"while(n>0){\n long b1=n/(long)Math.pow(26,c);\n long b2=b1%26;\n if(b2==0){\n b2=26;\n }\n ans=a[(int)b2-1]+ans;\n n=n-(long)Math.pow(26,c)*b2;\n c++;\n \n }",
"n>0",
"n",
"0",
"{\n long b1=n/(long)Math.pow(26,c);\n long b2=b1%26;\n if(b2==0){\n b2=26;\n }\n ans=a[(int)b2-1]+ans;\n n=n-(long)Math.pow(26,c)*b2;\n c++;\n \n }",
"long b1=n/(long)Math.pow(26,c);",
"b1",
"n/(long)Math.pow(26,c)",
"n",
"(long)Math.pow(26,c)",
"Math.pow",
"Math",
"26",
"c",
"long b2=b1%26;",
"b2",
"b1%26",
"b1",
"26",
"if(b2==0){\n b2=26;\n }",
"b2==0",
"b2",
"0",
"{\n b2=26;\n }",
"b2=26",
"b2",
"26",
"ans=a[(int)b2-1]+ans",
"ans",
"a[(int)b2-1]+ans",
"a[(int)b2-1]",
"a",
"(int)b2-1",
"(int)b2",
"1",
"ans",
"n=n-(long)Math.pow(26,c)*b2",
"n",
"n-(long)Math.pow(26,c)*b2",
"n",
"(long)Math.pow(26,c)*b2",
"(long)Math.pow(26,c)",
"Math.pow",
"Math",
"26",
"c",
"b2",
"c++",
"c",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long n=sc.nextLong();
String ans="";
int c=0;
String s="abcdefghijklmnopqrstuvwxyz";
String[] a=s.split("");
while(n>0){
long b1=n/(long)Math.pow(26,c);
long b2=b1%26;
if(b2==0){
b2=26;
}
ans=a[(int)b2-1]+ans;
n=n-(long)Math.pow(26,c)*b2;
c++;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
17,
4,
18,
13,
13,
28,
13,
13,
30,
30,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
27,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
48,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
]
]
| [
"import java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n //n--;\n long i = 0;\n //答えはこのリストに集約\n ArrayList<Character> name = new ArrayList<Character>();\n\n while(n>0) {\n n--; //1から始まるので調整(while文の中で引くのはn=1の時も処理を行うため)\n i = n % 26;\n name.add((char)(i + 'a')); //余りとアルファベットの紐付け\n n /= 26;\n }\n Collections.reverse(name); //リストを反転させる\n for(char c: name) {\n System.out.print(c);\n }\n\n //もっと簡潔にかける(上記)\n /*\n ArrayList<Long> name = new ArrayList<Long>();\n\n //String base26 = Integer.toString(n-1, 26);\n\n while(n > 0) {\n long tmp = n % 26;\n n /= 26;\n /*if(i==0){\n tmp++;\n }\n if(tmp == 0){\n tmp += 97;\n }else {\n tmp += 96;\n }\n name.add(tmp);\n i++;\n }\n\n //listから配列へ変換(int)\n long[] hoge = new long[name.size()];\n for(int j=0; j<name.size();j++) {\n hoge[j] = name.get(j);\n }\n //System.out.println(name.get(0));\n //System.out.println(hoge[0]);\n\n String[] ansname =new String[name.size()];\n //数値をストリングに変換して, 文字列配列にいれる\n for(int j=0; j<name.size();j++) {\n String ans = Character.toString((char) hoge[j]);\n ansname[name.size()-j-1] = ans;\n }\n for(int j=0; j<name.size();j++) {\n System.out.print(ansname[j]);\n }\n */\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\tlong n = sc.nextLong();\n //n--;\n long i = 0;\n //答えはこのリストに集約\n ArrayList<Character> name = new ArrayList<Character>();\n\n while(n>0) {\n n--; //1から始まるので調整(while文の中で引くのはn=1の時も処理を行うため)\n i = n % 26;\n name.add((char)(i + 'a')); //余りとアルファベットの紐付け\n n /= 26;\n }\n Collections.reverse(name); //リストを反転させる\n for(char c: name) {\n System.out.print(c);\n }\n\n //もっと簡潔にかける(上記)\n /*\n ArrayList<Long> name = new ArrayList<Long>();\n\n //String base26 = Integer.toString(n-1, 26);\n\n while(n > 0) {\n long tmp = n % 26;\n n /= 26;\n /*if(i==0){\n tmp++;\n }\n if(tmp == 0){\n tmp += 97;\n }else {\n tmp += 96;\n }\n name.add(tmp);\n i++;\n }\n\n //listから配列へ変換(int)\n long[] hoge = new long[name.size()];\n for(int j=0; j<name.size();j++) {\n hoge[j] = name.get(j);\n }\n //System.out.println(name.get(0));\n //System.out.println(hoge[0]);\n\n String[] ansname =new String[name.size()];\n //数値をストリングに変換して, 文字列配列にいれる\n for(int j=0; j<name.size();j++) {\n String ans = Character.toString((char) hoge[j]);\n ansname[name.size()-j-1] = ans;\n }\n for(int j=0; j<name.size();j++) {\n System.out.print(ansname[j]);\n }\n */\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n //n--;\n long i = 0;\n //答えはこのリストに集約\n ArrayList<Character> name = new ArrayList<Character>();\n\n while(n>0) {\n n--; //1から始まるので調整(while文の中で引くのはn=1の時も処理を行うため)\n i = n % 26;\n name.add((char)(i + 'a')); //余りとアルファベットの紐付け\n n /= 26;\n }\n Collections.reverse(name); //リストを反転させる\n for(char c: name) {\n System.out.print(c);\n }\n\n //もっと簡潔にかける(上記)\n /*\n ArrayList<Long> name = new ArrayList<Long>();\n\n //String base26 = Integer.toString(n-1, 26);\n\n while(n > 0) {\n long tmp = n % 26;\n n /= 26;\n /*if(i==0){\n tmp++;\n }\n if(tmp == 0){\n tmp += 97;\n }else {\n tmp += 96;\n }\n name.add(tmp);\n i++;\n }\n\n //listから配列へ変換(int)\n long[] hoge = new long[name.size()];\n for(int j=0; j<name.size();j++) {\n hoge[j] = name.get(j);\n }\n //System.out.println(name.get(0));\n //System.out.println(hoge[0]);\n\n String[] ansname =new String[name.size()];\n //数値をストリングに変換して, 文字列配列にいれる\n for(int j=0; j<name.size();j++) {\n String ans = Character.toString((char) hoge[j]);\n ansname[name.size()-j-1] = ans;\n }\n for(int j=0; j<name.size();j++) {\n System.out.print(ansname[j]);\n }\n */\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n //n--;\n long i = 0;\n //答えはこのリストに集約\n ArrayList<Character> name = new ArrayList<Character>();\n\n while(n>0) {\n n--; //1から始まるので調整(while文の中で引くのはn=1の時も処理を行うため)\n i = n % 26;\n name.add((char)(i + 'a')); //余りとアルファベットの紐付け\n n /= 26;\n }\n Collections.reverse(name); //リストを反転させる\n for(char c: name) {\n System.out.print(c);\n }\n\n //もっと簡潔にかける(上記)\n /*\n ArrayList<Long> name = new ArrayList<Long>();\n\n //String base26 = Integer.toString(n-1, 26);\n\n while(n > 0) {\n long tmp = n % 26;\n n /= 26;\n /*if(i==0){\n tmp++;\n }\n if(tmp == 0){\n tmp += 97;\n }else {\n tmp += 96;\n }\n name.add(tmp);\n i++;\n }\n\n //listから配列へ変換(int)\n long[] hoge = new long[name.size()];\n for(int j=0; j<name.size();j++) {\n hoge[j] = name.get(j);\n }\n //System.out.println(name.get(0));\n //System.out.println(hoge[0]);\n\n String[] ansname =new String[name.size()];\n //数値をストリングに変換して, 文字列配列にいれる\n for(int j=0; j<name.size();j++) {\n String ans = Character.toString((char) hoge[j]);\n ansname[name.size()-j-1] = ans;\n }\n for(int j=0; j<name.size();j++) {\n System.out.print(ansname[j]);\n }\n */\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long i = 0;",
"i",
"0",
"ArrayList<Character> name = new ArrayList<Character>();",
"name",
"new ArrayList<Character>()",
"while(n>0) {\n n--; //1から始まるので調整(while文の中で引くのはn=1の時も処理を行うため)\n i = n % 26;\n name.add((char)(i + 'a')); //余りとアルファベットの紐付け\n n /= 26;\n }",
"n>0",
"n",
"0",
"{\n n--; //1から始まるので調整(while文の中で引くのはn=1の時も処理を行うため)\n i = n % 26;\n name.add((char)(i + 'a')); //余りとアルファベットの紐付け\n n /= 26;\n }",
"n--",
"n",
"i = n % 26",
"i",
"n % 26",
"n",
"26",
"name.add((char)(i + 'a'))",
"name.add",
"name",
"(char)(i + 'a')",
"i",
"'a'",
"n /= 26",
"n",
"26",
"Collections.reverse(name)",
"Collections.reverse",
"Collections",
"name",
"for(char c: name) {\n System.out.print(c);\n }",
"char c",
"name",
"{\n System.out.print(c);\n }",
"{\n System.out.print(c);\n }",
"System.out.print(c)",
"System.out.print",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
//n--;
long i = 0;
//答えはこのリストに集約
ArrayList<Character> name = new ArrayList<Character>();
while(n>0) {
n--; //1から始まるので調整(while文の中で引くのはn=1の時も処理を行うため)
i = n % 26;
name.add((char)(i + 'a')); //余りとアルファベットの紐付け
n /= 26;
}
Collections.reverse(name); //リストを反転させる
for(char c: name) {
System.out.print(c);
}
//もっと簡潔にかける(上記)
/*
ArrayList<Long> name = new ArrayList<Long>();
//String base26 = Integer.toString(n-1, 26);
while(n > 0) {
long tmp = n % 26;
n /= 26;
/*if(i==0){
tmp++;
}
if(tmp == 0){
tmp += 97;
}else {
tmp += 96;
}
name.add(tmp);
i++;
}
//listから配列へ変換(int)
long[] hoge = new long[name.size()];
for(int j=0; j<name.size();j++) {
hoge[j] = name.get(j);
}
//System.out.println(name.get(0));
//System.out.println(hoge[0]);
String[] ansname =new String[name.size()];
//数値をストリングに変換して, 文字列配列にいれる
for(int j=0; j<name.size();j++) {
String ans = Character.toString((char) hoge[j]);
ansname[name.size()-j-1] = ans;
}
for(int j=0; j<name.size();j++) {
System.out.print(ansname[j]);
}
*/
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
20,
2,
13,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
13,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
18,
13,
13,
14,
2,
13,
17,
3,
40,
13,
0,
13,
13,
41,
13,
20,
13,
40,
13,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
17,
2,
13,
18,
13,
2,
13,
17,
0,
13,
18,
13,
2,
13,
17,
41,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
40,
17,
1,
40,
13,
30,
30,
41,
13,
2,
17,
18,
13,
13,
0,
13,
13,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
29,
18,
36,
13,
12,
13,
30,
29,
18,
36,
13,
12,
13,
30,
29,
18,
36,
13,
12,
13,
30,
29,
4,
18,
13,
18,
36,
13,
18,
13,
13,
23,
13,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
13,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
13,
0,
18,
13,
13,
17,
0,
13,
13,
23,
13,
12,
13,
30,
14,
2,
18,
13,
13,
13,
30,
29,
13,
30,
29,
0,
18,
13,
13,
4,
13,
18,
13,
13,
23,
13,
12,
13,
30,
0,
13,
4,
13,
13,
0,
13,
4,
13,
13,
14,
2,
13,
13,
29,
17,
14,
2,
13,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
0,
18,
13,
13,
13,
0,
18,
13,
13,
18,
13,
13,
40,
13,
29,
17,
23,
13,
23,
13,
12,
13,
30,
29,
2,
4,
13,
13,
4,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
18,
13,
4,
13,
13,
23,
13,
12,
13,
30,
29,
18,
36,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
29,
2,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
40,
17,
41,
13,
18,
13,
13,
11,
1,
0,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
0,
13,
13,
14,
2,
13,
40,
17,
29,
17,
0,
13,
13,
11,
1,
0,
13,
2,
13,
17,
2,
2,
13,
13,
2,
18,
13,
13,
18,
13,
13,
1,
40,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
13,
11,
1,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
40,
13,
30,
30,
0,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
17,
23,
13,
12,
13,
30,
0,
13,
20,
2,
13,
17,
0,
13,
20,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
11,
1,
41,
13,
2,
13,
13,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
2,
13,
17,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
17,
17,
0,
13,
4,
13,
13,
13,
0,
13,
4,
13,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
28,
13,
13,
30,
0,
13,
2,
2,
2,
13,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
17,
28,
13,
13,
30,
0,
13,
2,
2,
13,
2,
2,
13,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
13,
13,
2,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
13,
18,
13,
13,
12,
13,
30,
0,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
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
],
[
1153,
23
],
[
1153,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
1153,
29
],
[
29,
30
],
[
1153,
31
],
[
31,
32
],
[
1153,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
39,
41
],
[
35,
42
],
[
42,
43
],
[
42,
44
],
[
45,
46
],
[
45,
47
],
[
35,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
35,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
53,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
35,
79
],
[
79,
80
],
[
79,
81
],
[
35,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
35,
87
],
[
87,
88
],
[
87,
89
],
[
35,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
94,
107
],
[
107,
108
],
[
94,
109
],
[
109,
110
],
[
109,
111
],
[
35,
112
],
[
112,
113
],
[
112,
114
],
[
35,
116
],
[
116,
117
],
[
35,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
118,
123
],
[
123,
124
],
[
123,
125
],
[
118,
126
],
[
126,
127
],
[
127,
128
],
[
118,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
131,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
141,
143
],
[
130,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
35,
151
],
[
151,
152
],
[
151,
153
],
[
35,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
158,
160
],
[
154,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
154,
165
],
[
165,
166
],
[
166,
167
],
[
154,
168
],
[
169,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
169,
177
],
[
177,
178
],
[
177,
179
],
[
35,
180
],
[
180,
181
],
[
180,
182
],
[
35,
183
],
[
183,
184
],
[
183,
185
],
[
35,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
35,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
35,
194
],
[
194,
195
],
[
195,
196
],
[
33,
197
],
[
197,
198
],
[
1153,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
199,
203
],
[
203,
204
],
[
199,
205
],
[
205,
206
],
[
199,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
209,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
209,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
207,
225
],
[
225,
226
],
[
207,
227
],
[
227,
228
],
[
207,
229
],
[
229,
230
],
[
199,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
199,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
199,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
199,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
256,
259
],
[
259,
260
],
[
259,
261
],
[
256,
262
],
[
262,
263
],
[
262,
264
],
[
252,
265
],
[
265,
266
],
[
199,
267
],
[
1153,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
268,
272
],
[
272,
273
],
[
268,
274
],
[
274,
275
],
[
268,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
283
],
[
283,
284
],
[
283,
285
],
[
278,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
287,
292
],
[
292,
293
],
[
292,
294
],
[
287,
295
],
[
295,
296
],
[
296,
297
],
[
287,
298
],
[
299,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
300,
304
],
[
299,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
278,
310
],
[
310,
311
],
[
310,
312
],
[
276,
313
],
[
313,
314
],
[
268,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
320,
322
],
[
319,
323
],
[
318,
324
],
[
324,
325
],
[
325,
326
],
[
318,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
330,
332
],
[
329,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
335,
337
],
[
315,
338
],
[
338,
339
],
[
268,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
345,
347
],
[
342,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
350,
352
],
[
342,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
357
],
[
357,
358
],
[
342,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
359,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
367,
369
],
[
363,
370
],
[
370,
371
],
[
370,
372
],
[
342,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
342,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
382,
384
],
[
342,
385
],
[
385,
386
],
[
342,
387
],
[
387,
388
],
[
340,
389
],
[
389,
390
],
[
340,
391
],
[
391,
392
],
[
268,
393
],
[
393,
394
],
[
393,
395
],
[
395,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
397,
401
],
[
401,
402
],
[
401,
403
],
[
393,
404
],
[
404,
405
],
[
393,
406
],
[
406,
407
],
[
268,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
414,
416
],
[
408,
417
],
[
417,
418
],
[
268,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
1153,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
426,
430
],
[
430,
431
],
[
430,
432
],
[
426,
434
],
[
434,
435
],
[
426,
436
],
[
436,
437
],
[
426,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
441,
443
],
[
440,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
445,
449
],
[
444,
450
],
[
450,
451
],
[
451,
452
],
[
451,
453
],
[
450,
454
],
[
454,
455
],
[
454,
456
],
[
440,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
457,
461
],
[
461,
462
],
[
462,
463
],
[
462,
464
],
[
461,
465
],
[
465,
466
],
[
465,
467
],
[
440,
468
],
[
468,
469
],
[
469,
470
],
[
469,
471
],
[
468,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
472,
476
],
[
476,
477
],
[
476,
478
],
[
440,
479
],
[
479,
480
],
[
480,
481
],
[
480,
482
],
[
479,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
483,
487
],
[
487,
488
],
[
487,
489
],
[
440,
490
],
[
490,
491
],
[
491,
492
],
[
491,
493
],
[
493,
494
],
[
493,
495
],
[
438,
496
],
[
496,
497
],
[
426,
498
],
[
498,
499
],
[
498,
500
],
[
500,
501
],
[
501,
502
],
[
501,
503
],
[
500,
504
],
[
504,
505
],
[
504,
506
],
[
500,
507
],
[
507,
508
],
[
507,
509
],
[
509,
510
],
[
500,
511
],
[
511,
512
],
[
511,
513
],
[
513,
514
],
[
513,
515
],
[
500,
516
],
[
516,
517
],
[
517,
518
],
[
518,
519
],
[
518,
520
],
[
516,
521
],
[
521,
522
],
[
521,
523
],
[
523,
524
],
[
523,
525
],
[
516,
526
],
[
526,
527
],
[
527,
528
],
[
516,
529
],
[
529,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
532,
534
],
[
531,
535
],
[
535,
536
],
[
535,
537
],
[
537,
538
],
[
537,
539
],
[
530,
540
],
[
540,
541
],
[
540,
542
],
[
500,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
546,
547
],
[
543,
548
],
[
548,
549
],
[
500,
550
],
[
550,
551
],
[
550,
552
],
[
500,
553
],
[
553,
554
],
[
554,
555
],
[
555,
556
],
[
555,
557
],
[
557,
558
],
[
557,
559
],
[
553,
560
],
[
560,
561
],
[
561,
562
],
[
561,
563
],
[
560,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
564,
568
],
[
568,
569
],
[
568,
570
],
[
553,
571
],
[
571,
572
],
[
572,
573
],
[
553,
574
],
[
500,
575
],
[
575,
576
],
[
575,
577
],
[
577,
578
],
[
577,
579
],
[
500,
580
],
[
580,
581
],
[
581,
582
],
[
581,
583
],
[
580,
584
],
[
584,
585
],
[
584,
586
],
[
586,
587
],
[
586,
588
],
[
500,
589
],
[
589,
590
],
[
590,
591
],
[
590,
592
],
[
592,
593
],
[
592,
594
],
[
589,
595
],
[
500,
596
],
[
596,
597
],
[
597,
598
],
[
598,
599
],
[
598,
600
],
[
600,
601
],
[
600,
602
],
[
597,
603
],
[
603,
604
],
[
603,
605
],
[
605,
606
],
[
605,
607
],
[
596,
608
],
[
608,
609
],
[
608,
610
],
[
596,
611
],
[
611,
612
],
[
612,
613
],
[
611,
614
],
[
614,
615
],
[
596,
616
],
[
617,
617
],
[
617,
618
],
[
618,
619
],
[
618,
620
],
[
620,
621
],
[
620,
622
],
[
617,
623
],
[
623,
624
],
[
624,
625
],
[
624,
626
],
[
623,
627
],
[
627,
628
],
[
627,
629
],
[
617,
630
],
[
630,
631
],
[
631,
632
],
[
631,
633
],
[
630,
634
],
[
500,
635
],
[
635,
636
],
[
498,
637
],
[
637,
638
],
[
426,
639
],
[
639,
640
],
[
639,
641
],
[
641,
642
],
[
642,
643
],
[
642,
644
],
[
645,
646
],
[
645,
647
],
[
641,
648
],
[
648,
649
],
[
648,
650
],
[
641,
651
],
[
651,
652
],
[
652,
653
],
[
652,
654
],
[
651,
655
],
[
641,
656
],
[
656,
657
],
[
657,
658
],
[
658,
659
],
[
658,
660
],
[
656,
661
],
[
661,
662
],
[
662,
663
],
[
662,
664
],
[
661,
665
],
[
656,
666
],
[
666,
667
],
[
667,
668
],
[
656,
669
],
[
670,
670
],
[
670,
671
],
[
671,
672
],
[
672,
673
],
[
673,
674
],
[
673,
675
],
[
672,
676
],
[
671,
677
],
[
677,
678
],
[
678,
679
],
[
679,
680
],
[
680,
681
],
[
680,
682
],
[
682,
683
],
[
682,
684
],
[
678,
685
],
[
685,
686
],
[
685,
687
],
[
678,
688
],
[
688,
689
],
[
689,
690
],
[
689,
691
],
[
678,
692
],
[
693,
693
],
[
693,
694
],
[
694,
695
],
[
695,
696
],
[
695,
697
],
[
694,
698
],
[
641,
699
],
[
699,
700
],
[
700,
701
],
[
701,
702
],
[
701,
703
],
[
699,
704
],
[
704,
705
],
[
704,
706
],
[
699,
707
],
[
707,
708
],
[
708,
709
],
[
699,
710
],
[
711,
711
],
[
711,
712
],
[
712,
713
],
[
713,
714
],
[
714,
715
],
[
714,
716
],
[
713,
717
],
[
712,
718
],
[
718,
719
],
[
719,
720
],
[
718,
721
],
[
639,
722
],
[
722,
723
],
[
426,
724
],
[
724,
725
],
[
724,
726
],
[
726,
727
],
[
727,
728
],
[
727,
729
],
[
726,
730
],
[
730,
731
],
[
730,
732
],
[
732,
733
],
[
732,
734
],
[
730,
735
],
[
735,
736
],
[
736,
737
],
[
736,
738
],
[
730,
739
],
[
740,
740
],
[
740,
741
],
[
741,
742
],
[
742,
743
],
[
743,
744
],
[
743,
745
],
[
742,
746
],
[
741,
747
],
[
747,
748
],
[
747,
749
],
[
749,
750
],
[
749,
751
],
[
749,
752
],
[
740,
753
],
[
753,
754
],
[
753,
755
],
[
755,
756
],
[
755,
757
],
[
755,
758
],
[
726,
759
],
[
759,
760
],
[
724,
761
],
[
761,
762
],
[
724,
763
],
[
763,
764
],
[
426,
765
],
[
765,
766
],
[
765,
767
],
[
767,
768
],
[
768,
769
],
[
768,
770
],
[
767,
771
],
[
771,
772
],
[
771,
773
],
[
771,
774
],
[
774,
775
],
[
775,
776
],
[
775,
777
],
[
777,
778
],
[
778,
779
],
[
779,
780
],
[
779,
781
],
[
778,
782
],
[
777,
783
],
[
767,
784
],
[
784,
785
],
[
765,
786
],
[
786,
787
],
[
426,
788
],
[
788,
789
],
[
788,
790
],
[
790,
791
],
[
791,
792
],
[
791,
793
],
[
790,
794
],
[
794,
795
],
[
794,
796
],
[
794,
797
],
[
797,
798
],
[
798,
799
],
[
798,
800
],
[
800,
801
],
[
801,
802
],
[
801,
803
],
[
803,
804
],
[
804,
805
],
[
804,
806
],
[
803,
807
],
[
800,
808
],
[
790,
809
],
[
809,
810
],
[
788,
811
],
[
811,
812
],
[
426,
813
],
[
813,
814
],
[
813,
815
],
[
815,
816
],
[
816,
817
],
[
817,
818
],
[
817,
819
],
[
817,
820
],
[
820,
821
],
[
820,
822
],
[
813,
823
],
[
823,
824
],
[
426,
825
],
[
825,
826
],
[
825,
827
],
[
827,
828
],
[
828,
829
],
[
829,
830
],
[
829,
831
],
[
828,
832
],
[
832,
833
],
[
827,
834
],
[
834,
835
],
[
835,
836
],
[
835,
837
],
[
837,
838
],
[
837,
839
],
[
835,
840
],
[
825,
841
],
[
841,
842
],
[
825,
843
],
[
843,
844
],
[
426,
845
],
[
845,
846
],
[
845,
847
],
[
847,
848
],
[
848,
849
],
[
848,
850
],
[
850,
851
],
[
850,
852
],
[
426,
853
],
[
853,
854
],
[
853,
855
],
[
855,
856
],
[
856,
857
],
[
856,
858
],
[
853,
859
],
[
859,
860
],
[
426,
861
],
[
861,
862
],
[
861,
863
],
[
863,
864
],
[
864,
865
],
[
865,
866
],
[
865,
867
],
[
867,
868
],
[
864,
869
],
[
869,
870
],
[
863,
871
],
[
871,
872
],
[
872,
873
],
[
872,
874
],
[
871,
875
],
[
875,
876
],
[
876,
877
],
[
876,
878
],
[
875,
879
],
[
879,
880
],
[
880,
881
],
[
880,
882
],
[
882,
883
],
[
883,
884
],
[
879,
885
],
[
885,
886
],
[
886,
887
],
[
886,
888
],
[
888,
889
],
[
889,
890
],
[
888,
891
],
[
875,
892
],
[
892,
893
],
[
893,
894
],
[
893,
895
],
[
892,
896
],
[
896,
897
],
[
897,
898
],
[
863,
899
],
[
899,
900
],
[
900,
901
],
[
900,
902
],
[
902,
903
],
[
426,
904
],
[
904,
905
],
[
904,
906
],
[
906,
907
],
[
907,
908
],
[
907,
909
],
[
909,
910
],
[
906,
911
],
[
911,
912
],
[
912,
913
],
[
912,
914
],
[
911,
915
],
[
915,
916
],
[
915,
917
],
[
917,
918
],
[
906,
919
],
[
919,
920
],
[
919,
921
],
[
906,
922
],
[
922,
923
],
[
923,
924
],
[
924,
925
],
[
924,
926
],
[
922,
927
],
[
927,
928
],
[
928,
929
],
[
929,
930
],
[
928,
931
],
[
927,
932
],
[
932,
933
],
[
932,
934
],
[
934,
935
],
[
906,
936
],
[
936,
937
],
[
937,
938
],
[
938,
939
],
[
426,
940
],
[
940,
941
],
[
940,
942
],
[
942,
943
],
[
943,
944
],
[
943,
945
],
[
945,
946
],
[
942,
947
],
[
947,
948
],
[
948,
949
],
[
948,
950
],
[
947,
951
],
[
951,
952
],
[
951,
953
],
[
953,
954
],
[
942,
955
],
[
955,
956
],
[
955,
957
],
[
942,
958
],
[
958,
959
],
[
959,
960
],
[
960,
961
],
[
960,
962
],
[
958,
963
],
[
963,
964
],
[
964,
965
],
[
965,
966
],
[
964,
967
],
[
963,
968
],
[
968,
969
],
[
968,
970
],
[
970,
971
],
[
942,
972
],
[
972,
973
],
[
973,
974
],
[
974,
975
],
[
426,
976
],
[
976,
977
],
[
976,
978
],
[
978,
979
],
[
979,
980
],
[
979,
981
],
[
981,
982
],
[
978,
983
],
[
983,
984
],
[
984,
985
],
[
984,
986
],
[
983,
987
],
[
987,
988
],
[
987,
989
],
[
989,
990
],
[
978,
991
],
[
991,
992
],
[
991,
993
],
[
978,
994
],
[
994,
995
],
[
995,
996
],
[
995,
997
],
[
994,
998
],
[
998,
999
],
[
999,
1000
],
[
999,
1001
],
[
1001,
1002
],
[
998,
1003
],
[
1003,
1004
],
[
1003,
1005
],
[
1005,
1006
],
[
978,
1007
],
[
1007,
1008
],
[
1007,
1009
],
[
978,
1010
],
[
1010,
1011
],
[
1011,
1012
],
[
1012,
1013
],
[
1012,
1014
],
[
1010,
1015
],
[
1015,
1016
],
[
1016,
1017
],
[
1017,
1018
],
[
1018,
1019
],
[
1018,
1020
],
[
1017,
1021
],
[
1021,
1022
],
[
1021,
1023
],
[
1016,
1024
],
[
1024,
1025
],
[
1015,
1026
],
[
1026,
1027
],
[
1026,
1028
],
[
1015,
1029
],
[
1029,
1030
],
[
1029,
1031
],
[
1031,
1032
],
[
1031,
1033
],
[
1015,
1034
],
[
1034,
1035
],
[
1034,
1036
],
[
1036,
1037
],
[
978,
1038
],
[
1038,
1039
],
[
1039,
1040
],
[
1039,
1041
],
[
426,
1042
],
[
1042,
1043
],
[
1042,
1044
],
[
1044,
1045
],
[
1045,
1046
],
[
1045,
1047
],
[
1047,
1048
],
[
1044,
1049
],
[
1049,
1050
],
[
1050,
1051
],
[
1050,
1052
],
[
1049,
1053
],
[
1053,
1054
],
[
1053,
1055
],
[
1055,
1056
],
[
1044,
1057
],
[
1057,
1058
],
[
1057,
1059
],
[
1044,
1060
],
[
1060,
1061
],
[
1061,
1062
],
[
1061,
1063
],
[
1060,
1064
],
[
1064,
1065
],
[
1065,
1066
],
[
1065,
1067
],
[
1067,
1068
],
[
1064,
1069
],
[
1069,
1070
],
[
1069,
1071
],
[
1071,
1072
],
[
1044,
1073
],
[
1073,
1074
],
[
1073,
1075
],
[
1044,
1076
],
[
1076,
1077
],
[
1077,
1078
],
[
1078,
1079
],
[
1078,
1080
],
[
1076,
1081
],
[
1081,
1082
],
[
1082,
1083
],
[
1083,
1084
],
[
1084,
1085
],
[
1084,
1086
],
[
1083,
1087
],
[
1087,
1088
],
[
1087,
1089
],
[
1082,
1090
],
[
1090,
1091
],
[
1081,
1092
],
[
1092,
1093
],
[
1092,
1094
],
[
1081,
1095
],
[
1095,
1096
],
[
1095,
1097
],
[
1097,
1098
],
[
1097,
1099
],
[
1081,
1100
],
[
1100,
1101
],
[
1100,
1102
],
[
1102,
1103
],
[
1044,
1104
],
[
1104,
1105
],
[
1105,
1106
],
[
1105,
1107
],
[
426,
1108
],
[
1108,
1109
],
[
1108,
1110
],
[
1110,
1111
],
[
1111,
1112
],
[
1115,
1113
],
[
1125,
1114
],
[
1122,
1115
],
[
1115,
1116
],
[
1116,
1117
],
[
1116,
1118
],
[
1115,
1119
],
[
1119,
1120
],
[
1119,
1121
],
[
1122,
1122
],
[
1122,
1123
],
[
1122,
1124
],
[
1125,
1125
],
[
1125,
1126
],
[
1125,
1127
],
[
1115,
1128
],
[
1128,
1129
],
[
1128,
1130
],
[
1130,
1131
],
[
1108,
1132
],
[
1132,
1133
],
[
426,
1134
],
[
1134,
1135
],
[
1134,
1136
],
[
1136,
1137
],
[
1137,
1138
],
[
1139,
1139
],
[
1139,
1140
],
[
1140,
1141
],
[
1140,
1142
],
[
1139,
1143
],
[
1143,
1144
],
[
1143,
1145
],
[
1139,
1146
],
[
1146,
1147
],
[
1146,
1148
],
[
1148,
1149
],
[
1134,
1150
],
[
1150,
1151
],
[
0,
1152
],
[
1152,
1153
],
[
1152,
1154
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Comparator;\nimport java.util.InputMismatchException;\n\n\npublic class Main {\n\n\tstatic long mod = (long)(1e+9 + 7);\n\tstatic int[] sieve;\n\tstatic ArrayList<Integer> primes;\n\n\tpublic static void main(String[] args) {\n\n\t\tint digitMax = 11;\n\t\tlong base = 26;\n\t\tlong[] digitNum = new long[digitMax+1];\n\t\tdigitNum[0] = 1;\n\t\tfor(int i = 1; i < digitMax+1; i++) {\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}\n\n\t\tfast s = new fast();\n\t\tlong n = s.nextLong();\n\n\t\tint numChar = 1;\n\t\twhile(n > 0) {\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}\n\n\t\tint[] digits = new int[numChar];\n\t\tn--;\n\t\tfor(int i = numChar; i > 0; i--) {\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}\n\n\t\tString ans = \"\";\n\t\tfor(int i = numChar-1; i > -1; i--) {\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}\n\n\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tStringBuilder sb = new StringBuilder(\"\");\n\t\tsb.append(ans);\n\n\t\tout.println(sb);\n\t\tout.close();\n\n\t}\n\n\n\n\tstatic class Pair implements Comparable<Pair>{\n\n\t\tprivate int v1;\n\t\tprivate int v2;\n\t\tprivate int weight;\n\n\t\tpublic Pair(int v1, int v2, int weight) {\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.weight = weight;\n\t\t}\n\n\t\tpublic int getv1() {\n\t\t\treturn this.v1;\n\t\t}\n\n\t\tpublic int getv2() {\n\t\t\treturn this.v2;\n\t\t}\n\n\t\tpublic int getWeight() {\n\t\t\treturn this.weight;\n\t\t}\n\n\t\tpublic int compareTo(Pair e) {\n\t\t\treturn Integer.compare(this.weight, e.weight);\n\t\t}\n\n\t}\n\n\tstatic class UnionFind {\n\t\tprivate int[] par;\n\t\tprivate int[] sizes;\n\t\tprivate int setNum;\n\n\t\t//Constructor\n\t\tpublic UnionFind(int n) {\n\t\t\tpar = new int[n];\n\t\t\tsizes = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}\n\t\t\tsetNum = n;\n\t\t}\n\n\t\tpublic int find(int x) {\n\t\t\tif(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}\n\t\t}\n\n\t\tpublic boolean unite(int x, int y) {\n\t\t\tx = find(x);\n\t\t\ty = find(y);\n\n\t\t\tif(x == y) return false;\n\n\t\t\tif(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\n\t\t\tpar[y] = x;\n\t\t\tsizes[x] += sizes[y];\n\t\t\tsetNum--;\n\t\t\treturn true;\n\t\t}\n\n\t\tpublic boolean same(int x, int y) {\n\t\t\treturn find(x)==find(y);\n\t\t}\n\n\t\tpublic int size(int x) {\n\t\t\treturn sizes[find(x)];\n\t\t}\n\n\t\tpublic int getSetNum() {\n\t\t\treturn this.setNum;\n\t\t}\n\n\t}\n\n\n\n\n\n\n\n\tstatic class fast {\n\n\t\t private InputStream i;\n\t\t\tprivate byte[] buf = new byte[1024];\n\t\t\tprivate int curChar;\n\n\t\t\tprivate int numChars;\n\n\t\t\t//Return floor log2n\n\t\t\tpublic static long log2(long bits) // returns 0 for bits=0\n\t\t\t\t{\n\t\t\t\t int log = 0;\n\t\t\t\t if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }\n\t\t\t\t if( bits >= 256 ) { bits >>>= 8; log += 8; }\n\t\t\t\t if( bits >= 16 ) { bits >>>= 4; log += 4; }\n\t\t\t\t if( bits >= 4 ) { bits >>>= 2; log += 2; }\n\t\t\t\t return log + ( bits >>> 1 );\n\t\t\t\t}\n\n\t\t\tpublic static boolean next_permutation(int a[])\n\t\t\t {\n\t\t\t\t int i=0,j=0;int index=-1;\n\t\t\t\t int n=a.length;\n\n\t\t\t\t for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;\n\n\t\t\t\t if(index==-1) return false;\n\t\t\t\t i=index;\n\n\n\t\t\t\t for(j=i+1;j<n && a[i]<a[j];j++);\n\n\t\t\t\t int temp=a[i];\n\t\t\t\t a[i]=a[j-1];\n\t\t\t\t a[j-1]=temp;\n\n\t\t\t\t for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }\n\n\t\t\t\t return true;\n\t\t\t }\n\n\t\t\tpublic static void sieve(int size)\n\t\t\t{\n\t\t\t\tsieve=new int[size+1];\n\n\t\t\t\tprimes=new ArrayList<Integer>();\n\n\t\t\t\tsieve[1]=1;\n\n\t\t\t\tfor(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpublic static long pow(long a, long p){\n\t\t\t long o = 1;\n\t\t\t for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long add(long... a){\n\t\t\t long o = 0;\n\t\t\t for(long x:a)o = (o+mod+x)%mod;\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long mul(long... a){\n\t\t\t long p = 1;\n\t\t\t for(long x:a)p = (mod+(p*x)%mod)%mod;\n\t\t\t return p;\n\t\t\t}\n\n\t\t\tpublic static long mod_inv(long n)\n\t\t\t{\n\t\t\t\treturn pow(n,mod-2);\n\t\t\t}\n\n\t\t\tpublic long gcd(long r,long ans)\n\t\t\t{\n\t\t\t\tif(r==0) return ans;\n\t\t\t\treturn gcd(ans%r,r);\n\t\t\t}\n\n\t\t\tpublic fast() {\n\t\t\t\tthis(System.in);\n\t\t\t}\n\t\t\tpublic fast(InputStream is) {\n\t\t\t\ti = is;\n\t\t\t}\n\t\t\tpublic int read() {\n\t\t\t\tif (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tif (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn buf[curChar++];\n\t\t\t}\n\t\t\tpublic String nextLine() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic String nextString() {\n\t \t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic long nextLong() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tlong res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic int nextInt() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tint res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic boolean isSpaceChar(int c) {\n\t\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t\t}\n\t\t\tpublic boolean isEndOfLine(int c) {\n\t\t\t\treturn c == '\\n' || c == '\\r' || c == -1;\n\t\t\t}\n\n\t\t}\n\n\n\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"public class Main {\n\n\tstatic long mod = (long)(1e+9 + 7);\n\tstatic int[] sieve;\n\tstatic ArrayList<Integer> primes;\n\n\tpublic static void main(String[] args) {\n\n\t\tint digitMax = 11;\n\t\tlong base = 26;\n\t\tlong[] digitNum = new long[digitMax+1];\n\t\tdigitNum[0] = 1;\n\t\tfor(int i = 1; i < digitMax+1; i++) {\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}\n\n\t\tfast s = new fast();\n\t\tlong n = s.nextLong();\n\n\t\tint numChar = 1;\n\t\twhile(n > 0) {\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}\n\n\t\tint[] digits = new int[numChar];\n\t\tn--;\n\t\tfor(int i = numChar; i > 0; i--) {\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}\n\n\t\tString ans = \"\";\n\t\tfor(int i = numChar-1; i > -1; i--) {\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}\n\n\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tStringBuilder sb = new StringBuilder(\"\");\n\t\tsb.append(ans);\n\n\t\tout.println(sb);\n\t\tout.close();\n\n\t}\n\n\n\n\tstatic class Pair implements Comparable<Pair>{\n\n\t\tprivate int v1;\n\t\tprivate int v2;\n\t\tprivate int weight;\n\n\t\tpublic Pair(int v1, int v2, int weight) {\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.weight = weight;\n\t\t}\n\n\t\tpublic int getv1() {\n\t\t\treturn this.v1;\n\t\t}\n\n\t\tpublic int getv2() {\n\t\t\treturn this.v2;\n\t\t}\n\n\t\tpublic int getWeight() {\n\t\t\treturn this.weight;\n\t\t}\n\n\t\tpublic int compareTo(Pair e) {\n\t\t\treturn Integer.compare(this.weight, e.weight);\n\t\t}\n\n\t}\n\n\tstatic class UnionFind {\n\t\tprivate int[] par;\n\t\tprivate int[] sizes;\n\t\tprivate int setNum;\n\n\t\t//Constructor\n\t\tpublic UnionFind(int n) {\n\t\t\tpar = new int[n];\n\t\t\tsizes = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}\n\t\t\tsetNum = n;\n\t\t}\n\n\t\tpublic int find(int x) {\n\t\t\tif(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}\n\t\t}\n\n\t\tpublic boolean unite(int x, int y) {\n\t\t\tx = find(x);\n\t\t\ty = find(y);\n\n\t\t\tif(x == y) return false;\n\n\t\t\tif(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\n\t\t\tpar[y] = x;\n\t\t\tsizes[x] += sizes[y];\n\t\t\tsetNum--;\n\t\t\treturn true;\n\t\t}\n\n\t\tpublic boolean same(int x, int y) {\n\t\t\treturn find(x)==find(y);\n\t\t}\n\n\t\tpublic int size(int x) {\n\t\t\treturn sizes[find(x)];\n\t\t}\n\n\t\tpublic int getSetNum() {\n\t\t\treturn this.setNum;\n\t\t}\n\n\t}\n\n\n\n\n\n\n\n\tstatic class fast {\n\n\t\t private InputStream i;\n\t\t\tprivate byte[] buf = new byte[1024];\n\t\t\tprivate int curChar;\n\n\t\t\tprivate int numChars;\n\n\t\t\t//Return floor log2n\n\t\t\tpublic static long log2(long bits) // returns 0 for bits=0\n\t\t\t\t{\n\t\t\t\t int log = 0;\n\t\t\t\t if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }\n\t\t\t\t if( bits >= 256 ) { bits >>>= 8; log += 8; }\n\t\t\t\t if( bits >= 16 ) { bits >>>= 4; log += 4; }\n\t\t\t\t if( bits >= 4 ) { bits >>>= 2; log += 2; }\n\t\t\t\t return log + ( bits >>> 1 );\n\t\t\t\t}\n\n\t\t\tpublic static boolean next_permutation(int a[])\n\t\t\t {\n\t\t\t\t int i=0,j=0;int index=-1;\n\t\t\t\t int n=a.length;\n\n\t\t\t\t for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;\n\n\t\t\t\t if(index==-1) return false;\n\t\t\t\t i=index;\n\n\n\t\t\t\t for(j=i+1;j<n && a[i]<a[j];j++);\n\n\t\t\t\t int temp=a[i];\n\t\t\t\t a[i]=a[j-1];\n\t\t\t\t a[j-1]=temp;\n\n\t\t\t\t for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }\n\n\t\t\t\t return true;\n\t\t\t }\n\n\t\t\tpublic static void sieve(int size)\n\t\t\t{\n\t\t\t\tsieve=new int[size+1];\n\n\t\t\t\tprimes=new ArrayList<Integer>();\n\n\t\t\t\tsieve[1]=1;\n\n\t\t\t\tfor(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpublic static long pow(long a, long p){\n\t\t\t long o = 1;\n\t\t\t for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long add(long... a){\n\t\t\t long o = 0;\n\t\t\t for(long x:a)o = (o+mod+x)%mod;\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long mul(long... a){\n\t\t\t long p = 1;\n\t\t\t for(long x:a)p = (mod+(p*x)%mod)%mod;\n\t\t\t return p;\n\t\t\t}\n\n\t\t\tpublic static long mod_inv(long n)\n\t\t\t{\n\t\t\t\treturn pow(n,mod-2);\n\t\t\t}\n\n\t\t\tpublic long gcd(long r,long ans)\n\t\t\t{\n\t\t\t\tif(r==0) return ans;\n\t\t\t\treturn gcd(ans%r,r);\n\t\t\t}\n\n\t\t\tpublic fast() {\n\t\t\t\tthis(System.in);\n\t\t\t}\n\t\t\tpublic fast(InputStream is) {\n\t\t\t\ti = is;\n\t\t\t}\n\t\t\tpublic int read() {\n\t\t\t\tif (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tif (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn buf[curChar++];\n\t\t\t}\n\t\t\tpublic String nextLine() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic String nextString() {\n\t \t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic long nextLong() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tlong res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic int nextInt() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tint res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic boolean isSpaceChar(int c) {\n\t\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t\t}\n\t\t\tpublic boolean isEndOfLine(int c) {\n\t\t\t\treturn c == '\\n' || c == '\\r' || c == -1;\n\t\t\t}\n\n\t\t}\n\n\n\n}",
"Main",
"static long mod = (long)(1e+9 + 7);",
"mod",
"(long)(1e+9 + 7)",
"1e+9",
"7",
"static int[] sieve;",
"sieve",
"static ArrayList<Integer> primes;",
"primes",
"public static void main(String[] args) {\n\n\t\tint digitMax = 11;\n\t\tlong base = 26;\n\t\tlong[] digitNum = new long[digitMax+1];\n\t\tdigitNum[0] = 1;\n\t\tfor(int i = 1; i < digitMax+1; i++) {\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}\n\n\t\tfast s = new fast();\n\t\tlong n = s.nextLong();\n\n\t\tint numChar = 1;\n\t\twhile(n > 0) {\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}\n\n\t\tint[] digits = new int[numChar];\n\t\tn--;\n\t\tfor(int i = numChar; i > 0; i--) {\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}\n\n\t\tString ans = \"\";\n\t\tfor(int i = numChar-1; i > -1; i--) {\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}\n\n\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tStringBuilder sb = new StringBuilder(\"\");\n\t\tsb.append(ans);\n\n\t\tout.println(sb);\n\t\tout.close();\n\n\t}",
"main",
"{\n\n\t\tint digitMax = 11;\n\t\tlong base = 26;\n\t\tlong[] digitNum = new long[digitMax+1];\n\t\tdigitNum[0] = 1;\n\t\tfor(int i = 1; i < digitMax+1; i++) {\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}\n\n\t\tfast s = new fast();\n\t\tlong n = s.nextLong();\n\n\t\tint numChar = 1;\n\t\twhile(n > 0) {\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}\n\n\t\tint[] digits = new int[numChar];\n\t\tn--;\n\t\tfor(int i = numChar; i > 0; i--) {\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}\n\n\t\tString ans = \"\";\n\t\tfor(int i = numChar-1; i > -1; i--) {\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}\n\n\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tStringBuilder sb = new StringBuilder(\"\");\n\t\tsb.append(ans);\n\n\t\tout.println(sb);\n\t\tout.close();\n\n\t}",
"int digitMax = 11;",
"digitMax",
"11",
"long base = 26;",
"base",
"26",
"long[] digitNum = new long[digitMax+1];",
"digitNum",
"new long[digitMax+1]",
"digitMax+1",
"digitMax",
"1",
"digitNum[0] = 1",
"digitNum[0]",
"digitNum",
"0",
"1",
"for(int i = 1; i < digitMax+1; i++) {\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < digitMax+1",
"i",
"digitMax+1",
"digitMax",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}",
"{\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}",
"digitNum[i] = digitNum[i-1] * base",
"digitNum[i]",
"digitNum",
"i",
"digitNum[i-1] * base",
"digitNum[i-1]",
"digitNum",
"i-1",
"i",
"1",
"base",
"fast s = new fast();",
"s",
"new fast()",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"int numChar = 1;",
"numChar",
"1",
"while(n > 0) {\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}",
"long tmp = n - digitNum[numChar];",
"tmp",
"n - digitNum[numChar]",
"n",
"digitNum[numChar]",
"digitNum",
"numChar",
"if(tmp < 1) break;",
"tmp < 1",
"tmp",
"1",
"break;",
"numChar++",
"numChar",
"n = tmp",
"n",
"tmp",
"int[] digits = new int[numChar];",
"digits",
"new int[numChar]",
"numChar",
"n--",
"n",
"for(int i = numChar; i > 0; i--) {\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}",
"int i = numChar;",
"int i = numChar;",
"i",
"numChar",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}",
"{\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}",
"digits[i-1] = (int)(n/digitNum[i-1])",
"digits[i-1]",
"digits",
"i-1",
"i",
"1",
"(int)(n/digitNum[i-1])",
"n",
"digitNum[i-1]",
"digitNum",
"i-1",
"i",
"1",
"n %= digitNum[i-1]",
"n",
"digitNum[i-1]",
"digitNum",
"i-1",
"i",
"1",
"String ans = \"\";",
"ans",
"\"\"",
"for(int i = numChar-1; i > -1; i--) {\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}",
"int i = numChar-1;",
"int i = numChar-1;",
"i",
"numChar-1",
"numChar",
"1",
"i > -1",
"i",
"-1",
"1",
"i--",
"i--",
"i",
"{\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}",
"{\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}",
"char tmpc = (char)('a' + digits[i]);",
"tmpc",
"(char)('a' + digits[i])",
"'a'",
"digits[i]",
"digits",
"i",
"ans += tmpc",
"ans",
"tmpc",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"StringBuilder sb = new StringBuilder(\"\");",
"sb",
"new StringBuilder(\"\")",
"sb.append(ans)",
"sb.append",
"sb",
"ans",
"out.println(sb)",
"out.println",
"out",
"sb",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Pair implements Comparable<Pair>{\n\n\t\tprivate int v1;\n\t\tprivate int v2;\n\t\tprivate int weight;\n\n\t\tpublic Pair(int v1, int v2, int weight) {\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.weight = weight;\n\t\t}\n\n\t\tpublic int getv1() {\n\t\t\treturn this.v1;\n\t\t}\n\n\t\tpublic int getv2() {\n\t\t\treturn this.v2;\n\t\t}\n\n\t\tpublic int getWeight() {\n\t\t\treturn this.weight;\n\t\t}\n\n\t\tpublic int compareTo(Pair e) {\n\t\t\treturn Integer.compare(this.weight, e.weight);\n\t\t}\n\n\t}",
"Pair",
"private int v1;",
"v1",
"private int v2;",
"v2",
"private int weight;",
"weight",
"public Pair(int v1, int v2, int weight) {\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.weight = weight;\n\t\t}",
"Pair",
"{\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.weight = weight;\n\t\t}",
"this.v1 = v1",
"this.v1",
"this",
"this.v1",
"v1",
"this.v2 = v2",
"this.v2",
"this",
"this.v2",
"v2",
"this.weight = weight",
"this.weight",
"this",
"this.weight",
"weight",
"int v1",
"v1",
"int v2",
"v2",
"int weight",
"weight",
"public int getv1() {\n\t\t\treturn this.v1;\n\t\t}",
"getv1",
"{\n\t\t\treturn this.v1;\n\t\t}",
"return this.v1;",
"this.v1",
"this",
"this.v1",
"public int getv2() {\n\t\t\treturn this.v2;\n\t\t}",
"getv2",
"{\n\t\t\treturn this.v2;\n\t\t}",
"return this.v2;",
"this.v2",
"this",
"this.v2",
"public int getWeight() {\n\t\t\treturn this.weight;\n\t\t}",
"getWeight",
"{\n\t\t\treturn this.weight;\n\t\t}",
"return this.weight;",
"this.weight",
"this",
"this.weight",
"public int compareTo(Pair e) {\n\t\t\treturn Integer.compare(this.weight, e.weight);\n\t\t}",
"compareTo",
"{\n\t\t\treturn Integer.compare(this.weight, e.weight);\n\t\t}",
"return Integer.compare(this.weight, e.weight);",
"Integer.compare(this.weight, e.weight)",
"Integer.compare",
"Integer",
"this.weight",
"this",
"this.weight",
"e.weight",
"e",
"e.weight",
"Pair e",
"e",
"Comparable",
"static class UnionFind {\n\t\tprivate int[] par;\n\t\tprivate int[] sizes;\n\t\tprivate int setNum;\n\n\t\t//Constructor\n\t\tpublic UnionFind(int n) {\n\t\t\tpar = new int[n];\n\t\t\tsizes = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}\n\t\t\tsetNum = n;\n\t\t}\n\n\t\tpublic int find(int x) {\n\t\t\tif(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}\n\t\t}\n\n\t\tpublic boolean unite(int x, int y) {\n\t\t\tx = find(x);\n\t\t\ty = find(y);\n\n\t\t\tif(x == y) return false;\n\n\t\t\tif(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\n\t\t\tpar[y] = x;\n\t\t\tsizes[x] += sizes[y];\n\t\t\tsetNum--;\n\t\t\treturn true;\n\t\t}\n\n\t\tpublic boolean same(int x, int y) {\n\t\t\treturn find(x)==find(y);\n\t\t}\n\n\t\tpublic int size(int x) {\n\t\t\treturn sizes[find(x)];\n\t\t}\n\n\t\tpublic int getSetNum() {\n\t\t\treturn this.setNum;\n\t\t}\n\n\t}",
"UnionFind",
"private int[] par;",
"par",
"private int[] sizes;",
"sizes",
"private int setNum;",
"setNum",
"//Constructor\n\t\tpublic UnionFind(int n) {\n\t\t\tpar = new int[n];\n\t\t\tsizes = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}\n\t\t\tsetNum = n;\n\t\t}",
"UnionFind",
"{\n\t\t\tpar = new int[n];\n\t\t\tsizes = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}\n\t\t\tsetNum = n;\n\t\t}",
"par = new int[n]",
"par",
"new int[n]",
"n",
"sizes = new int[n]",
"sizes",
"new int[n]",
"n",
"for(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}",
"{\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}",
"par[i] = i",
"par[i]",
"par",
"i",
"i",
"sizes[i] = 1",
"sizes[i]",
"sizes",
"i",
"1",
"setNum = n",
"setNum",
"n",
"int n",
"n",
"public int find(int x) {\n\t\t\tif(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}\n\t\t}",
"find",
"{\n\t\t\tif(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}\n\t\t}",
"if(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}",
"par[x] == x",
"par[x]",
"par",
"x",
"x",
"{\n\t\t\t\treturn x;\n\t\t\t}",
"return x;",
"x",
"{\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}",
"return par[x]=find(par[x]);",
"par[x]=find(par[x])",
"par[x]",
"par",
"x",
"find(par[x])",
"find",
"par[x]",
"par",
"x",
"int x",
"x",
"public boolean unite(int x, int y) {\n\t\t\tx = find(x);\n\t\t\ty = find(y);\n\n\t\t\tif(x == y) return false;\n\n\t\t\tif(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\n\t\t\tpar[y] = x;\n\t\t\tsizes[x] += sizes[y];\n\t\t\tsetNum--;\n\t\t\treturn true;\n\t\t}",
"unite",
"{\n\t\t\tx = find(x);\n\t\t\ty = find(y);\n\n\t\t\tif(x == y) return false;\n\n\t\t\tif(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\n\t\t\tpar[y] = x;\n\t\t\tsizes[x] += sizes[y];\n\t\t\tsetNum--;\n\t\t\treturn true;\n\t\t}",
"x = find(x)",
"x",
"find(x)",
"find",
"x",
"y = find(y)",
"y",
"find(y)",
"find",
"y",
"if(x == y) return false;",
"x == y",
"x",
"y",
"return false;",
"false",
"if(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}",
"x < y",
"x",
"y",
"{\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}",
"int temp = x;",
"temp",
"x",
"x = y",
"x",
"y",
"y = temp",
"y",
"temp",
"par[y] = x",
"par[y]",
"par",
"y",
"x",
"sizes[x] += sizes[y]",
"sizes[x]",
"sizes",
"x",
"sizes[y]",
"sizes",
"y",
"setNum--",
"setNum",
"return true;",
"true",
"int x",
"x",
"int y",
"y",
"public boolean same(int x, int y) {\n\t\t\treturn find(x)==find(y);\n\t\t}",
"same",
"{\n\t\t\treturn find(x)==find(y);\n\t\t}",
"return find(x)==find(y);",
"find(x)==find(y)",
"find(x)",
"find",
"x",
"find(y)",
"find",
"y",
"int x",
"x",
"int y",
"y",
"public int size(int x) {\n\t\t\treturn sizes[find(x)];\n\t\t}",
"size",
"{\n\t\t\treturn sizes[find(x)];\n\t\t}",
"return sizes[find(x)];",
"sizes[find(x)]",
"sizes",
"find(x)",
"find",
"x",
"int x",
"x",
"public int getSetNum() {\n\t\t\treturn this.setNum;\n\t\t}",
"getSetNum",
"{\n\t\t\treturn this.setNum;\n\t\t}",
"return this.setNum;",
"this.setNum",
"this",
"this.setNum",
"static class fast {\n\n\t\t private InputStream i;\n\t\t\tprivate byte[] buf = new byte[1024];\n\t\t\tprivate int curChar;\n\n\t\t\tprivate int numChars;\n\n\t\t\t//Return floor log2n\n\t\t\tpublic static long log2(long bits) // returns 0 for bits=0\n\t\t\t\t{\n\t\t\t\t int log = 0;\n\t\t\t\t if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }\n\t\t\t\t if( bits >= 256 ) { bits >>>= 8; log += 8; }\n\t\t\t\t if( bits >= 16 ) { bits >>>= 4; log += 4; }\n\t\t\t\t if( bits >= 4 ) { bits >>>= 2; log += 2; }\n\t\t\t\t return log + ( bits >>> 1 );\n\t\t\t\t}\n\n\t\t\tpublic static boolean next_permutation(int a[])\n\t\t\t {\n\t\t\t\t int i=0,j=0;int index=-1;\n\t\t\t\t int n=a.length;\n\n\t\t\t\t for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;\n\n\t\t\t\t if(index==-1) return false;\n\t\t\t\t i=index;\n\n\n\t\t\t\t for(j=i+1;j<n && a[i]<a[j];j++);\n\n\t\t\t\t int temp=a[i];\n\t\t\t\t a[i]=a[j-1];\n\t\t\t\t a[j-1]=temp;\n\n\t\t\t\t for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }\n\n\t\t\t\t return true;\n\t\t\t }\n\n\t\t\tpublic static void sieve(int size)\n\t\t\t{\n\t\t\t\tsieve=new int[size+1];\n\n\t\t\t\tprimes=new ArrayList<Integer>();\n\n\t\t\t\tsieve[1]=1;\n\n\t\t\t\tfor(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpublic static long pow(long a, long p){\n\t\t\t long o = 1;\n\t\t\t for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long add(long... a){\n\t\t\t long o = 0;\n\t\t\t for(long x:a)o = (o+mod+x)%mod;\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long mul(long... a){\n\t\t\t long p = 1;\n\t\t\t for(long x:a)p = (mod+(p*x)%mod)%mod;\n\t\t\t return p;\n\t\t\t}\n\n\t\t\tpublic static long mod_inv(long n)\n\t\t\t{\n\t\t\t\treturn pow(n,mod-2);\n\t\t\t}\n\n\t\t\tpublic long gcd(long r,long ans)\n\t\t\t{\n\t\t\t\tif(r==0) return ans;\n\t\t\t\treturn gcd(ans%r,r);\n\t\t\t}\n\n\t\t\tpublic fast() {\n\t\t\t\tthis(System.in);\n\t\t\t}\n\t\t\tpublic fast(InputStream is) {\n\t\t\t\ti = is;\n\t\t\t}\n\t\t\tpublic int read() {\n\t\t\t\tif (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tif (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn buf[curChar++];\n\t\t\t}\n\t\t\tpublic String nextLine() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic String nextString() {\n\t \t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic long nextLong() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tlong res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic int nextInt() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tint res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic boolean isSpaceChar(int c) {\n\t\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t\t}\n\t\t\tpublic boolean isEndOfLine(int c) {\n\t\t\t\treturn c == '\\n' || c == '\\r' || c == -1;\n\t\t\t}\n\n\t\t}",
"fast",
"private InputStream i;",
"i",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"//Return floor log2n\n\t\t\tpublic static long log2(long bits) // returns 0 for bits=0\n\t\t\t\t{\n\t\t\t\t int log = 0;\n\t\t\t\t if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }\n\t\t\t\t if( bits >= 256 ) { bits >>>= 8; log += 8; }\n\t\t\t\t if( bits >= 16 ) { bits >>>= 4; log += 4; }\n\t\t\t\t if( bits >= 4 ) { bits >>>= 2; log += 2; }\n\t\t\t\t return log + ( bits >>> 1 );\n\t\t\t\t}",
"log2",
"{\n\t\t\t\t int log = 0;\n\t\t\t\t if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }\n\t\t\t\t if( bits >= 256 ) { bits >>>= 8; log += 8; }\n\t\t\t\t if( bits >= 16 ) { bits >>>= 4; log += 4; }\n\t\t\t\t if( bits >= 4 ) { bits >>>= 2; log += 2; }\n\t\t\t\t return log + ( bits >>> 1 );\n\t\t\t\t}",
"int log = 0;",
"log",
"0",
"if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }",
"( bits & 0xffff0000 ) != 0",
"( bits & 0xffff0000 )",
"bits",
"0xffff0000",
"0",
"{ bits >>>= 16; log = 16; }",
"bits >>>= 16",
"bits",
"16",
"log = 16",
"log",
"16",
"if( bits >= 256 ) { bits >>>= 8; log += 8; }",
"bits >= 256",
"bits",
"256",
"{ bits >>>= 8; log += 8; }",
"bits >>>= 8",
"bits",
"8",
"log += 8",
"log",
"8",
"if( bits >= 16 ) { bits >>>= 4; log += 4; }",
"bits >= 16",
"bits",
"16",
"{ bits >>>= 4; log += 4; }",
"bits >>>= 4",
"bits",
"4",
"log += 4",
"log",
"4",
"if( bits >= 4 ) { bits >>>= 2; log += 2; }",
"bits >= 4",
"bits",
"4",
"{ bits >>>= 2; log += 2; }",
"bits >>>= 2",
"bits",
"2",
"log += 2",
"log",
"2",
"return log + ( bits >>> 1 );",
"log + ( bits >>> 1 )",
"log",
"( bits >>> 1 )",
"bits",
"1",
"long bits",
"bits",
"public static boolean next_permutation(int a[])\n\t\t\t {\n\t\t\t\t int i=0,j=0;int index=-1;\n\t\t\t\t int n=a.length;\n\n\t\t\t\t for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;\n\n\t\t\t\t if(index==-1) return false;\n\t\t\t\t i=index;\n\n\n\t\t\t\t for(j=i+1;j<n && a[i]<a[j];j++);\n\n\t\t\t\t int temp=a[i];\n\t\t\t\t a[i]=a[j-1];\n\t\t\t\t a[j-1]=temp;\n\n\t\t\t\t for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }\n\n\t\t\t\t return true;\n\t\t\t }",
"next_permutation",
"{\n\t\t\t\t int i=0,j=0;int index=-1;\n\t\t\t\t int n=a.length;\n\n\t\t\t\t for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;\n\n\t\t\t\t if(index==-1) return false;\n\t\t\t\t i=index;\n\n\n\t\t\t\t for(j=i+1;j<n && a[i]<a[j];j++);\n\n\t\t\t\t int temp=a[i];\n\t\t\t\t a[i]=a[j-1];\n\t\t\t\t a[j-1]=temp;\n\n\t\t\t\t for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }\n\n\t\t\t\t return true;\n\t\t\t }",
"int i=0",
"i",
"0",
"j=0;",
"j",
"0",
"int index=-1;",
"index",
"-1",
"1",
"int n=a.length;",
"n",
"a.length",
"a",
"a.length",
"for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;",
"i=0;",
"i=0",
"i",
"0",
"i<n-1",
"i",
"n-1",
"n",
"1",
"i++",
"i++",
"i",
"if(a[i]<a[i+1]) index=i;",
"if(a[i]<a[i+1]) index=i;",
"a[i]<a[i+1]",
"a[i]",
"a",
"i",
"a[i+1]",
"a",
"i+1",
"i",
"1",
"index=i",
"index",
"i",
"if(index==-1) return false;",
"index==-1",
"index",
"-1",
"1",
"return false;",
"false",
"i=index",
"i",
"index",
"for(j=i+1;j<n && a[i]<a[j];j++);",
"j=i+1;",
"j=i+1",
"j",
"i+1",
"i",
"1",
"j<n && a[i]<a[j]",
"j<n",
"j",
"n",
"a[i]<a[j]",
"a[i]",
"a",
"i",
"a[j]",
"a",
"j",
"j++",
"j++",
"j",
";",
"int temp=a[i];",
"temp",
"a[i]",
"a",
"i",
"a[i]=a[j-1]",
"a[i]",
"a",
"i",
"a[j-1]",
"a",
"j-1",
"j",
"1",
"a[j-1]=temp",
"a[j-1]",
"a",
"j-1",
"j",
"1",
"temp",
"for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }",
"int p=i+1,q=n-1;",
"int p=i+1",
"p",
"i+1",
"i",
"1",
"q=n-1;",
"q",
"n-1",
"n",
"1",
"p<q",
"p",
"q",
"p++,q--",
"p++",
"p",
"q--",
"q",
"{\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }",
"{\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }",
"temp=a[p]",
"temp",
"a[p]",
"a",
"p",
"a[p]=a[q]",
"a[p]",
"a",
"p",
"a[q]",
"a",
"q",
"a[q]=temp",
"a[q]",
"a",
"q",
"temp",
"return true;",
"true",
"int a[]",
"a",
"public static void sieve(int size)\n\t\t\t{\n\t\t\t\tsieve=new int[size+1];\n\n\t\t\t\tprimes=new ArrayList<Integer>();\n\n\t\t\t\tsieve[1]=1;\n\n\t\t\t\tfor(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}\n\t\t\t}",
"sieve",
"{\n\t\t\t\tsieve=new int[size+1];\n\n\t\t\t\tprimes=new ArrayList<Integer>();\n\n\t\t\t\tsieve[1]=1;\n\n\t\t\t\tfor(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}\n\t\t\t}",
"sieve=new int[size+1]",
"sieve",
"new int[size+1]",
"size+1",
"size",
"1",
"primes=new ArrayList<Integer>()",
"primes",
"new ArrayList<Integer>()",
"sieve[1]=1",
"sieve[1]",
"sieve",
"1",
"1",
"for(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=size",
"i*i",
"i",
"i",
"size",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}",
"{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}",
"if(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }",
"sieve[i]==0",
"sieve[i]",
"sieve",
"i",
"0",
"{\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }",
"for(int j=i*i;j<size;j+=i) {sieve[j]=1;}",
"int j=i*i;",
"int j=i*i;",
"j",
"i*i",
"i",
"i",
"j<size",
"j",
"size",
"j+=i",
"j+=i",
"j",
"i",
"{sieve[j]=1;}",
"{sieve[j]=1;}",
"sieve[j]=1",
"sieve[j]",
"sieve",
"j",
"1",
"for(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}",
"int i=2;",
"int i=2;",
"i",
"2",
"i<=size",
"i",
"size",
"i++",
"i++",
"i",
"{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}",
"{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}",
"if(sieve[i]==0) primes.add(i);",
"sieve[i]==0",
"sieve[i]",
"sieve",
"i",
"0",
"primes.add(i)",
"primes.add",
"primes",
"i",
"int size",
"size",
"public static long pow(long a, long p){\n\t\t\t long o = 1;\n\t\t\t for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }\n\t\t\t return o;\n\t\t\t}",
"pow",
"{\n\t\t\t long o = 1;\n\t\t\t for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }\n\t\t\t return o;\n\t\t\t}",
"long o = 1;",
"o",
"1",
"for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }",
";",
"p>0",
"p",
"0",
"p>>=1",
"p>>=1",
"p",
"1",
"{\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }",
"{\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }",
"if((p&1)==1)o = mul(o, a);",
"(p&1)==1",
"(p&1)",
"p",
"1",
"1",
"o = mul(o, a)",
"o",
"mul(o, a)",
"mul",
"o",
"a",
"a = mul(a, a)",
"a",
"mul(a, a)",
"mul",
"a",
"a",
"return o;",
"o",
"long a",
"a",
"long p",
"p",
"public static long add(long... a){\n\t\t\t long o = 0;\n\t\t\t for(long x:a)o = (o+mod+x)%mod;\n\t\t\t return o;\n\t\t\t}",
"add",
"{\n\t\t\t long o = 0;\n\t\t\t for(long x:a)o = (o+mod+x)%mod;\n\t\t\t return o;\n\t\t\t}",
"long o = 0;",
"o",
"0",
"for(long x:a)o = (o+mod+x)%mod;",
"long x",
"a",
"o = (o+mod+x)%mod;",
"o = (o+mod+x)%mod",
"o",
"(o+mod+x)%mod",
"(o+mod+x)",
"o+mod+x",
"o",
"mod",
"x",
"mod",
"return o;",
"o",
"long... a",
"a",
"public static long mul(long... a){\n\t\t\t long p = 1;\n\t\t\t for(long x:a)p = (mod+(p*x)%mod)%mod;\n\t\t\t return p;\n\t\t\t}",
"mul",
"{\n\t\t\t long p = 1;\n\t\t\t for(long x:a)p = (mod+(p*x)%mod)%mod;\n\t\t\t return p;\n\t\t\t}",
"long p = 1;",
"p",
"1",
"for(long x:a)p = (mod+(p*x)%mod)%mod;",
"long x",
"a",
"p = (mod+(p*x)%mod)%mod;",
"p = (mod+(p*x)%mod)%mod",
"p",
"(mod+(p*x)%mod)%mod",
"(mod+(p*x)%mod)",
"mod",
"(p*x)%mod",
"(p*x)",
"p",
"x",
"mod",
"mod",
"return p;",
"p",
"long... a",
"a",
"public static long mod_inv(long n)\n\t\t\t{\n\t\t\t\treturn pow(n,mod-2);\n\t\t\t}",
"mod_inv",
"{\n\t\t\t\treturn pow(n,mod-2);\n\t\t\t}",
"return pow(n,mod-2);",
"pow(n,mod-2)",
"pow",
"n",
"mod-2",
"mod",
"2",
"long n",
"n",
"public long gcd(long r,long ans)\n\t\t\t{\n\t\t\t\tif(r==0) return ans;\n\t\t\t\treturn gcd(ans%r,r);\n\t\t\t}",
"gcd",
"{\n\t\t\t\tif(r==0) return ans;\n\t\t\t\treturn gcd(ans%r,r);\n\t\t\t}",
"if(r==0) return ans;",
"r==0",
"r",
"0",
"return ans;",
"ans",
"return gcd(ans%r,r);",
"gcd(ans%r,r)",
"gcd",
"ans%r",
"ans",
"r",
"r",
"long r",
"r",
"long ans",
"ans",
"public fast() {\n\t\t\t\tthis(System.in);\n\t\t\t}",
"fast",
"{\n\t\t\t\tthis(System.in);\n\t\t\t}",
"this(System.in)",
"this",
"System.in",
"System",
"System.in",
"public fast(InputStream is) {\n\t\t\t\ti = is;\n\t\t\t}",
"fast",
"{\n\t\t\t\ti = is;\n\t\t\t}",
"i = is",
"i",
"is",
"InputStream is",
"is",
"public int read() {\n\t\t\t\tif (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tif (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn buf[curChar++];\n\t\t\t}",
"read",
"{\n\t\t\t\tif (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tif (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn buf[curChar++];\n\t\t\t}",
"if (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}",
"curChar >= numChars",
"curChar",
"numChars",
"{\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}",
"curChar = 0",
"curChar",
"0",
"try {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t}",
"numChars = i.read(buf)",
"numChars",
"i.read(buf)",
"i.read",
"i",
"buf",
"if (numChars <= 0)\n\t\t\t\t\t\treturn -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextLine() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));\n\t\t\t\treturn res.toString();\n\t\t\t}",
"nextLine",
"{\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));\n\t\t\t\treturn res.toString();\n\t\t\t}",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n\t\t\t\t\tc = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextString() {\n\t \t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res.toString();\n\t\t\t}",
"nextString",
"{\n\t \t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res.toString();\n\t\t\t}",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n\t\t\t\t\tc = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public long nextLong() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tlong res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}",
"nextLong",
"{\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tlong res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n\t\t\t\t\tc = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"if (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int nextInt() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tint res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}",
"nextInt",
"{\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tint res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n\t\t\t\t\tc = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t}",
"if (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n\t\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t\t}",
"isSpaceChar",
"{\n\t\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t\t}",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public boolean isEndOfLine(int c) {\n\t\t\t\treturn c == '\\n' || c == '\\r' || c == -1;\n\t\t\t}",
"isEndOfLine",
"{\n\t\t\t\treturn c == '\\n' || c == '\\r' || c == -1;\n\t\t\t}",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public class Main {\n\n\tstatic long mod = (long)(1e+9 + 7);\n\tstatic int[] sieve;\n\tstatic ArrayList<Integer> primes;\n\n\tpublic static void main(String[] args) {\n\n\t\tint digitMax = 11;\n\t\tlong base = 26;\n\t\tlong[] digitNum = new long[digitMax+1];\n\t\tdigitNum[0] = 1;\n\t\tfor(int i = 1; i < digitMax+1; i++) {\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}\n\n\t\tfast s = new fast();\n\t\tlong n = s.nextLong();\n\n\t\tint numChar = 1;\n\t\twhile(n > 0) {\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}\n\n\t\tint[] digits = new int[numChar];\n\t\tn--;\n\t\tfor(int i = numChar; i > 0; i--) {\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}\n\n\t\tString ans = \"\";\n\t\tfor(int i = numChar-1; i > -1; i--) {\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}\n\n\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tStringBuilder sb = new StringBuilder(\"\");\n\t\tsb.append(ans);\n\n\t\tout.println(sb);\n\t\tout.close();\n\n\t}\n\n\n\n\tstatic class Pair implements Comparable<Pair>{\n\n\t\tprivate int v1;\n\t\tprivate int v2;\n\t\tprivate int weight;\n\n\t\tpublic Pair(int v1, int v2, int weight) {\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.weight = weight;\n\t\t}\n\n\t\tpublic int getv1() {\n\t\t\treturn this.v1;\n\t\t}\n\n\t\tpublic int getv2() {\n\t\t\treturn this.v2;\n\t\t}\n\n\t\tpublic int getWeight() {\n\t\t\treturn this.weight;\n\t\t}\n\n\t\tpublic int compareTo(Pair e) {\n\t\t\treturn Integer.compare(this.weight, e.weight);\n\t\t}\n\n\t}\n\n\tstatic class UnionFind {\n\t\tprivate int[] par;\n\t\tprivate int[] sizes;\n\t\tprivate int setNum;\n\n\t\t//Constructor\n\t\tpublic UnionFind(int n) {\n\t\t\tpar = new int[n];\n\t\t\tsizes = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}\n\t\t\tsetNum = n;\n\t\t}\n\n\t\tpublic int find(int x) {\n\t\t\tif(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}\n\t\t}\n\n\t\tpublic boolean unite(int x, int y) {\n\t\t\tx = find(x);\n\t\t\ty = find(y);\n\n\t\t\tif(x == y) return false;\n\n\t\t\tif(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\n\t\t\tpar[y] = x;\n\t\t\tsizes[x] += sizes[y];\n\t\t\tsetNum--;\n\t\t\treturn true;\n\t\t}\n\n\t\tpublic boolean same(int x, int y) {\n\t\t\treturn find(x)==find(y);\n\t\t}\n\n\t\tpublic int size(int x) {\n\t\t\treturn sizes[find(x)];\n\t\t}\n\n\t\tpublic int getSetNum() {\n\t\t\treturn this.setNum;\n\t\t}\n\n\t}\n\n\n\n\n\n\n\n\tstatic class fast {\n\n\t\t private InputStream i;\n\t\t\tprivate byte[] buf = new byte[1024];\n\t\t\tprivate int curChar;\n\n\t\t\tprivate int numChars;\n\n\t\t\t//Return floor log2n\n\t\t\tpublic static long log2(long bits) // returns 0 for bits=0\n\t\t\t\t{\n\t\t\t\t int log = 0;\n\t\t\t\t if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }\n\t\t\t\t if( bits >= 256 ) { bits >>>= 8; log += 8; }\n\t\t\t\t if( bits >= 16 ) { bits >>>= 4; log += 4; }\n\t\t\t\t if( bits >= 4 ) { bits >>>= 2; log += 2; }\n\t\t\t\t return log + ( bits >>> 1 );\n\t\t\t\t}\n\n\t\t\tpublic static boolean next_permutation(int a[])\n\t\t\t {\n\t\t\t\t int i=0,j=0;int index=-1;\n\t\t\t\t int n=a.length;\n\n\t\t\t\t for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;\n\n\t\t\t\t if(index==-1) return false;\n\t\t\t\t i=index;\n\n\n\t\t\t\t for(j=i+1;j<n && a[i]<a[j];j++);\n\n\t\t\t\t int temp=a[i];\n\t\t\t\t a[i]=a[j-1];\n\t\t\t\t a[j-1]=temp;\n\n\t\t\t\t for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }\n\n\t\t\t\t return true;\n\t\t\t }\n\n\t\t\tpublic static void sieve(int size)\n\t\t\t{\n\t\t\t\tsieve=new int[size+1];\n\n\t\t\t\tprimes=new ArrayList<Integer>();\n\n\t\t\t\tsieve[1]=1;\n\n\t\t\t\tfor(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpublic static long pow(long a, long p){\n\t\t\t long o = 1;\n\t\t\t for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long add(long... a){\n\t\t\t long o = 0;\n\t\t\t for(long x:a)o = (o+mod+x)%mod;\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long mul(long... a){\n\t\t\t long p = 1;\n\t\t\t for(long x:a)p = (mod+(p*x)%mod)%mod;\n\t\t\t return p;\n\t\t\t}\n\n\t\t\tpublic static long mod_inv(long n)\n\t\t\t{\n\t\t\t\treturn pow(n,mod-2);\n\t\t\t}\n\n\t\t\tpublic long gcd(long r,long ans)\n\t\t\t{\n\t\t\t\tif(r==0) return ans;\n\t\t\t\treturn gcd(ans%r,r);\n\t\t\t}\n\n\t\t\tpublic fast() {\n\t\t\t\tthis(System.in);\n\t\t\t}\n\t\t\tpublic fast(InputStream is) {\n\t\t\t\ti = is;\n\t\t\t}\n\t\t\tpublic int read() {\n\t\t\t\tif (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tif (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn buf[curChar++];\n\t\t\t}\n\t\t\tpublic String nextLine() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic String nextString() {\n\t \t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic long nextLong() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tlong res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic int nextInt() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tint res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic boolean isSpaceChar(int c) {\n\t\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t\t}\n\t\t\tpublic boolean isEndOfLine(int c) {\n\t\t\t\treturn c == '\\n' || c == '\\r' || c == -1;\n\t\t\t}\n\n\t\t}\n\n\n\n}",
"public class Main {\n\n\tstatic long mod = (long)(1e+9 + 7);\n\tstatic int[] sieve;\n\tstatic ArrayList<Integer> primes;\n\n\tpublic static void main(String[] args) {\n\n\t\tint digitMax = 11;\n\t\tlong base = 26;\n\t\tlong[] digitNum = new long[digitMax+1];\n\t\tdigitNum[0] = 1;\n\t\tfor(int i = 1; i < digitMax+1; i++) {\n\t\t\tdigitNum[i] = digitNum[i-1] * base;\n\t\t}\n\n\t\tfast s = new fast();\n\t\tlong n = s.nextLong();\n\n\t\tint numChar = 1;\n\t\twhile(n > 0) {\n\t\t\tlong tmp = n - digitNum[numChar];\n\t\t\tif(tmp < 1) break;\n\t\t\tnumChar++;\n\t\t\tn = tmp;\n\t\t}\n\n\t\tint[] digits = new int[numChar];\n\t\tn--;\n\t\tfor(int i = numChar; i > 0; i--) {\n\t\t\tdigits[i-1] = (int)(n/digitNum[i-1]);\n\t\t\tn %= digitNum[i-1];\n\t\t}\n\n\t\tString ans = \"\";\n\t\tfor(int i = numChar-1; i > -1; i--) {\n\t\t\tchar tmpc = (char)('a' + digits[i]);\n\t\t\tans += tmpc;\n\t\t}\n\n\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tStringBuilder sb = new StringBuilder(\"\");\n\t\tsb.append(ans);\n\n\t\tout.println(sb);\n\t\tout.close();\n\n\t}\n\n\n\n\tstatic class Pair implements Comparable<Pair>{\n\n\t\tprivate int v1;\n\t\tprivate int v2;\n\t\tprivate int weight;\n\n\t\tpublic Pair(int v1, int v2, int weight) {\n\t\t\tthis.v1 = v1;\n\t\t\tthis.v2 = v2;\n\t\t\tthis.weight = weight;\n\t\t}\n\n\t\tpublic int getv1() {\n\t\t\treturn this.v1;\n\t\t}\n\n\t\tpublic int getv2() {\n\t\t\treturn this.v2;\n\t\t}\n\n\t\tpublic int getWeight() {\n\t\t\treturn this.weight;\n\t\t}\n\n\t\tpublic int compareTo(Pair e) {\n\t\t\treturn Integer.compare(this.weight, e.weight);\n\t\t}\n\n\t}\n\n\tstatic class UnionFind {\n\t\tprivate int[] par;\n\t\tprivate int[] sizes;\n\t\tprivate int setNum;\n\n\t\t//Constructor\n\t\tpublic UnionFind(int n) {\n\t\t\tpar = new int[n];\n\t\t\tsizes = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tpar[i] = i;\n\t\t\t\tsizes[i] = 1;\n\t\t\t}\n\t\t\tsetNum = n;\n\t\t}\n\n\t\tpublic int find(int x) {\n\t\t\tif(par[x] == x) {\n\t\t\t\treturn x;\n\t\t\t}else {\n\t\t\t\treturn par[x]=find(par[x]);\n\t\t\t}\n\t\t}\n\n\t\tpublic boolean unite(int x, int y) {\n\t\t\tx = find(x);\n\t\t\ty = find(y);\n\n\t\t\tif(x == y) return false;\n\n\t\t\tif(x < y) {\n\t\t\t\tint temp = x;\n\t\t\t\tx = y;\n\t\t\t\ty = temp;\n\t\t\t}\n\n\t\t\tpar[y] = x;\n\t\t\tsizes[x] += sizes[y];\n\t\t\tsetNum--;\n\t\t\treturn true;\n\t\t}\n\n\t\tpublic boolean same(int x, int y) {\n\t\t\treturn find(x)==find(y);\n\t\t}\n\n\t\tpublic int size(int x) {\n\t\t\treturn sizes[find(x)];\n\t\t}\n\n\t\tpublic int getSetNum() {\n\t\t\treturn this.setNum;\n\t\t}\n\n\t}\n\n\n\n\n\n\n\n\tstatic class fast {\n\n\t\t private InputStream i;\n\t\t\tprivate byte[] buf = new byte[1024];\n\t\t\tprivate int curChar;\n\n\t\t\tprivate int numChars;\n\n\t\t\t//Return floor log2n\n\t\t\tpublic static long log2(long bits) // returns 0 for bits=0\n\t\t\t\t{\n\t\t\t\t int log = 0;\n\t\t\t\t if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }\n\t\t\t\t if( bits >= 256 ) { bits >>>= 8; log += 8; }\n\t\t\t\t if( bits >= 16 ) { bits >>>= 4; log += 4; }\n\t\t\t\t if( bits >= 4 ) { bits >>>= 2; log += 2; }\n\t\t\t\t return log + ( bits >>> 1 );\n\t\t\t\t}\n\n\t\t\tpublic static boolean next_permutation(int a[])\n\t\t\t {\n\t\t\t\t int i=0,j=0;int index=-1;\n\t\t\t\t int n=a.length;\n\n\t\t\t\t for(i=0;i<n-1;i++)\n\t\t\t\t\t if(a[i]<a[i+1]) index=i;\n\n\t\t\t\t if(index==-1) return false;\n\t\t\t\t i=index;\n\n\n\t\t\t\t for(j=i+1;j<n && a[i]<a[j];j++);\n\n\t\t\t\t int temp=a[i];\n\t\t\t\t a[i]=a[j-1];\n\t\t\t\t a[j-1]=temp;\n\n\t\t\t\t for(int p=i+1,q=n-1;p<q;p++,q--)\n\t\t\t\t {\n\t\t\t\t\t temp=a[p];\n\t\t\t\t\t a[p]=a[q];\n\t\t\t\t\t a[q]=temp;\n\t\t\t\t }\n\n\t\t\t\t return true;\n\t\t\t }\n\n\t\t\tpublic static void sieve(int size)\n\t\t\t{\n\t\t\t\tsieve=new int[size+1];\n\n\t\t\t\tprimes=new ArrayList<Integer>();\n\n\t\t\t\tsieve[1]=1;\n\n\t\t\t\tfor(int i=2;i*i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0)\n\t\t\t\t\t {\n\t\t\t\t\t\tfor(int j=i*i;j<size;j+=i) {sieve[j]=1;}\n\t\t\t\t\t }\n\t\t\t\t}\n\n\t\t\t\tfor(int i=2;i<=size;i++)\n\t\t\t\t{\n\t\t\t\t\tif(sieve[i]==0) primes.add(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tpublic static long pow(long a, long p){\n\t\t\t long o = 1;\n\t\t\t for(; p>0; p>>=1){\n\t\t\t if((p&1)==1)o = mul(o, a);\n\t\t\t a = mul(a, a);\n\t\t\t }\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long add(long... a){\n\t\t\t long o = 0;\n\t\t\t for(long x:a)o = (o+mod+x)%mod;\n\t\t\t return o;\n\t\t\t}\n\n\t\t\tpublic static long mul(long... a){\n\t\t\t long p = 1;\n\t\t\t for(long x:a)p = (mod+(p*x)%mod)%mod;\n\t\t\t return p;\n\t\t\t}\n\n\t\t\tpublic static long mod_inv(long n)\n\t\t\t{\n\t\t\t\treturn pow(n,mod-2);\n\t\t\t}\n\n\t\t\tpublic long gcd(long r,long ans)\n\t\t\t{\n\t\t\t\tif(r==0) return ans;\n\t\t\t\treturn gcd(ans%r,r);\n\t\t\t}\n\n\t\t\tpublic fast() {\n\t\t\t\tthis(System.in);\n\t\t\t}\n\t\t\tpublic fast(InputStream is) {\n\t\t\t\ti = is;\n\t\t\t}\n\t\t\tpublic int read() {\n\t\t\t\tif (numChars == -1)\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\tif (curChar >= numChars) {\n\t\t\t\t\tcurChar = 0;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tnumChars = i.read(buf);\n\t\t\t\t\t} catch (IOException e) {\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\t}\n\t\t\t\t\tif (numChars <= 0)\n\t\t\t\t\t\treturn -1;\n\t\t\t\t}\n\t\t\t\treturn buf[curChar++];\n\t\t\t}\n\t\t\tpublic String nextLine() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isEndOfLine(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic String nextString() {\n\t \t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tStringBuilder res = new StringBuilder();\n\t\t\t\tdo {\n\t\t\t\t\tres.appendCodePoint(c);\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res.toString();\n\t\t\t}\n\t\t\tpublic long nextLong() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tlong res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic int nextInt() {\n\t\t\t\tint c = read();\n\t\t\t\twhile (isSpaceChar(c))\n\t\t\t\t\tc = read();\n\t\t\t\tint sgn = 1;\n\t\t\t\tif (c == '-') {\n\t\t\t\t\tsgn = -1;\n\t\t\t\t\tc = read();\n\t\t\t\t}\n\t\t\t\tint res = 0;\n\t\t\t\tdo {\n\t\t\t\t\tif (c < '0' || c > '9')\n\t\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t\tres *= 10;\n\t\t\t\t\tres += c - '0';\n\t\t\t\t\tc = read();\n\t\t\t\t} while (!isSpaceChar(c));\n\t\t\t\treturn res * sgn;\n\t\t\t}\n\t\t\tpublic boolean isSpaceChar(int c) {\n\t\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t\t}\n\t\t\tpublic boolean isEndOfLine(int c) {\n\t\t\t\treturn c == '\\n' || c == '\\r' || c == -1;\n\t\t\t}\n\n\t\t}\n\n\n\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Comparator;
import java.util.InputMismatchException;
public class Main {
static long mod = (long)(1e+9 + 7);
static int[] sieve;
static ArrayList<Integer> primes;
public static void main(String[] args) {
int digitMax = 11;
long base = 26;
long[] digitNum = new long[digitMax+1];
digitNum[0] = 1;
for(int i = 1; i < digitMax+1; i++) {
digitNum[i] = digitNum[i-1] * base;
}
fast s = new fast();
long n = s.nextLong();
int numChar = 1;
while(n > 0) {
long tmp = n - digitNum[numChar];
if(tmp < 1) break;
numChar++;
n = tmp;
}
int[] digits = new int[numChar];
n--;
for(int i = numChar; i > 0; i--) {
digits[i-1] = (int)(n/digitNum[i-1]);
n %= digitNum[i-1];
}
String ans = "";
for(int i = numChar-1; i > -1; i--) {
char tmpc = (char)('a' + digits[i]);
ans += tmpc;
}
PrintWriter out = new PrintWriter(System.out);
StringBuilder sb = new StringBuilder("");
sb.append(ans);
out.println(sb);
out.close();
}
static class Pair implements Comparable<Pair>{
private int v1;
private int v2;
private int weight;
public Pair(int v1, int v2, int weight) {
this.v1 = v1;
this.v2 = v2;
this.weight = weight;
}
public int getv1() {
return this.v1;
}
public int getv2() {
return this.v2;
}
public int getWeight() {
return this.weight;
}
public int compareTo(Pair e) {
return Integer.compare(this.weight, e.weight);
}
}
static class UnionFind {
private int[] par;
private int[] sizes;
private int setNum;
//Constructor
public UnionFind(int n) {
par = new int[n];
sizes = new int[n];
for(int i = 0; i < n; i++) {
par[i] = i;
sizes[i] = 1;
}
setNum = n;
}
public int find(int x) {
if(par[x] == x) {
return x;
}else {
return par[x]=find(par[x]);
}
}
public boolean unite(int x, int y) {
x = find(x);
y = find(y);
if(x == y) return false;
if(x < y) {
int temp = x;
x = y;
y = temp;
}
par[y] = x;
sizes[x] += sizes[y];
setNum--;
return true;
}
public boolean same(int x, int y) {
return find(x)==find(y);
}
public int size(int x) {
return sizes[find(x)];
}
public int getSetNum() {
return this.setNum;
}
}
static class fast {
private InputStream i;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
//Return floor log2n
public static long log2(long bits) // returns 0 for bits=0
{
int log = 0;
if( ( bits & 0xffff0000 ) != 0 ) { bits >>>= 16; log = 16; }
if( bits >= 256 ) { bits >>>= 8; log += 8; }
if( bits >= 16 ) { bits >>>= 4; log += 4; }
if( bits >= 4 ) { bits >>>= 2; log += 2; }
return log + ( bits >>> 1 );
}
public static boolean next_permutation(int a[])
{
int i=0,j=0;int index=-1;
int n=a.length;
for(i=0;i<n-1;i++)
if(a[i]<a[i+1]) index=i;
if(index==-1) return false;
i=index;
for(j=i+1;j<n && a[i]<a[j];j++);
int temp=a[i];
a[i]=a[j-1];
a[j-1]=temp;
for(int p=i+1,q=n-1;p<q;p++,q--)
{
temp=a[p];
a[p]=a[q];
a[q]=temp;
}
return true;
}
public static void sieve(int size)
{
sieve=new int[size+1];
primes=new ArrayList<Integer>();
sieve[1]=1;
for(int i=2;i*i<=size;i++)
{
if(sieve[i]==0)
{
for(int j=i*i;j<size;j+=i) {sieve[j]=1;}
}
}
for(int i=2;i<=size;i++)
{
if(sieve[i]==0) primes.add(i);
}
}
public static long pow(long a, long p){
long o = 1;
for(; p>0; p>>=1){
if((p&1)==1)o = mul(o, a);
a = mul(a, a);
}
return o;
}
public static long add(long... a){
long o = 0;
for(long x:a)o = (o+mod+x)%mod;
return o;
}
public static long mul(long... a){
long p = 1;
for(long x:a)p = (mod+(p*x)%mod)%mod;
return p;
}
public static long mod_inv(long n)
{
return pow(n,mod-2);
}
public long gcd(long r,long ans)
{
if(r==0) return ans;
return gcd(ans%r,r);
}
public fast() {
this(System.in);
}
public fast(InputStream is) {
i = is;
}
public int read() {
if (numChars == -1)
throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = i.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0)
return -1;
}
return buf[curChar++];
}
public String nextLine() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndOfLine(c));
return res.toString();
}
public String nextString() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public long nextLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public int nextInt() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
4,
18,
17,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
18,
13,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
62,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
24,
26
],
[
15,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
31,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
15,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
11,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\t/** 英文字のアルファベット */\n\tprivate static final char[] ALPHABET = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\t/** 英文字のアルファベット */\n\tprivate static final char[] ALPHABET = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}\n\t}\n}",
"Main",
"/** 英文字のアルファベット */\n\tprivate static final char[] ALPHABET = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();",
"ALPHABET",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray()",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray",
"\"abcdefghijklmnopqrstuvwxyz\"",
"public static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}\n\t}",
"try (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}",
"{\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}",
"Scanner scanner = new Scanner(System.in)",
"Scanner scanner = new Scanner(System.in)",
"new Scanner(System.in)",
"long n = scanner.nextLong();",
"n",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}",
"sb.append(ALPHABET[(int) ((n - 1) % 26)])",
"sb.append",
"sb",
"ALPHABET[(int) ((n - 1) % 26)]",
"ALPHABET",
"(int) ((n - 1) % 26)",
"(n - 1)",
"n",
"1",
"26",
"n = (n - 1) / 26",
"n",
"(n - 1) / 26",
"(n - 1)",
"n",
"1",
"26",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main {\n\n\t/** 英文字のアルファベット */\n\tprivate static final char[] ALPHABET = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}\n\t}\n}",
"public class Main {\n\n\t/** 英文字のアルファベット */\n\tprivate static final char[] ALPHABET = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner scanner = new Scanner(System.in)) {\n\t\t\tlong n = scanner.nextLong();\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\twhile (n > 0) {\n\t\t\t\tsb.append(ALPHABET[(int) ((n - 1) % 26)]);\n\t\t\t\tn = (n - 1) / 26;\n\t\t\t}\n\t\t\tSystem.out.println(sb.reverse().toString());\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
/** 英文字のアルファベット */
private static final char[] ALPHABET = "abcdefghijklmnopqrstuvwxyz".toCharArray();
public static void main(String[] args) {
try (Scanner scanner = new Scanner(System.in)) {
long n = scanner.nextLong();
StringBuilder sb = new StringBuilder();
while (n > 0) {
sb.append(ALPHABET[(int) ((n - 1) % 26)]);
n = (n - 1) / 26;
}
System.out.println(sb.reverse().toString());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
0,
13,
4,
18,
13,
4,
13,
4,
18,
18,
13,
13,
4,
13,
23,
13,
12,
13,
30,
0,
13,
20,
17,
0,
18,
13,
17,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
2,
2,
13,
17,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
18,
13,
2,
13,
17,
13,
40,
13,
0,
13,
17,
0,
13,
4,
18,
18,
13,
13,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
117,
8
],
[
117,
9
],
[
9,
10
],
[
117,
11
],
[
11,
12
],
[
117,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
15,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
15,
27
],
[
27,
28
],
[
15,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
13,
36
],
[
36,
37
],
[
117,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
40,
50
],
[
50,
51
],
[
50,
52
],
[
40,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
53,
63
],
[
63,
64
],
[
64,
65
],
[
53,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
117,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
93,
100
],
[
90,
101
],
[
101,
102
],
[
90,
103
],
[
103,
104
],
[
103,
105
],
[
82,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
82,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
]
| [
"\nimport java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tprivate static long n;\n\tprivate static String[] numeralSystem;\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n//\t\tn = BigInteger\n\t\tBigInteger bigInteger = new BigInteger(scanner.next());\n\t\tn = bigInteger.longValue();\n\t\tfillNumeralSystem();\n//\t\ttranslateNumber();\n\t\tSystem.out.println(translateNumber());\n\t}\n\n\tprivate static void fillNumeralSystem() {\n\t\tnumeralSystem = new String[27];\n\t\tnumeralSystem[0] = \"z\";\n\t\tint delta = (int) 'a';\n\t\tfor (int i = 1; i < numeralSystem.length; i++) {\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}\n\t}\n\n\tpublic static String translateNumber() {\n\n\t\tString res = \"\";\n\n\t\twhile (n > 26) {\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}\n\n\t\tres = numeralSystem[(int) n].concat(res);\n\n\t\treturn res;\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tprivate static long n;\n\tprivate static String[] numeralSystem;\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n//\t\tn = BigInteger\n\t\tBigInteger bigInteger = new BigInteger(scanner.next());\n\t\tn = bigInteger.longValue();\n\t\tfillNumeralSystem();\n//\t\ttranslateNumber();\n\t\tSystem.out.println(translateNumber());\n\t}\n\n\tprivate static void fillNumeralSystem() {\n\t\tnumeralSystem = new String[27];\n\t\tnumeralSystem[0] = \"z\";\n\t\tint delta = (int) 'a';\n\t\tfor (int i = 1; i < numeralSystem.length; i++) {\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}\n\t}\n\n\tpublic static String translateNumber() {\n\n\t\tString res = \"\";\n\n\t\twhile (n > 26) {\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}\n\n\t\tres = numeralSystem[(int) n].concat(res);\n\n\t\treturn res;\n\t}\n}",
"Main",
"private static long n;",
"n",
"private static String[] numeralSystem;",
"numeralSystem",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n//\t\tn = BigInteger\n\t\tBigInteger bigInteger = new BigInteger(scanner.next());\n\t\tn = bigInteger.longValue();\n\t\tfillNumeralSystem();\n//\t\ttranslateNumber();\n\t\tSystem.out.println(translateNumber());\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n//\t\tn = BigInteger\n\t\tBigInteger bigInteger = new BigInteger(scanner.next());\n\t\tn = bigInteger.longValue();\n\t\tfillNumeralSystem();\n//\t\ttranslateNumber();\n\t\tSystem.out.println(translateNumber());\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"BigInteger bigInteger = new BigInteger(scanner.next());",
"bigInteger",
"new BigInteger(scanner.next())",
"n = bigInteger.longValue()",
"n",
"bigInteger.longValue()",
"bigInteger.longValue",
"bigInteger",
"fillNumeralSystem()",
"fillNumeralSystem",
"System.out.println(translateNumber())",
"System.out.println",
"System.out",
"System",
"System.out",
"translateNumber()",
"translateNumber",
"String[] args",
"args",
"private static void fillNumeralSystem() {\n\t\tnumeralSystem = new String[27];\n\t\tnumeralSystem[0] = \"z\";\n\t\tint delta = (int) 'a';\n\t\tfor (int i = 1; i < numeralSystem.length; i++) {\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}\n\t}",
"fillNumeralSystem",
"{\n\t\tnumeralSystem = new String[27];\n\t\tnumeralSystem[0] = \"z\";\n\t\tint delta = (int) 'a';\n\t\tfor (int i = 1; i < numeralSystem.length; i++) {\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}\n\t}",
"numeralSystem = new String[27]",
"numeralSystem",
"new String[27]",
"27",
"numeralSystem[0] = \"z\"",
"numeralSystem[0]",
"numeralSystem",
"0",
"\"z\"",
"int delta = (int) 'a';",
"delta",
"(int) 'a'",
"for (int i = 1; i < numeralSystem.length; i++) {\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < numeralSystem.length",
"i",
"numeralSystem.length",
"numeralSystem",
"numeralSystem.length",
"i++",
"i++",
"i",
"{\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}",
"{\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}",
"numeralSystem[i] = Character.toString(i - 1 + delta)",
"numeralSystem[i]",
"numeralSystem",
"i",
"Character.toString(i - 1 + delta)",
"Character.toString",
"Character",
"i - 1 + delta",
"i - 1",
"i",
"1",
"delta",
"public static String translateNumber() {\n\n\t\tString res = \"\";\n\n\t\twhile (n > 26) {\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}\n\n\t\tres = numeralSystem[(int) n].concat(res);\n\n\t\treturn res;\n\t}",
"translateNumber",
"{\n\n\t\tString res = \"\";\n\n\t\twhile (n > 26) {\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}\n\n\t\tres = numeralSystem[(int) n].concat(res);\n\n\t\treturn res;\n\t}",
"String res = \"\";",
"res",
"\"\"",
"while (n > 26) {\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}",
"n > 26",
"n",
"26",
"{\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}",
"res = numeralSystem[(int) (n % 26)].concat(res)",
"res",
"numeralSystem[(int) (n % 26)].concat(res)",
"numeralSystem[(int) (n % 26)].concat",
"numeralSystem[(int) (n % 26)]",
"numeralSystem",
"(int) (n % 26)",
"n",
"26",
"res",
"n--",
"n",
"n /= 26",
"n",
"26",
"res = numeralSystem[(int) n].concat(res)",
"res",
"numeralSystem[(int) n].concat(res)",
"numeralSystem[(int) n].concat",
"numeralSystem[(int) n]",
"numeralSystem",
"(int) n",
"res",
"return res;",
"res",
"public class Main {\n\n\tprivate static long n;\n\tprivate static String[] numeralSystem;\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n//\t\tn = BigInteger\n\t\tBigInteger bigInteger = new BigInteger(scanner.next());\n\t\tn = bigInteger.longValue();\n\t\tfillNumeralSystem();\n//\t\ttranslateNumber();\n\t\tSystem.out.println(translateNumber());\n\t}\n\n\tprivate static void fillNumeralSystem() {\n\t\tnumeralSystem = new String[27];\n\t\tnumeralSystem[0] = \"z\";\n\t\tint delta = (int) 'a';\n\t\tfor (int i = 1; i < numeralSystem.length; i++) {\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}\n\t}\n\n\tpublic static String translateNumber() {\n\n\t\tString res = \"\";\n\n\t\twhile (n > 26) {\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}\n\n\t\tres = numeralSystem[(int) n].concat(res);\n\n\t\treturn res;\n\t}\n}",
"public class Main {\n\n\tprivate static long n;\n\tprivate static String[] numeralSystem;\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n//\t\tn = BigInteger\n\t\tBigInteger bigInteger = new BigInteger(scanner.next());\n\t\tn = bigInteger.longValue();\n\t\tfillNumeralSystem();\n//\t\ttranslateNumber();\n\t\tSystem.out.println(translateNumber());\n\t}\n\n\tprivate static void fillNumeralSystem() {\n\t\tnumeralSystem = new String[27];\n\t\tnumeralSystem[0] = \"z\";\n\t\tint delta = (int) 'a';\n\t\tfor (int i = 1; i < numeralSystem.length; i++) {\n\t\t\tnumeralSystem[i] = Character.toString(i - 1 + delta);\n\t\t}\n\t}\n\n\tpublic static String translateNumber() {\n\n\t\tString res = \"\";\n\n\t\twhile (n > 26) {\n\t\t\tres = numeralSystem[(int) (n % 26)].concat(res);\n\t\t\tn--;\n\t\t\tn /= 26;\n\t\t}\n\n\t\tres = numeralSystem[(int) n].concat(res);\n\n\t\treturn res;\n\t}\n}",
"Main"
]
|
import java.math.BigInteger;
import java.util.Scanner;
public class Main {
private static long n;
private static String[] numeralSystem;
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
// n = BigInteger
BigInteger bigInteger = new BigInteger(scanner.next());
n = bigInteger.longValue();
fillNumeralSystem();
// translateNumber();
System.out.println(translateNumber());
}
private static void fillNumeralSystem() {
numeralSystem = new String[27];
numeralSystem[0] = "z";
int delta = (int) 'a';
for (int i = 1; i < numeralSystem.length; i++) {
numeralSystem[i] = Character.toString(i - 1 + delta);
}
}
public static String translateNumber() {
String res = "";
while (n > 26) {
res = numeralSystem[(int) (n % 26)].concat(res);
n--;
n /= 26;
}
res = numeralSystem[(int) n].concat(res);
return res;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
2,
2,
13,
17,
17,
17,
0,
13,
2,
2,
13,
17,
17,
29,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
6,
25
],
[
25,
26
],
[
64,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
41,
47
],
[
37,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
29,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
27,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n System.out.println(base26(n));\n\n }\n\n static String base26(long n) {\n StringBuilder buf = new StringBuilder();\n while (n != 0) {\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n return buf.reverse().toString();\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 long n = sc.nextLong();\n\n System.out.println(base26(n));\n\n }\n\n static String base26(long n) {\n StringBuilder buf = new StringBuilder();\n while (n != 0) {\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n return buf.reverse().toString();\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n System.out.println(base26(n));\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n System.out.println(base26(n));\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(base26(n))",
"System.out.println",
"System.out",
"System",
"System.out",
"base26(n)",
"base26",
"n",
"String[] args",
"args",
"static String base26(long n) {\n StringBuilder buf = new StringBuilder();\n while (n != 0) {\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n return buf.reverse().toString();\n }",
"base26",
"{\n StringBuilder buf = new StringBuilder();\n while (n != 0) {\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n return buf.reverse().toString();\n }",
"StringBuilder buf = new StringBuilder();",
"buf",
"new StringBuilder()",
"while (n != 0) {\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }",
"n != 0",
"n",
"0",
"{\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }",
"buf.append((char) ((n - 1) % 26 + 'a'))",
"buf.append",
"buf",
"(char) ((n - 1) % 26 + 'a')",
"(n - 1) % 26",
"(n - 1)",
"n",
"1",
"26",
"'a'",
"n = (n - 1) / 26",
"n",
"(n - 1) / 26",
"(n - 1)",
"n",
"1",
"26",
"return buf.reverse().toString();",
"buf.reverse().toString()",
"buf.reverse().toString",
"buf.reverse()",
"buf.reverse",
"buf",
"long n",
"n",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n System.out.println(base26(n));\n\n }\n\n static String base26(long n) {\n StringBuilder buf = new StringBuilder();\n while (n != 0) {\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n return buf.reverse().toString();\n }\n\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n System.out.println(base26(n));\n\n }\n\n static String base26(long n) {\n StringBuilder buf = new StringBuilder();\n while (n != 0) {\n buf.append((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n return buf.reverse().toString();\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
System.out.println(base26(n));
}
static String base26(long n) {
StringBuilder buf = new StringBuilder();
while (n != 0) {
buf.append((char) ((n - 1) % 26 + 'a'));
n = (n - 1) / 26;
}
return buf.reverse().toString();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
13,
40,
13,
0,
13,
4,
18,
13,
17,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
0,
18,
13,
13,
4,
18,
13,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
106,
5
],
[
106,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
46,
46
],
[
46,
47
],
[
46,
48
],
[
46,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
53,
55
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
64,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
71,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
71,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
98,
102
],
[
6,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tint k = 1;\n\t\tlong z = 26L;\n\t\tlong d = 0L;\n\t\twhile ( z < n ) {\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}\n\n\t\tlong y = n - d - 1L;\n\t\tString alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t\tString[] s = new String[k];\n\t\tfor ( int i=k-1; i>=0; i-- ) {\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}\n\t\tSystem.out.println(String.join(\"\", s));\n\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\n\t\tlong n = sc.nextLong();\n\n\t\tint k = 1;\n\t\tlong z = 26L;\n\t\tlong d = 0L;\n\t\twhile ( z < n ) {\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}\n\n\t\tlong y = n - d - 1L;\n\t\tString alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t\tString[] s = new String[k];\n\t\tfor ( int i=k-1; i>=0; i-- ) {\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}\n\t\tSystem.out.println(String.join(\"\", s));\n\n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tint k = 1;\n\t\tlong z = 26L;\n\t\tlong d = 0L;\n\t\twhile ( z < n ) {\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}\n\n\t\tlong y = n - d - 1L;\n\t\tString alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t\tString[] s = new String[k];\n\t\tfor ( int i=k-1; i>=0; i-- ) {\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}\n\t\tSystem.out.println(String.join(\"\", s));\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tint k = 1;\n\t\tlong z = 26L;\n\t\tlong d = 0L;\n\t\twhile ( z < n ) {\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}\n\n\t\tlong y = n - d - 1L;\n\t\tString alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t\tString[] s = new String[k];\n\t\tfor ( int i=k-1; i>=0; i-- ) {\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}\n\t\tSystem.out.println(String.join(\"\", s));\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int k = 1;",
"k",
"1",
"long z = 26L;",
"z",
"26L",
"long d = 0L;",
"d",
"0L",
"while ( z < n ) {\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}",
"z < n",
"z",
"n",
"{\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}",
"d = z",
"d",
"z",
"k++",
"k",
"z += (long)Math.pow(26, k)",
"z",
"(long)Math.pow(26, k)",
"Math.pow",
"Math",
"26",
"k",
"long y = n - d - 1L;",
"y",
"n - d - 1L",
"n - d - 1L",
"n",
"d",
"1L",
"String alp = \"abcdefghijklmnopqrstuvwxyz\";",
"alp",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String[] s = new String[k];",
"s",
"new String[k]",
"k",
"for ( int i=k-1; i>=0; i-- ) {\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}",
"int i=k-1;",
"int i=k-1;",
"i",
"k-1",
"k",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}",
"{\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}",
"int c = (int)(y%26L);",
"c",
"(int)(y%26L)",
"y",
"26L",
"s[i] = alp.substring(c, c+1)",
"s[i]",
"s",
"i",
"alp.substring(c, c+1)",
"alp.substring",
"alp",
"c",
"c+1",
"c",
"1",
"y = y/26L",
"y",
"y/26L",
"y",
"26L",
"System.out.println(String.join(\"\", s))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.join(\"\", s)",
"String.join",
"String",
"\"\"",
"s",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tint k = 1;\n\t\tlong z = 26L;\n\t\tlong d = 0L;\n\t\twhile ( z < n ) {\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}\n\n\t\tlong y = n - d - 1L;\n\t\tString alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t\tString[] s = new String[k];\n\t\tfor ( int i=k-1; i>=0; i-- ) {\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}\n\t\tSystem.out.println(String.join(\"\", s));\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tint k = 1;\n\t\tlong z = 26L;\n\t\tlong d = 0L;\n\t\twhile ( z < n ) {\n\t\t\td = z;\n\t\t\tk++;\n\t\t\tz += (long)Math.pow(26, k);\n\t\t}\n\n\t\tlong y = n - d - 1L;\n\t\tString alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\t\tString[] s = new String[k];\n\t\tfor ( int i=k-1; i>=0; i-- ) {\n\t\t\tint c = (int)(y%26L);\n\t\t\ts[i] = alp.substring(c, c+1);\n\n\t\t\ty = y/26L;\n\t\t}\n\t\tSystem.out.println(String.join(\"\", s));\n\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
int k = 1;
long z = 26L;
long d = 0L;
while ( z < n ) {
d = z;
k++;
z += (long)Math.pow(26, k);
}
long y = n - d - 1L;
String alp = "abcdefghijklmnopqrstuvwxyz";
String[] s = new String[k];
for ( int i=k-1; i>=0; i-- ) {
int c = (int)(y%26L);
s[i] = alp.substring(c, c+1);
y = y/26L;
}
System.out.println(String.join("", s));
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
4,
18,
13,
13,
13,
4,
18,
13,
17,
17,
42,
2,
13,
13,
30,
0,
13,
17,
0,
13,
13,
40,
13,
4,
18,
13,
13,
13,
41,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
41,
13,
2,
2,
2,
13,
4,
18,
13,
13,
17,
13,
41,
13,
2,
17,
13,
0,
13,
13,
0,
13,
2,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
29,
33
],
[
8,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
34,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
43,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
8,
57
],
[
57,
58
],
[
57,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
60,
70
],
[
70,
71
],
[
71,
72
],
[
60,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
81,
88
],
[
80,
89
],
[
74,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
74,
95
],
[
95,
96
],
[
95,
97
],
[
74,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
8,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
8,
111
],
[
111,
112
],
[
112,
113
],
[
6,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long base = 26L;\n long max = 26L;\n int d = 1;\n Map<Integer, Long> mmap = new HashMap<>();\n mmap.put(d, max);\n mmap.put(0, 0L);\n while(max < n){\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }\n String ans = \"\";\n for (int i = d-1; i >= 0; i--) {\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long base = 26L;\n long max = 26L;\n int d = 1;\n Map<Integer, Long> mmap = new HashMap<>();\n mmap.put(d, max);\n mmap.put(0, 0L);\n while(max < n){\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }\n String ans = \"\";\n for (int i = d-1; i >= 0; i--) {\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long base = 26L;\n long max = 26L;\n int d = 1;\n Map<Integer, Long> mmap = new HashMap<>();\n mmap.put(d, max);\n mmap.put(0, 0L);\n while(max < n){\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }\n String ans = \"\";\n for (int i = d-1; i >= 0; i--) {\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }\n System.out.println(ans);\n sc.close();\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long base = 26L;\n long max = 26L;\n int d = 1;\n Map<Integer, Long> mmap = new HashMap<>();\n mmap.put(d, max);\n mmap.put(0, 0L);\n while(max < n){\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }\n String ans = \"\";\n for (int i = d-1; i >= 0; i--) {\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }\n System.out.println(ans);\n sc.close();\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long base = 26L;",
"base",
"26L",
"long max = 26L;",
"max",
"26L",
"int d = 1;",
"d",
"1",
"Map<Integer, Long> mmap = new HashMap<>();",
"mmap",
"new HashMap<>()",
"mmap.put(d, max)",
"mmap.put",
"mmap",
"d",
"max",
"mmap.put(0, 0L)",
"mmap.put",
"mmap",
"0",
"0L",
"while(max < n){\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }",
"max < n",
"max",
"n",
"{\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }",
"base *= 26L",
"base",
"26L",
"max += base",
"max",
"base",
"d++",
"d",
"mmap.put(d, max)",
"mmap.put",
"mmap",
"d",
"max",
"String ans = \"\";",
"ans",
"\"\"",
"for (int i = d-1; i >= 0; i--) {\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }",
"int i = d-1;",
"int i = d-1;",
"i",
"d-1",
"d",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }",
"{\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }",
"base /= 26L",
"base",
"26L",
"int a = (int)((n - mmap.get(i) -1) / base);",
"a",
"(int)((n - mmap.get(i) -1) / base)",
"(n - mmap.get(i) -1)",
"n - mmap.get(i) -1",
"n",
"mmap.get(i)",
"mmap.get",
"mmap",
"i",
"1",
"base",
"char c = (char)((int)'a' + a);",
"c",
"(char)((int)'a' + a)",
"(int)'a'",
"a",
"ans += c",
"ans",
"c",
"n -= base * (a+1)",
"n",
"base * (a+1)",
"base",
"(a+1)",
"a",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long base = 26L;\n long max = 26L;\n int d = 1;\n Map<Integer, Long> mmap = new HashMap<>();\n mmap.put(d, max);\n mmap.put(0, 0L);\n while(max < n){\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }\n String ans = \"\";\n for (int i = d-1; i >= 0; i--) {\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long base = 26L;\n long max = 26L;\n int d = 1;\n Map<Integer, Long> mmap = new HashMap<>();\n mmap.put(d, max);\n mmap.put(0, 0L);\n while(max < n){\n base *= 26L;\n max += base;\n d++;\n mmap.put(d, max);\n }\n String ans = \"\";\n for (int i = d-1; i >= 0; i--) {\n base /= 26L;\n int a = (int)((n - mmap.get(i) -1) / base);\n char c = (char)((int)'a' + a);\n ans += c;\n n -= base * (a+1);\n }\n System.out.println(ans);\n sc.close();\n\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
long base = 26L;
long max = 26L;
int d = 1;
Map<Integer, Long> mmap = new HashMap<>();
mmap.put(d, max);
mmap.put(0, 0L);
while(max < n){
base *= 26L;
max += base;
d++;
mmap.put(d, max);
}
String ans = "";
for (int i = d-1; i >= 0; i--) {
base /= 26L;
int a = (int)((n - mmap.get(i) -1) / base);
char c = (char)((int)'a' + a);
ans += c;
n -= base * (a+1);
}
System.out.println(ans);
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
0,
13,
2,
4,
18,
13,
13,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
27,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n String name = \"\";\n while(n > 0){\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }\n System.out.println(name);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n String name = \"\";\n while(n > 0){\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }\n System.out.println(name);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n String name = \"\";\n while(n > 0){\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }\n System.out.println(name);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n String name = \"\";\n while(n > 0){\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }\n System.out.println(name);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String alphabet = \"abcdefghijklmnopqrstuvwxyz\";",
"alphabet",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String name = \"\";",
"name",
"\"\"",
"while(n > 0){\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }",
"n--",
"n",
"long remain = n % 26l;",
"remain",
"n % 26l",
"n",
"26l",
"name = alphabet.charAt((int)remain) + name",
"name",
"alphabet.charAt((int)remain) + name",
"alphabet.charAt((int)remain)",
"alphabet.charAt",
"alphabet",
"(int)remain",
"name",
"n = n / 26l",
"n",
"n / 26l",
"n",
"26l",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n String name = \"\";\n while(n > 0){\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }\n System.out.println(name);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String alphabet = \"abcdefghijklmnopqrstuvwxyz\";\n String name = \"\";\n while(n > 0){\n n--;\n long remain = n % 26l;\n name = alphabet.charAt((int)remain) + name;\n n = n / 26l;\n }\n System.out.println(name);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
String alphabet = "abcdefghijklmnopqrstuvwxyz";
String name = "";
while(n > 0){
n--;
long remain = n % 26l;
name = alphabet.charAt((int)remain) + name;
n = n / 26l;
}
System.out.println(name);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
13,
17,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
3,
41,
13,
20,
13,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
18,
13,
2,
2,
13,
17,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
13,
30,
0,
18,
13,
13,
2,
13,
17,
0,
13,
13,
0,
13,
13,
3,
0,
13,
13,
0,
13,
2,
13,
17,
0,
18,
13,
2,
13,
17,
2,
2,
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
],
[
216,
11
],
[
216,
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
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
14,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
47,
48
],
[
38,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
14,
61
],
[
61,
62
],
[
61,
63
],
[
14,
64
],
[
64,
65
],
[
64,
66
],
[
14,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
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
],
[
95,
97
],
[
79,
98
],
[
98,
99
],
[
98,
100
],
[
79,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
14,
110
],
[
110,
111
],
[
110,
112
],
[
14,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
114,
118
],
[
14,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
119,
127
],
[
127,
128
],
[
128,
129
],
[
119,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
14,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
136,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
136,
146
],
[
146,
147
],
[
147,
148
],
[
136,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
156,
156
],
[
156,
157
],
[
156,
158
],
[
156,
159
],
[
150,
160
],
[
160,
161
],
[
160,
162
],
[
150,
163
],
[
163,
164
],
[
163,
165
],
[
150,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
178,
180
],
[
173,
181
],
[
181,
182
],
[
181,
183
],
[
173,
184
],
[
184,
185
],
[
184,
186
],
[
173,
187
],
[
168,
188
],
[
188,
189
],
[
188,
190
],
[
168,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
193,
195
],
[
14,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
199,
201
],
[
196,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
14,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
207,
212
],
[
12,
213
],
[
213,
214
],
[
0,
215
],
[
215,
216
],
[
215,
217
]
]
| [
"/*\nIf you want to aim high, aim high\nDon't let that studying and grades consume you\nJust live life young\n******************************\nWhat do you think? What do you think?\n1st on Billboard, what do you think of it\nNext is a Grammy, what do you think of it\nHowever you think, I’m sorry, but shit, I have no fcking interest\n*******************************\nI'm standing on top of my Monopoly board\nThat means I'm on top of my game and it don't stop\ntil my hip don't hop anymore\nhttps://www.a2oj.com/Ladder16.html\n*******************************\n300iq as writer = Sad!\n*/\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\n public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n long N = Long.parseLong(st.nextToken());\n long[] pow26 = new long[12];\n pow26[0] = 1L;\n for(int i=1; i <= 11; i++)\n pow26[i] = pow26[i-1]*26;\n int len = 0;\n long total = 0L;\n for(int l=1; l <= 11; l++)\n {\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }\n char[] res = new char[len];\n Arrays.fill(res, '?');\n for(int i=1; i < len; i++)\n N -= pow26[i];\n for(int curr=0; curr < len-1; curr++)\n {\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }\n res[len-1] = (char)('a'+(int)N-1);\n System.out.println(res);\n }\n }",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n long N = Long.parseLong(st.nextToken());\n long[] pow26 = new long[12];\n pow26[0] = 1L;\n for(int i=1; i <= 11; i++)\n pow26[i] = pow26[i-1]*26;\n int len = 0;\n long total = 0L;\n for(int l=1; l <= 11; l++)\n {\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }\n char[] res = new char[len];\n Arrays.fill(res, '?');\n for(int i=1; i < len; i++)\n N -= pow26[i];\n for(int curr=0; curr < len-1; curr++)\n {\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }\n res[len-1] = (char)('a'+(int)N-1);\n System.out.println(res);\n }\n }",
"Main",
"public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n long N = Long.parseLong(st.nextToken());\n long[] pow26 = new long[12];\n pow26[0] = 1L;\n for(int i=1; i <= 11; i++)\n pow26[i] = pow26[i-1]*26;\n int len = 0;\n long total = 0L;\n for(int l=1; l <= 11; l++)\n {\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }\n char[] res = new char[len];\n Arrays.fill(res, '?');\n for(int i=1; i < len; i++)\n N -= pow26[i];\n for(int curr=0; curr < len-1; curr++)\n {\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }\n res[len-1] = (char)('a'+(int)N-1);\n System.out.println(res);\n }",
"main",
"{\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n long N = Long.parseLong(st.nextToken());\n long[] pow26 = new long[12];\n pow26[0] = 1L;\n for(int i=1; i <= 11; i++)\n pow26[i] = pow26[i-1]*26;\n int len = 0;\n long total = 0L;\n for(int l=1; l <= 11; l++)\n {\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }\n char[] res = new char[len];\n Arrays.fill(res, '?');\n for(int i=1; i < len; i++)\n N -= pow26[i];\n for(int curr=0; curr < len-1; curr++)\n {\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }\n res[len-1] = (char)('a'+(int)N-1);\n System.out.println(res);\n }",
"BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));",
"infile",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(infile.readLine());",
"st",
"new StringTokenizer(infile.readLine())",
"long N = Long.parseLong(st.nextToken());",
"N",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"long[] pow26 = new long[12];",
"pow26",
"new long[12]",
"12",
"pow26[0] = 1L",
"pow26[0]",
"pow26",
"0",
"1L",
"for(int i=1; i <= 11; i++)\n pow26[i] = pow26[i-1]*26;",
"int i=1;",
"int i=1;",
"i",
"1",
"i <= 11",
"i",
"11",
"i++",
"i++",
"i",
"pow26[i] = pow26[i-1]*26;",
"pow26[i] = pow26[i-1]*26",
"pow26[i]",
"pow26",
"i",
"pow26[i-1]*26",
"pow26[i-1]",
"pow26",
"i-1",
"i",
"1",
"26",
"int len = 0;",
"len",
"0",
"long total = 0L;",
"total",
"0L",
"for(int l=1; l <= 11; l++)\n {\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }",
"int l=1;",
"int l=1;",
"l",
"1",
"l <= 11",
"l",
"11",
"l++",
"l++",
"l",
"{\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }",
"{\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }",
"long temp = 1L;",
"temp",
"1L",
"for(int i=0; i < l; i++)\n temp *= 26;",
"int i=0;",
"int i=0;",
"i",
"0",
"i < l",
"i",
"l",
"i++",
"i++",
"i",
"temp *= 26;",
"temp *= 26",
"temp",
"26",
"total += temp",
"total",
"temp",
"if(total >= N)\n {\n len = l;\n break;\n }",
"total >= N",
"total",
"N",
"{\n len = l;\n break;\n }",
"len = l",
"len",
"l",
"break;",
"char[] res = new char[len];",
"res",
"new char[len]",
"len",
"Arrays.fill(res, '?')",
"Arrays.fill",
"Arrays",
"res",
"'?'",
"for(int i=1; i < len; i++)\n N -= pow26[i];",
"int i=1;",
"int i=1;",
"i",
"1",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"N -= pow26[i];",
"N -= pow26[i]",
"N",
"pow26[i]",
"pow26",
"i",
"for(int curr=0; curr < len-1; curr++)\n {\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }",
"int curr=0;",
"int curr=0;",
"curr",
"0",
"curr < len-1",
"curr",
"len-1",
"len",
"1",
"curr++",
"curr++",
"curr",
"{\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }",
"{\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }",
"long suffix = pow26[len-1-curr];",
"suffix",
"pow26[len-1-curr]",
"pow26",
"len-1-curr",
"len-1-curr",
"len",
"1",
"curr",
"char c = 'a';",
"c",
"'a'",
"long cons = 0L;",
"cons",
"0L",
"while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }",
"true",
"{\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }",
"if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }",
"N <= cons",
"N",
"cons",
"{\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }",
"res[curr] = (char)(c-1)",
"res[curr]",
"res",
"curr",
"(char)(c-1)",
"c",
"1",
"cons -= suffix",
"cons",
"suffix",
"N -= cons",
"N",
"cons",
"break;",
"cons += suffix",
"cons",
"suffix",
"c = (char)(c+1)",
"c",
"(char)(c+1)",
"c",
"1",
"res[len-1] = (char)('a'+(int)N-1)",
"res[len-1]",
"res",
"len-1",
"len",
"1",
"(char)('a'+(int)N-1)",
"'a'+(int)N",
"'a'",
"(int)N",
"1",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String hi[]",
"hi",
"public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n long N = Long.parseLong(st.nextToken());\n long[] pow26 = new long[12];\n pow26[0] = 1L;\n for(int i=1; i <= 11; i++)\n pow26[i] = pow26[i-1]*26;\n int len = 0;\n long total = 0L;\n for(int l=1; l <= 11; l++)\n {\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }\n char[] res = new char[len];\n Arrays.fill(res, '?');\n for(int i=1; i < len; i++)\n N -= pow26[i];\n for(int curr=0; curr < len-1; curr++)\n {\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }\n res[len-1] = (char)('a'+(int)N-1);\n System.out.println(res);\n }\n }",
"public class Main\n {\n public static void main(String hi[]) throws Exception\n {\n BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(infile.readLine());\n long N = Long.parseLong(st.nextToken());\n long[] pow26 = new long[12];\n pow26[0] = 1L;\n for(int i=1; i <= 11; i++)\n pow26[i] = pow26[i-1]*26;\n int len = 0;\n long total = 0L;\n for(int l=1; l <= 11; l++)\n {\n long temp = 1L;\n for(int i=0; i < l; i++)\n temp *= 26;\n total += temp;\n if(total >= N)\n {\n len = l;\n break;\n }\n }\n char[] res = new char[len];\n Arrays.fill(res, '?');\n for(int i=1; i < len; i++)\n N -= pow26[i];\n for(int curr=0; curr < len-1; curr++)\n {\n long suffix = pow26[len-1-curr];\n char c = 'a';\n long cons = 0L;\n while(true)\n {\n if(N <= cons)\n {\n res[curr] = (char)(c-1);\n cons -= suffix;\n N -= cons;\n break;\n }\n cons += suffix;\n c = (char)(c+1);\n }\n }\n res[len-1] = (char)('a'+(int)N-1);\n System.out.println(res);\n }\n }",
"Main"
]
| /*
If you want to aim high, aim high
Don't let that studying and grades consume you
Just live life young
******************************
What do you think? What do you think?
1st on Billboard, what do you think of it
Next is a Grammy, what do you think of it
However you think, I’m sorry, but shit, I have no fcking interest
*******************************
I'm standing on top of my Monopoly board
That means I'm on top of my game and it don't stop
til my hip don't hop anymore
https://www.a2oj.com/Ladder16.html
*******************************
300iq as writer = Sad!
*/
import java.util.*;
import java.io.*;
import java.math.*;
public class Main
{
public static void main(String hi[]) throws Exception
{
BufferedReader infile = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(infile.readLine());
long N = Long.parseLong(st.nextToken());
long[] pow26 = new long[12];
pow26[0] = 1L;
for(int i=1; i <= 11; i++)
pow26[i] = pow26[i-1]*26;
int len = 0;
long total = 0L;
for(int l=1; l <= 11; l++)
{
long temp = 1L;
for(int i=0; i < l; i++)
temp *= 26;
total += temp;
if(total >= N)
{
len = l;
break;
}
}
char[] res = new char[len];
Arrays.fill(res, '?');
for(int i=1; i < len; i++)
N -= pow26[i];
for(int curr=0; curr < len-1; curr++)
{
long suffix = pow26[len-1-curr];
char c = 'a';
long cons = 0L;
while(true)
{
if(N <= cons)
{
res[curr] = (char)(c-1);
cons -= suffix;
N -= cons;
break;
}
cons += suffix;
c = (char)(c+1);
}
}
res[len-1] = (char)('a'+(int)N-1);
System.out.println(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
29,
8,
2,
2,
13,
13,
17,
2,
2,
2,
13,
13,
17,
8,
2,
13,
17,
40,
13,
13,
2,
2,
13,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
40,
13,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
42,
2,
13,
17,
30,
41,
13,
4,
13,
13,
17,
4,
18,
13,
18,
13,
13,
0,
13,
17,
40,
13,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
126,
5
],
[
126,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
10,
16
],
[
17,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
17,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
22,
28
],
[
10,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
6,
34
],
[
34,
35
],
[
6,
36
],
[
36,
37
],
[
126,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
40,
49
],
[
49,
50
],
[
40,
51
],
[
51,
52
],
[
51,
53
],
[
40,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
56,
59
],
[
56,
60
],
[
56,
61
],
[
56,
62
],
[
56,
63
],
[
56,
64
],
[
56,
65
],
[
56,
66
],
[
56,
67
],
[
56,
68
],
[
56,
69
],
[
56,
70
],
[
56,
71
],
[
56,
72
],
[
56,
73
],
[
56,
74
],
[
56,
75
],
[
56,
76
],
[
56,
77
],
[
56,
78
],
[
56,
79
],
[
56,
80
],
[
56,
81
],
[
56,
82
],
[
40,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
90,
93
],
[
87,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
97,
98
],
[
97,
99
],
[
87,
100
],
[
100,
101
],
[
100,
102
],
[
87,
103
],
[
103,
104
],
[
40,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
40,
110
],
[
110,
111
],
[
110,
112
],
[
40,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
38,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
]
| [
"import java.util.*;\npublic class Main {\n public static long mod(long i, long j) {\n return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n a--;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}\n\t\tString ans = sb.toString();\n StringBuffer ans1 = new StringBuffer(ans);\n\t\tSystem.out.println(ans1.reverse().toString());\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static long mod(long i, long j) {\n return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n a--;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}\n\t\tString ans = sb.toString();\n StringBuffer ans1 = new StringBuffer(ans);\n\t\tSystem.out.println(ans1.reverse().toString());\n\t}\n}",
"Main",
"public static long mod(long i, long j) {\n return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);\n }",
"mod",
"{\n return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);\n }",
"return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);",
"(i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0)",
"(i % j) < 0",
"(i % j)",
"i",
"j",
"0",
"(i % j) + 0 + (j < 0 ? -j : j)",
"(i % j) + 0 + (j < 0 ? -j : j)",
"(i % j)",
"i",
"j",
"0",
"(j < 0 ? -j : j)",
"j < 0",
"j",
"0",
"-j",
"j",
"j",
"(i % j + 0)",
"i % j",
"i",
"j",
"0",
"long i",
"i",
"long j",
"j",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n a--;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}\n\t\tString ans = sb.toString();\n StringBuffer ans1 = new StringBuffer(ans);\n\t\tSystem.out.println(ans1.reverse().toString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n a--;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}\n\t\tString ans = sb.toString();\n StringBuffer ans1 = new StringBuffer(ans);\n\t\tSystem.out.println(ans1.reverse().toString());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"a--",
"a",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"str",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}",
"a>=0",
"a",
"0",
"{int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}",
"int b = (int)mod(a,26);",
"b",
"(int)mod(a,26)",
"mod",
"a",
"26",
"sb.append(str[b])",
"sb.append",
"sb",
"str[b]",
"str",
"b",
"a/=26",
"a",
"26",
"a--",
"a",
"String ans = sb.toString();",
"ans",
"sb.toString()",
"sb.toString",
"sb",
"StringBuffer ans1 = new StringBuffer(ans);",
"ans1",
"new StringBuffer(ans)",
"System.out.println(ans1.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans1.reverse().toString()",
"ans1.reverse().toString",
"ans1.reverse()",
"ans1.reverse",
"ans1",
"String[] args",
"args",
"public class Main {\n public static long mod(long i, long j) {\n return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n a--;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}\n\t\tString ans = sb.toString();\n StringBuffer ans1 = new StringBuffer(ans);\n\t\tSystem.out.println(ans1.reverse().toString());\n\t}\n}",
"public class Main {\n public static long mod(long i, long j) {\n return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong();\n a--;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a/=26;\n a--;}\n\t\tString ans = sb.toString();\n StringBuffer ans1 = new StringBuffer(ans);\n\t\tSystem.out.println(ans1.reverse().toString());\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static long mod(long i, long j) {
return (i % j) < 0 ? (i % j) + 0 + (j < 0 ? -j : j) : (i % j + 0);
}
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
a--;
StringBuilder sb = new StringBuilder();
String str[] = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
while(a>=0){int b = (int)mod(a,26);
sb.append(str[b]);
a/=26;
a--;}
String ans = sb.toString();
StringBuffer ans1 = new StringBuffer(ans);
System.out.println(ans1.reverse().toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
4,
18,
13,
17,
17,
41,
13,
17,
42,
2,
2,
13,
4,
18,
13,
17,
13,
17,
30,
0,
13,
4,
18,
13,
17,
13,
40,
13,
40,
13,
42,
2,
13,
17,
30,
41,
13,
2,
13,
4,
18,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
17,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
225,
8
],
[
225,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
23,
27
],
[
11,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
28,
32
],
[
11,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
11,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
38,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
53,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
63,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
11,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
11,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
78,
82
],
[
11,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
11,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
88,
92
],
[
11,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
93,
97
],
[
11,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
98,
102
],
[
11,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
103,
107
],
[
11,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
108,
112
],
[
11,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
113,
117
],
[
11,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
118,
122
],
[
11,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
123,
127
],
[
11,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
128,
132
],
[
11,
133
],
[
133,
134
],
[
134,
135
],
[
133,
136
],
[
133,
137
],
[
11,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
138,
142
],
[
11,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
143,
147
],
[
11,
148
],
[
148,
149
],
[
149,
150
],
[
148,
151
],
[
148,
152
],
[
11,
153
],
[
153,
154
],
[
153,
155
],
[
11,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
160,
164
],
[
157,
165
],
[
156,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
169,
172
],
[
169,
173
],
[
166,
174
],
[
174,
175
],
[
11,
176
],
[
176,
177
],
[
11,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
187,
191
],
[
191,
192
],
[
191,
193
],
[
182,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
194,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
182,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
205,
209
],
[
209,
210
],
[
209,
211
],
[
182,
212
],
[
212,
213
],
[
11,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
11,
219
],
[
219,
220
],
[
220,
221
],
[
9,
222
],
[
222,
223
],
[
0,
224
],
[
224,
225
],
[
224,
226
]
]
| [
"import java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n long N = scan.nextLong();\n\n HashMap<Long, String> alphabetHash = new HashMap<Long, String>();\n alphabetHash.put((long)0, \"a\");\n alphabetHash.put((long)1, \"b\");\n alphabetHash.put((long)2, \"c\");\n alphabetHash.put((long)3, \"d\");\n alphabetHash.put((long)4, \"e\");\n alphabetHash.put((long)5, \"f\");\n alphabetHash.put((long)6, \"g\");\n alphabetHash.put((long)7, \"h\");\n alphabetHash.put((long)8, \"i\");\n alphabetHash.put((long)9, \"j\");\n alphabetHash.put((long)10, \"k\");\n alphabetHash.put((long)11, \"l\");\n alphabetHash.put((long)12, \"m\");\n alphabetHash.put((long)13, \"n\");\n alphabetHash.put((long)14, \"o\");\n alphabetHash.put((long)15, \"p\");\n alphabetHash.put((long)16, \"q\");\n alphabetHash.put((long)17, \"r\");\n alphabetHash.put((long)18, \"s\");\n alphabetHash.put((long)19, \"t\");\n alphabetHash.put((long)20, \"u\");\n alphabetHash.put((long)21, \"v\");\n alphabetHash.put((long)22, \"w\");\n alphabetHash.put((long)23, \"x\");\n alphabetHash.put((long)24, \"y\");\n alphabetHash.put((long)25, \"z\");\n\n\n long len = 1;\n\n while (N - Math.pow(26, len) > 0) {\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }\n\n N--;\n\n while (len > 0) {\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }\n\n System.out.println();\n\n scan.close();\n\n }\n\n}",
"import java.util.HashMap;",
"HashMap",
"java.util",
"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\n long N = scan.nextLong();\n\n HashMap<Long, String> alphabetHash = new HashMap<Long, String>();\n alphabetHash.put((long)0, \"a\");\n alphabetHash.put((long)1, \"b\");\n alphabetHash.put((long)2, \"c\");\n alphabetHash.put((long)3, \"d\");\n alphabetHash.put((long)4, \"e\");\n alphabetHash.put((long)5, \"f\");\n alphabetHash.put((long)6, \"g\");\n alphabetHash.put((long)7, \"h\");\n alphabetHash.put((long)8, \"i\");\n alphabetHash.put((long)9, \"j\");\n alphabetHash.put((long)10, \"k\");\n alphabetHash.put((long)11, \"l\");\n alphabetHash.put((long)12, \"m\");\n alphabetHash.put((long)13, \"n\");\n alphabetHash.put((long)14, \"o\");\n alphabetHash.put((long)15, \"p\");\n alphabetHash.put((long)16, \"q\");\n alphabetHash.put((long)17, \"r\");\n alphabetHash.put((long)18, \"s\");\n alphabetHash.put((long)19, \"t\");\n alphabetHash.put((long)20, \"u\");\n alphabetHash.put((long)21, \"v\");\n alphabetHash.put((long)22, \"w\");\n alphabetHash.put((long)23, \"x\");\n alphabetHash.put((long)24, \"y\");\n alphabetHash.put((long)25, \"z\");\n\n\n long len = 1;\n\n while (N - Math.pow(26, len) > 0) {\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }\n\n N--;\n\n while (len > 0) {\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }\n\n System.out.println();\n\n scan.close();\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n long N = scan.nextLong();\n\n HashMap<Long, String> alphabetHash = new HashMap<Long, String>();\n alphabetHash.put((long)0, \"a\");\n alphabetHash.put((long)1, \"b\");\n alphabetHash.put((long)2, \"c\");\n alphabetHash.put((long)3, \"d\");\n alphabetHash.put((long)4, \"e\");\n alphabetHash.put((long)5, \"f\");\n alphabetHash.put((long)6, \"g\");\n alphabetHash.put((long)7, \"h\");\n alphabetHash.put((long)8, \"i\");\n alphabetHash.put((long)9, \"j\");\n alphabetHash.put((long)10, \"k\");\n alphabetHash.put((long)11, \"l\");\n alphabetHash.put((long)12, \"m\");\n alphabetHash.put((long)13, \"n\");\n alphabetHash.put((long)14, \"o\");\n alphabetHash.put((long)15, \"p\");\n alphabetHash.put((long)16, \"q\");\n alphabetHash.put((long)17, \"r\");\n alphabetHash.put((long)18, \"s\");\n alphabetHash.put((long)19, \"t\");\n alphabetHash.put((long)20, \"u\");\n alphabetHash.put((long)21, \"v\");\n alphabetHash.put((long)22, \"w\");\n alphabetHash.put((long)23, \"x\");\n alphabetHash.put((long)24, \"y\");\n alphabetHash.put((long)25, \"z\");\n\n\n long len = 1;\n\n while (N - Math.pow(26, len) > 0) {\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }\n\n N--;\n\n while (len > 0) {\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }\n\n System.out.println();\n\n scan.close();\n\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n\n long N = scan.nextLong();\n\n HashMap<Long, String> alphabetHash = new HashMap<Long, String>();\n alphabetHash.put((long)0, \"a\");\n alphabetHash.put((long)1, \"b\");\n alphabetHash.put((long)2, \"c\");\n alphabetHash.put((long)3, \"d\");\n alphabetHash.put((long)4, \"e\");\n alphabetHash.put((long)5, \"f\");\n alphabetHash.put((long)6, \"g\");\n alphabetHash.put((long)7, \"h\");\n alphabetHash.put((long)8, \"i\");\n alphabetHash.put((long)9, \"j\");\n alphabetHash.put((long)10, \"k\");\n alphabetHash.put((long)11, \"l\");\n alphabetHash.put((long)12, \"m\");\n alphabetHash.put((long)13, \"n\");\n alphabetHash.put((long)14, \"o\");\n alphabetHash.put((long)15, \"p\");\n alphabetHash.put((long)16, \"q\");\n alphabetHash.put((long)17, \"r\");\n alphabetHash.put((long)18, \"s\");\n alphabetHash.put((long)19, \"t\");\n alphabetHash.put((long)20, \"u\");\n alphabetHash.put((long)21, \"v\");\n alphabetHash.put((long)22, \"w\");\n alphabetHash.put((long)23, \"x\");\n alphabetHash.put((long)24, \"y\");\n alphabetHash.put((long)25, \"z\");\n\n\n long len = 1;\n\n while (N - Math.pow(26, len) > 0) {\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }\n\n N--;\n\n while (len > 0) {\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }\n\n System.out.println();\n\n scan.close();\n\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"HashMap<Long, String> alphabetHash = new HashMap<Long, String>();",
"alphabetHash",
"new HashMap<Long, String>()",
"alphabetHash.put((long)0, \"a\")",
"alphabetHash.put",
"alphabetHash",
"(long)0",
"\"a\"",
"alphabetHash.put((long)1, \"b\")",
"alphabetHash.put",
"alphabetHash",
"(long)1",
"\"b\"",
"alphabetHash.put((long)2, \"c\")",
"alphabetHash.put",
"alphabetHash",
"(long)2",
"\"c\"",
"alphabetHash.put((long)3, \"d\")",
"alphabetHash.put",
"alphabetHash",
"(long)3",
"\"d\"",
"alphabetHash.put((long)4, \"e\")",
"alphabetHash.put",
"alphabetHash",
"(long)4",
"\"e\"",
"alphabetHash.put((long)5, \"f\")",
"alphabetHash.put",
"alphabetHash",
"(long)5",
"\"f\"",
"alphabetHash.put((long)6, \"g\")",
"alphabetHash.put",
"alphabetHash",
"(long)6",
"\"g\"",
"alphabetHash.put((long)7, \"h\")",
"alphabetHash.put",
"alphabetHash",
"(long)7",
"\"h\"",
"alphabetHash.put((long)8, \"i\")",
"alphabetHash.put",
"alphabetHash",
"(long)8",
"\"i\"",
"alphabetHash.put((long)9, \"j\")",
"alphabetHash.put",
"alphabetHash",
"(long)9",
"\"j\"",
"alphabetHash.put((long)10, \"k\")",
"alphabetHash.put",
"alphabetHash",
"(long)10",
"\"k\"",
"alphabetHash.put((long)11, \"l\")",
"alphabetHash.put",
"alphabetHash",
"(long)11",
"\"l\"",
"alphabetHash.put((long)12, \"m\")",
"alphabetHash.put",
"alphabetHash",
"(long)12",
"\"m\"",
"alphabetHash.put((long)13, \"n\")",
"alphabetHash.put",
"alphabetHash",
"(long)13",
"\"n\"",
"alphabetHash.put((long)14, \"o\")",
"alphabetHash.put",
"alphabetHash",
"(long)14",
"\"o\"",
"alphabetHash.put((long)15, \"p\")",
"alphabetHash.put",
"alphabetHash",
"(long)15",
"\"p\"",
"alphabetHash.put((long)16, \"q\")",
"alphabetHash.put",
"alphabetHash",
"(long)16",
"\"q\"",
"alphabetHash.put((long)17, \"r\")",
"alphabetHash.put",
"alphabetHash",
"(long)17",
"\"r\"",
"alphabetHash.put((long)18, \"s\")",
"alphabetHash.put",
"alphabetHash",
"(long)18",
"\"s\"",
"alphabetHash.put((long)19, \"t\")",
"alphabetHash.put",
"alphabetHash",
"(long)19",
"\"t\"",
"alphabetHash.put((long)20, \"u\")",
"alphabetHash.put",
"alphabetHash",
"(long)20",
"\"u\"",
"alphabetHash.put((long)21, \"v\")",
"alphabetHash.put",
"alphabetHash",
"(long)21",
"\"v\"",
"alphabetHash.put((long)22, \"w\")",
"alphabetHash.put",
"alphabetHash",
"(long)22",
"\"w\"",
"alphabetHash.put((long)23, \"x\")",
"alphabetHash.put",
"alphabetHash",
"(long)23",
"\"x\"",
"alphabetHash.put((long)24, \"y\")",
"alphabetHash.put",
"alphabetHash",
"(long)24",
"\"y\"",
"alphabetHash.put((long)25, \"z\")",
"alphabetHash.put",
"alphabetHash",
"(long)25",
"\"z\"",
"long len = 1;",
"len",
"1",
"while (N - Math.pow(26, len) > 0) {\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }",
"N - Math.pow(26, len) > 0",
"N - Math.pow(26, len)",
"N",
"Math.pow(26, len)",
"Math.pow",
"Math",
"26",
"len",
"0",
"{\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }",
"N -= Math.pow((long)26, len)",
"N",
"Math.pow((long)26, len)",
"Math.pow",
"Math",
"(long)26",
"len",
"len++",
"len",
"N--",
"N",
"while (len > 0) {\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }",
"len > 0",
"len",
"0",
"{\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }",
"long temp = N/(long)Math.pow(26, len-1);",
"temp",
"N/(long)Math.pow(26, len-1)",
"N",
"(long)Math.pow(26, len-1)",
"Math.pow",
"Math",
"26",
"len-1",
"len",
"1",
"System.out.print(alphabetHash.get(temp))",
"System.out.print",
"System.out",
"System",
"System.out",
"alphabetHash.get(temp)",
"alphabetHash.get",
"alphabetHash",
"temp",
"N %= Math.pow(26, len-1)",
"N",
"Math.pow(26, len-1)",
"Math.pow",
"Math",
"26",
"len-1",
"len",
"1",
"len--",
"len",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n long N = scan.nextLong();\n\n HashMap<Long, String> alphabetHash = new HashMap<Long, String>();\n alphabetHash.put((long)0, \"a\");\n alphabetHash.put((long)1, \"b\");\n alphabetHash.put((long)2, \"c\");\n alphabetHash.put((long)3, \"d\");\n alphabetHash.put((long)4, \"e\");\n alphabetHash.put((long)5, \"f\");\n alphabetHash.put((long)6, \"g\");\n alphabetHash.put((long)7, \"h\");\n alphabetHash.put((long)8, \"i\");\n alphabetHash.put((long)9, \"j\");\n alphabetHash.put((long)10, \"k\");\n alphabetHash.put((long)11, \"l\");\n alphabetHash.put((long)12, \"m\");\n alphabetHash.put((long)13, \"n\");\n alphabetHash.put((long)14, \"o\");\n alphabetHash.put((long)15, \"p\");\n alphabetHash.put((long)16, \"q\");\n alphabetHash.put((long)17, \"r\");\n alphabetHash.put((long)18, \"s\");\n alphabetHash.put((long)19, \"t\");\n alphabetHash.put((long)20, \"u\");\n alphabetHash.put((long)21, \"v\");\n alphabetHash.put((long)22, \"w\");\n alphabetHash.put((long)23, \"x\");\n alphabetHash.put((long)24, \"y\");\n alphabetHash.put((long)25, \"z\");\n\n\n long len = 1;\n\n while (N - Math.pow(26, len) > 0) {\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }\n\n N--;\n\n while (len > 0) {\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }\n\n System.out.println();\n\n scan.close();\n\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n long N = scan.nextLong();\n\n HashMap<Long, String> alphabetHash = new HashMap<Long, String>();\n alphabetHash.put((long)0, \"a\");\n alphabetHash.put((long)1, \"b\");\n alphabetHash.put((long)2, \"c\");\n alphabetHash.put((long)3, \"d\");\n alphabetHash.put((long)4, \"e\");\n alphabetHash.put((long)5, \"f\");\n alphabetHash.put((long)6, \"g\");\n alphabetHash.put((long)7, \"h\");\n alphabetHash.put((long)8, \"i\");\n alphabetHash.put((long)9, \"j\");\n alphabetHash.put((long)10, \"k\");\n alphabetHash.put((long)11, \"l\");\n alphabetHash.put((long)12, \"m\");\n alphabetHash.put((long)13, \"n\");\n alphabetHash.put((long)14, \"o\");\n alphabetHash.put((long)15, \"p\");\n alphabetHash.put((long)16, \"q\");\n alphabetHash.put((long)17, \"r\");\n alphabetHash.put((long)18, \"s\");\n alphabetHash.put((long)19, \"t\");\n alphabetHash.put((long)20, \"u\");\n alphabetHash.put((long)21, \"v\");\n alphabetHash.put((long)22, \"w\");\n alphabetHash.put((long)23, \"x\");\n alphabetHash.put((long)24, \"y\");\n alphabetHash.put((long)25, \"z\");\n\n\n long len = 1;\n\n while (N - Math.pow(26, len) > 0) {\n \tN -= Math.pow((long)26, len);\n \tlen++;\n }\n\n N--;\n\n while (len > 0) {\n \tlong temp = N/(long)Math.pow(26, len-1);\n \tSystem.out.print(alphabetHash.get(temp));\n \tN %= Math.pow(26, len-1);\n \tlen--;\n }\n\n System.out.println();\n\n scan.close();\n\n }\n\n}",
"Main"
]
| import java.util.HashMap;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long N = scan.nextLong();
HashMap<Long, String> alphabetHash = new HashMap<Long, String>();
alphabetHash.put((long)0, "a");
alphabetHash.put((long)1, "b");
alphabetHash.put((long)2, "c");
alphabetHash.put((long)3, "d");
alphabetHash.put((long)4, "e");
alphabetHash.put((long)5, "f");
alphabetHash.put((long)6, "g");
alphabetHash.put((long)7, "h");
alphabetHash.put((long)8, "i");
alphabetHash.put((long)9, "j");
alphabetHash.put((long)10, "k");
alphabetHash.put((long)11, "l");
alphabetHash.put((long)12, "m");
alphabetHash.put((long)13, "n");
alphabetHash.put((long)14, "o");
alphabetHash.put((long)15, "p");
alphabetHash.put((long)16, "q");
alphabetHash.put((long)17, "r");
alphabetHash.put((long)18, "s");
alphabetHash.put((long)19, "t");
alphabetHash.put((long)20, "u");
alphabetHash.put((long)21, "v");
alphabetHash.put((long)22, "w");
alphabetHash.put((long)23, "x");
alphabetHash.put((long)24, "y");
alphabetHash.put((long)25, "z");
long len = 1;
while (N - Math.pow(26, len) > 0) {
N -= Math.pow((long)26, len);
len++;
}
N--;
while (len > 0) {
long temp = N/(long)Math.pow(26, len-1);
System.out.print(alphabetHash.get(temp));
N %= Math.pow(26, len-1);
len--;
}
System.out.println();
scan.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
29,
8,
2,
13,
17,
4,
13,
13,
2,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
42,
17,
30,
41,
13,
2,
13,
4,
18,
13,
0,
13,
2,
18,
13,
13,
13,
14,
2,
2,
2,
13,
17,
4,
18,
13,
17,
30,
3,
30,
0,
13,
2,
2,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
17,
18
],
[
17,
19
],
[
10,
20
],
[
6,
21
],
[
21,
22
],
[
6,
23
],
[
23,
24
],
[
95,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
27,
36
],
[
36,
37
],
[
36,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
27,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
49,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
49,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
65,
73
],
[
64,
74
],
[
74,
75
],
[
64,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
27,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
25,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n String s = \"zabcdefghijklmnopqrstuvwxy\";\n char[] c = s.toCharArray();\n\n\n while(true){\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }\n\n System.out.println(ans);\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n String s = \"zabcdefghijklmnopqrstuvwxy\";\n char[] c = s.toCharArray();\n\n\n while(true){\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }\n\n System.out.println(ans);\n\n }\n\n}",
"Main",
"static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}",
"gcd",
"{return b>0?gcd(b,a%b):a;}",
"return b>0?gcd(b,a%b):a;",
"b>0?gcd(b,a%b):a",
"b>0",
"b",
"0",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"a",
"int a",
"a",
"int b",
"b",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n String s = \"zabcdefghijklmnopqrstuvwxy\";\n char[] c = s.toCharArray();\n\n\n while(true){\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }\n\n System.out.println(ans);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n String s = \"zabcdefghijklmnopqrstuvwxy\";\n char[] c = s.toCharArray();\n\n\n while(true){\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }\n\n System.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"String s = \"zabcdefghijklmnopqrstuvwxy\";",
"s",
"\"zabcdefghijklmnopqrstuvwxy\"",
"char[] c = s.toCharArray();",
"c",
"s.toCharArray()",
"s.toCharArray",
"s",
"while(true){\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }",
"true",
"{\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }",
"long mod = N % s.length();",
"mod",
"N % s.length()",
"N",
"s.length()",
"s.length",
"s",
"ans = c[(int)mod] + ans",
"ans",
"c[(int)mod] + ans",
"c[(int)mod]",
"c",
"(int)mod",
"ans",
"if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }",
"( (N -1) / s.length()) < 1",
"( (N -1) / s.length())",
"(N -1)",
"N",
"1",
"s.length()",
"s.length",
"s",
"1",
"{\n break;\n }",
"break;",
"{\n N = ((N-1) / s.length());\n }",
"N = ((N-1) / s.length())",
"N",
"((N-1) / s.length())",
"(N-1)",
"N",
"1",
"s.length()",
"s.length",
"s",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n String s = \"zabcdefghijklmnopqrstuvwxy\";\n char[] c = s.toCharArray();\n\n\n while(true){\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }\n\n System.out.println(ans);\n\n }\n\n}",
"public class Main {\n\n static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n String s = \"zabcdefghijklmnopqrstuvwxy\";\n char[] c = s.toCharArray();\n\n\n while(true){\n long mod = N % s.length();\n ans = c[(int)mod] + ans;\n\n if( ( (N -1) / s.length()) < 1){\n break;\n } else{\n N = ((N-1) / s.length());\n }\n\n }\n\n System.out.println(ans);\n\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
static int gcd (int a, int b) {return b>0?gcd(b,a%b):a;}
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
String ans = "";
String s = "zabcdefghijklmnopqrstuvwxy";
char[] c = s.toCharArray();
while(true){
long mod = N % s.length();
ans = c[(int)mod] + ans;
if( ( (N -1) / s.length()) < 1){
break;
} else{
N = ((N-1) / s.length());
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
40,
13,
0,
13,
2,
2,
2,
13,
17,
17,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
121,
17
],
[
121,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
34,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
34,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
20,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
18,
63
],
[
63,
64
],
[
121,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
65,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
79,
81
],
[
73,
82
],
[
82,
83
],
[
65,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
87,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
97,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
86,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
65,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tlong N = sc.nextLong();\n\t\tString anser = \"\";\n\t\twhile (true) {\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(anser);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n//\t\tpublic int nextInt() {\n//\t\t\treturn Integer.parseInt(next());\n//\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tlong N = sc.nextLong();\n\t\tString anser = \"\";\n\t\twhile (true) {\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(anser);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n//\t\tpublic int nextInt() {\n//\t\t\treturn Integer.parseInt(next());\n//\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tlong N = sc.nextLong();\n\t\tString anser = \"\";\n\t\twhile (true) {\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(anser);\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tlong N = sc.nextLong();\n\t\tString anser = \"\";\n\t\twhile (true) {\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(anser);\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String anser = \"\";",
"anser",
"\"\"",
"while (true) {\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"N--",
"N",
"anser = (char)(N % 26 + 'a') + anser",
"anser",
"(char)(N % 26 + 'a') + anser",
"(char)(N % 26 + 'a')",
"N % 26",
"N",
"26",
"'a'",
"anser",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"if (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"N == 0",
"N",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(anser)",
"System.out.println",
"System.out",
"System",
"System.out",
"anser",
"String[] args",
"args",
"private static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n//\t\tpublic int nextInt() {\n//\t\t\treturn Integer.parseInt(next());\n//\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"FastScanner",
"{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"next",
"{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}",
"try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"IOException e",
"{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"nextLong",
"{\n\t\t\treturn Long.parseLong(next());\n\t\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tlong N = sc.nextLong();\n\t\tString anser = \"\";\n\t\twhile (true) {\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(anser);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n//\t\tpublic int nextInt() {\n//\t\t\treturn Integer.parseInt(next());\n//\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\n\t\tlong N = sc.nextLong();\n\t\tString anser = \"\";\n\t\twhile (true) {\n\t\t\tN--;\n\t\t\tanser = (char)(N % 26 + 'a') + anser;\n\t\t\tN = N / 26;\n\t\t\tif (N == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(anser);\n\t}\n\n\tprivate static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t\tprivate StringTokenizer tokenizer = null;\n\n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n\n//\t\tpublic int nextInt() {\n//\t\t\treturn Integer.parseInt(next());\n//\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
long N = sc.nextLong();
String anser = "";
while (true) {
N--;
anser = (char)(N % 26 + 'a') + anser;
N = N / 26;
if (N == 0) {
break;
}
}
System.out.println(anser);
}
private static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
// public int nextInt() {
// return Integer.parseInt(next());
// }
public long nextLong() {
return Long.parseLong(next());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
17,
2,
13,
17,
0,
13,
2,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
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
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
80,
17
],
[
80,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
20,
29
],
[
29,
30
],
[
29,
31
],
[
20,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
20,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
55,
59
],
[
51,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
51,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
18,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.text.*;\nimport java.math.*;\nimport java.util.regex.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\t//System.out.println(n);\n\t\tString ans = \"\";\n\t\twhile(n>0){\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}\n\t\tfor(int i=ans.length()-1 ; i>=0; i--){\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t\t\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.regex.*;",
"regex.*",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\t//System.out.println(n);\n\t\tString ans = \"\";\n\t\twhile(n>0){\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}\n\t\tfor(int i=ans.length()-1 ; i>=0; i--){\n\t\t\tSystem.out.print(ans.charAt(i));\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\tlong n = sc.nextLong();\n\t\t//System.out.println(n);\n\t\tString ans = \"\";\n\t\twhile(n>0){\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}\n\t\tfor(int i=ans.length()-1 ; i>=0; i--){\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\t//System.out.println(n);\n\t\tString ans = \"\";\n\t\twhile(n>0){\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}\n\t\tfor(int i=ans.length()-1 ; i>=0; i--){\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t\t\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"while(n>0){\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}",
"n--",
"n",
"ans += (char)('a' + (n%26))",
"ans",
"(char)('a' + (n%26))",
"'a'",
"(n%26)",
"n",
"26",
"n = n/26",
"n",
"n/26",
"n",
"26",
"for(int i=ans.length()-1 ; i>=0; i--){\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}",
"int i=ans.length()-1 ;",
"int i=ans.length()-1 ;",
"i",
"ans.length()-1",
"ans.length()",
"ans.length",
"ans",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}",
"System.out.print(ans.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"ans.charAt(i)",
"ans.charAt",
"ans",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\t//System.out.println(n);\n\t\tString ans = \"\";\n\t\twhile(n>0){\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}\n\t\tfor(int i=ans.length()-1 ; i>=0; i--){\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t\t\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\t//System.out.println(n);\n\t\tString ans = \"\";\n\t\twhile(n>0){\n\t\t\tn--;\n\t\t\tans += (char)('a' + (n%26));\n\t\t\t//if(n<26) break;\n\t\t\tn = n/26;\n\t\t}\n\t\tfor(int i=ans.length()-1 ; i>=0; i--){\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t\t\n\t}\n\n}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
//System.out.println(n);
String ans = "";
while(n>0){
n--;
ans += (char)('a' + (n%26));
//if(n<26) break;
n = n/26;
}
for(int i=ans.length()-1 ; i>=0; i--){
System.out.print(ans.charAt(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
0,
13,
2,
13,
4,
18,
13,
17,
13,
30,
0,
13,
2,
13,
17,
3,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
18,
13,
13,
18,
13,
2,
13,
17,
30,
0,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
187,
5
],
[
187,
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
],
[
19,
21
],
[
19,
22
],
[
19,
23
],
[
19,
24
],
[
19,
25
],
[
19,
26
],
[
19,
27
],
[
19,
28
],
[
19,
29
],
[
19,
30
],
[
19,
31
],
[
19,
32
],
[
19,
33
],
[
19,
34
],
[
19,
35
],
[
19,
36
],
[
19,
37
],
[
19,
38
],
[
19,
39
],
[
19,
40
],
[
19,
41
],
[
19,
42
],
[
19,
43
],
[
19,
44
],
[
19,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
77,
81
],
[
68,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
8,
89
],
[
89,
90
],
[
89,
91
],
[
8,
92
],
[
92,
93
],
[
92,
94
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
101,
103
],
[
96,
104
],
[
104,
105
],
[
105,
106
],
[
96,
107
],
[
108,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
116,
118
],
[
113,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
113,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
113,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
143,
145
],
[
109,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
8,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
156,
163
],
[
163,
164
],
[
163,
165
],
[
156,
166
],
[
166,
167
],
[
167,
168
],
[
156,
169
],
[
170,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
175,
177
],
[
8,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
178,
183
],
[
6,
184
],
[
184,
185
],
[
0,
186
],
[
186,
187
],
[
186,
188
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tString[] list = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint exp = 0;\n\t\tString name = \"\";\n\t\t\n\t\tlong pow = 0;\n\t\tfor(int i=1;i<=12;i++) {\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tlong s = 0;\n\t\tString[] namelist = new String[exp];\n\t\tfor(int j=0;j<exp;j++) {\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}\n\t\tfor(int k=exp-1;k>=0;k--) {\n\t\t\tname = name + namelist[k];\n\t\t}\n\t\tSystem.out.println(name);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tString[] list = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint exp = 0;\n\t\tString name = \"\";\n\t\t\n\t\tlong pow = 0;\n\t\tfor(int i=1;i<=12;i++) {\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tlong s = 0;\n\t\tString[] namelist = new String[exp];\n\t\tfor(int j=0;j<exp;j++) {\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}\n\t\tfor(int k=exp-1;k>=0;k--) {\n\t\t\tname = name + namelist[k];\n\t\t}\n\t\tSystem.out.println(name);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tString[] list = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint exp = 0;\n\t\tString name = \"\";\n\t\t\n\t\tlong pow = 0;\n\t\tfor(int i=1;i<=12;i++) {\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tlong s = 0;\n\t\tString[] namelist = new String[exp];\n\t\tfor(int j=0;j<exp;j++) {\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}\n\t\tfor(int k=exp-1;k>=0;k--) {\n\t\t\tname = name + namelist[k];\n\t\t}\n\t\tSystem.out.println(name);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tString[] list = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint exp = 0;\n\t\tString name = \"\";\n\t\t\n\t\tlong pow = 0;\n\t\tfor(int i=1;i<=12;i++) {\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tlong s = 0;\n\t\tString[] namelist = new String[exp];\n\t\tfor(int j=0;j<exp;j++) {\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}\n\t\tfor(int k=exp-1;k>=0;k--) {\n\t\t\tname = name + namelist[k];\n\t\t}\n\t\tSystem.out.println(name);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String[] list = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"list",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"int exp = 0;",
"exp",
"0",
"String name = \"\";",
"name",
"\"\"",
"long pow = 0;",
"pow",
"0",
"for(int i=1;i<=12;i++) {\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=12",
"i",
"12",
"i++",
"i++",
"i",
"{\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}",
"pow < n",
"pow",
"n",
"{\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}",
"pow = (long) (pow + Math.pow(26, i))",
"pow",
"(long) (pow + Math.pow(26, i))",
"pow",
"Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"{\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}",
"exp = i-1",
"exp",
"i-1",
"i",
"1",
"break;",
"long s = 0;",
"s",
"0",
"String[] namelist = new String[exp];",
"namelist",
"new String[exp]",
"exp",
"for(int j=0;j<exp;j++) {\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<exp",
"j",
"exp",
"j++",
"j++",
"j",
"{\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}",
"if(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}",
"n > 26",
"n",
"26",
"{\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}",
"s = n % 26",
"s",
"n % 26",
"n",
"26",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"if(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}",
"s == 0",
"s",
"0",
"{\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}",
"s = 26",
"s",
"26",
"n = n - 1",
"n",
"n - 1",
"n",
"1",
"namelist[j] = list[(int) (s-1)]",
"namelist[j]",
"namelist",
"j",
"list[(int) (s-1)]",
"list",
"(int) (s-1)",
"s",
"1",
"{\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}",
"namelist[j] = list[(int) (n-1)]",
"namelist[j]",
"namelist",
"j",
"list[(int) (n-1)]",
"list",
"(int) (n-1)",
"n",
"1",
"for(int k=exp-1;k>=0;k--) {\n\t\t\tname = name + namelist[k];\n\t\t}",
"int k=exp-1;",
"int k=exp-1;",
"k",
"exp-1",
"exp",
"1",
"k>=0",
"k",
"0",
"k--",
"k--",
"k",
"{\n\t\t\tname = name + namelist[k];\n\t\t}",
"{\n\t\t\tname = name + namelist[k];\n\t\t}",
"name = name + namelist[k]",
"name",
"name + namelist[k]",
"name",
"namelist[k]",
"namelist",
"k",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tString[] list = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint exp = 0;\n\t\tString name = \"\";\n\t\t\n\t\tlong pow = 0;\n\t\tfor(int i=1;i<=12;i++) {\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tlong s = 0;\n\t\tString[] namelist = new String[exp];\n\t\tfor(int j=0;j<exp;j++) {\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}\n\t\tfor(int k=exp-1;k>=0;k--) {\n\t\t\tname = name + namelist[k];\n\t\t}\n\t\tSystem.out.println(name);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tString[] list = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\n\t\t\t\t\t\t\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\n\t\t\t\t\t\t\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tint exp = 0;\n\t\tString name = \"\";\n\t\t\n\t\tlong pow = 0;\n\t\tfor(int i=1;i<=12;i++) {\n\t\t\tif(pow < n) {\n\t\t\t\tpow = (long) (pow + Math.pow(26, i));\n\t\t\t}else {\n\t\t\t\texp = i-1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tlong s = 0;\n\t\tString[] namelist = new String[exp];\n\t\tfor(int j=0;j<exp;j++) {\n\t\t\tif(n > 26) {\n\t\t\t\ts = n % 26;\n\t\t\t\tn = n / 26;\n\t\t\t\tif(s == 0) {\n\t\t\t\t\ts = 26;\n\t\t\t\t\tn = n - 1;\n\t\t\t\t}\n\t\t\t\tnamelist[j] = list[(int) (s-1)];\n\t\t\t}else {\n\t\t\t\tnamelist[j] = list[(int) (n-1)];\n\t\t\t}\n\t\t}\n\t\tfor(int k=exp-1;k>=0;k--) {\n\t\t\tname = name + namelist[k];\n\t\t}\n\t\tSystem.out.println(name);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long n = scan.nextLong();
String[] list = {"a","b","c","d","e","f","g","h","i","j",
"k","l","m","n","o","p","q","r","s","t",
"u","v","w","x","y","z"};
int exp = 0;
String name = "";
long pow = 0;
for(int i=1;i<=12;i++) {
if(pow < n) {
pow = (long) (pow + Math.pow(26, i));
}else {
exp = i-1;
break;
}
}
long s = 0;
String[] namelist = new String[exp];
for(int j=0;j<exp;j++) {
if(n > 26) {
s = n % 26;
n = n / 26;
if(s == 0) {
s = 26;
n = n - 1;
}
namelist[j] = list[(int) (s-1)];
}else {
namelist[j] = list[(int) (n-1)];
}
}
for(int k=exp-1;k>=0;k--) {
name = name + namelist[k];
}
System.out.println(name);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
42,
40,
13,
30,
41,
13,
2,
2,
13,
17,
17,
41,
13,
2,
17,
13,
4,
18,
13,
17,
13,
0,
13,
2,
2,
13,
17,
17,
14,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
26,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
26,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
26,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
8,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
6,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n\n\n public static void main(String[] args) {\n\n //1_000_000_000_000_001 15\n\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n\n StringBuilder sb = new StringBuilder();\n\n boolean exit = false;\n while(!exit){\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }\n System.out.println(sb.toString());\n\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\n\n public static void main(String[] args) {\n\n //1_000_000_000_000_001 15\n\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n\n StringBuilder sb = new StringBuilder();\n\n boolean exit = false;\n while(!exit){\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }\n System.out.println(sb.toString());\n\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n\n //1_000_000_000_000_001 15\n\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n\n StringBuilder sb = new StringBuilder();\n\n boolean exit = false;\n while(!exit){\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }\n System.out.println(sb.toString());\n\n\n }",
"main",
"{\n\n //1_000_000_000_000_001 15\n\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n\n StringBuilder sb = new StringBuilder();\n\n boolean exit = false;\n while(!exit){\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }\n System.out.println(sb.toString());\n\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"boolean exit = false;",
"exit",
"false",
"while(!exit){\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }",
"!exit",
"exit",
"{\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }",
"int m = (int)((N-1)%26L);",
"m",
"(int)((N-1)%26L)",
"(N-1)",
"N",
"1",
"26L",
"char c = (char)('a'+ m);",
"c",
"(char)('a'+ m)",
"'a'",
"m",
"sb.insert(0,c)",
"sb.insert",
"sb",
"0",
"c",
"N = (N-1)/26L",
"N",
"(N-1)/26L",
"(N-1)",
"N",
"1",
"26L",
"if(N ==0L) exit=true;",
"N ==0L",
"N",
"0L",
"exit=true",
"exit",
"true",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\n\n\n public static void main(String[] args) {\n\n //1_000_000_000_000_001 15\n\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n\n StringBuilder sb = new StringBuilder();\n\n boolean exit = false;\n while(!exit){\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }\n System.out.println(sb.toString());\n\n\n }\n\n}",
"public class Main {\n\n\n\n public static void main(String[] args) {\n\n //1_000_000_000_000_001 15\n\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n\n StringBuilder sb = new StringBuilder();\n\n boolean exit = false;\n while(!exit){\n int m = (int)((N-1)%26L);\n char c = (char)('a'+ m);\n sb.insert(0,c);\n N = (N-1)/26L;\n if(N ==0L) exit=true;\n }\n System.out.println(sb.toString());\n\n\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
//1_000_000_000_000_001 15
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
StringBuilder sb = new StringBuilder();
boolean exit = false;
while(!exit){
int m = (int)((N-1)%26L);
char c = (char)('a'+ m);
sb.insert(0,c);
N = (N-1)/26L;
if(N ==0L) exit=true;
}
System.out.println(sb.toString());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n long n = in.nextLong();\n\n StringBuilder answer = new StringBuilder();\n while (n > 0) {\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(answer.reverse());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n long n = in.nextLong();\n\n StringBuilder answer = new StringBuilder();\n while (n > 0) {\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(answer.reverse());\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n long n = in.nextLong();\n\n StringBuilder answer = new StringBuilder();\n while (n > 0) {\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(answer.reverse());\n }",
"main",
"{\n Scanner in=new Scanner(System.in);\n long n = in.nextLong();\n\n StringBuilder answer = new StringBuilder();\n while (n > 0) {\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(answer.reverse());\n }",
"Scanner in=new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"StringBuilder answer = new StringBuilder();",
"answer",
"new StringBuilder()",
"while (n > 0) {\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }",
"n--",
"n",
"answer.append((char) ('a' + n % 26))",
"answer.append",
"answer",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"System.out.println(answer.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"answer.reverse()",
"answer.reverse",
"answer",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n long n = in.nextLong();\n\n StringBuilder answer = new StringBuilder();\n while (n > 0) {\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(answer.reverse());\n }\n}",
"public class Main {\n\n public static void main(String[] args)\n {\n Scanner in=new Scanner(System.in);\n long n = in.nextLong();\n\n StringBuilder answer = new StringBuilder();\n while (n > 0) {\n n--;\n answer.append((char) ('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(answer.reverse());\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args)
{
Scanner in=new Scanner(System.in);
long n = in.nextLong();
StringBuilder answer = new StringBuilder();
while (n > 0) {
n--;
answer.append((char) ('a' + n % 26));
n /= 26;
}
System.out.println(answer.reverse());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
13,
17,
29,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
4,
18,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
4,
18,
13,
17,
0,
13,
2,
13,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
4,
18,
20,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
206,
17
],
[
206,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
20,
35
],
[
35,
36
],
[
35,
37
],
[
20,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
42,
54
],
[
20,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
59,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
59,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
59,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
59,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
20,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
113,
114
],
[
18,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
117,
121
],
[
121,
122
],
[
117,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
117,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
132,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
142,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
131,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
117,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
117,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
117,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
179,
182
],
[
182,
183
],
[
117,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
190,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
186,
203
],
[
203,
204
],
[
0,
205
],
[
205,
206
],
[
205,
207
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\tif (n <= 26) {\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}\n\t\twhile (n > 0) {\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}\n\t\tSystem.out.println(new StringBuilder(ans).reverse());\n\n\t}\n\n}\n\n\n\n\n\nclass FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\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.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\tif (n <= 26) {\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}\n\t\twhile (n > 0) {\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}\n\t\tSystem.out.println(new StringBuilder(ans).reverse());\n\n\t}\n\n}",
"Main",
"public static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\tif (n <= 26) {\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}\n\t\twhile (n > 0) {\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}\n\t\tSystem.out.println(new StringBuilder(ans).reverse());\n\n\t}",
"main",
"{\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\tif (n <= 26) {\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}\n\t\twhile (n > 0) {\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}\n\t\tSystem.out.println(new StringBuilder(ans).reverse());\n\n\t}",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"String str = \"abcdefghijklmnopqrstuvwxyz\";",
"str",
"\"abcdefghijklmnopqrstuvwxyz\"",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"if (n <= 26) {\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}",
"n <= 26",
"n",
"26",
"{\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}",
"System.out.println(str.charAt((int)n - 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"str.charAt((int)n - 1)",
"str.charAt",
"str",
"(int)n - 1",
"(int)n",
"1",
"return;",
"while (n > 0) {\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}",
"long tmp = n % 26;",
"tmp",
"n % 26",
"n",
"26",
"if (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);",
"tmp > 0",
"tmp",
"0",
"ans = ans + str.charAt((int)tmp - 1)",
"ans",
"ans + str.charAt((int)tmp - 1)",
"ans",
"str.charAt((int)tmp - 1)",
"str.charAt",
"str",
"(int)tmp - 1",
"(int)tmp",
"1",
"if (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);",
"tmp == 0",
"tmp",
"0",
"ans = ans + str.charAt(25)",
"ans",
"ans + str.charAt(25)",
"ans",
"str.charAt(25)",
"str.charAt",
"str",
"25",
"n = n - tmp",
"n",
"n - tmp",
"n",
"tmp",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"if (tmp == 0)\n\t\t\t\tn--;",
"tmp == 0",
"tmp",
"0",
"n--",
"n",
"System.out.println(new StringBuilder(ans).reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuilder(ans).reverse()",
"new StringBuilder(ans).reverse",
"new StringBuilder(ans)",
"String[] args",
"args",
"class FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}\n}",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"FastReader",
"{\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}",
"br = new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t\t InputStreamReader(System.in))",
"String next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"next",
"{\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}",
"while (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\te.printStackTrace();\n\t\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n\t\treturn Long.parseLong(next());\n\t}",
"nextLong",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nextDouble",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"nextLine",
"{\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}",
"String str = \"\";",
"str",
"\"\"",
"try {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}",
"IOException e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tstr = br.readLine();\n\t\t}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\tif (n <= 26) {\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}\n\t\twhile (n > 0) {\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}\n\t\tSystem.out.println(new StringBuilder(ans).reverse());\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\tif (n <= 26) {\n\t\t\tSystem.out.println(str.charAt((int)n - 1));\n\t\t\treturn;\n\t\t}\n\t\twhile (n > 0) {\n\t\t\tlong tmp = n % 26;\n\t\t\tif (tmp > 0)\n\t\t\t\tans = ans + str.charAt((int)tmp - 1);\n\t\t\tif (tmp == 0)\n\t\t\t\tans = ans + str.charAt(25);\n\t\t\tn = n - tmp;\n\t\t\tn = n / 26;\n\t\t\tif (tmp == 0)\n\t\t\t\tn--;\n\n\n\t\t}\n\t\tSystem.out.println(new StringBuilder(ans).reverse());\n\n\t}\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
public static void main(String[] args)throws IOException {
FastReader sc = new FastReader();
PrintWriter pw = new PrintWriter(System.out);
String str = "abcdefghijklmnopqrstuvwxyz";
long n = sc.nextLong();
String ans = "";
if (n <= 26) {
System.out.println(str.charAt((int)n - 1));
return;
}
while (n > 0) {
long tmp = n % 26;
if (tmp > 0)
ans = ans + str.charAt((int)tmp - 1);
if (tmp == 0)
ans = ans + str.charAt(25);
n = n - tmp;
n = n / 26;
if (tmp == 0)
n--;
}
System.out.println(new StringBuilder(ans).reverse());
}
}
class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
40,
13,
17,
30,
0,
13,
2,
2,
17,
2,
13,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
47,
5
],
[
47,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
28,
34
],
[
25,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
6,
44
],
[
44,
45
],
[
0,
46
],
[
46,
47
],
[
46,
48
]
]
| [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t long l=sc.nextLong();\n\t \n\t\tString ans=\"\";\n\t while(l-->0) {\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }\n\t \n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t long l=sc.nextLong();\n\t \n\t\tString ans=\"\";\n\t while(l-->0) {\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }\n\t \n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t long l=sc.nextLong();\n\t \n\t\tString ans=\"\";\n\t while(l-->0) {\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }\n\t \n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\t long l=sc.nextLong();\n\t \n\t\tString ans=\"\";\n\t while(l-->0) {\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }\n\t \n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long l=sc.nextLong();",
"l",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans=\"\";",
"ans",
"\"\"",
"while(l-->0) {\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }",
"l-->0",
"l--",
"l",
"0",
"{\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }",
"ans=(char)('a'+(l%26))+ans",
"ans",
"(char)('a'+(l%26))+ans",
"(char)('a'+(l%26))",
"'a'",
"(l%26)",
"l",
"26",
"ans",
"l/=26",
"l",
"26",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t long l=sc.nextLong();\n\t \n\t\tString ans=\"\";\n\t while(l-->0) {\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }\n\t \n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t long l=sc.nextLong();\n\t \n\t\tString ans=\"\";\n\t while(l-->0) {\n\t \tans=(char)('a'+(l%26))+ans;\n\t \tl/=26;\n\t }\n\t \n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long l=sc.nextLong();
String ans="";
while(l-->0) {
ans=(char)('a'+(l%26))+ans;
l/=26;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
17,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
13,
4,
18,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
4,
18,
13,
2,
18,
13,
13,
17,
4,
18,
13,
18,
13,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
2,
18,
13,
13,
17,
1,
40,
13,
30,
4,
18,
13,
2,
18,
13,
13,
17,
4,
18,
13,
18,
13,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
4,
18,
13,
2,
18,
13,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
4,
18,
13,
2,
4,
18,
13,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
20,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
20,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
18,
36,
13,
17,
18,
36,
13,
12,
13,
30,
29,
2,
18,
36,
13,
18,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
14,
2,
4,
18,
36,
4,
18,
13,
30,
29,
17,
41,
13,
13,
29,
2,
2,
18,
36,
13,
18,
13,
13,
2,
18,
36,
13,
18,
13,
13,
23,
13,
12,
13,
30,
14,
2,
18,
36,
13,
18,
13,
13,
29,
2,
18,
36,
13,
18,
13,
13,
14,
2,
18,
36,
13,
18,
13,
13,
29,
2,
18,
36,
13,
18,
13,
13,
29,
17,
23,
13,
12,
13,
30,
29,
20,
12,
13,
30,
29,
2,
2,
18,
36,
13,
17,
18,
36,
13,
12,
13,
30,
0,
13,
18,
13,
13,
0,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
20,
23,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
630,
8
],
[
630,
9
],
[
9,
10
],
[
630,
11
],
[
11,
12
],
[
630,
13
],
[
13,
14
],
[
630,
15
],
[
15,
16
],
[
630,
17
],
[
17,
18
],
[
630,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
23,
29
],
[
19,
30
],
[
30,
31
],
[
19,
32
],
[
32,
33
],
[
630,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
34,
45
],
[
45,
46
],
[
34,
47
],
[
47,
48
],
[
630,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
53,
58
],
[
58,
59
],
[
58,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
49,
64
],
[
64,
65
],
[
49,
66
],
[
66,
67
],
[
630,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
70,
82
],
[
82,
83
],
[
82,
84
],
[
70,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
89,
100
],
[
100,
101
],
[
100,
102
],
[
70,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
70,
111
],
[
111,
112
],
[
112,
113
],
[
68,
114
],
[
114,
115
],
[
630,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
119,
131
],
[
131,
132
],
[
132,
133
],
[
119,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
118,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
116,
153
],
[
153,
154
],
[
630,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
158,
170
],
[
170,
171
],
[
171,
172
],
[
158,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
157,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
155,
192
],
[
192,
193
],
[
630,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
197,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
204,
206
],
[
197,
207
],
[
207,
208
],
[
208,
209
],
[
197,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
211,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
196,
219
],
[
219,
220
],
[
220,
221
],
[
194,
222
],
[
222,
223
],
[
630,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
227,
237
],
[
237,
238
],
[
238,
239
],
[
227,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
241,
244
],
[
244,
245
],
[
244,
246
],
[
226,
247
],
[
247,
248
],
[
248,
249
],
[
224,
250
],
[
250,
251
],
[
630,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
255,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
255,
265
],
[
265,
266
],
[
266,
267
],
[
255,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
272,
277
],
[
254,
278
],
[
278,
279
],
[
279,
280
],
[
252,
281
],
[
281,
282
],
[
630,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
283,
287
],
[
287,
288
],
[
283,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
289,
295
],
[
295,
296
],
[
283,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
297,
303
],
[
303,
304
],
[
283,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
308,
317
],
[
317,
318
],
[
317,
319
],
[
307,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
283,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
328,
331
],
[
331,
332
],
[
283,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
337,
340
],
[
340,
341
],
[
283,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
283,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
353,
356
],
[
356,
357
],
[
283,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
365,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
372,
374
],
[
365,
375
],
[
375,
376
],
[
376,
377
],
[
365,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
379,
383
],
[
383,
384
],
[
360,
385
],
[
385,
386
],
[
358,
387
],
[
387,
388
],
[
283,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
392,
394
],
[
391,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
396,
401
],
[
401,
402
],
[
401,
403
],
[
396,
404
],
[
404,
405
],
[
405,
406
],
[
396,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
408,
412
],
[
412,
413
],
[
391,
414
],
[
414,
415
],
[
389,
416
],
[
416,
417
],
[
283,
418
],
[
418,
419
],
[
418,
420
],
[
420,
421
],
[
421,
422
],
[
283,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
425,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
432,
434
],
[
430,
435
],
[
435,
436
],
[
435,
437
],
[
430,
438
],
[
438,
439
],
[
439,
440
],
[
430,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
443,
445
],
[
442,
446
],
[
425,
447
],
[
447,
448
],
[
423,
449
],
[
449,
450
],
[
283,
451
],
[
451,
452
],
[
451,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
630,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
458,
462
],
[
462,
463
],
[
458,
464
],
[
464,
465
],
[
464,
466
],
[
466,
467
],
[
467,
468
],
[
468,
469
],
[
468,
470
],
[
467,
471
],
[
466,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
472,
476
],
[
464,
477
],
[
477,
478
],
[
464,
479
],
[
479,
480
],
[
458,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
484,
485
],
[
485,
486
],
[
486,
487
],
[
487,
488
],
[
487,
489
],
[
486,
490
],
[
485,
491
],
[
491,
492
],
[
491,
493
],
[
458,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
498,
502
],
[
502,
503
],
[
502,
504
],
[
494,
505
],
[
505,
506
],
[
458,
507
],
[
507,
508
],
[
507,
509
],
[
509,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
510,
514
],
[
514,
515
],
[
515,
516
],
[
509,
517
],
[
517,
518
],
[
518,
519
],
[
519,
520
],
[
520,
521
],
[
518,
522
],
[
522,
523
],
[
523,
524
],
[
517,
525
],
[
525,
526
],
[
526,
527
],
[
509,
528
],
[
528,
529
],
[
528,
530
],
[
509,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
534,
535
],
[
534,
536
],
[
533,
537
],
[
537,
538
],
[
537,
539
],
[
532,
540
],
[
540,
541
],
[
541,
542
],
[
541,
543
],
[
540,
544
],
[
544,
545
],
[
544,
546
],
[
507,
547
],
[
547,
548
],
[
458,
549
],
[
549,
550
],
[
549,
551
],
[
551,
552
],
[
552,
553
],
[
553,
554
],
[
554,
555
],
[
554,
556
],
[
553,
557
],
[
557,
558
],
[
557,
559
],
[
552,
560
],
[
560,
561
],
[
561,
562
],
[
562,
563
],
[
562,
564
],
[
561,
565
],
[
565,
566
],
[
565,
567
],
[
551,
568
],
[
568,
569
],
[
569,
570
],
[
570,
571
],
[
570,
572
],
[
569,
573
],
[
573,
574
],
[
573,
575
],
[
568,
576
],
[
576,
577
],
[
577,
578
],
[
578,
579
],
[
578,
580
],
[
577,
581
],
[
581,
582
],
[
581,
583
],
[
568,
584
],
[
584,
585
],
[
549,
586
],
[
586,
587
],
[
458,
588
],
[
588,
589
],
[
588,
590
],
[
590,
591
],
[
591,
592
],
[
458,
593
],
[
593,
594
],
[
593,
595
],
[
595,
596
],
[
596,
597
],
[
598,
598
],
[
598,
599
],
[
599,
600
],
[
599,
601
],
[
598,
602
],
[
598,
603
],
[
603,
604
],
[
603,
605
],
[
458,
606
],
[
606,
607
],
[
606,
608
],
[
608,
609
],
[
609,
610
],
[
609,
611
],
[
611,
612
],
[
611,
613
],
[
608,
614
],
[
614,
615
],
[
614,
616
],
[
616,
617
],
[
616,
618
],
[
606,
619
],
[
619,
620
],
[
458,
621
],
[
621,
622
],
[
621,
623
],
[
623,
624
],
[
624,
625
],
[
621,
626
],
[
626,
627
],
[
458,
628
],
[
0,
629
],
[
629,
630
],
[
629,
631
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n static PrintWriter pw;\n static Scanner sc;\n static int[] dp;\n static ArrayList<Integer>[] adj;\n static boolean[] visit;\n static long ceildiv(long x, long y) { return (x + y - 1) / y; }\n static int mod(long x, int m) { return (int) ((x % m + m) % m); }\n public static long gcd(long x, long y) {return y == 0 ? x : gcd(y, x % y);}\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n pw = new PrintWriter(System.out);\n long x=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(x>=1){\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }\n pw.println(sb.reverse().toString());\n pw.close();\n }\n static void printArr(int[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(long[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(Integer[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i] + \" \");\n pw.println();\n }\n static void printArr(char[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i]);\n pw.println();\n }\n static void printArr(ArrayList list) {\n for (int i = 0; i < list.size(); i++)\n pw.print(list.get(i) + \" \");\n pw.println();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();\n return arr;\n }\n public Integer[] nextsort(int n) throws IOException{\n Integer[] arr=new Integer[n];\n for(int i=0; i<n; i++)\n arr[i]=nextInt();\n return arr;\n }\n public Pair nextPair() throws IOException{\n return new Pair(nextInt(), nextInt());\n }\n public Pair[] nextPairArr(int n) throws IOException{\n Pair[] arr=new Pair[n];\n for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());\n return arr;\n }\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n static class Pair implements Comparable<Pair>{\n long x;\n long y;\n public Pair(long x, long y) {\n this.x=x;\n this.y=y;\n }\n public int hashCode() {\n return (int)(this.x*1000+this.y);\n }\n public int compareTo(Pair p){\n return (int)(this.x-p.x);\n }\n public boolean equals(Object obj) {\n if (obj == null) {\n return false;\n }\n if (this.getClass() != obj.getClass()) {\n return false;\n }\n Pair p = (Pair) obj;\n return this.x==p.x && this.y==p.y;\n }\n public boolean equal(Pair p){\n if(this.x==p.x)\n return this.y==p.y;\n if(this.x==p.y)\n return this.y==p.x;\n else\n return false;\n }\n public Pair clone(){\n return new Pair(x, y);\n }\n public String toString(){\n return this.x+\" \"+this.y;\n }\n public void add(Pair p){\n x+=p.x;\n y+=p.y;\n }\n public Pair multiply(int x){\n return new Pair(x*this.x, x*this.y);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static PrintWriter pw;\n static Scanner sc;\n static int[] dp;\n static ArrayList<Integer>[] adj;\n static boolean[] visit;\n static long ceildiv(long x, long y) { return (x + y - 1) / y; }\n static int mod(long x, int m) { return (int) ((x % m + m) % m); }\n public static long gcd(long x, long y) {return y == 0 ? x : gcd(y, x % y);}\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n pw = new PrintWriter(System.out);\n long x=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(x>=1){\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }\n pw.println(sb.reverse().toString());\n pw.close();\n }\n static void printArr(int[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(long[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(Integer[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i] + \" \");\n pw.println();\n }\n static void printArr(char[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i]);\n pw.println();\n }\n static void printArr(ArrayList list) {\n for (int i = 0; i < list.size(); i++)\n pw.print(list.get(i) + \" \");\n pw.println();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();\n return arr;\n }\n public Integer[] nextsort(int n) throws IOException{\n Integer[] arr=new Integer[n];\n for(int i=0; i<n; i++)\n arr[i]=nextInt();\n return arr;\n }\n public Pair nextPair() throws IOException{\n return new Pair(nextInt(), nextInt());\n }\n public Pair[] nextPairArr(int n) throws IOException{\n Pair[] arr=new Pair[n];\n for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());\n return arr;\n }\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n static class Pair implements Comparable<Pair>{\n long x;\n long y;\n public Pair(long x, long y) {\n this.x=x;\n this.y=y;\n }\n public int hashCode() {\n return (int)(this.x*1000+this.y);\n }\n public int compareTo(Pair p){\n return (int)(this.x-p.x);\n }\n public boolean equals(Object obj) {\n if (obj == null) {\n return false;\n }\n if (this.getClass() != obj.getClass()) {\n return false;\n }\n Pair p = (Pair) obj;\n return this.x==p.x && this.y==p.y;\n }\n public boolean equal(Pair p){\n if(this.x==p.x)\n return this.y==p.y;\n if(this.x==p.y)\n return this.y==p.x;\n else\n return false;\n }\n public Pair clone(){\n return new Pair(x, y);\n }\n public String toString(){\n return this.x+\" \"+this.y;\n }\n public void add(Pair p){\n x+=p.x;\n y+=p.y;\n }\n public Pair multiply(int x){\n return new Pair(x*this.x, x*this.y);\n }\n }\n}",
"Main",
"static PrintWriter pw;",
"pw",
"static Scanner sc;",
"sc",
"static int[] dp;",
"dp",
"static ArrayList<Integer>[] adj;",
"adj",
"static boolean[] visit;",
"visit",
"static long ceildiv(long x, long y) { return (x + y - 1) / y; }",
"ceildiv",
"{ return (x + y - 1) / y; }",
"return (x + y - 1) / y;",
"(x + y - 1) / y",
"(x + y - 1)",
"x + y",
"x",
"y",
"1",
"y",
"long x",
"x",
"long y",
"y",
"static int mod(long x, int m) { return (int) ((x % m + m) % m); }",
"mod",
"{ return (int) ((x % m + m) % m); }",
"return (int) ((x % m + m) % m);",
"(int) ((x % m + m) % m)",
"(x % m + m)",
"x % m",
"x",
"m",
"m",
"m",
"long x",
"x",
"int m",
"m",
"public static long gcd(long x, long y) {return y == 0 ? x : gcd(y, x % y);}",
"gcd",
"{return y == 0 ? x : gcd(y, x % y);}",
"return y == 0 ? x : gcd(y, x % y);",
"y == 0 ? x : gcd(y, x % y)",
"y == 0",
"y",
"0",
"x",
"gcd(y, x % y)",
"gcd",
"y",
"x % y",
"x",
"y",
"long x",
"x",
"long y",
"y",
"public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n pw = new PrintWriter(System.out);\n long x=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(x>=1){\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }\n pw.println(sb.reverse().toString());\n pw.close();\n }",
"main",
"{\n sc = new Scanner(System.in);\n pw = new PrintWriter(System.out);\n long x=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(x>=1){\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }\n pw.println(sb.reverse().toString());\n pw.close();\n }",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"pw = new PrintWriter(System.out)",
"pw",
"new PrintWriter(System.out)",
"long x=sc.nextLong();",
"x",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"while(x>=1){\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }",
"x>=1",
"x",
"1",
"{\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }",
"x--",
"x",
"sb.append((char)('a'+x%26))",
"sb.append",
"sb",
"(char)('a'+x%26)",
"'a'",
"x%26",
"x",
"26",
"x/=26",
"x",
"26",
"pw.println(sb.reverse().toString())",
"pw.println",
"pw",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static void printArr(int[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }",
"printArr",
"{\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }",
"for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length - 1",
"i",
"arr.length - 1",
"arr.length",
"arr",
"arr.length",
"1",
"i++",
"i++",
"i",
"pw.print(arr[i] + \" \");",
"pw.print(arr[i] + \" \")",
"pw.print",
"pw",
"arr[i] + \" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"pw.println(arr[arr.length - 1])",
"pw.println",
"pw",
"arr[arr.length - 1]",
"arr",
"arr.length - 1",
"arr.length",
"arr",
"arr.length",
"1",
"int[] arr",
"arr",
"static void printArr(long[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }",
"printArr",
"{\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }",
"for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length - 1",
"i",
"arr.length - 1",
"arr.length",
"arr",
"arr.length",
"1",
"i++",
"i++",
"i",
"pw.print(arr[i] + \" \");",
"pw.print(arr[i] + \" \")",
"pw.print",
"pw",
"arr[i] + \" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"pw.println(arr[arr.length - 1])",
"pw.println",
"pw",
"arr[arr.length - 1]",
"arr",
"arr.length - 1",
"arr.length",
"arr",
"arr.length",
"1",
"long[] arr",
"arr",
"static void printArr(Integer[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i] + \" \");\n pw.println();\n }",
"printArr",
"{\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i] + \" \");\n pw.println();\n }",
"for (int i = 0; i < arr.length; i++)\n pw.print(arr[i] + \" \");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"pw.print(arr[i] + \" \");",
"pw.print(arr[i] + \" \")",
"pw.print",
"pw",
"arr[i] + \" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"pw.println()",
"pw.println",
"pw",
"Integer[] arr",
"arr",
"static void printArr(char[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i]);\n pw.println();\n }",
"printArr",
"{\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i]);\n pw.println();\n }",
"for (int i = 0; i < arr.length; i++)\n pw.print(arr[i]);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"pw.print(arr[i]);",
"pw.print(arr[i])",
"pw.print",
"pw",
"arr[i]",
"arr",
"i",
"pw.println()",
"pw.println",
"pw",
"char[] arr",
"arr",
"static void printArr(ArrayList list) {\n for (int i = 0; i < list.size(); i++)\n pw.print(list.get(i) + \" \");\n pw.println();\n }",
"printArr",
"{\n for (int i = 0; i < list.size(); i++)\n pw.print(list.get(i) + \" \");\n pw.println();\n }",
"for (int i = 0; i < list.size(); i++)\n pw.print(list.get(i) + \" \");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"pw.print(list.get(i) + \" \");",
"pw.print(list.get(i) + \" \")",
"pw.print",
"pw",
"list.get(i) + \" \"",
"list.get(i)",
"list.get",
"list",
"i",
"\" \"",
"pw.println()",
"pw.println",
"pw",
"ArrayList list",
"list",
"static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();\n return arr;\n }\n public Integer[] nextsort(int n) throws IOException{\n Integer[] arr=new Integer[n];\n for(int i=0; i<n; i++)\n arr[i]=nextInt();\n return arr;\n }\n public Pair nextPair() throws IOException{\n return new Pair(nextInt(), nextInt());\n }\n public Pair[] nextPairArr(int n) throws IOException{\n Pair[] arr=new Pair[n];\n for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());\n return arr;\n }\n public boolean ready() throws IOException {\n return br.ready();\n }\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }",
"Scanner",
"{\n br = new BufferedReader(new InputStreamReader(s));\n }",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }",
"Scanner",
"{\n br = new BufferedReader(r);\n }",
"br = new BufferedReader(r)",
"br",
"new BufferedReader(r)",
"FileReader r",
"r",
"public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {\n return br.readLine();\n }",
"nextLine",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();\n return arr;\n }",
"nextArr",
"{\n int[] arr = new int[n];\n for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();\n return arr;\n }",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"arr[i] = nextInt();",
"arr[i] = nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public Integer[] nextsort(int n) throws IOException{\n Integer[] arr=new Integer[n];\n for(int i=0; i<n; i++)\n arr[i]=nextInt();\n return arr;\n }",
"nextsort",
"{\n Integer[] arr=new Integer[n];\n for(int i=0; i<n; i++)\n arr[i]=nextInt();\n return arr;\n }",
"Integer[] arr=new Integer[n];",
"arr",
"new Integer[n]",
"n",
"for(int i=0; i<n; i++)\n arr[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=nextInt();",
"arr[i]=nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public Pair nextPair() throws IOException{\n return new Pair(nextInt(), nextInt());\n }",
"nextPair",
"{\n return new Pair(nextInt(), nextInt());\n }",
"return new Pair(nextInt(), nextInt());",
"new Pair(nextInt(), nextInt())",
"public Pair[] nextPairArr(int n) throws IOException{\n Pair[] arr=new Pair[n];\n for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());\n return arr;\n }",
"nextPairArr",
"{\n Pair[] arr=new Pair[n];\n for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());\n return arr;\n }",
"Pair[] arr=new Pair[n];",
"arr",
"new Pair[n]",
"n",
"for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"arr[i]=new Pair(nextInt(), nextInt());",
"arr[i]=new Pair(nextInt(), nextInt())",
"arr[i]",
"arr",
"i",
"new Pair(nextInt(), nextInt())",
"return arr;",
"arr",
"int n",
"n",
"public boolean ready() throws IOException {\n return br.ready();\n }",
"ready",
"{\n return br.ready();\n }",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"static class Pair implements Comparable<Pair>{\n long x;\n long y;\n public Pair(long x, long y) {\n this.x=x;\n this.y=y;\n }\n public int hashCode() {\n return (int)(this.x*1000+this.y);\n }\n public int compareTo(Pair p){\n return (int)(this.x-p.x);\n }\n public boolean equals(Object obj) {\n if (obj == null) {\n return false;\n }\n if (this.getClass() != obj.getClass()) {\n return false;\n }\n Pair p = (Pair) obj;\n return this.x==p.x && this.y==p.y;\n }\n public boolean equal(Pair p){\n if(this.x==p.x)\n return this.y==p.y;\n if(this.x==p.y)\n return this.y==p.x;\n else\n return false;\n }\n public Pair clone(){\n return new Pair(x, y);\n }\n public String toString(){\n return this.x+\" \"+this.y;\n }\n public void add(Pair p){\n x+=p.x;\n y+=p.y;\n }\n public Pair multiply(int x){\n return new Pair(x*this.x, x*this.y);\n }\n }",
"Pair",
"long x;",
"x",
"long y;",
"y",
"public Pair(long x, long y) {\n this.x=x;\n this.y=y;\n }",
"Pair",
"{\n this.x=x;\n this.y=y;\n }",
"this.x=x",
"this.x",
"this",
"this.x",
"x",
"this.y=y",
"this.y",
"this",
"this.y",
"y",
"long x",
"x",
"long y",
"y",
"public int hashCode() {\n return (int)(this.x*1000+this.y);\n }",
"hashCode",
"{\n return (int)(this.x*1000+this.y);\n }",
"return (int)(this.x*1000+this.y);",
"(int)(this.x*1000+this.y)",
"this.x*1000",
"this.x",
"this",
"this.x",
"1000",
"this.y",
"this",
"this.y",
"public int compareTo(Pair p){\n return (int)(this.x-p.x);\n }",
"compareTo",
"{\n return (int)(this.x-p.x);\n }",
"return (int)(this.x-p.x);",
"(int)(this.x-p.x)",
"this.x",
"this",
"this.x",
"p.x",
"p",
"p.x",
"Pair p",
"p",
"public boolean equals(Object obj) {\n if (obj == null) {\n return false;\n }\n if (this.getClass() != obj.getClass()) {\n return false;\n }\n Pair p = (Pair) obj;\n return this.x==p.x && this.y==p.y;\n }",
"equals",
"{\n if (obj == null) {\n return false;\n }\n if (this.getClass() != obj.getClass()) {\n return false;\n }\n Pair p = (Pair) obj;\n return this.x==p.x && this.y==p.y;\n }",
"if (obj == null) {\n return false;\n }",
"obj == null",
"obj",
"null",
"{\n return false;\n }",
"return false;",
"false",
"if (this.getClass() != obj.getClass()) {\n return false;\n }",
"this.getClass() != obj.getClass()",
"this.getClass()",
"this.getClass",
"this",
"obj.getClass()",
"obj.getClass",
"obj",
"{\n return false;\n }",
"return false;",
"false",
"Pair p = (Pair) obj;",
"p",
"(Pair) obj",
"return this.x==p.x && this.y==p.y;",
"this.x==p.x && this.y==p.y",
"this.x==p.x",
"this.x",
"this",
"this.x",
"p.x",
"p",
"p.x",
"this.y==p.y",
"this.y",
"this",
"this.y",
"p.y",
"p",
"p.y",
"Object obj",
"obj",
"public boolean equal(Pair p){\n if(this.x==p.x)\n return this.y==p.y;\n if(this.x==p.y)\n return this.y==p.x;\n else\n return false;\n }",
"equal",
"{\n if(this.x==p.x)\n return this.y==p.y;\n if(this.x==p.y)\n return this.y==p.x;\n else\n return false;\n }",
"if(this.x==p.x)\n return this.y==p.y;",
"this.x==p.x",
"this.x",
"this",
"this.x",
"p.x",
"p",
"p.x",
"return this.y==p.y;",
"this.y==p.y",
"this.y",
"this",
"this.y",
"p.y",
"p",
"p.y",
"if(this.x==p.y)\n return this.y==p.x;\n else\n return false;",
"this.x==p.y",
"this.x",
"this",
"this.x",
"p.y",
"p",
"p.y",
"return this.y==p.x;",
"this.y==p.x",
"this.y",
"this",
"this.y",
"p.x",
"p",
"p.x",
"return false;",
"false",
"Pair p",
"p",
"public Pair clone(){\n return new Pair(x, y);\n }",
"clone",
"{\n return new Pair(x, y);\n }",
"return new Pair(x, y);",
"new Pair(x, y)",
"public String toString(){\n return this.x+\" \"+this.y;\n }",
"toString",
"{\n return this.x+\" \"+this.y;\n }",
"return this.x+\" \"+this.y;",
"this.x+\" \"+this.y",
"this.x+\" \"+this.y",
"this.x",
"this",
"this.x",
"\" \"",
"this.y",
"this",
"this.y",
"public void add(Pair p){\n x+=p.x;\n y+=p.y;\n }",
"add",
"{\n x+=p.x;\n y+=p.y;\n }",
"x+=p.x",
"x",
"p.x",
"p",
"p.x",
"y+=p.y",
"y",
"p.y",
"p",
"p.y",
"Pair p",
"p",
"public Pair multiply(int x){\n return new Pair(x*this.x, x*this.y);\n }",
"multiply",
"{\n return new Pair(x*this.x, x*this.y);\n }",
"return new Pair(x*this.x, x*this.y);",
"new Pair(x*this.x, x*this.y)",
"int x",
"x",
"Comparable",
"public class Main {\n static PrintWriter pw;\n static Scanner sc;\n static int[] dp;\n static ArrayList<Integer>[] adj;\n static boolean[] visit;\n static long ceildiv(long x, long y) { return (x + y - 1) / y; }\n static int mod(long x, int m) { return (int) ((x % m + m) % m); }\n public static long gcd(long x, long y) {return y == 0 ? x : gcd(y, x % y);}\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n pw = new PrintWriter(System.out);\n long x=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(x>=1){\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }\n pw.println(sb.reverse().toString());\n pw.close();\n }\n static void printArr(int[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(long[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(Integer[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i] + \" \");\n pw.println();\n }\n static void printArr(char[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i]);\n pw.println();\n }\n static void printArr(ArrayList list) {\n for (int i = 0; i < list.size(); i++)\n pw.print(list.get(i) + \" \");\n pw.println();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();\n return arr;\n }\n public Integer[] nextsort(int n) throws IOException{\n Integer[] arr=new Integer[n];\n for(int i=0; i<n; i++)\n arr[i]=nextInt();\n return arr;\n }\n public Pair nextPair() throws IOException{\n return new Pair(nextInt(), nextInt());\n }\n public Pair[] nextPairArr(int n) throws IOException{\n Pair[] arr=new Pair[n];\n for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());\n return arr;\n }\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n static class Pair implements Comparable<Pair>{\n long x;\n long y;\n public Pair(long x, long y) {\n this.x=x;\n this.y=y;\n }\n public int hashCode() {\n return (int)(this.x*1000+this.y);\n }\n public int compareTo(Pair p){\n return (int)(this.x-p.x);\n }\n public boolean equals(Object obj) {\n if (obj == null) {\n return false;\n }\n if (this.getClass() != obj.getClass()) {\n return false;\n }\n Pair p = (Pair) obj;\n return this.x==p.x && this.y==p.y;\n }\n public boolean equal(Pair p){\n if(this.x==p.x)\n return this.y==p.y;\n if(this.x==p.y)\n return this.y==p.x;\n else\n return false;\n }\n public Pair clone(){\n return new Pair(x, y);\n }\n public String toString(){\n return this.x+\" \"+this.y;\n }\n public void add(Pair p){\n x+=p.x;\n y+=p.y;\n }\n public Pair multiply(int x){\n return new Pair(x*this.x, x*this.y);\n }\n }\n}",
"public class Main {\n static PrintWriter pw;\n static Scanner sc;\n static int[] dp;\n static ArrayList<Integer>[] adj;\n static boolean[] visit;\n static long ceildiv(long x, long y) { return (x + y - 1) / y; }\n static int mod(long x, int m) { return (int) ((x % m + m) % m); }\n public static long gcd(long x, long y) {return y == 0 ? x : gcd(y, x % y);}\n public static void main(String[] args) throws Exception {\n sc = new Scanner(System.in);\n pw = new PrintWriter(System.out);\n long x=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(x>=1){\n x--;\n sb.append((char)('a'+x%26));\n x/=26;\n }\n pw.println(sb.reverse().toString());\n pw.close();\n }\n static void printArr(int[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(long[] arr) {\n for (int i = 0; i < arr.length - 1; i++)\n pw.print(arr[i] + \" \");\n pw.println(arr[arr.length - 1]);\n }\n static void printArr(Integer[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i] + \" \");\n pw.println();\n }\n static void printArr(char[] arr) {\n for (int i = 0; i < arr.length; i++)\n pw.print(arr[i]);\n pw.println();\n }\n static void printArr(ArrayList list) {\n for (int i = 0; i < list.size(); i++)\n pw.print(list.get(i) + \" \");\n pw.println();\n }\n static class Scanner {\n StringTokenizer st;\n BufferedReader br;\n public Scanner(InputStream s) {\n br = new BufferedReader(new InputStreamReader(s));\n }\n\n public Scanner(FileReader r) {\n br = new BufferedReader(r);\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine());\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n\n public long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public String nextLine() throws IOException {\n return br.readLine();\n }\n\n public double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n public int[] nextArr(int n) throws IOException {\n int[] arr = new int[n];\n for (int i = 0; i < arr.length; i++)\n arr[i] = nextInt();\n return arr;\n }\n public Integer[] nextsort(int n) throws IOException{\n Integer[] arr=new Integer[n];\n for(int i=0; i<n; i++)\n arr[i]=nextInt();\n return arr;\n }\n public Pair nextPair() throws IOException{\n return new Pair(nextInt(), nextInt());\n }\n public Pair[] nextPairArr(int n) throws IOException{\n Pair[] arr=new Pair[n];\n for(int i=0; i<n; i++)\n arr[i]=new Pair(nextInt(), nextInt());\n return arr;\n }\n public boolean ready() throws IOException {\n return br.ready();\n }\n }\n static class Pair implements Comparable<Pair>{\n long x;\n long y;\n public Pair(long x, long y) {\n this.x=x;\n this.y=y;\n }\n public int hashCode() {\n return (int)(this.x*1000+this.y);\n }\n public int compareTo(Pair p){\n return (int)(this.x-p.x);\n }\n public boolean equals(Object obj) {\n if (obj == null) {\n return false;\n }\n if (this.getClass() != obj.getClass()) {\n return false;\n }\n Pair p = (Pair) obj;\n return this.x==p.x && this.y==p.y;\n }\n public boolean equal(Pair p){\n if(this.x==p.x)\n return this.y==p.y;\n if(this.x==p.y)\n return this.y==p.x;\n else\n return false;\n }\n public Pair clone(){\n return new Pair(x, y);\n }\n public String toString(){\n return this.x+\" \"+this.y;\n }\n public void add(Pair p){\n x+=p.x;\n y+=p.y;\n }\n public Pair multiply(int x){\n return new Pair(x*this.x, x*this.y);\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
static PrintWriter pw;
static Scanner sc;
static int[] dp;
static ArrayList<Integer>[] adj;
static boolean[] visit;
static long ceildiv(long x, long y) { return (x + y - 1) / y; }
static int mod(long x, int m) { return (int) ((x % m + m) % m); }
public static long gcd(long x, long y) {return y == 0 ? x : gcd(y, x % y);}
public static void main(String[] args) throws Exception {
sc = new Scanner(System.in);
pw = new PrintWriter(System.out);
long x=sc.nextLong();
StringBuilder sb=new StringBuilder();
while(x>=1){
x--;
sb.append((char)('a'+x%26));
x/=26;
}
pw.println(sb.reverse().toString());
pw.close();
}
static void printArr(int[] arr) {
for (int i = 0; i < arr.length - 1; i++)
pw.print(arr[i] + " ");
pw.println(arr[arr.length - 1]);
}
static void printArr(long[] arr) {
for (int i = 0; i < arr.length - 1; i++)
pw.print(arr[i] + " ");
pw.println(arr[arr.length - 1]);
}
static void printArr(Integer[] arr) {
for (int i = 0; i < arr.length; i++)
pw.print(arr[i] + " ");
pw.println();
}
static void printArr(char[] arr) {
for (int i = 0; i < arr.length; i++)
pw.print(arr[i]);
pw.println();
}
static void printArr(ArrayList list) {
for (int i = 0; i < list.size(); i++)
pw.print(list.get(i) + " ");
pw.println();
}
static class Scanner {
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s) {
br = new BufferedReader(new InputStreamReader(s));
}
public Scanner(FileReader r) {
br = new BufferedReader(r);
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public String nextLine() throws IOException {
return br.readLine();
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public int[] nextArr(int n) throws IOException {
int[] arr = new int[n];
for (int i = 0; i < arr.length; i++)
arr[i] = nextInt();
return arr;
}
public Integer[] nextsort(int n) throws IOException{
Integer[] arr=new Integer[n];
for(int i=0; i<n; i++)
arr[i]=nextInt();
return arr;
}
public Pair nextPair() throws IOException{
return new Pair(nextInt(), nextInt());
}
public Pair[] nextPairArr(int n) throws IOException{
Pair[] arr=new Pair[n];
for(int i=0; i<n; i++)
arr[i]=new Pair(nextInt(), nextInt());
return arr;
}
public boolean ready() throws IOException {
return br.ready();
}
}
static class Pair implements Comparable<Pair>{
long x;
long y;
public Pair(long x, long y) {
this.x=x;
this.y=y;
}
public int hashCode() {
return (int)(this.x*1000+this.y);
}
public int compareTo(Pair p){
return (int)(this.x-p.x);
}
public boolean equals(Object obj) {
if (obj == null) {
return false;
}
if (this.getClass() != obj.getClass()) {
return false;
}
Pair p = (Pair) obj;
return this.x==p.x && this.y==p.y;
}
public boolean equal(Pair p){
if(this.x==p.x)
return this.y==p.y;
if(this.x==p.y)
return this.y==p.x;
else
return false;
}
public Pair clone(){
return new Pair(x, y);
}
public String toString(){
return this.x+" "+this.y;
}
public void add(Pair p){
x+=p.x;
y+=p.y;
}
public Pair multiply(int x){
return new Pair(x*this.x, x*this.y);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
4,
18,
13,
17,
0,
13,
2,
2,
13,
17,
17,
30,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
25,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
6,
63
],
[
63,
64
]
]
| [
"import java.util.*;\n\nclass Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(n>0)\n {\n if(n%26==0)\n {\n sb.append('z');\n n=n/26-1;\n }\n else\n {\n sb.append((char)(n%26+96));\n n/=26;\n }\n }\n System.out.println(sb.reverse());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(n>0)\n {\n if(n%26==0)\n {\n sb.append('z');\n n=n/26-1;\n }\n else\n {\n sb.append((char)(n%26+96));\n n/=26;\n }\n }\n System.out.println(sb.reverse());\n }\n}",
"Main",
"public static void main(String args[])\n {\n Scanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(n>0)\n {\n if(n%26==0)\n {\n sb.append('z');\n n=n/26-1;\n }\n else\n {\n sb.append((char)(n%26+96));\n n/=26;\n }\n }\n System.out.println(sb.reverse());\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder();\n while(n>0)\n {\n if(n%26==0)\n {\n sb.append('z');\n n=n/26-1;\n }\n else\n {\n sb.append((char)(n%26+96));\n n/=26;\n }\n }\n System.out.println(sb.reverse());\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"while(n>0)\n {\n if(n%26==0)\n {\n sb.append('z');\n n=n/26-1;\n }\n else\n {\n sb.append((char)(n%26+96));\n n/=26;\n }\n }",
"n>0",
"n",
"0",
"{\n if(n%26==0)\n {\n sb.append('z');\n n=n/26-1;\n }\n else\n {\n sb.append((char)(n%26+96));\n n/=26;\n }\n }",
"if(n%26==0)\n {\n sb.append('z');\n n=n/26-1;\n }\n else\n {\n sb.append((char)(n%26+96));\n n/=26;\n }",
"n%26==0",
"n%26",
"n",
"26",
"0",
"{\n sb.append('z');\n n=n/26-1;\n }",
"sb.append('z')",
"sb.append",
"sb",
"'z'",
"n=n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"{\n sb.append((char)(n%26+96));\n n/=26;\n }",
"sb.append((char)(n%26+96))",
"sb.append",
"sb",
"(char)(n%26+96)",
"n%26",
"n",
"26",
"96",
"n/=26",
"n",
"26",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String args[]",
"args"
]
| import java.util.*;
class Main
{
public static void main(String args[])
{
Scanner sc=new Scanner(System.in);
long n=sc.nextLong();
StringBuilder sb=new StringBuilder();
while(n>0)
{
if(n%26==0)
{
sb.append('z');
n=n/26-1;
}
else
{
sb.append((char)(n%26+96));
n/=26;
}
}
System.out.println(sb.reverse());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
2,
17,
17,
41,
13,
2,
2,
2,
17,
17,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
40,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
18,
13,
2,
2,
13,
13,
17,
17,
30,
0,
13,
18,
13,
2,
2,
13,
13,
17,
9,
30,
4,
18,
13,
2,
2,
13,
17,
17,
3,
0,
13,
17,
4,
18,
13,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
4,
13,
18,
13,
13,
12,
13,
30,
0,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
533,
11
],
[
533,
12
],
[
12,
13
],
[
12,
14
],
[
533,
15
],
[
15,
16
],
[
15,
17
],
[
533,
18
],
[
18,
19
],
[
18,
20
],
[
533,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
533,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
30,
30
],
[
30,
31
],
[
30,
32
],
[
30,
33
],
[
28,
34
],
[
533,
35
],
[
35,
36
],
[
533,
37
],
[
37,
38
],
[
533,
39
],
[
39,
40
],
[
533,
41
],
[
41,
42
],
[
533,
43
],
[
43,
44
],
[
533,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
47,
54
],
[
54,
55
],
[
55,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
60,
61
],
[
533,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
64,
70
],
[
70,
71
],
[
70,
72
],
[
64,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
64,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
84,
86
],
[
79,
87
],
[
87,
88
],
[
88,
89
],
[
79,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
95,
101
],
[
64,
102
],
[
102,
103
],
[
102,
104
],
[
64,
105
],
[
105,
106
],
[
105,
107
],
[
64,
108
],
[
108,
109
],
[
108,
110
],
[
64,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
119,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
135,
137
],
[
130,
138
],
[
138,
139
],
[
139,
140
],
[
130,
141
],
[
142,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
143,
148
],
[
148,
149
],
[
148,
150
],
[
143,
151
],
[
151,
152
],
[
152,
153
],
[
143,
154
],
[
155,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
160,
162
],
[
163,
163
],
[
163,
164
],
[
163,
165
],
[
163,
166
],
[
157,
167
],
[
156,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
171,
173
],
[
174,
174
],
[
174,
175
],
[
174,
176
],
[
174,
177
],
[
168,
178
],
[
156,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
183,
187
],
[
179,
188
],
[
129,
189
],
[
189,
190
],
[
189,
191
],
[
64,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
533,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
196,
200
],
[
200,
201
],
[
200,
202
],
[
196,
204
],
[
204,
205
],
[
196,
206
],
[
206,
207
],
[
196,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
213,
215
],
[
196,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
216,
222
],
[
222,
223
],
[
196,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
227,
232
],
[
232,
233
],
[
233,
234
],
[
226,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
243,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
252,
255
],
[
239,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
226,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
196,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
271,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
271,
285
],
[
285,
286
],
[
285,
287
],
[
271,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
288,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
294,
297
],
[
293,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
271,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
196,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
308,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
308,
322
],
[
322,
323
],
[
322,
324
],
[
308,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
325,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
331,
334
],
[
330,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
308,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
196,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
347,
350
],
[
350,
351
],
[
196,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
354,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
359,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
354,
368
],
[
368,
369
],
[
368,
370
],
[
354,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
375,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
354,
384
],
[
384,
385
],
[
384,
386
],
[
354,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
387,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
394,
398
],
[
398,
399
],
[
398,
400
],
[
393,
401
],
[
401,
402
],
[
402,
403
],
[
392,
404
],
[
404,
405
],
[
404,
406
],
[
392,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
409,
411
],
[
392,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
354,
416
],
[
416,
417
],
[
417,
418
],
[
417,
419
],
[
196,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
422,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
427,
431
],
[
431,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
422,
436
],
[
436,
437
],
[
436,
438
],
[
422,
439
],
[
439,
440
],
[
440,
441
],
[
440,
442
],
[
439,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
446,
447
],
[
443,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
422,
452
],
[
452,
453
],
[
452,
454
],
[
422,
455
],
[
455,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
455,
460
],
[
460,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
463,
465
],
[
462,
466
],
[
466,
467
],
[
466,
468
],
[
461,
469
],
[
469,
470
],
[
470,
471
],
[
460,
472
],
[
472,
473
],
[
472,
474
],
[
460,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
477,
479
],
[
460,
480
],
[
480,
481
],
[
480,
482
],
[
482,
483
],
[
422,
484
],
[
484,
485
],
[
485,
486
],
[
485,
487
],
[
196,
488
],
[
488,
489
],
[
488,
490
],
[
490,
491
],
[
491,
492
],
[
495,
493
],
[
505,
494
],
[
502,
495
],
[
495,
496
],
[
496,
497
],
[
496,
498
],
[
495,
499
],
[
499,
500
],
[
499,
501
],
[
502,
502
],
[
502,
503
],
[
502,
504
],
[
505,
505
],
[
505,
506
],
[
505,
507
],
[
495,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
488,
512
],
[
512,
513
],
[
196,
514
],
[
514,
515
],
[
514,
516
],
[
516,
517
],
[
517,
518
],
[
519,
519
],
[
519,
520
],
[
520,
521
],
[
520,
522
],
[
519,
523
],
[
523,
524
],
[
523,
525
],
[
519,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
514,
530
],
[
530,
531
],
[
0,
532
],
[
532,
533
],
[
532,
534
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.*;\n \npublic class Main {\n static PrintWriter out = new PrintWriter(System.out);\n static Reader in = new Reader();\n public static void main(String[] args) throws IOException {\n Main solver = new Main();\n solver.solve();\n out.flush();\n out.close();\n \n }\n \n static int INF = (int)1e9;\n static int maxn = (int)2e4+5;\n static int mod = 1000*1000*1000+7;\n static int n,m,q,k,t;\n \n void solve() throws IOException{\n long len = in.nextLong();\n \n long[] p = new long[15];\n p[0] = 1;\n for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;\n \n StringBuilder ans = new StringBuilder(\"\");\n long cur = 1, cnt = 1;\n while (len != 0) {\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }\n out.println(ans);\n }\n \n //<>\n \n \n static class Reader {\n \n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n \n public Reader() {\n this(System.in);\n }\n \n public Reader(InputStream is) {\n mIs = is;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n \n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n \n public String next() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n static PrintWriter out = new PrintWriter(System.out);\n static Reader in = new Reader();\n public static void main(String[] args) throws IOException {\n Main solver = new Main();\n solver.solve();\n out.flush();\n out.close();\n \n }\n \n static int INF = (int)1e9;\n static int maxn = (int)2e4+5;\n static int mod = 1000*1000*1000+7;\n static int n,m,q,k,t;\n \n void solve() throws IOException{\n long len = in.nextLong();\n \n long[] p = new long[15];\n p[0] = 1;\n for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;\n \n StringBuilder ans = new StringBuilder(\"\");\n long cur = 1, cnt = 1;\n while (len != 0) {\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }\n out.println(ans);\n }\n \n //<>\n \n \n static class Reader {\n \n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n \n public Reader() {\n this(System.in);\n }\n \n public Reader(InputStream is) {\n mIs = is;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n \n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n \n public String next() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n \n }\n}",
"Main",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static Reader in = new Reader();",
"in",
"new Reader()",
"static int INF = (int)1e9;",
"INF",
"(int)1e9",
"static int maxn = (int)2e4+5;",
"maxn",
"(int)2e4+5",
"(int)2e4",
"5",
"static int mod = 1000*1000*1000+7;",
"mod",
"1000*1000*1000+7",
"1000*1000*1000",
"1000*1000*1000",
"1000",
"1000",
"1000",
"7",
"static int n",
"n",
"m",
"m",
"q",
"q",
"k",
"k",
"t;",
"t",
"public static void main(String[] args) throws IOException {\n Main solver = new Main();\n solver.solve();\n out.flush();\n out.close();\n \n }",
"main",
"{\n Main solver = new Main();\n solver.solve();\n out.flush();\n out.close();\n \n }",
"Main solver = new Main();",
"solver",
"new Main()",
"solver.solve()",
"solver.solve",
"solver",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"void solve() throws IOException{\n long len = in.nextLong();\n \n long[] p = new long[15];\n p[0] = 1;\n for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;\n \n StringBuilder ans = new StringBuilder(\"\");\n long cur = 1, cnt = 1;\n while (len != 0) {\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }\n out.println(ans);\n }",
"solve",
"{\n long len = in.nextLong();\n \n long[] p = new long[15];\n p[0] = 1;\n for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;\n \n StringBuilder ans = new StringBuilder(\"\");\n long cur = 1, cnt = 1;\n while (len != 0) {\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }\n out.println(ans);\n }",
"long len = in.nextLong();",
"len",
"in.nextLong()",
"in.nextLong",
"in",
"long[] p = new long[15];",
"p",
"new long[15]",
"15",
"p[0] = 1",
"p[0]",
"p",
"0",
"1",
"for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 15",
"i",
"15",
"i++",
"i++",
"i",
"p[i] = p[i-1]*26L;",
"p[i] = p[i-1]*26L",
"p[i]",
"p",
"i",
"p[i-1]*26L",
"p[i-1]",
"p",
"i-1",
"i",
"1",
"26L",
"StringBuilder ans = new StringBuilder(\"\");",
"ans",
"new StringBuilder(\"\")",
"long cur = 1",
"cur",
"1",
"cnt = 1;",
"cnt",
"1",
"while (len != 0) {\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }",
"len != 0",
"len",
"0",
"{\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }",
"cnt*=26L",
"cnt",
"26L",
"if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }",
"cnt < len",
"cnt",
"len",
"{ \n len -= cnt;\n cur++;\n }",
"len -= cnt",
"len",
"cnt",
"cur++",
"cur",
"{\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }",
"for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cur",
"i",
"cur",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }",
"{\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }",
"for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }",
"{\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }",
"if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }",
"len-p[(int)cur-i-1] > 0",
"len-p[(int)cur-i-1]",
"len",
"p[(int)cur-i-1]",
"p",
"(int)cur-i-1",
"(int)cur-i-1",
"(int)cur",
"i",
"1",
"0",
"{\n len -= p[(int)cur-i-1];\n continue;\n }",
"len -= p[(int)cur-i-1]",
"len",
"p[(int)cur-i-1]",
"p",
"(int)cur-i-1",
"(int)cur-i-1",
"(int)cur",
"i",
"1",
"continue;",
"{\n ans.append((char)(j+'a')+\"\");\n break;\n }",
"ans.append((char)(j+'a')+\"\")",
"ans.append",
"ans",
"(char)(j+'a')+\"\"",
"(char)(j+'a')",
"j",
"'a'",
"\"\"",
"break;",
"len = 0",
"len",
"0",
"out.println(ans)",
"out.println",
"out",
"ans",
"static class Reader {\n \n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n \n public Reader() {\n this(System.in);\n }\n \n public Reader(InputStream is) {\n mIs = is;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n \n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n \n public String next() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n \n }",
"Reader",
"private InputStream mIs;",
"mIs",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"public Reader() {\n this(System.in);\n }",
"Reader",
"{\n this(System.in);\n }",
"this(System.in)",
"this",
"System.in",
"System",
"System.in",
"public Reader(InputStream is) {\n mIs = is;\n }",
"Reader",
"{\n mIs = is;\n }",
"mIs = is",
"mIs",
"is",
"InputStream is",
"is",
"public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n \n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n \n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n \n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n \n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = mIs.read(buf);\n }",
"numChars = mIs.read(buf)",
"numChars",
"mIs.read(buf)",
"mIs.read",
"mIs",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String next() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"next",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"double nextDouble()\n {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public class Main {\n static PrintWriter out = new PrintWriter(System.out);\n static Reader in = new Reader();\n public static void main(String[] args) throws IOException {\n Main solver = new Main();\n solver.solve();\n out.flush();\n out.close();\n \n }\n \n static int INF = (int)1e9;\n static int maxn = (int)2e4+5;\n static int mod = 1000*1000*1000+7;\n static int n,m,q,k,t;\n \n void solve() throws IOException{\n long len = in.nextLong();\n \n long[] p = new long[15];\n p[0] = 1;\n for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;\n \n StringBuilder ans = new StringBuilder(\"\");\n long cur = 1, cnt = 1;\n while (len != 0) {\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }\n out.println(ans);\n }\n \n //<>\n \n \n static class Reader {\n \n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n \n public Reader() {\n this(System.in);\n }\n \n public Reader(InputStream is) {\n mIs = is;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n \n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n \n public String next() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n \n }\n}",
"public class Main {\n static PrintWriter out = new PrintWriter(System.out);\n static Reader in = new Reader();\n public static void main(String[] args) throws IOException {\n Main solver = new Main();\n solver.solve();\n out.flush();\n out.close();\n \n }\n \n static int INF = (int)1e9;\n static int maxn = (int)2e4+5;\n static int mod = 1000*1000*1000+7;\n static int n,m,q,k,t;\n \n void solve() throws IOException{\n long len = in.nextLong();\n \n long[] p = new long[15];\n p[0] = 1;\n for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;\n \n StringBuilder ans = new StringBuilder(\"\");\n long cur = 1, cnt = 1;\n while (len != 0) {\n cnt*=26L;\n \n if (cnt < len) { \n len -= cnt;\n cur++;\n } else {\n for (int i = 0; i < cur; i++) {\n for (int j = 0; j < 26; j++) {\n if (len-p[(int)cur-i-1] > 0) {\n len -= p[(int)cur-i-1];\n continue;\n } else {\n ans.append((char)(j+'a')+\"\");\n break;\n }\n }\n }\n len = 0;\n }\n }\n out.println(ans);\n }\n \n //<>\n \n \n static class Reader {\n \n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n \n public Reader() {\n this(System.in);\n }\n \n public Reader(InputStream is) {\n mIs = is;\n }\n \n public int read() {\n if (numChars == -1) {\n throw new InputMismatchException();\n \n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n \n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n \n public String next() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n \n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n \n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n \n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n \n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.math.*;
public class Main {
static PrintWriter out = new PrintWriter(System.out);
static Reader in = new Reader();
public static void main(String[] args) throws IOException {
Main solver = new Main();
solver.solve();
out.flush();
out.close();
}
static int INF = (int)1e9;
static int maxn = (int)2e4+5;
static int mod = 1000*1000*1000+7;
static int n,m,q,k,t;
void solve() throws IOException{
long len = in.nextLong();
long[] p = new long[15];
p[0] = 1;
for (int i = 1; i < 15; i++) p[i] = p[i-1]*26L;
StringBuilder ans = new StringBuilder("");
long cur = 1, cnt = 1;
while (len != 0) {
cnt*=26L;
if (cnt < len) {
len -= cnt;
cur++;
} else {
for (int i = 0; i < cur; i++) {
for (int j = 0; j < 26; j++) {
if (len-p[(int)cur-i-1] > 0) {
len -= p[(int)cur-i-1];
continue;
} else {
ans.append((char)(j+'a')+"");
break;
}
}
}
len = 0;
}
}
out.println(ans);
}
//<>
static class Reader {
private InputStream mIs;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public Reader() {
this(System.in);
}
public Reader(InputStream is) {
mIs = is;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = mIs.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public String nextLine() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndOfLine(c));
return res.toString();
}
public String next() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
double nextDouble()
{
return Double.parseDouble(next());
}
public long nextLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
40,
13,
0,
13,
2,
13,
2,
2,
17,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
18,
13,
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
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
30,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
64,
68
],
[
60,
69
],
[
69,
70
],
[
69,
71
],
[
60,
72
],
[
72,
73
],
[
73,
74
],
[
60,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
76,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
11,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
9,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(br.readLine());\n\t\t//StringTokenizer st = new StringTokenizer(br.readLine());\n\t//\tfor(int k=1;k<=n;k++){\n\t\t\t//int j=k;\n\t\tString s=\"\";\n\t\twhile(n>0)\n\t\t{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}\n\t\tfor(int i=s.length()-1;i>=0;i--)\n\t\t\tSystem.out.print(s.charAt(i));\n\t\tSystem.out.println();//}\n\t\t//System.out.println((char)(97+26-1));\n\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(br.readLine());\n\t\t//StringTokenizer st = new StringTokenizer(br.readLine());\n\t//\tfor(int k=1;k<=n;k++){\n\t\t\t//int j=k;\n\t\tString s=\"\";\n\t\twhile(n>0)\n\t\t{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}\n\t\tfor(int i=s.length()-1;i>=0;i--)\n\t\t\tSystem.out.print(s.charAt(i));\n\t\tSystem.out.println();//}\n\t\t//System.out.println((char)(97+26-1));\n\n\t}\n}",
"Main",
"public static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(br.readLine());\n\t\t//StringTokenizer st = new StringTokenizer(br.readLine());\n\t//\tfor(int k=1;k<=n;k++){\n\t\t\t//int j=k;\n\t\tString s=\"\";\n\t\twhile(n>0)\n\t\t{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}\n\t\tfor(int i=s.length()-1;i>=0;i--)\n\t\t\tSystem.out.print(s.charAt(i));\n\t\tSystem.out.println();//}\n\t\t//System.out.println((char)(97+26-1));\n\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(br.readLine());\n\t\t//StringTokenizer st = new StringTokenizer(br.readLine());\n\t//\tfor(int k=1;k<=n;k++){\n\t\t\t//int j=k;\n\t\tString s=\"\";\n\t\twhile(n>0)\n\t\t{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}\n\t\tfor(int i=s.length()-1;i>=0;i--)\n\t\t\tSystem.out.print(s.charAt(i));\n\t\tSystem.out.println();//}\n\t\t//System.out.println((char)(97+26-1));\n\n\t}",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"long n = Long.parseLong(br.readLine());",
"n",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"String s=\"\";",
"s",
"\"\"",
"while(n>0)\n\t\t{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}",
"int x = (int)(n%26);",
"x",
"(int)(n%26)",
"n",
"26",
"n = n/26",
"n",
"n/26",
"n",
"26",
"if(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}",
"x=26",
"x",
"26",
"n--",
"n",
"s=s+(char)(97+x-1)",
"s",
"s+(char)(97+x-1)",
"s",
"(char)(97+x-1)",
"97+x",
"97",
"x",
"1",
"for(int i=s.length()-1;i>=0;i--)\n\t\t\tSystem.out.print(s.charAt(i));",
"int i=s.length()-1;",
"int i=s.length()-1;",
"i",
"s.length()-1",
"s.length()",
"s.length",
"s",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"System.out.print(s.charAt(i));",
"System.out.print(s.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String args[]",
"args",
"public class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(br.readLine());\n\t\t//StringTokenizer st = new StringTokenizer(br.readLine());\n\t//\tfor(int k=1;k<=n;k++){\n\t\t\t//int j=k;\n\t\tString s=\"\";\n\t\twhile(n>0)\n\t\t{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}\n\t\tfor(int i=s.length()-1;i>=0;i--)\n\t\t\tSystem.out.print(s.charAt(i));\n\t\tSystem.out.println();//}\n\t\t//System.out.println((char)(97+26-1));\n\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String args[])throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tlong n = Long.parseLong(br.readLine());\n\t\t//StringTokenizer st = new StringTokenizer(br.readLine());\n\t//\tfor(int k=1;k<=n;k++){\n\t\t\t//int j=k;\n\t\tString s=\"\";\n\t\twhile(n>0)\n\t\t{\n\t\t\tint x = (int)(n%26);\n\t\t\tn = n/26;\n\t\t\tif(x==0){\n\t\t\t\tx=26;\n\t\t\t\tn--;\n\t\t\t}\n\t\t\ts=s+(char)(97+x-1);\n\t\t}\n\t\tfor(int i=s.length()-1;i>=0;i--)\n\t\t\tSystem.out.print(s.charAt(i));\n\t\tSystem.out.println();//}\n\t\t//System.out.println((char)(97+26-1));\n\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main
{
public static void main(String args[])throws IOException
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
long n = Long.parseLong(br.readLine());
//StringTokenizer st = new StringTokenizer(br.readLine());
// for(int k=1;k<=n;k++){
//int j=k;
String s="";
while(n>0)
{
int x = (int)(n%26);
n = n/26;
if(x==0){
x=26;
n--;
}
s=s+(char)(97+x-1);
}
for(int i=s.length()-1;i>=0;i--)
System.out.print(s.charAt(i));
System.out.println();//}
//System.out.println((char)(97+26-1));
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
13,
42,
2,
13,
13,
30,
0,
13,
13,
0,
13,
17,
40,
13,
41,
13,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
4,
18,
13,
2,
13,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
42,
2,
4,
18,
13,
2,
13,
17,
30,
0,
13,
2,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
178,
5
],
[
178,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
33,
40
],
[
40,
41
],
[
8,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
99,
101
],
[
96,
102
],
[
94,
103
],
[
94,
104
],
[
92,
105
],
[
92,
106
],
[
90,
107
],
[
90,
108
],
[
88,
109
],
[
88,
110
],
[
86,
111
],
[
86,
112
],
[
84,
113
],
[
84,
114
],
[
82,
115
],
[
82,
116
],
[
80,
117
],
[
80,
118
],
[
78,
119
],
[
78,
120
],
[
76,
121
],
[
76,
122
],
[
74,
123
],
[
74,
124
],
[
72,
125
],
[
72,
126
],
[
70,
127
],
[
70,
128
],
[
68,
129
],
[
68,
130
],
[
66,
131
],
[
66,
132
],
[
64,
133
],
[
64,
134
],
[
62,
135
],
[
62,
136
],
[
60,
137
],
[
60,
138
],
[
58,
139
],
[
58,
140
],
[
56,
141
],
[
56,
142
],
[
54,
143
],
[
54,
144
],
[
52,
145
],
[
52,
146
],
[
50,
147
],
[
50,
148
],
[
48,
149
],
[
48,
150
],
[
46,
151
],
[
46,
152
],
[
44,
153
],
[
44,
154
],
[
8,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
156,
160
],
[
160,
161
],
[
160,
162
],
[
155,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
166,
168
],
[
8,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
169,
174
],
[
6,
175
],
[
175,
176
],
[
0,
177
],
[
177,
178
],
[
177,
179
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n final Scanner scanner = new Scanner(System.in);\n\n long n = scanner.nextLong();\n\n final StringBuilder s = new StringBuilder();\n long multiplier = 26;\n int i = 0;\n\n long rest = n;\n while (rest > multiplier) {\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }\n\n String result = Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\");\n\n while (result.length() < i + 1) {\n result = \"a\" + result;\n }\n\n System.out.println(result);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n final Scanner scanner = new Scanner(System.in);\n\n long n = scanner.nextLong();\n\n final StringBuilder s = new StringBuilder();\n long multiplier = 26;\n int i = 0;\n\n long rest = n;\n while (rest > multiplier) {\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }\n\n String result = Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\");\n\n while (result.length() < i + 1) {\n result = \"a\" + result;\n }\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) {\n final Scanner scanner = new Scanner(System.in);\n\n long n = scanner.nextLong();\n\n final StringBuilder s = new StringBuilder();\n long multiplier = 26;\n int i = 0;\n\n long rest = n;\n while (rest > multiplier) {\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }\n\n String result = Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\");\n\n while (result.length() < i + 1) {\n result = \"a\" + result;\n }\n\n System.out.println(result);\n }",
"main",
"{\n final Scanner scanner = new Scanner(System.in);\n\n long n = scanner.nextLong();\n\n final StringBuilder s = new StringBuilder();\n long multiplier = 26;\n int i = 0;\n\n long rest = n;\n while (rest > multiplier) {\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }\n\n String result = Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\");\n\n while (result.length() < i + 1) {\n result = \"a\" + result;\n }\n\n System.out.println(result);\n }",
"final Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long n = scanner.nextLong();",
"n",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"final StringBuilder s = new StringBuilder();",
"s",
"new StringBuilder()",
"long multiplier = 26;",
"multiplier",
"26",
"int i = 0;",
"i",
"0",
"long rest = n;",
"rest",
"n",
"while (rest > multiplier) {\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }",
"rest > multiplier",
"rest",
"multiplier",
"{\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }",
"rest -= multiplier",
"rest",
"multiplier",
"multiplier *= 26",
"multiplier",
"26",
"i++",
"i",
"String result = Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\");",
"result",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace",
"Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")",
"Long.toString(rest - 1, 26)\n .replace",
"Long.toString(rest - 1, 26)",
"Long.toString",
"Long",
"rest - 1",
"rest",
"1",
"26",
"\"p\"",
"\"z\"",
"\"o\"",
"\"y\"",
"\"n\"",
"\"x\"",
"\"m\"",
"\"w\"",
"\"l\"",
"\"v\"",
"\"k\"",
"\"u\"",
"\"j\"",
"\"t\"",
"\"i\"",
"\"s\"",
"\"h\"",
"\"r\"",
"\"g\"",
"\"q\"",
"\"f\"",
"\"p\"",
"\"e\"",
"\"o\"",
"\"d\"",
"\"n\"",
"\"c\"",
"\"m\"",
"\"b\"",
"\"l\"",
"\"a\"",
"\"k\"",
"\"9\"",
"\"j\"",
"\"8\"",
"\"i\"",
"\"7\"",
"\"h\"",
"\"6\"",
"\"g\"",
"\"5\"",
"\"f\"",
"\"4\"",
"\"e\"",
"\"3\"",
"\"d\"",
"\"2\"",
"\"c\"",
"\"1\"",
"\"b\"",
"\"0\"",
"\"a\"",
"while (result.length() < i + 1) {\n result = \"a\" + result;\n }",
"result.length() < i + 1",
"result.length()",
"result.length",
"result",
"i + 1",
"i",
"1",
"{\n result = \"a\" + result;\n }",
"result = \"a\" + result",
"result",
"\"a\" + result",
"\"a\"",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n final Scanner scanner = new Scanner(System.in);\n\n long n = scanner.nextLong();\n\n final StringBuilder s = new StringBuilder();\n long multiplier = 26;\n int i = 0;\n\n long rest = n;\n while (rest > multiplier) {\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }\n\n String result = Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\");\n\n while (result.length() < i + 1) {\n result = \"a\" + result;\n }\n\n System.out.println(result);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n final Scanner scanner = new Scanner(System.in);\n\n long n = scanner.nextLong();\n\n final StringBuilder s = new StringBuilder();\n long multiplier = 26;\n int i = 0;\n\n long rest = n;\n while (rest > multiplier) {\n rest -= multiplier;\n multiplier *= 26;\n i++;\n }\n\n String result = Long.toString(rest - 1, 26)\n .replace(\"p\", \"z\")\n .replace(\"o\", \"y\")\n .replace(\"n\", \"x\")\n .replace(\"m\", \"w\")\n .replace(\"l\", \"v\")\n .replace(\"k\", \"u\")\n .replace(\"j\", \"t\")\n .replace(\"i\", \"s\")\n .replace(\"h\", \"r\")\n .replace(\"g\", \"q\")\n .replace(\"f\", \"p\")\n .replace(\"e\", \"o\")\n .replace(\"d\", \"n\")\n .replace(\"c\", \"m\")\n .replace(\"b\", \"l\")\n .replace(\"a\", \"k\")\n .replace(\"9\", \"j\")\n .replace(\"8\", \"i\")\n .replace(\"7\", \"h\")\n .replace(\"6\", \"g\")\n .replace(\"5\", \"f\")\n .replace(\"4\", \"e\")\n .replace(\"3\", \"d\")\n .replace(\"2\", \"c\")\n .replace(\"1\", \"b\")\n .replace(\"0\", \"a\");\n\n while (result.length() < i + 1) {\n result = \"a\" + result;\n }\n\n System.out.println(result);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
final Scanner scanner = new Scanner(System.in);
long n = scanner.nextLong();
final StringBuilder s = new StringBuilder();
long multiplier = 26;
int i = 0;
long rest = n;
while (rest > multiplier) {
rest -= multiplier;
multiplier *= 26;
i++;
}
String result = Long.toString(rest - 1, 26)
.replace("p", "z")
.replace("o", "y")
.replace("n", "x")
.replace("m", "w")
.replace("l", "v")
.replace("k", "u")
.replace("j", "t")
.replace("i", "s")
.replace("h", "r")
.replace("g", "q")
.replace("f", "p")
.replace("e", "o")
.replace("d", "n")
.replace("c", "m")
.replace("b", "l")
.replace("a", "k")
.replace("9", "j")
.replace("8", "i")
.replace("7", "h")
.replace("6", "g")
.replace("5", "f")
.replace("4", "e")
.replace("3", "d")
.replace("2", "c")
.replace("1", "b")
.replace("0", "a");
while (result.length() < i + 1) {
result = "a" + result;
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
2,
17,
2,
13,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
17,
29,
4,
18,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
71,
8
],
[
71,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
9,
51
],
[
51,
52
],
[
71,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
65,
67
],
[
53,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main{\n\tpublic static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tlong N= Long.parseLong(reader.readLine());\n\t\tString res = \"\";\n\t\twhile(N>0){\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n\tprivate static String getCharForNumber(int i) {\n \tchar[] alphabet = \"zabcdefghijklmnopqrstuvwxyz\".toCharArray();\n \treturn Character.toString(alphabet[i]);\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tlong N= Long.parseLong(reader.readLine());\n\t\tString res = \"\";\n\t\twhile(N>0){\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n\tprivate static String getCharForNumber(int i) {\n \tchar[] alphabet = \"zabcdefghijklmnopqrstuvwxyz\".toCharArray();\n \treturn Character.toString(alphabet[i]);\n\t}\n}",
"Main",
"public static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tlong N= Long.parseLong(reader.readLine());\n\t\tString res = \"\";\n\t\twhile(N>0){\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tlong N= Long.parseLong(reader.readLine());\n\t\tString res = \"\";\n\t\twhile(N>0){\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"long N= Long.parseLong(reader.readLine());",
"N",
"Long.parseLong(reader.readLine())",
"Long.parseLong",
"Long",
"reader.readLine()",
"reader.readLine",
"reader",
"String res = \"\";",
"res",
"\"\"",
"while(N>0){\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}",
"N>0",
"N",
"0",
"{\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}",
"N--",
"N",
"res = (char)('a'+ N%26)+ res",
"res",
"(char)('a'+ N%26)+ res",
"(char)('a'+ N%26)",
"'a'",
"N%26",
"N",
"26",
"res",
"N/=26",
"N",
"26",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String args[]",
"args",
"private static String getCharForNumber(int i) {\n \tchar[] alphabet = \"zabcdefghijklmnopqrstuvwxyz\".toCharArray();\n \treturn Character.toString(alphabet[i]);\n\t}",
"getCharForNumber",
"{\n \tchar[] alphabet = \"zabcdefghijklmnopqrstuvwxyz\".toCharArray();\n \treturn Character.toString(alphabet[i]);\n\t}",
"char[] alphabet = \"zabcdefghijklmnopqrstuvwxyz\".toCharArray();",
"alphabet",
"\"zabcdefghijklmnopqrstuvwxyz\".toCharArray()",
"\"zabcdefghijklmnopqrstuvwxyz\".toCharArray",
"\"zabcdefghijklmnopqrstuvwxyz\"",
"return Character.toString(alphabet[i]);",
"Character.toString(alphabet[i])",
"Character.toString",
"Character",
"alphabet[i]",
"alphabet",
"i",
"int i",
"i",
"public class Main{\n\tpublic static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tlong N= Long.parseLong(reader.readLine());\n\t\tString res = \"\";\n\t\twhile(N>0){\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n\tprivate static String getCharForNumber(int i) {\n \tchar[] alphabet = \"zabcdefghijklmnopqrstuvwxyz\".toCharArray();\n \treturn Character.toString(alphabet[i]);\n\t}\n}",
"public class Main{\n\tpublic static void main(String args[]) throws IOException{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\t\n\t\tlong N= Long.parseLong(reader.readLine());\n\t\tString res = \"\";\n\t\twhile(N>0){\n\t\t\tN--;\n\t\t\tres = (char)('a'+ N%26)+ res;\n\t\t\tN/=26;\t\t\t\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n\tprivate static String getCharForNumber(int i) {\n \tchar[] alphabet = \"zabcdefghijklmnopqrstuvwxyz\".toCharArray();\n \treturn Character.toString(alphabet[i]);\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main{
public static void main(String args[]) throws IOException{
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
long N= Long.parseLong(reader.readLine());
String res = "";
while(N>0){
N--;
res = (char)('a'+ N%26)+ res;
N/=26;
}
System.out.println(res);
}
private static String getCharForNumber(int i) {
char[] alphabet = "zabcdefghijklmnopqrstuvwxyz".toCharArray();
return Character.toString(alphabet[i]);
}
}
|
[
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,
17,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
13,
0,
13,
17,
42,
40,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
70,
11
],
[
70,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
33,
47
],
[
47,
48
],
[
47,
49
],
[
14,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
12,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.io.*;\nimport java.math.*;\nimport java.util.*;\npublic class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong N = input.nextLong();\n\t\tString ans = \"\";\n\t\tStack<Character> seq = new Stack<Character>();\n\t\twhile (N>0) {\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}\n\t\twhile (!seq.isEmpty()) {\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong N = input.nextLong();\n\t\tString ans = \"\";\n\t\tStack<Character> seq = new Stack<Character>();\n\t\twhile (N>0) {\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}\n\t\twhile (!seq.isEmpty()) {\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong N = input.nextLong();\n\t\tString ans = \"\";\n\t\tStack<Character> seq = new Stack<Character>();\n\t\twhile (N>0) {\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}\n\t\twhile (!seq.isEmpty()) {\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner input = new Scanner(System.in);\n\t\tlong N = input.nextLong();\n\t\tString ans = \"\";\n\t\tStack<Character> seq = new Stack<Character>();\n\t\twhile (N>0) {\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}\n\t\twhile (!seq.isEmpty()) {\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}\n\t}",
"Scanner input = new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"long N = input.nextLong();",
"N",
"input.nextLong()",
"input.nextLong",
"input",
"String ans = \"\";",
"ans",
"\"\"",
"Stack<Character> seq = new Stack<Character>();",
"seq",
"new Stack<Character>()",
"while (N>0) {\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}",
"N>0",
"N",
"0",
"{\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}",
"N--",
"N",
"char cur = (char)(N%26+97);",
"cur",
"(char)(N%26+97)",
"N%26",
"N",
"26",
"97",
"seq.push(cur)",
"seq.push",
"seq",
"cur",
"N/=26",
"N",
"26",
"while (!seq.isEmpty()) {\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}",
"!seq.isEmpty()",
"seq.isEmpty()",
"seq.isEmpty",
"seq",
"{\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}",
"char cur = seq.pop();",
"cur",
"seq.pop()",
"seq.pop",
"seq",
"System.out.print(cur)",
"System.out.print",
"System.out",
"System",
"System.out",
"cur",
"String[] args",
"args",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong N = input.nextLong();\n\t\tString ans = \"\";\n\t\tStack<Character> seq = new Stack<Character>();\n\t\twhile (N>0) {\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}\n\t\twhile (!seq.isEmpty()) {\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}\n\t}\n}",
"public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tlong N = input.nextLong();\n\t\tString ans = \"\";\n\t\tStack<Character> seq = new Stack<Character>();\n\t\twhile (N>0) {\n\t\t\tN--;\n\t\t\tchar cur = (char)(N%26+97);\n\t\t\tseq.push(cur);\n\t\t\tN/=26;\n\t\t}\n\t\twhile (!seq.isEmpty()) {\n\t\t\tchar cur = seq.pop();\n\t\t\tSystem.out.print(cur);\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.*;
import java.math.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
long N = input.nextLong();
String ans = "";
Stack<Character> seq = new Stack<Character>();
while (N>0) {
N--;
char cur = (char)(N%26+97);
seq.push(cur);
N/=26;
}
while (!seq.isEmpty()) {
char cur = seq.pop();
System.out.print(cur);
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
2,
17,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
4,
18,
13,
17,
13,
18,
13,
2,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
18,
13,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
17,
3,
29,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
147,
5
],
[
147,
6
],
[
6,
7
],
[
6,
8
],
[
147,
9
],
[
9,
10
],
[
9,
11
],
[
147,
12
],
[
12,
13
],
[
12,
14
],
[
147,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
15,
34
],
[
34,
35
],
[
147,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
38,
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
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
38,
78
],
[
78,
79
],
[
78,
80
],
[
38,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
103,
109
],
[
100,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
115,
116
],
[
115,
117
],
[
110,
118
],
[
118,
119
],
[
119,
120
],
[
110,
121
],
[
122,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
122,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
131,
133
],
[
122,
134
],
[
134,
135
],
[
134,
136
],
[
100,
137
],
[
38,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
36,
144
],
[
144,
145
],
[
0,
146
],
[
146,
147
],
[
146,
148
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n\n System.out.println(solve(N));\n }\n\n private static String solve(long N) {\n long[] num = new long[12+1];\n num[0] = 0;\n for (int i=1; i<12; i++) {\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }\n\n\n\n StringBuilder ans = new StringBuilder();\n for (int i=1; i<=12; i++) {\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }\n\n return ans.reverse().toString();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n\n System.out.println(solve(N));\n }\n\n private static String solve(long N) {\n long[] num = new long[12+1];\n num[0] = 0;\n for (int i=1; i<12; i++) {\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }\n\n\n\n StringBuilder ans = new StringBuilder();\n for (int i=1; i<=12; i++) {\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }\n\n return ans.reverse().toString();\n }\n}",
"Main",
"private static final int MOD = 1_000_000_007;",
"MOD",
"1_000_000_007",
"private static final String YES = \"Yes\";",
"YES",
"\"Yes\"",
"private static final String NO = \"No\";",
"NO",
"\"No\"",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n\n System.out.println(solve(N));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n\n System.out.println(solve(N));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(solve(N))",
"System.out.println",
"System.out",
"System",
"System.out",
"solve(N)",
"solve",
"N",
"String[] args",
"args",
"private static String solve(long N) {\n long[] num = new long[12+1];\n num[0] = 0;\n for (int i=1; i<12; i++) {\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }\n\n\n\n StringBuilder ans = new StringBuilder();\n for (int i=1; i<=12; i++) {\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }\n\n return ans.reverse().toString();\n }",
"solve",
"{\n long[] num = new long[12+1];\n num[0] = 0;\n for (int i=1; i<12; i++) {\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }\n\n\n\n StringBuilder ans = new StringBuilder();\n for (int i=1; i<=12; i++) {\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }\n\n return ans.reverse().toString();\n }",
"long[] num = new long[12+1];",
"num",
"new long[12+1]",
"12+1",
"12",
"1",
"num[0] = 0",
"num[0]",
"num",
"0",
"0",
"for (int i=1; i<12; i++) {\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<12",
"i",
"12",
"i++",
"i++",
"i",
"{\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }",
"{\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }",
"num[i] = (long)Math.pow(26, i) + num[i-1]",
"num[i]",
"num",
"i",
"(long)Math.pow(26, i) + num[i-1]",
"(long)Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"num[i-1]",
"num",
"i-1",
"i",
"1",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"for (int i=1; i<=12; i++) {\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=12",
"i",
"12",
"i++",
"i++",
"i",
"{\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }",
"{\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }",
"if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }",
"N <= num[i]",
"N",
"num[i]",
"num",
"i",
"{\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }",
"N -= num[i-1] + 1",
"N",
"num[i-1] + 1",
"num[i-1]",
"num",
"i-1",
"i",
"1",
"1",
"for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }",
"int k=0;",
"int k=0;",
"k",
"0",
"k<i",
"k",
"i",
"k++",
"k++",
"k",
"{\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }",
"{\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }",
"int count = (int)(N%26);",
"count",
"(int)(N%26)",
"N",
"26",
"ans.append((char)(count + 'a'))",
"ans.append",
"ans",
"(char)(count + 'a')",
"count",
"'a'",
"N /= 26",
"N",
"26",
"break;",
"return ans.reverse().toString();",
"ans.reverse().toString()",
"ans.reverse().toString",
"ans.reverse()",
"ans.reverse",
"ans",
"long N",
"N",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n\n System.out.println(solve(N));\n }\n\n private static String solve(long N) {\n long[] num = new long[12+1];\n num[0] = 0;\n for (int i=1; i<12; i++) {\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }\n\n\n\n StringBuilder ans = new StringBuilder();\n for (int i=1; i<=12; i++) {\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }\n\n return ans.reverse().toString();\n }\n}",
"public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n\n System.out.println(solve(N));\n }\n\n private static String solve(long N) {\n long[] num = new long[12+1];\n num[0] = 0;\n for (int i=1; i<12; i++) {\n num[i] = (long)Math.pow(26, i) + num[i-1];\n // System.err.println(\"i=\" + i + \" : \" + num[i]);\n }\n\n\n\n StringBuilder ans = new StringBuilder();\n for (int i=1; i<=12; i++) {\n if (N <= num[i]) {\n // i文字\n N -= num[i-1] + 1;\n for (int k=0; k<i; k++) {\n int count = (int)(N%26);\n ans.append((char)(count + 'a'));\n N /= 26;\n }\n\n break;\n }\n }\n\n return ans.reverse().toString();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
private static final int MOD = 1_000_000_007;
private static final String YES = "Yes";
private static final String NO = "No";
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
System.out.println(solve(N));
}
private static String solve(long N) {
long[] num = new long[12+1];
num[0] = 0;
for (int i=1; i<12; i++) {
num[i] = (long)Math.pow(26, i) + num[i-1];
// System.err.println("i=" + i + " : " + num[i]);
}
StringBuilder ans = new StringBuilder();
for (int i=1; i<=12; i++) {
if (N <= num[i]) {
// i文字
N -= num[i-1] + 1;
for (int k=0; k<i; k++) {
int count = (int)(N%26);
ans.append((char)(count + 'a'));
N /= 26;
}
break;
}
}
return ans.reverse().toString();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
0,
13,
2,
13,
17,
41,
13,
41,
13,
42,
2,
2,
13,
17,
17,
30,
41,
13,
2,
13,
17,
0,
13,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
4,
18,
13,
13,
13,
0,
13,
2,
2,
13,
17,
17,
41,
13,
2,
13,
17,
0,
13,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
4,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
102,
5
],
[
102,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
38,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
38,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
38,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
8,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
8,
73
],
[
73,
74
],
[
73,
75
],
[
8,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
8,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
84,
89
],
[
8,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
8,
96
],
[
96,
97
],
[
97,
98
],
[
6,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n String s = \"abcdefghijklmnopqrstuvwxyz\";\n String ans = \"\";\n n = n - 1;\n int a;\n char c;\n\n\n while (n / 26!=0) {\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n\n\n System.out.println(ans);\n\n scn.close();\n\n }\n\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n String s = \"abcdefghijklmnopqrstuvwxyz\";\n String ans = \"\";\n n = n - 1;\n int a;\n char c;\n\n\n while (n / 26!=0) {\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n\n\n System.out.println(ans);\n\n scn.close();\n\n }\n\n\n}",
"Main",
"public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n String s = \"abcdefghijklmnopqrstuvwxyz\";\n String ans = \"\";\n n = n - 1;\n int a;\n char c;\n\n\n while (n / 26!=0) {\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n\n\n System.out.println(ans);\n\n scn.close();\n\n }",
"main",
"{\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n String s = \"abcdefghijklmnopqrstuvwxyz\";\n String ans = \"\";\n n = n - 1;\n int a;\n char c;\n\n\n while (n / 26!=0) {\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n\n\n System.out.println(ans);\n\n scn.close();\n\n }",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long n = scn.nextLong();",
"n",
"scn.nextLong()",
"scn.nextLong",
"scn",
"String s = \"abcdefghijklmnopqrstuvwxyz\";",
"s",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String ans = \"\";",
"ans",
"\"\"",
"n = n - 1",
"n",
"n - 1",
"n",
"1",
"int a;",
"a",
"char c;",
"c",
"while (n / 26!=0) {\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }",
"n / 26!=0",
"n / 26",
"n",
"26",
"0",
"{\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }",
"long num = n % 26;",
"num",
"n % 26",
"n",
"26",
"a = (int) num",
"a",
"(int) num",
"c = s.charAt(a)",
"c",
"s.charAt(a)",
"s.charAt",
"s",
"a",
"ans = String.valueOf(c) + ans",
"ans",
"String.valueOf(c) + ans",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"ans",
"n = (n / 26)-1",
"n",
"(n / 26)-1",
"(n / 26)",
"n",
"26",
"1",
"long num = n % 26;",
"num",
"n % 26",
"n",
"26",
"a = (int) num",
"a",
"(int) num",
"c = s.charAt(a)",
"c",
"s.charAt(a)",
"s.charAt",
"s",
"a",
"ans = String.valueOf(c) + ans",
"ans",
"String.valueOf(c) + ans",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"scn.close()",
"scn.close",
"scn",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n String s = \"abcdefghijklmnopqrstuvwxyz\";\n String ans = \"\";\n n = n - 1;\n int a;\n char c;\n\n\n while (n / 26!=0) {\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n\n\n System.out.println(ans);\n\n scn.close();\n\n }\n\n\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner scn = new Scanner(System.in);\n long n = scn.nextLong();\n String s = \"abcdefghijklmnopqrstuvwxyz\";\n String ans = \"\";\n n = n - 1;\n int a;\n char c;\n\n\n while (n / 26!=0) {\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n n = (n / 26)-1;\n\n }\n long num = n % 26;\n a = (int) num;\n c = s.charAt(a);\n ans = String.valueOf(c) + ans;\n\n\n\n System.out.println(ans);\n\n scn.close();\n\n }\n\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scn = new Scanner(System.in);
long n = scn.nextLong();
String s = "abcdefghijklmnopqrstuvwxyz";
String ans = "";
n = n - 1;
int a;
char c;
while (n / 26!=0) {
long num = n % 26;
a = (int) num;
c = s.charAt(a);
ans = String.valueOf(c) + ans;
n = (n / 26)-1;
}
long num = n % 26;
a = (int) num;
c = s.charAt(a);
ans = String.valueOf(c) + ans;
System.out.println(ans);
scn.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
13,
0,
13,
4,
18,
13,
17,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
40,
13,
14,
2,
13,
17,
30,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
0,
13,
13,
3,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
13,
41,
13,
2,
13,
13,
41,
13,
2,
13,
17,
0,
13,
2,
13,
13,
0,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
13,
40,
13,
3,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
138,
5
],
[
138,
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
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
34,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
49,
55
],
[
55,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
61,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
61,
72
],
[
72,
73
],
[
72,
74
],
[
61,
75
],
[
49,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
83,
87
],
[
80,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
80,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
80,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
80,
103
],
[
103,
104
],
[
103,
105
],
[
80,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
110,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
110,
121
],
[
121,
122
],
[
121,
123
],
[
80,
124
],
[
124,
125
],
[
49,
126
],
[
34,
127
],
[
127,
128
],
[
8,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
6,
135
],
[
135,
136
],
[
0,
137
],
[
137,
138
],
[
137,
139
]
]
| [
"\nimport java.io.*;\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long number = Long.parseLong(br.readLine());\n long temp = 0;\n long cnt = 1;\n String name = \"\";\n while(true){\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }\n System.out.println(name);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long number = Long.parseLong(br.readLine());\n long temp = 0;\n long cnt = 1;\n String name = \"\";\n while(true){\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }\n System.out.println(name);\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long number = Long.parseLong(br.readLine());\n long temp = 0;\n long cnt = 1;\n String name = \"\";\n while(true){\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }\n System.out.println(name);\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long number = Long.parseLong(br.readLine());\n long temp = 0;\n long cnt = 1;\n String name = \"\";\n while(true){\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }\n System.out.println(name);\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"long number = Long.parseLong(br.readLine());",
"number",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"long temp = 0;",
"temp",
"0",
"long cnt = 1;",
"cnt",
"1",
"String name = \"\";",
"name",
"\"\"",
"while(true){\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }",
"true",
"{\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }",
"temp = number",
"temp",
"number",
"number -= Math.pow(26, cnt)",
"number",
"Math.pow(26, cnt)",
"Math.pow",
"Math",
"26",
"cnt",
"if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }",
"number <= 0",
"number",
"0",
"{\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }",
"number = temp-1",
"number",
"temp-1",
"temp",
"1",
"cnt--",
"cnt",
"if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }",
"cnt == 0",
"cnt",
"0",
"{\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }",
"long alphabat = number%26;",
"alphabat",
"number%26",
"number",
"26",
"char part = (char) (alphabat+97);",
"part",
"(char) (alphabat+97)",
"alphabat",
"97",
"name += part",
"name",
"part",
"break;",
"while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }",
"cnt > 0",
"cnt",
"0",
"{\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }",
"long tempNum = (long)Math.pow(26, cnt);",
"tempNum",
"(long)Math.pow(26, cnt)",
"Math.pow",
"Math",
"26",
"cnt",
"long alphabat = number/tempNum;",
"alphabat",
"number/tempNum",
"number",
"tempNum",
"char part = (char) (alphabat+97);",
"part",
"(char) (alphabat+97)",
"alphabat",
"97",
"number -= (tempNum)*alphabat",
"number",
"(tempNum)*alphabat",
"(tempNum)",
"alphabat",
"name += part",
"name",
"part",
"if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }",
"cnt ==1",
"cnt",
"1",
"{\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }",
"alphabat = number%26",
"alphabat",
"number%26",
"number",
"26",
"part = (char) (alphabat+97)",
"part",
"(char) (alphabat+97)",
"alphabat",
"97",
"name += part",
"name",
"part",
"cnt--",
"cnt",
"break;",
"cnt++",
"cnt",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long number = Long.parseLong(br.readLine());\n long temp = 0;\n long cnt = 1;\n String name = \"\";\n while(true){\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }\n System.out.println(name);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long number = Long.parseLong(br.readLine());\n long temp = 0;\n long cnt = 1;\n String name = \"\";\n while(true){\n temp = number;\n number -= Math.pow(26, cnt);\n\n if(number <= 0){\n\n number = temp-1;\n cnt--;\n\n if(cnt == 0){\n long alphabat = number%26;\n char part = (char) (alphabat+97);\n name += part;\n break;\n }\n\n while(cnt > 0){\n\n\n long tempNum = (long)Math.pow(26, cnt);\n long alphabat = number/tempNum; // 0이라면 그냥 a\n char part = (char) (alphabat+97);\n number -= (tempNum)*alphabat;\n\n\n name += part;\n\n if(cnt ==1){\n alphabat = number%26;\n part = (char) (alphabat+97);\n name += part;\n }\n\n cnt--;\n }\n\n break;\n }\n cnt++;\n }\n System.out.println(name);\n }\n}",
"Main"
]
|
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
long number = Long.parseLong(br.readLine());
long temp = 0;
long cnt = 1;
String name = "";
while(true){
temp = number;
number -= Math.pow(26, cnt);
if(number <= 0){
number = temp-1;
cnt--;
if(cnt == 0){
long alphabat = number%26;
char part = (char) (alphabat+97);
name += part;
break;
}
while(cnt > 0){
long tempNum = (long)Math.pow(26, cnt);
long alphabat = number/tempNum; // 0이라면 그냥 a
char part = (char) (alphabat+97);
number -= (tempNum)*alphabat;
name += part;
if(cnt ==1){
alphabat = number%26;
part = (char) (alphabat+97);
name += part;
}
cnt--;
}
break;
}
cnt++;
}
System.out.println(name);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
2,
13,
13,
0,
13,
2,
2,
2,
13,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
30,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
58,
59
],
[
59,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = Long.parseLong(sc.next());\n\n\t\tint c = 'a';\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n != 0) {\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = Long.parseLong(sc.next());\n\n\t\tint c = 'a';\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n != 0) {\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = Long.parseLong(sc.next());\n\n\t\tint c = 'a';\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n != 0) {\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = Long.parseLong(sc.next());\n\n\t\tint c = 'a';\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n != 0) {\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = Long.parseLong(sc.next());",
"n",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"int c = 'a';",
"c",
"'a'",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n != 0) {\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}",
"n != 0",
"n",
"0",
"{\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}",
"long remainder = (n - 1) % 26;",
"remainder",
"(n - 1) % 26",
"(n - 1)",
"n",
"1",
"26",
"sb.append((char) (c + remainder))",
"sb.append",
"sb",
"(char) (c + remainder)",
"c",
"remainder",
"n = (n - remainder + 1) / 26",
"n",
"(n - remainder + 1) / 26",
"(n - remainder + 1)",
"n - remainder",
"n",
"remainder",
"1",
"26",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"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\tlong n = Long.parseLong(sc.next());\n\n\t\tint c = 'a';\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n != 0) {\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = Long.parseLong(sc.next());\n\n\t\tint c = 'a';\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n != 0) {\n\t\t\tlong remainder = (n - 1) % 26;\n\t\t\tsb.append((char) (c + remainder));\n\n\t\t\tn = (n - remainder + 1) / 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = Long.parseLong(sc.next());
int c = 'a';
StringBuilder sb = new StringBuilder();
while (n != 0) {
long remainder = (n - 1) % 26;
sb.append((char) (c + remainder));
n = (n - remainder + 1) / 26;
}
System.out.println(sb.reverse());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
41,
13,
2,
13,
17,
29,
4,
18,
13,
13,
30,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
29,
2,
4,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
6,
25
],
[
25,
26
],
[
81,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
30,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
45,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
45,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
69,
71
],
[
45,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
27,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n System.out.print(read(num));\n }\n\n private static String read(long num) {\n if(num<=26) {\n char c = (char)(num+96);\n return String.valueOf(c);\n } else {\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\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 long num = sc.nextLong();\n System.out.print(read(num));\n }\n\n private static String read(long num) {\n if(num<=26) {\n char c = (char)(num+96);\n return String.valueOf(c);\n } else {\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\n }\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n System.out.print(read(num));\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n System.out.print(read(num));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long num = sc.nextLong();",
"num",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.print(read(num))",
"System.out.print",
"System.out",
"System",
"System.out",
"read(num)",
"read",
"num",
"String[] args",
"args",
"private static String read(long num) {\n if(num<=26) {\n char c = (char)(num+96);\n return String.valueOf(c);\n } else {\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\n }\n }",
"read",
"{\n if(num<=26) {\n char c = (char)(num+96);\n return String.valueOf(c);\n } else {\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\n }\n }",
"if(num<=26) {\n char c = (char)(num+96);\n return String.valueOf(c);\n } else {\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\n }",
"num<=26",
"num",
"26",
"{\n char c = (char)(num+96);\n return String.valueOf(c);\n }",
"char c = (char)(num+96);",
"c",
"(char)(num+96)",
"num",
"96",
"return String.valueOf(c);",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"{\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\n }",
"long b = num%26;",
"b",
"num%26",
"num",
"26",
"char c = (char)(b+96);",
"c",
"(char)(b+96)",
"b",
"96",
"num = num/26",
"num",
"num/26",
"num",
"26",
"if (b==0) {\n num -= 1;\n c = 'z';\n }",
"b==0",
"b",
"0",
"{\n num -= 1;\n c = 'z';\n }",
"num -= 1",
"num",
"1",
"c = 'z'",
"c",
"'z'",
"return read(num) + c;",
"read(num) + c",
"read(num)",
"read",
"num",
"c",
"long num",
"num",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n System.out.print(read(num));\n }\n\n private static String read(long num) {\n if(num<=26) {\n char c = (char)(num+96);\n return String.valueOf(c);\n } else {\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\n }\n }\n\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n System.out.print(read(num));\n }\n\n private static String read(long num) {\n if(num<=26) {\n char c = (char)(num+96);\n return String.valueOf(c);\n } else {\n long b = num%26;\n char c = (char)(b+96);\n num = num/26;\n\n if (b==0) {\n num -= 1;\n c = 'z';\n }\n return read(num) + c;\n }\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long num = sc.nextLong();
System.out.print(read(num));
}
private static String read(long num) {
if(num<=26) {
char c = (char)(num+96);
return String.valueOf(c);
} else {
long b = num%26;
char c = (char)(b+96);
num = num/26;
if (b==0) {
num -= 1;
c = 'z';
}
return read(num) + c;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
2,
17,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
40,
17,
41,
13,
17,
41,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
13,
0,
13,
13,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
2,
13,
13,
3,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
2,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
13,
30,
0,
13,
2,
13,
2,
13,
17,
4,
18,
13,
2,
2,
17,
13,
17,
3,
4,
18,
13,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
6,
13,
41,
13,
12,
13,
30,
4,
13,
18,
13,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
4,
18,
18,
36,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
40,
17,
30,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
2,
2,
2,
13,
17,
2,
17,
13,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
2,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
17,
13,
29,
2,
13,
13,
0,
13,
17,
0,
13,
2,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
18,
13,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
42,
2,
2,
2,
2,
13,
17,
2,
17,
13,
2,
13,
17,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
41,
13,
2,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
2,
13,
17,
2,
17,
13,
3,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
29,
2,
13,
13,
41,
13,
17,
0,
13,
4,
18,
13,
42,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
29,
2,
2,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
18,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
18,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
18,
13,
42,
2,
2,
13,
40,
17,
40,
4,
18,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
2,
13,
40,
17,
2,
13,
17,
30,
4,
18,
13,
13,
0,
13,
4,
18,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
4,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
17,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
4,
13,
17,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
17,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
833,
11
],
[
833,
12
],
[
12,
13
],
[
833,
14
],
[
14,
15
],
[
833,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
18,
20
],
[
833,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
23,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
23,
33
],
[
33,
34
],
[
33,
35
],
[
23,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
23,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
52,
60
],
[
60,
61
],
[
60,
62
],
[
52,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
67,
76
],
[
23,
77
],
[
77,
78
],
[
77,
79
],
[
23,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
85,
86
],
[
85,
87
],
[
80,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
92,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
95,
99
],
[
99,
100
],
[
99,
101
],
[
92,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
115,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
126,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
136
],
[
121,
137
],
[
23,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
833,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
142,
148
],
[
148,
149
],
[
833,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
156,
158
],
[
152,
159
],
[
159,
160
],
[
152,
161
],
[
161,
162
],
[
162,
163
],
[
152,
164
],
[
164,
165
],
[
165,
166
],
[
152,
167
],
[
167,
168
],
[
168,
169
],
[
833,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
170,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
179,
181
],
[
170,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
182,
190
],
[
190,
191
],
[
170,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
195,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
170,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
210,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
219,
221
],
[
216,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
224,
226
],
[
215,
227
],
[
227,
228
],
[
210,
229
],
[
229,
230
],
[
170,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
237,
241
],
[
241,
242
],
[
242,
243
],
[
234,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
244,
253
],
[
253,
254
],
[
255,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
260,
262
],
[
255,
263
],
[
263,
264
],
[
263,
265
],
[
255,
266
],
[
266,
267
],
[
266,
268
],
[
253,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
244,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
279,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
275,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
244,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
301,
303
],
[
244,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
306,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
317,
318
],
[
317,
319
],
[
312,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
306,
324
],
[
324,
325
],
[
324,
326
],
[
306,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
329,
331
],
[
170,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
338,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
335,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
346,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
353,
354
],
[
346,
355
],
[
355,
356
],
[
357,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
358,
362
],
[
362,
363
],
[
362,
364
],
[
357,
365
],
[
365,
366
],
[
365,
367
],
[
357,
368
],
[
368,
369
],
[
368,
370
],
[
355,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
375,
376
],
[
346,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
377,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
381,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
377,
391
],
[
391,
392
],
[
392,
393
],
[
392,
394
],
[
391,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
398,
399
],
[
399,
400
],
[
346,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
403,
405
],
[
346,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
412,
413
],
[
408,
414
],
[
414,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
415,
419
],
[
419,
420
],
[
419,
421
],
[
414,
422
],
[
408,
423
],
[
423,
424
],
[
423,
425
],
[
408,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
428,
430
],
[
346,
431
],
[
431,
432
],
[
432,
433
],
[
432,
434
],
[
431,
435
],
[
435,
436
],
[
436,
437
],
[
436,
438
],
[
346,
439
],
[
439,
440
],
[
439,
441
],
[
346,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
346,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
448,
452
],
[
452,
453
],
[
452,
454
],
[
447,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
455,
459
],
[
459,
460
],
[
459,
461
],
[
461,
462
],
[
461,
463
],
[
455,
464
],
[
464,
465
],
[
464,
466
],
[
455,
467
],
[
467,
468
],
[
467,
469
],
[
469,
470
],
[
470,
471
],
[
346,
472
],
[
472,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
473,
477
],
[
170,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
482,
484
],
[
484,
485
],
[
485,
486
],
[
486,
487
],
[
484,
488
],
[
488,
489
],
[
481,
490
],
[
490,
491
],
[
491,
492
],
[
491,
493
],
[
493,
494
],
[
494,
495
],
[
490,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
497,
500
],
[
496,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
505,
506
],
[
490,
507
],
[
507,
508
],
[
170,
509
],
[
509,
510
],
[
509,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
515,
519
],
[
519,
520
],
[
512,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
521,
525
],
[
525,
526
],
[
525,
527
],
[
527,
528
],
[
528,
529
],
[
521,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
531,
534
],
[
530,
535
],
[
535,
536
],
[
536,
537
],
[
536,
538
],
[
538,
539
],
[
539,
540
],
[
521,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
543,
545
],
[
545,
546
],
[
542,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
548,
551
],
[
541,
552
],
[
552,
553
],
[
553,
554
],
[
554,
555
],
[
553,
556
],
[
552,
557
],
[
557,
558
],
[
557,
559
],
[
559,
560
],
[
560,
561
],
[
521,
562
],
[
562,
563
],
[
563,
564
],
[
564,
565
],
[
170,
566
],
[
566,
567
],
[
566,
568
],
[
568,
569
],
[
569,
570
],
[
570,
571
],
[
570,
572
],
[
572,
573
],
[
573,
574
],
[
574,
575
],
[
572,
576
],
[
576,
577
],
[
569,
578
],
[
578,
579
],
[
579,
580
],
[
579,
581
],
[
578,
582
],
[
582,
583
],
[
582,
584
],
[
584,
585
],
[
585,
586
],
[
578,
587
],
[
587,
588
],
[
588,
589
],
[
589,
590
],
[
589,
591
],
[
591,
592
],
[
588,
593
],
[
593,
594
],
[
593,
595
],
[
587,
596
],
[
596,
597
],
[
597,
598
],
[
598,
599
],
[
597,
600
],
[
596,
601
],
[
601,
602
],
[
601,
603
],
[
603,
604
],
[
604,
605
],
[
578,
606
],
[
606,
607
],
[
607,
608
],
[
608,
609
],
[
170,
610
],
[
610,
611
],
[
610,
612
],
[
612,
613
],
[
613,
614
],
[
613,
615
],
[
612,
617
],
[
617,
618
],
[
618,
619
],
[
619,
620
],
[
619,
621
],
[
617,
622
],
[
622,
623
],
[
622,
624
],
[
617,
625
],
[
625,
626
],
[
626,
627
],
[
617,
628
],
[
629,
629
],
[
629,
630
],
[
630,
631
],
[
631,
632
],
[
631,
633
],
[
630,
634
],
[
634,
635
],
[
612,
636
],
[
636,
637
],
[
610,
638
],
[
638,
639
],
[
170,
640
],
[
640,
641
],
[
640,
642
],
[
642,
643
],
[
643,
644
],
[
643,
645
],
[
642,
647
],
[
647,
648
],
[
648,
649
],
[
649,
650
],
[
649,
651
],
[
647,
652
],
[
652,
653
],
[
652,
654
],
[
647,
655
],
[
655,
656
],
[
656,
657
],
[
647,
658
],
[
659,
659
],
[
659,
660
],
[
660,
661
],
[
661,
662
],
[
661,
663
],
[
660,
664
],
[
664,
665
],
[
665,
666
],
[
664,
667
],
[
642,
668
],
[
668,
669
],
[
640,
670
],
[
670,
671
],
[
170,
672
],
[
672,
673
],
[
672,
674
],
[
674,
675
],
[
675,
676
],
[
675,
677
],
[
678,
679
],
[
678,
680
],
[
674,
681
],
[
681,
682
],
[
682,
683
],
[
683,
684
],
[
683,
685
],
[
681,
686
],
[
686,
687
],
[
686,
688
],
[
681,
689
],
[
689,
690
],
[
690,
691
],
[
681,
692
],
[
693,
693
],
[
693,
694
],
[
694,
695
],
[
695,
696
],
[
695,
697
],
[
697,
698
],
[
697,
699
],
[
694,
700
],
[
700,
701
],
[
674,
702
],
[
702,
703
],
[
672,
704
],
[
704,
705
],
[
170,
706
],
[
706,
707
],
[
706,
708
],
[
708,
709
],
[
709,
710
],
[
709,
711
],
[
708,
713
],
[
713,
714
],
[
714,
715
],
[
715,
716
],
[
715,
717
],
[
713,
718
],
[
718,
719
],
[
718,
720
],
[
713,
721
],
[
721,
722
],
[
722,
723
],
[
713,
724
],
[
725,
725
],
[
725,
726
],
[
726,
727
],
[
727,
728
],
[
727,
729
],
[
726,
730
],
[
730,
731
],
[
708,
732
],
[
732,
733
],
[
706,
734
],
[
734,
735
],
[
170,
736
],
[
736,
737
],
[
736,
738
],
[
738,
739
],
[
739,
740
],
[
739,
741
],
[
738,
743
],
[
743,
744
],
[
744,
745
],
[
745,
746
],
[
745,
747
],
[
743,
748
],
[
748,
749
],
[
748,
750
],
[
743,
751
],
[
751,
752
],
[
752,
753
],
[
743,
754
],
[
755,
755
],
[
755,
756
],
[
756,
757
],
[
757,
758
],
[
757,
759
],
[
756,
760
],
[
760,
761
],
[
761,
762
],
[
760,
763
],
[
738,
764
],
[
764,
765
],
[
736,
766
],
[
766,
767
],
[
170,
768
],
[
768,
769
],
[
768,
770
],
[
770,
771
],
[
771,
772
],
[
771,
773
],
[
774,
775
],
[
774,
776
],
[
770,
777
],
[
777,
778
],
[
778,
779
],
[
779,
780
],
[
779,
781
],
[
777,
782
],
[
782,
783
],
[
782,
784
],
[
777,
785
],
[
785,
786
],
[
786,
787
],
[
777,
788
],
[
789,
789
],
[
789,
790
],
[
790,
791
],
[
791,
792
],
[
791,
793
],
[
793,
794
],
[
793,
795
],
[
790,
796
],
[
796,
797
],
[
770,
798
],
[
798,
799
],
[
768,
800
],
[
800,
801
],
[
170,
802
],
[
802,
803
],
[
802,
804
],
[
804,
805
],
[
805,
806
],
[
805,
807
],
[
804,
809
],
[
809,
810
],
[
810,
811
],
[
811,
812
],
[
811,
813
],
[
809,
814
],
[
814,
815
],
[
814,
816
],
[
809,
817
],
[
817,
818
],
[
818,
819
],
[
809,
820
],
[
821,
821
],
[
821,
822
],
[
822,
823
],
[
823,
824
],
[
823,
825
],
[
822,
826
],
[
826,
827
],
[
804,
828
],
[
828,
829
],
[
802,
830
],
[
830,
831
],
[
0,
832
],
[
832,
833
],
[
832,
834
]
]
| [
"import java.io.*;\nimport java.math.BigDecimal;\nimport java.util.*;\n\n@SuppressWarnings(\"unused\")\npublic class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n long N = in.nextLong();\n \n int len = -1;\n long sum = 0, total = -1;\n for(int i = 1; i <= 20; i++){\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }\n \n StringBuilder ans = new StringBuilder();\n for(int i = 1; i <= len; i++){\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }\n out.println(ans);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n long N = in.nextLong();\n \n int len = -1;\n long sum = 0, total = -1;\n for(int i = 1; i <= 20; i++){\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }\n \n StringBuilder ans = new StringBuilder();\n for(int i = 1; i <= len; i++){\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }\n out.println(ans);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"Main",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"final static int MOD = (int)1e9+7;",
"MOD",
"(int)1e9+7",
"(int)1e9",
"7",
"void solve(){\n long N = in.nextLong();\n \n int len = -1;\n long sum = 0, total = -1;\n for(int i = 1; i <= 20; i++){\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }\n \n StringBuilder ans = new StringBuilder();\n for(int i = 1; i <= len; i++){\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }\n out.println(ans);\n }",
"solve",
"{\n long N = in.nextLong();\n \n int len = -1;\n long sum = 0, total = -1;\n for(int i = 1; i <= 20; i++){\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }\n \n StringBuilder ans = new StringBuilder();\n for(int i = 1; i <= len; i++){\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }\n out.println(ans);\n }",
"long N = in.nextLong();",
"N",
"in.nextLong()",
"in.nextLong",
"in",
"int len = -1;",
"len",
"-1",
"1",
"long sum = 0",
"sum",
"0",
"total = -1;",
"total",
"-1",
"1",
"for(int i = 1; i <= 20; i++){\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 20",
"i",
"20",
"i++",
"i++",
"i",
"{\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }",
"{\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }",
"total = (long)Math.pow(26, i)",
"total",
"(long)Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"sum += total",
"sum",
"total",
"if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }",
"N <= sum",
"N",
"sum",
"{\n len = i;\n N -= sum - total;\n break;\n }",
"len = i",
"len",
"i",
"N -= sum - total",
"N",
"sum - total",
"sum",
"total",
"break;",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"for(int i = 1; i <= len; i++){\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= len",
"i",
"len",
"i++",
"i++",
"i",
"{\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }",
"{\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }",
"total = (long)Math.pow(26, len - i)",
"total",
"(long)Math.pow(26, len - i)",
"Math.pow",
"Math",
"26",
"len - i",
"len",
"i",
"for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }",
"{\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }",
"if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }",
"N <= total * j",
"N",
"total * j",
"total",
"j",
"{\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }",
"N -= total * (j - 1)",
"N",
"total * (j - 1)",
"total",
"(j - 1)",
"j",
"1",
"ans.append((char)('a' + j - 1))",
"ans.append",
"ans",
"(char)('a' + j - 1)",
"'a' + j",
"'a'",
"j",
"1",
"break;",
"out.println(ans)",
"out.println",
"out",
"ans",
"public static void main(String[] args) {\n new Main().m();\n }",
"main",
"{\n new Main().m();\n }",
"new Main().m()",
"new Main().m",
"new Main()",
"String[] args",
"args",
"private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }",
"m",
"{\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }",
"in = new FastScanner(System.in)",
"in",
"new FastScanner(System.in)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }",
"FastScanner",
"private Reader input;",
"input",
"public FastScanner() {this(System.in);}",
"FastScanner",
"{this(System.in);}",
"this(System.in)",
"this",
"System.in",
"System",
"System.in",
"public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}",
"FastScanner",
"{this.input = new BufferedReader(new InputStreamReader(stream));}",
"this.input = new BufferedReader(new InputStreamReader(stream))",
"this.input",
"this",
"this.input",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"close",
"{\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n this.input.close();\n }",
"this.input.close()",
"this.input.close",
"this.input",
"this",
"this.input",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }",
"nextLong",
"{\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }",
"try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }",
"catch (IOException e) {\n e.printStackTrace();\n return -1;\n }",
"IOException e",
"{\n e.printStackTrace();\n return -1;\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return -1;",
"-1",
"1",
"{\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n }",
"int sign = 1;",
"sign",
"1",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b)",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"b != '-'",
"b",
"'-'",
"b != '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }",
"b == '-'",
"b",
"'-'",
"{\n sign = -1;\n b = input.read();\n }",
"sign = -1",
"sign",
"-1",
"1",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '+') {\n b = input.read();\n }",
"b == '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"long ret = b - '0';",
"ret",
"b - '0'",
"b",
"'0'",
"while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }",
"true",
"{\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b < '0' || '9' < b) return ret * sign;",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"return ret * sign;",
"ret * sign",
"ret",
"sign",
"ret *= 10",
"ret",
"10",
"ret += b - '0'",
"ret",
"b - '0'",
"b",
"'0'",
"public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }",
"nextDouble",
"{\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }",
"try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }",
"catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }",
"IOException e",
"{\n e.printStackTrace();\n return Double.NaN;\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return Double.NaN;",
"Double.NaN",
"Double",
"Double.NaN",
"{\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n }",
"double sign = 1;",
"sign",
"1",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b) && b != '-' && b != '+'",
"(b < '0' || '9' < b)",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"b != '-'",
"b",
"'-'",
"b != '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }",
"b == '-'",
"b",
"'-'",
"{\n sign = -1;\n b = input.read();\n }",
"sign = -1",
"sign",
"-1",
"1",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b == '+') {\n b = input.read();\n }",
"b == '+'",
"b",
"'+'",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"double ret = b - '0';",
"ret",
"b - '0'",
"b",
"'0'",
"while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }",
"true",
"{\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"if (b < '0' || '9' < b) break;",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"break;",
"ret *= 10",
"ret",
"10",
"ret += b - '0'",
"ret",
"b - '0'",
"b",
"'0'",
"if (b != '.') return sign * ret;",
"b != '.'",
"b",
"'.'",
"return sign * ret;",
"sign * ret",
"sign",
"ret",
"double div = 1;",
"div",
"1",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }",
"ret *= 10",
"ret",
"10",
"ret += b - '0'",
"ret",
"b - '0'",
"b",
"'0'",
"div *= 10",
"div",
"10",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return sign * ret / div;",
"sign * ret / div",
"sign * ret",
"sign",
"ret",
"div",
"public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }",
"nextChar",
"{\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }",
"try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }",
"catch (IOException e) {\n e.printStackTrace();\n return 0;\n }",
"IOException e",
"{\n e.printStackTrace();\n return 0;\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return 0;",
"0",
"{\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n }",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while (Character.isWhitespace(b)) {\n b = input.read();\n }",
"Character.isWhitespace(b)",
"Character.isWhitespace",
"Character",
"b",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return (char) b;",
"(char) b",
"public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"nextStr",
"{\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"IOException e",
"{\n e.printStackTrace();\n return \"\";\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return \"\";",
"\"\"",
"{\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while (Character.isWhitespace(b)) {\n b = input.read();\n }",
"Character.isWhitespace(b)",
"Character.isWhitespace",
"Character",
"b",
"{\n b = input.read();\n }",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }",
"b != -1 && !Character.isWhitespace(b)",
"b != -1",
"b",
"-1",
"1",
"!Character.isWhitespace(b)",
"Character.isWhitespace(b)",
"Character.isWhitespace",
"Character",
"b",
"{\n sb.append((char) b);\n b = input.read();\n }",
"sb.append((char) b)",
"sb.append",
"sb",
"(char) b",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"nextLine",
"{\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }",
"IOException e",
"{\n e.printStackTrace();\n return \"\";\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return \"\";",
"\"\"",
"{\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = input.read();",
"b",
"input.read()",
"input.read",
"input",
"while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }",
"b != -1 && b != '\\n'",
"b != -1",
"b",
"-1",
"1",
"b != '\\n'",
"b",
"'\\n'",
"{\n sb.append((char) b);\n b = input.read();\n }",
"sb.append((char) b)",
"sb.append",
"sb",
"(char) b",
"b = input.read()",
"b",
"input.read()",
"input.read",
"input",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }",
"nextIntArray",
"{\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextInt();\n }",
"{\n res[i] = nextInt();\n }",
"res[i] = nextInt()",
"res[i]",
"res",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }",
"nextIntArrayDec",
"{\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextInt() - 1;\n }",
"{\n res[i] = nextInt() - 1;\n }",
"res[i] = nextInt() - 1",
"res[i]",
"res",
"i",
"nextInt() - 1",
"nextInt()",
"nextInt",
"1",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }",
"nextIntArray1Index",
"{\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }",
"int[] res = new int[n + 1];",
"res",
"new int[n + 1]",
"n + 1",
"n",
"1",
"for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i + 1] = nextInt();\n }",
"{\n res[i + 1] = nextInt();\n }",
"res[i + 1] = nextInt()",
"res[i + 1]",
"res",
"i + 1",
"i",
"1",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }",
"nextLongArray",
"{\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }",
"long[] res = new long[n];",
"res",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextLong();\n }",
"{\n res[i] = nextLong();\n }",
"res[i] = nextLong()",
"res[i]",
"res",
"i",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }",
"nextLongArrayDec",
"{\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }",
"long[] res = new long[n];",
"res",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextLong() - 1;\n }",
"{\n res[i] = nextLong() - 1;\n }",
"res[i] = nextLong() - 1",
"res[i]",
"res",
"i",
"nextLong() - 1",
"nextLong()",
"nextLong",
"1",
"return res;",
"res",
"int n",
"n",
"public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }",
"nextLongArray1Index",
"{\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }",
"long[] res = new long[n + 1];",
"res",
"new long[n + 1]",
"n + 1",
"n",
"1",
"for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i + 1] = nextLong();\n }",
"{\n res[i + 1] = nextLong();\n }",
"res[i + 1] = nextLong()",
"res[i + 1]",
"res",
"i + 1",
"i",
"1",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }",
"nextDoubleArray",
"{\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }",
"double[] res = new double[n];",
"res",
"new double[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nextDouble();\n }",
"{\n res[i] = nextDouble();\n }",
"res[i] = nextDouble()",
"res[i]",
"res",
"i",
"nextDouble()",
"nextDouble",
"return res;",
"res",
"int n",
"n",
"public class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n long N = in.nextLong();\n \n int len = -1;\n long sum = 0, total = -1;\n for(int i = 1; i <= 20; i++){\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }\n \n StringBuilder ans = new StringBuilder();\n for(int i = 1; i <= len; i++){\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }\n out.println(ans);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"public class Main {\n FastScanner in;\n PrintWriter out;\n final static int MOD = (int)1e9+7;\n \n void solve(){\n long N = in.nextLong();\n \n int len = -1;\n long sum = 0, total = -1;\n for(int i = 1; i <= 20; i++){\n total = (long)Math.pow(26, i);\n sum += total;\n if(N <= sum){\n len = i;\n N -= sum - total;\n break;\n }\n }\n \n StringBuilder ans = new StringBuilder();\n for(int i = 1; i <= len; i++){\n total = (long)Math.pow(26, len - i);\n for(int j = 1; j <= 26; j++){\n if(N <= total * j){\n N -= total * (j - 1);\n ans.append((char)('a' + j - 1));\n break;\n }\n }\n }\n out.println(ans);\n }\n \n public static void main(String[] args) {\n new Main().m();\n }\n \n private void m() {\n in = new FastScanner(System.in);\n out = new PrintWriter(System.out);\n /*\n try {\n String path = \"input.txt\";\n out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));\n }catch (IOException e){\n e.printStackTrace();\n }\n */\n solve();\n out.flush();\n in.close();\n out.close();\n }\n \n static class FastScanner {\n private Reader input;\n \n public FastScanner() {this(System.in);}\n public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}\n public void close() {\n try {\n this.input.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n \n public long nextLong() {\n try {\n int sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n long ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) return ret * sign;\n ret *= 10;\n ret += b - '0';\n }\n } catch (IOException e) {\n e.printStackTrace();\n return -1;\n }\n }\n \n public double nextDouble() {\n try {\n double sign = 1;\n int b = input.read();\n while ((b < '0' || '9' < b) && b != '-' && b != '+') {\n b = input.read();\n }\n if (b == '-') {\n sign = -1;\n b = input.read();\n } else if (b == '+') {\n b = input.read();\n }\n double ret = b - '0';\n while (true) {\n b = input.read();\n if (b < '0' || '9' < b) break;\n ret *= 10;\n ret += b - '0';\n }\n if (b != '.') return sign * ret;\n double div = 1;\n b = input.read();\n while ('0' <= b && b <= '9') {\n ret *= 10;\n ret += b - '0';\n div *= 10;\n b = input.read();\n }\n return sign * ret / div;\n } catch (IOException e) {\n e.printStackTrace();\n return Double.NaN;\n }\n }\n \n public char nextChar() {\n try {\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n return (char) b;\n } catch (IOException e) {\n e.printStackTrace();\n return 0;\n }\n }\n \n public String nextStr() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (Character.isWhitespace(b)) {\n b = input.read();\n }\n while (b != -1 && !Character.isWhitespace(b)) {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public String nextLine() {\n try {\n StringBuilder sb = new StringBuilder();\n int b = input.read();\n while (b != -1 && b != '\\n') {\n sb.append((char) b);\n b = input.read();\n }\n return sb.toString();\n } catch (IOException e) {\n e.printStackTrace();\n return \"\";\n }\n }\n \n public int[] nextIntArray(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt();\n }\n return res;\n }\n \n public int[] nextIntArrayDec(int n) {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextInt() - 1;\n }\n return res;\n }\n \n public int[] nextIntArray1Index(int n) {\n int[] res = new int[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextInt();\n }\n return res;\n }\n \n public long[] nextLongArray(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong();\n }\n return res;\n }\n \n public long[] nextLongArrayDec(int n) {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextLong() - 1;\n }\n return res;\n }\n \n public long[] nextLongArray1Index(int n) {\n long[] res = new long[n + 1];\n for (int i = 0; i < n; i++) {\n res[i + 1] = nextLong();\n }\n return res;\n }\n \n public double[] nextDoubleArray(int n) {\n double[] res = new double[n];\n for (int i = 0; i < n; i++) {\n res[i] = nextDouble();\n }\n return res;\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.math.BigDecimal;
import java.util.*;
@SuppressWarnings("unused")
public class Main {
FastScanner in;
PrintWriter out;
final static int MOD = (int)1e9+7;
void solve(){
long N = in.nextLong();
int len = -1;
long sum = 0, total = -1;
for(int i = 1; i <= 20; i++){
total = (long)Math.pow(26, i);
sum += total;
if(N <= sum){
len = i;
N -= sum - total;
break;
}
}
StringBuilder ans = new StringBuilder();
for(int i = 1; i <= len; i++){
total = (long)Math.pow(26, len - i);
for(int j = 1; j <= 26; j++){
if(N <= total * j){
N -= total * (j - 1);
ans.append((char)('a' + j - 1));
break;
}
}
}
out.println(ans);
}
public static void main(String[] args) {
new Main().m();
}
private void m() {
in = new FastScanner(System.in);
out = new PrintWriter(System.out);
/*
try {
String path = "input.txt";
out = new PrintWriter(new BufferedWriter(new FileWriter(new File(path))));
}catch (IOException e){
e.printStackTrace();
}
*/
solve();
out.flush();
in.close();
out.close();
}
static class FastScanner {
private Reader input;
public FastScanner() {this(System.in);}
public FastScanner(InputStream stream) {this.input = new BufferedReader(new InputStreamReader(stream));}
public void close() {
try {
this.input.close();
} catch (IOException e) {
e.printStackTrace();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
return (int) nl;
}
public long nextLong() {
try {
int sign = 1;
int b = input.read();
while ((b < '0' || '9' < b) && b != '-' && b != '+') {
b = input.read();
}
if (b == '-') {
sign = -1;
b = input.read();
} else if (b == '+') {
b = input.read();
}
long ret = b - '0';
while (true) {
b = input.read();
if (b < '0' || '9' < b) return ret * sign;
ret *= 10;
ret += b - '0';
}
} catch (IOException e) {
e.printStackTrace();
return -1;
}
}
public double nextDouble() {
try {
double sign = 1;
int b = input.read();
while ((b < '0' || '9' < b) && b != '-' && b != '+') {
b = input.read();
}
if (b == '-') {
sign = -1;
b = input.read();
} else if (b == '+') {
b = input.read();
}
double ret = b - '0';
while (true) {
b = input.read();
if (b < '0' || '9' < b) break;
ret *= 10;
ret += b - '0';
}
if (b != '.') return sign * ret;
double div = 1;
b = input.read();
while ('0' <= b && b <= '9') {
ret *= 10;
ret += b - '0';
div *= 10;
b = input.read();
}
return sign * ret / div;
} catch (IOException e) {
e.printStackTrace();
return Double.NaN;
}
}
public char nextChar() {
try {
int b = input.read();
while (Character.isWhitespace(b)) {
b = input.read();
}
return (char) b;
} catch (IOException e) {
e.printStackTrace();
return 0;
}
}
public String nextStr() {
try {
StringBuilder sb = new StringBuilder();
int b = input.read();
while (Character.isWhitespace(b)) {
b = input.read();
}
while (b != -1 && !Character.isWhitespace(b)) {
sb.append((char) b);
b = input.read();
}
return sb.toString();
} catch (IOException e) {
e.printStackTrace();
return "";
}
}
public String nextLine() {
try {
StringBuilder sb = new StringBuilder();
int b = input.read();
while (b != -1 && b != '\n') {
sb.append((char) b);
b = input.read();
}
return sb.toString();
} catch (IOException e) {
e.printStackTrace();
return "";
}
}
public int[] nextIntArray(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = nextInt();
}
return res;
}
public int[] nextIntArrayDec(int n) {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = nextInt() - 1;
}
return res;
}
public int[] nextIntArray1Index(int n) {
int[] res = new int[n + 1];
for (int i = 0; i < n; i++) {
res[i + 1] = nextInt();
}
return res;
}
public long[] nextLongArray(int n) {
long[] res = new long[n];
for (int i = 0; i < n; i++) {
res[i] = nextLong();
}
return res;
}
public long[] nextLongArrayDec(int n) {
long[] res = new long[n];
for (int i = 0; i < n; i++) {
res[i] = nextLong() - 1;
}
return res;
}
public long[] nextLongArray1Index(int n) {
long[] res = new long[n + 1];
for (int i = 0; i < n; i++) {
res[i + 1] = nextLong();
}
return res;
}
public double[] nextDoubleArray(int n) {
double[] res = new double[n];
for (int i = 0; i < n; i++) {
res[i] = nextDouble();
}
return res;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
17,
2,
13,
17,
0,
13,
17,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
59,
8
],
[
59,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
37,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
11,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
9,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n\n String res = \"\";\n //Nが0ではない間\n while(N != 0){\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }\n //文字列を反転\n StringBuilder builder = new StringBuilder(res);\n String result = builder.reverse().toString();\n\n System.out.println(result);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n\n String res = \"\";\n //Nが0ではない間\n while(N != 0){\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }\n //文字列を反転\n StringBuilder builder = new StringBuilder(res);\n String result = builder.reverse().toString();\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n\n String res = \"\";\n //Nが0ではない間\n while(N != 0){\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }\n //文字列を反転\n StringBuilder builder = new StringBuilder(res);\n String result = builder.reverse().toString();\n\n System.out.println(result);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n\n String res = \"\";\n //Nが0ではない間\n while(N != 0){\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }\n //文字列を反転\n StringBuilder builder = new StringBuilder(res);\n String result = builder.reverse().toString();\n\n System.out.println(result);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String res = \"\";",
"res",
"\"\"",
"while(N != 0){\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }",
"N != 0",
"N",
"0",
"{\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }",
"N--",
"N",
"res += (char)('a' + (N % 26))",
"res",
"(char)('a' + (N % 26))",
"'a'",
"(N % 26)",
"N",
"26",
"N /= 26",
"N",
"26",
"StringBuilder builder = new StringBuilder(res);",
"builder",
"new StringBuilder(res)",
"String result = builder.reverse().toString();",
"result",
"builder.reverse().toString()",
"builder.reverse().toString",
"builder.reverse()",
"builder.reverse",
"builder",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String args[]",
"args",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n\n String res = \"\";\n //Nが0ではない間\n while(N != 0){\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }\n //文字列を反転\n StringBuilder builder = new StringBuilder(res);\n String result = builder.reverse().toString();\n\n System.out.println(result);\n }\n}",
"public class Main{\n\tpublic static void main(String args[]){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n\n String res = \"\";\n //Nが0ではない間\n while(N != 0){\n N--;\n res += (char)('a' + (N % 26));\n N /= 26;\n }\n //文字列を反転\n StringBuilder builder = new StringBuilder(res);\n String result = builder.reverse().toString();\n\n System.out.println(result);\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);
long N = scan.nextLong();
String res = "";
//Nが0ではない間
while(N != 0){
N--;
res += (char)('a' + (N % 26));
N /= 26;
}
//文字列を反転
StringBuilder builder = new StringBuilder(res);
String result = builder.reverse().toString();
System.out.println(result);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
40,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
17,
40,
13,
30,
0,
13,
2,
13,
17,
0,
13,
17,
4,
18,
13,
17,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
18,
13,
17,
14,
2,
13,
17,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
41,
13,
17,
42,
13,
30,
4,
13,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
17,
14,
2,
4,
18,
13,
17,
30,
4,
18,
13,
4,
18,
18,
13,
13,
17,
30,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
270,
8
],
[
270,
9
],
[
9,
10
],
[
270,
11
],
[
11,
12
],
[
11,
13
],
[
270,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
16,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
28,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
33,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
57,
63
],
[
63,
64
],
[
63,
65
],
[
28,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
16,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
270,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
83,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
83,
108
],
[
108,
109
],
[
108,
110
],
[
83,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
116,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
122,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
128,
132
],
[
127,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
127,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
81,
147
],
[
147,
148
],
[
270,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
152,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
162,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
151,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
270,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
270,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
192,
193
],
[
270,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
270,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
212,
214
],
[
210,
215
],
[
215,
216
],
[
215,
217
],
[
210,
218
],
[
218,
219
],
[
219,
220
],
[
210,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
205,
228
],
[
228,
229
],
[
203,
230
],
[
230,
231
],
[
270,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
270,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
247,
252
],
[
252,
253
],
[
252,
254
],
[
247,
255
],
[
255,
256
],
[
256,
257
],
[
247,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
263
],
[
263,
264
],
[
242,
265
],
[
265,
266
],
[
240,
267
],
[
267,
268
],
[
0,
269
],
[
269,
270
],
[
269,
271
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong N = nl();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(N > 0) {\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong N = nl();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(N > 0) {\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main",
"//Switch input source (stdin/file)\n\tprivate static BufferedReader br;",
"br",
"//Input read utility\n\tprivate static StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"private static void solve(){\n\t\t//Implement solution here.\n\t\tlong N = nl();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(N > 0) {\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"solve",
"{\n\t\t//Implement solution here.\n\t\tlong N = nl();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(N > 0) {\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"long N = nl();",
"N",
"nl()",
"nl",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(N > 0) {\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}",
"N > 0",
"N",
"0",
"{\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}",
"long rem = -1;",
"rem",
"-1",
"1",
"if(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}",
"N % 26 == 0",
"N % 26",
"N",
"26",
"0",
"{\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t}",
"rem = 26",
"rem",
"26",
"if(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}",
"N == 26",
"N",
"26",
"{\n\t\t\t\t\tN = 0;\n\t\t\t\t}",
"N = 0",
"N",
"0",
"{\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}",
"N /= 26L",
"N",
"26L",
"N--",
"N",
"{\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}",
"rem = N % 26L",
"rem",
"N % 26L",
"N",
"26L",
"N /= 26L",
"N",
"26L",
"sb.insert(0,(char)(rem + 96L))",
"sb.insert",
"sb",
"0",
"(char)(rem + 96L)",
"rem",
"96L",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"public static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"main",
"{\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String debugDataPath = System.getenv(\"DD_PATH\");",
"debugDataPath",
"System.getenv(\"DD_PATH\")",
"System.getenv",
"System",
"\"DD_PATH\"",
"if(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"debugDataPath != null",
"debugDataPath",
"null",
"{\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}",
"br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"br",
"new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))))",
"boolean hasNext = true;",
"hasNext",
"true",
"while(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"hasNext",
"{\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}",
"solve()",
"solve",
"try{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}",
"br.mark(1)",
"br.mark",
"br",
"1",
"if(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"br.read() > 0",
"br.read()",
"br.read",
"br",
"0",
"{\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t}",
"br.reset()",
"br.reset",
"br",
"System.out.println(\"---\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"---\"",
"{\n\t\t\t\t\thasNext = false;\n\t\t\t\t}",
"hasNext = false",
"hasNext",
"false",
"String[] args",
"args",
"public static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"next",
"{\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}",
"try {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"Exception e",
"{\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t}",
"tokenizer = new StringTokenizer(br.readLine())",
"tokenizer",
"new StringTokenizer(br.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}",
"ni",
"{\n\t\treturn Integer.parseInt(next());\n\t}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}",
"nl",
"{\n\t\treturn Long.parseLong(next());\n\t}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}",
"ns",
"{\n\t\treturn next().toCharArray();\n\t}",
"return next().toCharArray();",
"next().toCharArray()",
"next().toCharArray",
"next()",
"next",
"//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nal",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong N = nl();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(N > 0) {\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"public class Main {\t\n\n\tprivate static void solve(){\n\t\t//Implement solution here.\n\t\tlong N = nl();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(N > 0) {\n//\t\t\tSystem.out.println(N);\n\t\t\tlong rem = -1;\n\t\t\tif(N % 26 == 0) {\n\t\t\t\trem = 26;\n\t\t\t\tif(N == 26) {\n\t\t\t\t\tN = 0;\n\t\t\t\t} else {\n\t\t\t\t\tN /= 26L;\n\t\t\t\t\tN--;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\trem = N % 26L;\n\t\t\t\tN /= 26L;\n\t\t\t}\t\n\t\t\tsb.insert(0,(char)(rem + 96L));\n\t\t\t\n\t\t\t\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n\t//Switch input source (stdin/file)\n\tprivate static BufferedReader br;\n\tpublic static void main(String[] args){\n\t\tbr = new BufferedReader(new InputStreamReader(System.in));\n\t\tString debugDataPath = System.getenv(\"DD_PATH\"); \n\t\tif(debugDataPath != null){\n\t\t\ttry{\n\t\t\t\tbr = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\tboolean hasNext = true;\n\t\twhile(hasNext){\n\t\t\tsolve();\t\n\t\t\ttry{\n\t\t\t\tbr.mark(1);\n\t\t\t\tif(br.read() > 0){\n\t\t\t\t\tbr.reset();\t\t\t\n\t\t\t\t\tSystem.out.println(\"---\");\n\t\t\t\t} else {\n\t\t\t\t\thasNext = false;\n\t\t\t\t}\n\t\t\t}catch(Exception e){\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t} \n\t\t}\n\t}\n\n\t//Input read utility\n\tprivate static StringTokenizer tokenizer = null;\n\tpublic static String next() {\n\t\twhile (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\ttry {\n\t\t\t\ttokenizer = new StringTokenizer(br.readLine());\n\t\t\t} catch (Exception e) {\n\t\t\t\tthrow new RuntimeException(e);\n\t\t\t}\n\t\t}\n\t\treturn tokenizer.nextToken();\n\t}\n\t//Get next single int\n\tprivate static int ni() {\n\t\treturn Integer.parseInt(next());\n\t}\n\t//Get next single long\n\tprivate static long nl() {\n\t\treturn Long.parseLong(next());\n\t}\n\t//Get next single double\n\tprivate static double nd() {\n\t\treturn Double.parseDouble(next());\n\t}\n\t//Get next int array from one line\n\tprivate static int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\t//Get next char array from one line\n\tprivate static char[] ns() {\n\t\treturn next().toCharArray();\n\t}\n\t//Get next long array from one line\n\tprivate static long[] nal(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
private static void solve(){
//Implement solution here.
long N = nl();
StringBuilder sb = new StringBuilder();
while(N > 0) {
// System.out.println(N);
long rem = -1;
if(N % 26 == 0) {
rem = 26;
if(N == 26) {
N = 0;
} else {
N /= 26L;
N--;
}
} else {
rem = N % 26L;
N /= 26L;
}
sb.insert(0,(char)(rem + 96L));
}
System.out.println(sb.toString());
}
//Switch input source (stdin/file)
private static BufferedReader br;
public static void main(String[] args){
br = new BufferedReader(new InputStreamReader(System.in));
String debugDataPath = System.getenv("DD_PATH");
if(debugDataPath != null){
try{
br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(debugDataPath))));
}catch(Exception e){
throw new RuntimeException(e);
}
}
boolean hasNext = true;
while(hasNext){
solve();
try{
br.mark(1);
if(br.read() > 0){
br.reset();
System.out.println("---");
} else {
hasNext = false;
}
}catch(Exception e){
throw new RuntimeException(e);
}
}
}
//Input read utility
private static StringTokenizer tokenizer = null;
public static String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(br.readLine());
} catch (Exception e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
//Get next single int
private static int ni() {
return Integer.parseInt(next());
}
//Get next single long
private static long nl() {
return Long.parseLong(next());
}
//Get next single double
private static double nd() {
return Double.parseDouble(next());
}
//Get next int array from one line
private static int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
//Get next char array from one line
private static char[] ns() {
return next().toCharArray();
}
//Get next long array from one line
private static long[] nal(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
41,
13,
4,
13,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
37,
20,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
6,
13,
41,
13,
17,
41,
13,
39,
17,
17,
17,
40,
17,
41,
13,
39,
17,
17,
40,
17,
17,
12,
13,
30,
14,
2,
13,
17,
29,
17,
30,
14,
2,
2,
13,
17,
17,
30,
41,
13,
4,
13,
13,
2,
13,
17,
29,
2,
2,
13,
13,
17,
30,
29,
2,
2,
4,
13,
13,
2,
13,
17,
13,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
0,
13,
17,
4,
18,
13,
8,
2,
13,
17,
17,
2,
2,
13,
17,
17,
14,
2,
13,
17,
40,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
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
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
10,
17
],
[
17,
18
],
[
17,
19
],
[
10,
21
],
[
21,
22
],
[
21,
23
],
[
10,
24
],
[
24,
25
],
[
24,
26
],
[
10,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
30,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
41,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
37,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
29,
62
],
[
62,
63
],
[
10,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
10,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
78,
89
],
[
89,
90
],
[
10,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
94,
104
],
[
104,
105
],
[
93,
106
],
[
106,
107
],
[
107,
108
],
[
10,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
112,
116
],
[
116,
117
],
[
111,
118
],
[
118,
119
],
[
118,
120
],
[
111,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
111,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
129,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
111,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
10,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
145,
149
],
[
149,
150
],
[
144,
151
],
[
151,
152
],
[
151,
153
],
[
144,
154
],
[
154,
155
],
[
154,
156
],
[
144,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
144,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
144,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
178,
180
],
[
173,
181
],
[
181,
182
],
[
182,
183
],
[
144,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
192,
193
],
[
192,
194
],
[
187,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
201,
203
],
[
187,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
205,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
204,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
216,
220
],
[
204,
221
],
[
221,
222
],
[
222,
223
],
[
186,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
10,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
230,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
236,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
244,
246
],
[
235,
247
],
[
247,
248
],
[
230,
249
],
[
249,
250
],
[
10,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
255,
258
],
[
258,
259
],
[
0,
260
],
[
446,
261
],
[
446,
262
],
[
262,
263
],
[
262,
264
],
[
446,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
267,
269
],
[
267,
270
],
[
267,
271
],
[
271,
272
],
[
446,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
275,
277
],
[
275,
278
],
[
278,
279
],
[
275,
280
],
[
446,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
284,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
292,
296
],
[
291,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
300,
303
],
[
303,
304
],
[
303,
305
],
[
297,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
311
],
[
291,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
316,
319
],
[
319,
320
],
[
319,
321
],
[
315,
322
],
[
314,
323
],
[
281,
324
],
[
324,
325
],
[
281,
326
],
[
326,
327
],
[
446,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
330,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
330,
339
],
[
339,
340
],
[
339,
341
],
[
330,
342
],
[
342,
343
],
[
342,
344
],
[
330,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
345,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
352,
354
],
[
349,
355
],
[
355,
356
],
[
355,
357
],
[
349,
358
],
[
358,
359
],
[
359,
360
],
[
358,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
361,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
366,
370
],
[
349,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
371,
375
],
[
375,
376
],
[
330,
377
],
[
377,
378
],
[
378,
379
],
[
330,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
380,
385
],
[
385,
386
],
[
386,
387
],
[
328,
388
],
[
388,
389
],
[
446,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
390,
394
],
[
394,
395
],
[
390,
396
],
[
396,
397
],
[
390,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
401,
405
],
[
400,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
406,
410
],
[
400,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
411,
415
],
[
398,
416
],
[
416,
417
],
[
398,
418
],
[
418,
419
],
[
398,
420
],
[
420,
421
],
[
446,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
422,
426
],
[
426,
427
],
[
422,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
432,
434
],
[
431,
435
],
[
430,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
428,
441
],
[
441,
442
],
[
428,
443
],
[
443,
444
],
[
0,
445
],
[
445,
446
],
[
445,
447
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.NoSuchElementException;\n\nclass FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}\n\npublic class Main {\n static int MOD = 1000000007;\n\n public static class Mas {\n int x;\n int y;\n int step;\n\n Mas(int x, int y, int step) {\n this.x = x;\n this.y = y;\n this.step = step;\n }\n }\n\n static long pow(long l, long i) {\n if (i == 0)\n return 1;\n else {\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }\n }\n\n private static final int[] vX = { 1, 0, 0, -1 };\n private static final int[] vY = { 0, 1, -1, 0 };\n\n static class Edge {\n int idx;\n int node;\n\n public Edge(int n, int i) {\n this.idx = i;\n this.node = n;\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n long moto = n;\n StringBuilder sb = new StringBuilder();\n while (n != 0) {\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }\n sb.reverse();\n System.out.println(sb.toString());\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }\n\n private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }\n\n public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n}",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"readByte",
"{\n if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;\n }",
"if (hasNextByte())\n return buffer[ptr++];\n else\n return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n return hasNextByte();\n }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"next",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n sb.appendCodePoint(b);\n b = readByte();\n }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"nextLong",
"{\n if (!hasNext())\n throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }",
"if (!hasNext())\n throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n minus = true;\n b = readByte();\n }",
"b == '-'",
"b",
"'-'",
"{\n minus = true;\n b = readByte();\n }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"true",
"{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }\n b = readByte();\n }",
"if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n } else if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n n *= 10;\n n += b - '0';\n }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n return minus ? -n : n;\n } else {\n throw new NumberFormatException();\n }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n return minus ? -n : n;\n }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n throw new NumberFormatException();\n }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();",
"nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE",
"nl < Integer.MIN_VALUE",
"nl",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"nl > Integer.MAX_VALUE",
"nl",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"throw new NumberFormatException();",
"new NumberFormatException()",
"return (int) nl;",
"(int) nl",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n static int MOD = 1000000007;\n\n public static class Mas {\n int x;\n int y;\n int step;\n\n Mas(int x, int y, int step) {\n this.x = x;\n this.y = y;\n this.step = step;\n }\n }\n\n static long pow(long l, long i) {\n if (i == 0)\n return 1;\n else {\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }\n }\n\n private static final int[] vX = { 1, 0, 0, -1 };\n private static final int[] vY = { 0, 1, -1, 0 };\n\n static class Edge {\n int idx;\n int node;\n\n public Edge(int n, int i) {\n this.idx = i;\n this.node = n;\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n long moto = n;\n StringBuilder sb = new StringBuilder();\n while (n != 0) {\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }\n sb.reverse();\n System.out.println(sb.toString());\n }\n}",
"Main",
"static int MOD = 1000000007;",
"MOD",
"1000000007",
"private static final int[] vX = { 1, 0, 0, -1 };",
"vX",
"{ 1, 0, 0, -1 }",
"1",
"0",
"0",
"-1",
"1",
"private static final int[] vY = { 0, 1, -1, 0 };",
"vY",
"{ 0, 1, -1, 0 }",
"0",
"1",
"-1",
"1",
"0",
"static long pow(long l, long i) {\n if (i == 0)\n return 1;\n else {\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }\n }",
"pow",
"{\n if (i == 0)\n return 1;\n else {\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }\n }",
"if (i == 0)\n return 1;\n else {\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }",
"i == 0",
"i",
"0",
"return 1;",
"1",
"{\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }",
"if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }",
"i % 2 == 0",
"i % 2",
"i",
"2",
"0",
"{\n long val = pow(l, i / 2);\n return val * val % 2019;\n }",
"long val = pow(l, i / 2);",
"val",
"pow(l, i / 2)",
"pow",
"l",
"i / 2",
"i",
"2",
"return val * val % 2019;",
"val * val % 2019",
"val * val",
"val",
"val",
"2019",
"{\n return pow(l, i - 1) * l % 2019;\n }",
"return pow(l, i - 1) * l % 2019;",
"pow(l, i - 1) * l % 2019",
"pow(l, i - 1) * l",
"pow(l, i - 1)",
"pow",
"l",
"i - 1",
"i",
"1",
"l",
"2019",
"long l",
"l",
"long i",
"i",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n long moto = n;\n StringBuilder sb = new StringBuilder();\n while (n != 0) {\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }\n sb.reverse();\n System.out.println(sb.toString());\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n long moto = n;\n StringBuilder sb = new StringBuilder();\n while (n != 0) {\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }\n sb.reverse();\n System.out.println(sb.toString());\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"long n = fs.nextLong();",
"n",
"fs.nextLong()",
"fs.nextLong",
"fs",
"long moto = n;",
"moto",
"n",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n != 0) {\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }",
"n != 0",
"n",
"0",
"{\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }",
"long remain = n % 26;",
"remain",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1))",
"sb.append",
"sb",
"remain == 0 ? 'z' : (char) (remain + 'a' - 1)",
"remain == 0",
"remain",
"0",
"'z'",
"(char) (remain + 'a' - 1)",
"remain + 'a'",
"remain",
"'a'",
"1",
"if (remain == 0)\n n--;",
"remain == 0",
"remain",
"0",
"n--",
"n",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public static class Mas {\n int x;\n int y;\n int step;\n\n Mas(int x, int y, int step) {\n this.x = x;\n this.y = y;\n this.step = step;\n }\n }",
"Mas",
"int x;",
"x",
"int y;",
"y",
"int step;",
"step",
"Mas(int x, int y, int step) {\n this.x = x;\n this.y = y;\n this.step = step;\n }",
"Mas",
"{\n this.x = x;\n this.y = y;\n this.step = step;\n }",
"this.x = x",
"this.x",
"this",
"this.x",
"x",
"this.y = y",
"this.y",
"this",
"this.y",
"y",
"this.step = step",
"this.step",
"this",
"this.step",
"step",
"int x",
"x",
"int y",
"y",
"int step",
"step",
"static class Edge {\n int idx;\n int node;\n\n public Edge(int n, int i) {\n this.idx = i;\n this.node = n;\n }\n }",
"Edge",
"int idx;",
"idx",
"int node;",
"node",
"public Edge(int n, int i) {\n this.idx = i;\n this.node = n;\n }",
"Edge",
"{\n this.idx = i;\n this.node = n;\n }",
"this.idx = i",
"this.idx",
"this",
"this.idx",
"i",
"this.node = n",
"this.node",
"this",
"this.node",
"n",
"int n",
"n",
"int i",
"i",
"public class Main {\n static int MOD = 1000000007;\n\n public static class Mas {\n int x;\n int y;\n int step;\n\n Mas(int x, int y, int step) {\n this.x = x;\n this.y = y;\n this.step = step;\n }\n }\n\n static long pow(long l, long i) {\n if (i == 0)\n return 1;\n else {\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }\n }\n\n private static final int[] vX = { 1, 0, 0, -1 };\n private static final int[] vY = { 0, 1, -1, 0 };\n\n static class Edge {\n int idx;\n int node;\n\n public Edge(int n, int i) {\n this.idx = i;\n this.node = n;\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n long moto = n;\n StringBuilder sb = new StringBuilder();\n while (n != 0) {\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }\n sb.reverse();\n System.out.println(sb.toString());\n }\n}",
"public class Main {\n static int MOD = 1000000007;\n\n public static class Mas {\n int x;\n int y;\n int step;\n\n Mas(int x, int y, int step) {\n this.x = x;\n this.y = y;\n this.step = step;\n }\n }\n\n static long pow(long l, long i) {\n if (i == 0)\n return 1;\n else {\n if (i % 2 == 0) {\n long val = pow(l, i / 2);\n return val * val % 2019;\n } else {\n return pow(l, i - 1) * l % 2019;\n }\n }\n }\n\n private static final int[] vX = { 1, 0, 0, -1 };\n private static final int[] vY = { 0, 1, -1, 0 };\n\n static class Edge {\n int idx;\n int node;\n\n public Edge(int n, int i) {\n this.idx = i;\n this.node = n;\n }\n }\n\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n long moto = n;\n StringBuilder sb = new StringBuilder();\n while (n != 0) {\n long remain = n % 26;\n n /= 26;\n sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));\n if (remain == 0)\n n--;\n\n // System.out.println(\"n:\" + n);\n }\n sb.reverse();\n System.out.println(sb.toString());\n }\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;
class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[ptr++];
else
return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
public boolean hasNext() {
while (hasNextByte() && !isPrintableChar(buffer[ptr]))
ptr++;
return hasNextByte();
}
public String next() {
if (!hasNext())
throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext())
throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
long nl = nextLong();
if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)
throw new NumberFormatException();
return (int) nl;
}
public double nextDouble() {
return Double.parseDouble(next());
}
}
public class Main {
static int MOD = 1000000007;
public static class Mas {
int x;
int y;
int step;
Mas(int x, int y, int step) {
this.x = x;
this.y = y;
this.step = step;
}
}
static long pow(long l, long i) {
if (i == 0)
return 1;
else {
if (i % 2 == 0) {
long val = pow(l, i / 2);
return val * val % 2019;
} else {
return pow(l, i - 1) * l % 2019;
}
}
}
private static final int[] vX = { 1, 0, 0, -1 };
private static final int[] vY = { 0, 1, -1, 0 };
static class Edge {
int idx;
int node;
public Edge(int n, int i) {
this.idx = i;
this.node = n;
}
}
public static void main(String[] args) {
FastScanner fs = new FastScanner();
long n = fs.nextLong();
long moto = n;
StringBuilder sb = new StringBuilder();
while (n != 0) {
long remain = n % 26;
n /= 26;
sb.append(remain == 0 ? 'z' : (char) (remain + 'a' - 1));
if (remain == 0)
n--;
// System.out.println("n:" + n);
}
sb.reverse();
System.out.println(sb.toString());
}
}
|
[
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,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
14,
2,
13,
40,
17,
0,
13,
17,
41,
13,
2,
17,
13,
4,
18,
13,
13,
40,
13,
0,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
13,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
12,
13,
30,
29,
4,
13,
6,
13,
12,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
6,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
34,
35
],
[
34,
36
],
[
0,
37
],
[
604,
38
],
[
604,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
41,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
41,
53
],
[
53,
54
],
[
53,
55
],
[
41,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
60,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
60,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
60,
85
],
[
85,
86
],
[
60,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
41,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
41,
98
],
[
98,
99
],
[
99,
100
],
[
604,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
101,
110
],
[
110,
111
],
[
604,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
112,
116
],
[
116,
117
],
[
116,
118
],
[
112,
120
],
[
120,
121
],
[
112,
122
],
[
122,
123
],
[
112,
124
],
[
124,
125
],
[
112,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
126,
134
],
[
134,
135
],
[
112,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
139,
144
],
[
144,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
154,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
150,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
138,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
177,
178
],
[
112,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
181,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
181,
194
],
[
194,
195
],
[
194,
196
],
[
181,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
201,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
181,
210
],
[
210,
211
],
[
210,
212
],
[
181,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
213,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
224,
226
],
[
219,
227
],
[
227,
228
],
[
218,
229
],
[
229,
230
],
[
229,
231
],
[
218,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
218,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
181,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
112,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
247,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
247,
260
],
[
260,
261
],
[
260,
262
],
[
247,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
263,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
267,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
247,
276
],
[
276,
277
],
[
276,
278
],
[
247,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
279,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
286,
290
],
[
290,
291
],
[
290,
292
],
[
285,
293
],
[
293,
294
],
[
284,
295
],
[
295,
296
],
[
295,
297
],
[
284,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
284,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
247,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
112,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
313,
318
],
[
318,
319
],
[
319,
320
],
[
319,
321
],
[
318,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
313,
326
],
[
326,
327
],
[
326,
328
],
[
313,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
329,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
335,
338
],
[
334,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
313,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
112,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
350,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
355,
358
],
[
349,
359
],
[
359,
360
],
[
363,
361
],
[
373,
362
],
[
370,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
367,
369
],
[
370,
370
],
[
370,
371
],
[
370,
372
],
[
373,
373
],
[
373,
374
],
[
373,
375
],
[
363,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
347,
380
],
[
380,
381
],
[
112,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
112,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
604,
394
],
[
394,
395
],
[
394,
396
],
[
396,
397
],
[
394,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
398,
404
],
[
404,
405
],
[
394,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
409,
413
],
[
406,
414
],
[
414,
415
],
[
394,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
419,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
426,
428
],
[
419,
429
],
[
429,
430
],
[
430,
431
],
[
419,
432
],
[
433,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
435,
437
],
[
434,
438
],
[
438,
439
],
[
439,
440
],
[
438,
441
],
[
433,
442
],
[
442,
443
],
[
443,
444
],
[
442,
445
],
[
445,
446
],
[
445,
447
],
[
416,
448
],
[
448,
449
],
[
394,
450
],
[
450,
451
],
[
450,
452
],
[
452,
453
],
[
453,
454
],
[
453,
455
],
[
452,
456
],
[
456,
457
],
[
457,
458
],
[
450,
459
],
[
459,
460
],
[
394,
461
],
[
461,
462
],
[
461,
463
],
[
463,
464
],
[
464,
465
],
[
465,
466
],
[
394,
467
],
[
467,
468
],
[
467,
469
],
[
469,
470
],
[
470,
471
],
[
471,
472
],
[
604,
473
],
[
473,
474
],
[
473,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
477,
482
],
[
482,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
482,
487
],
[
487,
488
],
[
487,
489
],
[
482,
490
],
[
490,
491
],
[
491,
492
],
[
482,
493
],
[
494,
494
],
[
494,
495
],
[
495,
496
],
[
496,
497
],
[
496,
498
],
[
495,
499
],
[
499,
500
],
[
500,
501
],
[
477,
502
],
[
502,
503
],
[
475,
504
],
[
504,
505
],
[
475,
506
],
[
506,
507
],
[
473,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
510,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
515,
520
],
[
520,
521
],
[
520,
522
],
[
515,
523
],
[
523,
524
],
[
524,
525
],
[
515,
526
],
[
527,
527
],
[
527,
528
],
[
528,
529
],
[
529,
530
],
[
529,
531
],
[
528,
532
],
[
532,
533
],
[
533,
534
],
[
510,
535
],
[
535,
536
],
[
508,
537
],
[
537,
538
],
[
508,
539
],
[
539,
540
],
[
473,
541
],
[
541,
542
],
[
541,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
543,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
549,
551
],
[
547,
552
],
[
552,
553
],
[
552,
554
],
[
547,
555
],
[
555,
556
],
[
556,
557
],
[
547,
558
],
[
559,
559
],
[
559,
560
],
[
560,
561
],
[
561,
562
],
[
560,
563
],
[
563,
564
],
[
564,
565
],
[
543,
566
],
[
566,
567
],
[
541,
568
],
[
568,
569
],
[
541,
570
],
[
570,
571
],
[
473,
572
],
[
572,
573
],
[
572,
574
],
[
574,
575
],
[
575,
576
],
[
575,
577
],
[
574,
578
],
[
578,
579
],
[
579,
580
],
[
580,
581
],
[
580,
582
],
[
578,
583
],
[
583,
584
],
[
583,
585
],
[
578,
586
],
[
586,
587
],
[
587,
588
],
[
578,
589
],
[
590,
590
],
[
590,
591
],
[
591,
592
],
[
592,
593
],
[
591,
594
],
[
594,
595
],
[
595,
596
],
[
574,
597
],
[
597,
598
],
[
572,
599
],
[
599,
600
],
[
572,
601
],
[
601,
602
],
[
0,
603
],
[
603,
604
],
[
603,
605
]
]
| [
"import java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.io.Writer;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.InputMismatchException;\nimport java.util.List;\nimport java.util.Set;\n\npublic class Main {\n\n public void solve() {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long n = in.readLong();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }\n out.printLine(sb.reverse());\n out.flush();\n }\n\n public static void main(String[] args) {\n Main solver = new Main();\n solver.solve();\n }\n\n static class InputReader {\n\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if ( numChars == -1 )\n throw new InputMismatchException();\n if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }\n return buf[curChar++];\n }\n\n public int readInt() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if ( filter != null )\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n static class IOUtils {\n\n public static int[] readIntegerArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }\n return array;\n }\n\n public static long[] readLongArray(InputReader in, int size) {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }\n return array;\n }\n\n public static List<Integer> readIntegerList(InputReader in, int size) {\n List<Integer> set = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n\n public static Set<Integer> readIntegerSet(InputReader in, int size) {\n Set<Integer> set = new HashSet<Integer>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n }\n}",
"import java.io.BufferedWriter;",
"BufferedWriter",
"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.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"public class Main {\n\n public void solve() {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long n = in.readLong();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }\n out.printLine(sb.reverse());\n out.flush();\n }\n\n public static void main(String[] args) {\n Main solver = new Main();\n solver.solve();\n }\n\n static class InputReader {\n\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if ( numChars == -1 )\n throw new InputMismatchException();\n if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }\n return buf[curChar++];\n }\n\n public int readInt() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if ( filter != null )\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n static class IOUtils {\n\n public static int[] readIntegerArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }\n return array;\n }\n\n public static long[] readLongArray(InputReader in, int size) {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }\n return array;\n }\n\n public static List<Integer> readIntegerList(InputReader in, int size) {\n List<Integer> set = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n\n public static Set<Integer> readIntegerSet(InputReader in, int size) {\n Set<Integer> set = new HashSet<Integer>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n }\n}",
"Main",
"public void solve() {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long n = in.readLong();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }\n out.printLine(sb.reverse());\n out.flush();\n }",
"solve",
"{\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long n = in.readLong();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }\n out.printLine(sb.reverse());\n out.flush();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"OutputWriter out = new OutputWriter(System.out);",
"out",
"new OutputWriter(System.out)",
"long n = in.readLong();",
"n",
"in.readLong()",
"in.readLong",
"in",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }",
"n > 0",
"n",
"0",
"{\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }",
"int mod = (int) ((n-1) % 26);",
"mod",
"(int) ((n-1) % 26)",
"(n-1)",
"n",
"1",
"26",
"if ( mod == -1 )\n mod = 25;",
"mod == -1",
"mod",
"-1",
"1",
"mod = 25",
"mod",
"25",
"char ch = (char) ((int) 'a' + mod);",
"ch",
"(char) ((int) 'a' + mod)",
"(int) 'a'",
"mod",
"sb.append(ch)",
"sb.append",
"sb",
"ch",
"n--",
"n",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"out.printLine(sb.reverse())",
"out.printLine",
"out",
"sb.reverse()",
"sb.reverse",
"sb",
"out.flush()",
"out.flush",
"out",
"public static void main(String[] args) {\n Main solver = new Main();\n solver.solve();\n }",
"main",
"{\n Main solver = new Main();\n solver.solve();\n }",
"Main solver = new Main();",
"solver",
"new Main()",
"solver.solve()",
"solver.solve",
"solver",
"String[] args",
"args",
"static class InputReader {\n\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if ( numChars == -1 )\n throw new InputMismatchException();\n if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }\n return buf[curChar++];\n }\n\n public int readInt() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if ( filter != null )\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"private SpaceCharFilter filter;",
"filter",
"public InputReader(InputStream stream) {\n this.stream = stream;\n }",
"InputReader",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public int read() {\n if ( numChars == -1 )\n throw new InputMismatchException();\n if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if ( numChars == -1 )\n throw new InputMismatchException();\n if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }\n return buf[curChar++];\n }",
"if ( numChars == -1 )\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if ( numChars <= 0 )\n return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int readInt() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"readInt",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if ( c == '-' ) {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"int res = 0;",
"res",
"0",
"do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if ( c < '0' || c > '9' )\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long readLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"readLong",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if ( c == '-' ) {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if ( c < '0' || c > '9' )\n throw new InputMismatchException();",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c))\n c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public boolean isSpaceChar(int c) {\n if ( filter != null )\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n if ( filter != null )\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"if ( filter != null )\n return filter.isSpaceChar(c);",
"filter != null",
"filter",
"null",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public String next() {\n return readString();\n }",
"next",
"{\n return readString();\n }",
"return readString();",
"readString()",
"readString",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }\n }",
"print",
"{\n for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }\n }",
"for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < objects.length",
"i",
"objects.length",
"objects",
"objects.length",
"i++",
"i++",
"i",
"{\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }",
"{\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }",
"if ( i != 0 )\n writer.print(' ');",
"i != 0",
"i",
"0",
"writer.print(' ')",
"writer.print",
"writer",
"' '",
"writer.print(objects[i])",
"writer.print",
"writer",
"objects[i]",
"objects",
"i",
"Object... objects",
"objects",
"public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }",
"printLine",
"{\n print(objects);\n writer.println();\n }",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object... objects",
"objects",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"public void flush() {\n writer.flush();\n }",
"flush",
"{\n writer.flush();\n }",
"writer.flush()",
"writer.flush",
"writer",
"static class IOUtils {\n\n public static int[] readIntegerArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }\n return array;\n }\n\n public static long[] readLongArray(InputReader in, int size) {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }\n return array;\n }\n\n public static List<Integer> readIntegerList(InputReader in, int size) {\n List<Integer> set = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n\n public static Set<Integer> readIntegerSet(InputReader in, int size) {\n Set<Integer> set = new HashSet<Integer>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n }",
"IOUtils",
"public static int[] readIntegerArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }\n return array;\n }",
"readIntegerArray",
"{\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }\n return array;\n }",
"int[] array = new int[size];",
"array",
"new int[size]",
"size",
"for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n array[i] = in.readInt();\n }",
"{\n array[i] = in.readInt();\n }",
"array[i] = in.readInt()",
"array[i]",
"array",
"i",
"in.readInt()",
"in.readInt",
"in",
"return array;",
"array",
"InputReader in",
"in",
"int size",
"size",
"public static long[] readLongArray(InputReader in, int size) {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }\n return array;\n }",
"readLongArray",
"{\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }\n return array;\n }",
"long[] array = new long[size];",
"array",
"new long[size]",
"size",
"for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n array[i] = in.readLong();\n }",
"{\n array[i] = in.readLong();\n }",
"array[i] = in.readLong()",
"array[i]",
"array",
"i",
"in.readLong()",
"in.readLong",
"in",
"return array;",
"array",
"InputReader in",
"in",
"int size",
"size",
"public static List<Integer> readIntegerList(InputReader in, int size) {\n List<Integer> set = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }",
"readIntegerList",
"{\n List<Integer> set = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }",
"List<Integer> set = new ArrayList<>();",
"set",
"new ArrayList<>()",
"for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n set.add(in.readInt());\n }",
"{\n set.add(in.readInt());\n }",
"set.add(in.readInt())",
"set.add",
"set",
"in.readInt()",
"in.readInt",
"in",
"return set;",
"set",
"InputReader in",
"in",
"int size",
"size",
"public static Set<Integer> readIntegerSet(InputReader in, int size) {\n Set<Integer> set = new HashSet<Integer>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }",
"readIntegerSet",
"{\n Set<Integer> set = new HashSet<Integer>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }",
"Set<Integer> set = new HashSet<Integer>();",
"set",
"new HashSet<Integer>()",
"for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n set.add(in.readInt());\n }",
"{\n set.add(in.readInt());\n }",
"set.add(in.readInt())",
"set.add",
"set",
"in.readInt()",
"in.readInt",
"in",
"return set;",
"set",
"InputReader in",
"in",
"int size",
"size",
"public class Main {\n\n public void solve() {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long n = in.readLong();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }\n out.printLine(sb.reverse());\n out.flush();\n }\n\n public static void main(String[] args) {\n Main solver = new Main();\n solver.solve();\n }\n\n static class InputReader {\n\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if ( numChars == -1 )\n throw new InputMismatchException();\n if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }\n return buf[curChar++];\n }\n\n public int readInt() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if ( filter != null )\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n static class IOUtils {\n\n public static int[] readIntegerArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }\n return array;\n }\n\n public static long[] readLongArray(InputReader in, int size) {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }\n return array;\n }\n\n public static List<Integer> readIntegerList(InputReader in, int size) {\n List<Integer> set = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n\n public static Set<Integer> readIntegerSet(InputReader in, int size) {\n Set<Integer> set = new HashSet<Integer>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n }\n}",
"public class Main {\n\n public void solve() {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n long n = in.readLong();\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n int mod = (int) ((n-1) % 26);\n if ( mod == -1 )\n mod = 25;\n char ch = (char) ((int) 'a' + mod);\n sb.append(ch);\n n--;\n n = n / 26;\n }\n out.printLine(sb.reverse());\n out.flush();\n }\n\n public static void main(String[] args) {\n Main solver = new Main();\n solver.solve();\n }\n\n static class InputReader {\n\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if ( numChars == -1 )\n throw new InputMismatchException();\n if ( curChar >= numChars ) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if ( numChars <= 0 )\n return -1;\n }\n return buf[curChar++];\n }\n\n public int readInt() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if ( c == '-' ) {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if ( c < '0' || c > '9' )\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if ( filter != null )\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if ( i != 0 )\n writer.print(' ');\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n public void flush() {\n writer.flush();\n }\n\n }\n\n static class IOUtils {\n\n public static int[] readIntegerArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readInt();\n }\n return array;\n }\n\n public static long[] readLongArray(InputReader in, int size) {\n long[] array = new long[size];\n for (int i = 0; i < size; i++) {\n array[i] = in.readLong();\n }\n return array;\n }\n\n public static List<Integer> readIntegerList(InputReader in, int size) {\n List<Integer> set = new ArrayList<>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n\n public static Set<Integer> readIntegerSet(InputReader in, int size) {\n Set<Integer> set = new HashSet<Integer>();\n for (int i = 0; i < size; i++) {\n set.add(in.readInt());\n }\n return set;\n }\n }\n}",
"Main"
]
| import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.io.Writer;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.InputMismatchException;
import java.util.List;
import java.util.Set;
public class Main {
public void solve() {
InputReader in = new InputReader(System.in);
OutputWriter out = new OutputWriter(System.out);
long n = in.readLong();
StringBuilder sb = new StringBuilder();
while (n > 0) {
int mod = (int) ((n-1) % 26);
if ( mod == -1 )
mod = 25;
char ch = (char) ((int) 'a' + mod);
sb.append(ch);
n--;
n = n / 26;
}
out.printLine(sb.reverse());
out.flush();
}
public static void main(String[] args) {
Main solver = new Main();
solver.solve();
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if ( numChars == -1 )
throw new InputMismatchException();
if ( curChar >= numChars ) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if ( numChars <= 0 )
return -1;
}
return buf[curChar++];
}
public int readInt() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if ( c == '-' ) {
sgn = -1;
c = read();
}
int res = 0;
do {
if ( c < '0' || c > '9' )
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public long readLong() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if ( c == '-' ) {
sgn = -1;
c = read();
}
long res = 0;
do {
if ( c < '0' || c > '9' )
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public String readString() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public boolean isSpaceChar(int c) {
if ( filter != null )
return filter.isSpaceChar(c);
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public String next() {
return readString();
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void print(Object... objects) {
for (int i = 0; i < objects.length; i++) {
if ( i != 0 )
writer.print(' ');
writer.print(objects[i]);
}
}
public void printLine(Object... objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
public void flush() {
writer.flush();
}
}
static class IOUtils {
public static int[] readIntegerArray(InputReader in, int size) {
int[] array = new int[size];
for (int i = 0; i < size; i++) {
array[i] = in.readInt();
}
return array;
}
public static long[] readLongArray(InputReader in, int size) {
long[] array = new long[size];
for (int i = 0; i < size; i++) {
array[i] = in.readLong();
}
return array;
}
public static List<Integer> readIntegerList(InputReader in, int size) {
List<Integer> set = new ArrayList<>();
for (int i = 0; i < size; i++) {
set.add(in.readInt());
}
return set;
}
public static Set<Integer> readIntegerSet(InputReader in, int size) {
Set<Integer> set = new HashSet<Integer>();
for (int i = 0; i < size; i++) {
set.add(in.readInt());
}
return set;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
13,
41,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
13,
0,
13,
17,
14,
2,
13,
17,
30,
40,
13,
4,
18,
4,
18,
13,
4,
18,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
362,
11
],
[
362,
12
],
[
12,
13
],
[
12,
14
],
[
362,
15
],
[
15,
16
],
[
15,
17
],
[
362,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
20,
45
],
[
45,
46
],
[
18,
47
],
[
47,
48
],
[
362,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
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
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
51,
92
],
[
92,
93
],
[
49,
94
],
[
94,
95
],
[
49,
96
],
[
96,
97
],
[
362,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
105,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
100,
125
],
[
125,
126
],
[
98,
127
],
[
127,
128
],
[
362,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
142,
143
],
[
142,
144
],
[
137,
145
],
[
145,
146
],
[
146,
147
],
[
137,
148
],
[
149,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
150,
155
],
[
155,
156
],
[
155,
157
],
[
150,
158
],
[
158,
159
],
[
159,
160
],
[
150,
161
],
[
162,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
163,
169
],
[
169,
170
],
[
170,
171
],
[
131,
172
],
[
172,
173
],
[
129,
174
],
[
174,
175
],
[
129,
176
],
[
176,
177
],
[
362,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
362,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
362,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
362,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
205,
207
],
[
201,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
208,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
213,
218
],
[
218,
219
],
[
218,
220
],
[
213,
221
],
[
221,
222
],
[
221,
223
],
[
213,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
231,
233
],
[
228,
234
],
[
234,
235
],
[
235,
236
],
[
234,
237
],
[
237,
238
],
[
238,
239
],
[
237,
240
],
[
228,
241
],
[
241,
242
],
[
241,
243
],
[
228,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
248,
249
],
[
249,
250
],
[
213,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
253,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
251,
261
],
[
201,
262
],
[
262,
263
],
[
263,
264
],
[
262,
265
],
[
265,
266
],
[
266,
267
],
[
201,
268
],
[
268,
269
],
[
269,
270
],
[
199,
271
],
[
271,
272
],
[
362,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
273,
277
],
[
277,
278
],
[
273,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
273,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
288,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
298,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
287,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
273,
313
],
[
313,
314
],
[
313,
315
],
[
315,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
317,
320
],
[
320,
321
],
[
273,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
326,
329
],
[
329,
330
],
[
273,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
335,
338
],
[
338,
339
],
[
273,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
346,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
356,
357
],
[
357,
358
],
[
342,
359
],
[
359,
360
],
[
0,
361
],
[
361,
362
],
[
361,
363
]
]
| [
"import java.io.*;\nimport java.lang.reflect.Array;\nimport java.util.*;\n\npublic class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static FastReader s = new FastReader();\n static PrintWriter out = new PrintWriter(System.out);\n\n private static int[] rai(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextInt();\n }\n return arr;\n }\n\n private static int[][] rai(int n, int m) {\n int[][] arr = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }\n return arr;\n }\n\n private static long[] ral(int n) {\n long[] arr = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextLong();\n }\n return arr;\n }\n\n private static long[][] ral(int n, int m) {\n long[][] arr = new long[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }\n return arr;\n }\n\n private static int ri() {\n return s.nextInt();\n }\n\n private static long rl() {\n return s.nextLong();\n }\n\n private static String rs() {\n return s.next();\n }\n public static void main(String[] args) throws IOException {\n StringBuilder ans = new StringBuilder();\n// int t=ri();\n int t=1;\n while (t-- > 0)\n {\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }\n out.print(ans.toString());\n out.flush();\n\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static FastReader s = new FastReader();\n static PrintWriter out = new PrintWriter(System.out);\n\n private static int[] rai(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextInt();\n }\n return arr;\n }\n\n private static int[][] rai(int n, int m) {\n int[][] arr = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }\n return arr;\n }\n\n private static long[] ral(int n) {\n long[] arr = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextLong();\n }\n return arr;\n }\n\n private static long[][] ral(int n, int m) {\n long[][] arr = new long[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }\n return arr;\n }\n\n private static int ri() {\n return s.nextInt();\n }\n\n private static long rl() {\n return s.nextLong();\n }\n\n private static String rs() {\n return s.next();\n }\n public static void main(String[] args) throws IOException {\n StringBuilder ans = new StringBuilder();\n// int t=ri();\n int t=1;\n while (t-- > 0)\n {\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }\n out.print(ans.toString());\n out.flush();\n\n }\n}",
"Main",
"static FastReader s = new FastReader();",
"s",
"new FastReader()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"private static int[] rai(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextInt();\n }\n return arr;\n }",
"rai",
"{\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextInt();\n }\n return arr;\n }",
"int[] arr = new int[n];",
"arr",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n arr[i] = s.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = s.nextInt();\n }",
"{\n arr[i] = s.nextInt();\n }",
"arr[i] = s.nextInt()",
"arr[i]",
"arr",
"i",
"s.nextInt()",
"s.nextInt",
"s",
"return arr;",
"arr",
"int n",
"n",
"private static int[][] rai(int n, int m) {\n int[][] arr = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }\n return arr;\n }",
"rai",
"{\n int[][] arr = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }\n return arr;\n }",
"int[][] arr = new int[n][m];",
"arr",
"new int[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }",
"{\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }",
"for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < m",
"j",
"m",
"j++",
"j++",
"j",
"{\n arr[i][j] = s.nextInt();\n }",
"{\n arr[i][j] = s.nextInt();\n }",
"arr[i][j] = s.nextInt()",
"arr[i][j]",
"arr[i]",
"arr",
"i",
"j",
"s.nextInt()",
"s.nextInt",
"s",
"return arr;",
"arr",
"int n",
"n",
"int m",
"m",
"private static long[] ral(int n) {\n long[] arr = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextLong();\n }\n return arr;\n }",
"ral",
"{\n long[] arr = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextLong();\n }\n return arr;\n }",
"long[] arr = new long[n];",
"arr",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n arr[i] = s.nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = s.nextLong();\n }",
"{\n arr[i] = s.nextLong();\n }",
"arr[i] = s.nextLong()",
"arr[i]",
"arr",
"i",
"s.nextLong()",
"s.nextLong",
"s",
"return arr;",
"arr",
"int n",
"n",
"private static long[][] ral(int n, int m) {\n long[][] arr = new long[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }\n return arr;\n }",
"ral",
"{\n long[][] arr = new long[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }\n return arr;\n }",
"long[][] arr = new long[n][m];",
"arr",
"new long[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }",
"{\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }",
"for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < m",
"j",
"m",
"j++",
"j++",
"j",
"{\n arr[i][j] = s.nextLong();\n }",
"{\n arr[i][j] = s.nextLong();\n }",
"arr[i][j] = s.nextLong()",
"arr[i][j]",
"arr[i]",
"arr",
"i",
"j",
"s.nextLong()",
"s.nextLong",
"s",
"return arr;",
"arr",
"int n",
"n",
"int m",
"m",
"private static int ri() {\n return s.nextInt();\n }",
"ri",
"{\n return s.nextInt();\n }",
"return s.nextInt();",
"s.nextInt()",
"s.nextInt",
"s",
"private static long rl() {\n return s.nextLong();\n }",
"rl",
"{\n return s.nextLong();\n }",
"return s.nextLong();",
"s.nextLong()",
"s.nextLong",
"s",
"private static String rs() {\n return s.next();\n }",
"rs",
"{\n return s.next();\n }",
"return s.next();",
"s.next()",
"s.next",
"s",
"public static void main(String[] args) throws IOException {\n StringBuilder ans = new StringBuilder();\n// int t=ri();\n int t=1;\n while (t-- > 0)\n {\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }\n out.print(ans.toString());\n out.flush();\n\n }",
"main",
"{\n StringBuilder ans = new StringBuilder();\n// int t=ri();\n int t=1;\n while (t-- > 0)\n {\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }\n out.print(ans.toString());\n out.flush();\n\n }",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"int t=1;",
"t",
"1",
"while (t-- > 0)\n {\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }",
"long n=rl();",
"n",
"rl()",
"rl",
"String str=\"zabcdefghijklmnopqrstuvwxy\";",
"str",
"\"zabcdefghijklmnopqrstuvwxy\"",
"StringBuilder res=new StringBuilder();",
"res",
"new StringBuilder()",
"while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }",
"n>0",
"n",
"0",
"{\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }",
"int val= (int) (n%26);",
"val",
"(int) (n%26)",
"n",
"26",
"res.append(str.charAt(val))",
"res.append",
"res",
"str.charAt(val)",
"str.charAt",
"str",
"val",
"n/=26",
"n",
"26",
"if(val==0)\n {\n\n n--;\n }",
"val==0",
"val",
"0",
"{\n\n n--;\n }",
"n--",
"n",
"ans.append(res.reverse().toString()).append(\"\\n\")",
"ans.append(res.reverse().toString()).append",
"ans.append(res.reverse().toString())",
"ans.append",
"ans",
"res.reverse().toString()",
"res.reverse().toString",
"res.reverse()",
"res.reverse",
"res",
"\"\\n\"",
"out.print(ans.toString())",
"out.print",
"out",
"ans.toString()",
"ans.toString",
"ans",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"FastReader",
"{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }",
"br = new BufferedReader(new\n InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n InputStreamReader(System.in))",
"String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static FastReader s = new FastReader();\n static PrintWriter out = new PrintWriter(System.out);\n\n private static int[] rai(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextInt();\n }\n return arr;\n }\n\n private static int[][] rai(int n, int m) {\n int[][] arr = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }\n return arr;\n }\n\n private static long[] ral(int n) {\n long[] arr = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextLong();\n }\n return arr;\n }\n\n private static long[][] ral(int n, int m) {\n long[][] arr = new long[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }\n return arr;\n }\n\n private static int ri() {\n return s.nextInt();\n }\n\n private static long rl() {\n return s.nextLong();\n }\n\n private static String rs() {\n return s.next();\n }\n public static void main(String[] args) throws IOException {\n StringBuilder ans = new StringBuilder();\n// int t=ri();\n int t=1;\n while (t-- > 0)\n {\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }\n out.print(ans.toString());\n out.flush();\n\n }\n}",
"public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n static FastReader s = new FastReader();\n static PrintWriter out = new PrintWriter(System.out);\n\n private static int[] rai(int n) {\n int[] arr = new int[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextInt();\n }\n return arr;\n }\n\n private static int[][] rai(int n, int m) {\n int[][] arr = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextInt();\n }\n }\n return arr;\n }\n\n private static long[] ral(int n) {\n long[] arr = new long[n];\n for (int i = 0; i < n; i++) {\n arr[i] = s.nextLong();\n }\n return arr;\n }\n\n private static long[][] ral(int n, int m) {\n long[][] arr = new long[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n arr[i][j] = s.nextLong();\n }\n }\n return arr;\n }\n\n private static int ri() {\n return s.nextInt();\n }\n\n private static long rl() {\n return s.nextLong();\n }\n\n private static String rs() {\n return s.next();\n }\n public static void main(String[] args) throws IOException {\n StringBuilder ans = new StringBuilder();\n// int t=ri();\n int t=1;\n while (t-- > 0)\n {\n long n=rl();\n String str=\"zabcdefghijklmnopqrstuvwxy\";\n StringBuilder res=new StringBuilder();\n while(n>0)\n {\n int val= (int) (n%26);\n res.append(str.charAt(val));\n n/=26;\n if(val==0)\n {\n\n n--;\n }\n\n }\n ans.append(res.reverse().toString()).append(\"\\n\");\n }\n out.print(ans.toString());\n out.flush();\n\n }\n}",
"Main"
]
| import java.io.*;
import java.lang.reflect.Array;
import java.util.*;
public class Main {
static class FastReader {
BufferedReader br;
StringTokenizer st;
public FastReader() {
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
double nextDouble() {
return Double.parseDouble(next());
}
String nextLine() {
String str = "";
try {
str = br.readLine();
} catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
static FastReader s = new FastReader();
static PrintWriter out = new PrintWriter(System.out);
private static int[] rai(int n) {
int[] arr = new int[n];
for (int i = 0; i < n; i++) {
arr[i] = s.nextInt();
}
return arr;
}
private static int[][] rai(int n, int m) {
int[][] arr = new int[n][m];
for (int i = 0; i < n; i++) {
for (int j = 0; j < m; j++) {
arr[i][j] = s.nextInt();
}
}
return arr;
}
private static long[] ral(int n) {
long[] arr = new long[n];
for (int i = 0; i < n; i++) {
arr[i] = s.nextLong();
}
return arr;
}
private static long[][] ral(int n, int m) {
long[][] arr = new long[n][m];
for (int i = 0; i < n; i++) {
for (int j = 0; j < m; j++) {
arr[i][j] = s.nextLong();
}
}
return arr;
}
private static int ri() {
return s.nextInt();
}
private static long rl() {
return s.nextLong();
}
private static String rs() {
return s.next();
}
public static void main(String[] args) throws IOException {
StringBuilder ans = new StringBuilder();
// int t=ri();
int t=1;
while (t-- > 0)
{
long n=rl();
String str="zabcdefghijklmnopqrstuvwxy";
StringBuilder res=new StringBuilder();
while(n>0)
{
int val= (int) (n%26);
res.append(str.charAt(val));
n/=26;
if(val==0)
{
n--;
}
}
ans.append(res.reverse().toString()).append("\n");
}
out.print(ans.toString());
out.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
2,
4,
18,
13,
18,
13,
13,
17,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
4,
18,
4,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
17,
17,
30,
4,
18,
13,
17,
2,
17,
2,
13,
17,
0,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
180,
17
],
[
180,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
20,
30
],
[
30,
31
],
[
30,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
34,
41
],
[
33,
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
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
42,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
64,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
73,
77
],
[
60,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
42,
88
],
[
88,
89
],
[
88,
90
],
[
20,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
97,
98
],
[
18,
99
],
[
99,
100
],
[
180,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
112,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
117,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
111,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
101,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
139,
140
],
[
101,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
153,
154
],
[
153,
155
],
[
148,
156
],
[
156,
157
],
[
157,
158
],
[
148,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
160,
164
],
[
164,
165
],
[
143,
166
],
[
166,
167
],
[
141,
168
],
[
168,
169
],
[
101,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
177,
178
],
[
0,
179
],
[
179,
180
],
[
179,
181
]
]
| [
"//package com.atcoder.contest171.c;\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n BigInteger bi = new BigInteger(fs.next());\n BigInteger twentySix = new BigInteger(\"26\");\n StringBuilder sb = new StringBuilder();\n while(bi.compareTo(BigInteger.ZERO) != 0 ){\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }\n System.out.println(sb.toString());\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n BigInteger bi = new BigInteger(fs.next());\n BigInteger twentySix = new BigInteger(\"26\");\n StringBuilder sb = new StringBuilder();\n while(bi.compareTo(BigInteger.ZERO) != 0 ){\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }\n System.out.println(sb.toString());\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n BigInteger bi = new BigInteger(fs.next());\n BigInteger twentySix = new BigInteger(\"26\");\n StringBuilder sb = new StringBuilder();\n while(bi.compareTo(BigInteger.ZERO) != 0 ){\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }\n System.out.println(sb.toString());\n\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n BigInteger bi = new BigInteger(fs.next());\n BigInteger twentySix = new BigInteger(\"26\");\n StringBuilder sb = new StringBuilder();\n while(bi.compareTo(BigInteger.ZERO) != 0 ){\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }\n System.out.println(sb.toString());\n\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"BigInteger bi = new BigInteger(fs.next());",
"bi",
"new BigInteger(fs.next())",
"BigInteger twentySix = new BigInteger(\"26\");",
"twentySix",
"new BigInteger(\"26\")",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(bi.compareTo(BigInteger.ZERO) != 0 ){\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }",
"bi.compareTo(BigInteger.ZERO) != 0",
"bi.compareTo(BigInteger.ZERO)",
"bi.compareTo",
"bi",
"BigInteger.ZERO",
"BigInteger",
"BigInteger.ZERO",
"0",
"{\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }",
"BigInteger k = bi.divide(twentySix);",
"k",
"bi.divide(twentySix)",
"bi.divide",
"bi",
"twentySix",
"int last = Integer.parseInt(bi.mod(twentySix).toString());",
"last",
"Integer.parseInt(bi.mod(twentySix).toString())",
"Integer.parseInt",
"Integer",
"bi.mod(twentySix).toString()",
"bi.mod(twentySix).toString",
"bi.mod(twentySix)",
"bi.mod",
"bi",
"twentySix",
"if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }",
"last == 0",
"last",
"0",
"{\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }",
"k = k.subtract(BigInteger.ONE)",
"k",
"k.subtract(BigInteger.ONE)",
"k.subtract",
"k",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"sb.insert(0,'z')",
"sb.insert",
"sb",
"0",
"'z'",
"{\n sb.insert(0, (char)('a' + (last-1)));\n }",
"sb.insert(0, (char)('a' + (last-1)))",
"sb.insert",
"sb",
"0",
"(char)('a' + (last-1))",
"'a'",
"(last-1)",
"last",
"1",
"bi = k",
"bi",
"k",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"FastScanner",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }",
"readArray",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n BigInteger bi = new BigInteger(fs.next());\n BigInteger twentySix = new BigInteger(\"26\");\n StringBuilder sb = new StringBuilder();\n while(bi.compareTo(BigInteger.ZERO) != 0 ){\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }\n System.out.println(sb.toString());\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n BigInteger bi = new BigInteger(fs.next());\n BigInteger twentySix = new BigInteger(\"26\");\n StringBuilder sb = new StringBuilder();\n while(bi.compareTo(BigInteger.ZERO) != 0 ){\n BigInteger k = bi.divide(twentySix);\n int last = Integer.parseInt(bi.mod(twentySix).toString());\n if(last == 0){\n k = k.subtract(BigInteger.ONE);\n sb.insert(0,'z');\n }\n else{\n sb.insert(0, (char)('a' + (last-1)));\n }\n bi = k;\n }\n System.out.println(sb.toString());\n\n }\n\n static class FastScanner {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n String next() {\n while (!st.hasMoreTokens())\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) a[i] = nextInt();\n return a;\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
]
| //package com.atcoder.contest171.c;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
BigInteger bi = new BigInteger(fs.next());
BigInteger twentySix = new BigInteger("26");
StringBuilder sb = new StringBuilder();
while(bi.compareTo(BigInteger.ZERO) != 0 ){
BigInteger k = bi.divide(twentySix);
int last = Integer.parseInt(bi.mod(twentySix).toString());
if(last == 0){
k = k.subtract(BigInteger.ONE);
sb.insert(0,'z');
}
else{
sb.insert(0, (char)('a' + (last-1)));
}
bi = k;
}
System.out.println(sb.toString());
}
static class FastScanner {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
String next() {
while (!st.hasMoreTokens())
try {
st = new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++) a[i] = nextInt();
return a;
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
2,
13,
17,
1,
0,
13,
2,
2,
13,
17,
17,
30,
4,
18,
13,
2,
2,
2,
13,
17,
17,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
20,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
37,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.Scanner;\n\npublic class Main { \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n for (; N > 0; N = (N - 1) / 26)\n sb.append((char) ((N - 1) % 26 + 'a'));\n System.out.println(sb.reverse().toString());\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 long N = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n for (; N > 0; N = (N - 1) / 26)\n sb.append((char) ((N - 1) % 26 + 'a'));\n System.out.println(sb.reverse().toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n for (; N > 0; N = (N - 1) / 26)\n sb.append((char) ((N - 1) % 26 + 'a'));\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n for (; N > 0; N = (N - 1) / 26)\n sb.append((char) ((N - 1) % 26 + 'a'));\n System.out.println(sb.reverse().toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (; N > 0; N = (N - 1) / 26)\n sb.append((char) ((N - 1) % 26 + 'a'));",
";",
"N > 0",
"N",
"0",
"N = (N - 1) / 26",
"N = (N - 1) / 26",
"N",
"(N - 1) / 26",
"(N - 1)",
"N",
"1",
"26",
"sb.append((char) ((N - 1) % 26 + 'a'));",
"sb.append((char) ((N - 1) % 26 + 'a'))",
"sb.append",
"sb",
"(char) ((N - 1) % 26 + 'a')",
"(N - 1) % 26",
"(N - 1)",
"N",
"1",
"26",
"'a'",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main { \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n for (; N > 0; N = (N - 1) / 26)\n sb.append((char) ((N - 1) % 26 + 'a'));\n System.out.println(sb.reverse().toString());\n }\n}",
"public class Main { \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n for (; N > 0; N = (N - 1) / 26)\n sb.append((char) ((N - 1) % 26 + 'a'));\n System.out.println(sb.reverse().toString());\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
StringBuilder sb = new StringBuilder();
for (; N > 0; N = (N - 1) / 26)
sb.append((char) ((N - 1) % 26 + 'a'));
System.out.println(sb.reverse().toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
4,
18,
13,
17,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
2,
13,
17,
30,
0,
13,
2,
13,
17,
3,
41,
13,
2,
13,
17,
0,
13,
8,
2,
13,
17,
17,
13,
41,
13,
4,
18,
13,
2,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
4,
18,
13,
17,
2,
13,
17,
0,
13,
8,
2,
13,
17,
4,
18,
13,
17,
2,
13,
17,
13,
41,
13,
2,
2,
2,
13,
17,
4,
18,
13,
17,
13,
17,
0,
13,
2,
4,
18,
13,
2,
13,
17,
13,
0,
13,
4,
18,
13,
17,
2,
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
],
[
192,
8
],
[
192,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
41,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
11,
52
],
[
52,
53
],
[
52,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
60,
62
],
[
55,
63
],
[
63,
64
],
[
64,
65
],
[
55,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
69,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
68,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
82,
88
],
[
11,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
11,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
96,
101
],
[
11,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
107,
109
],
[
11,
110
],
[
110,
111
],
[
110,
112
],
[
11,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
113,
118
],
[
118,
119
],
[
118,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
113,
124
],
[
125,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
125,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
143,
147
],
[
147,
148
],
[
147,
149
],
[
139,
150
],
[
125,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
158,
162
],
[
153,
163
],
[
125,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
170,
171
],
[
170,
172
],
[
166,
173
],
[
125,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
11,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
183,
188
],
[
9,
189
],
[
189,
190
],
[
0,
191
],
[
191,
192
],
[
191,
193
]
]
| [
"\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long[] pow26 = new long[14];\n for(int i=1;i<14;i++){\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }\n int length = 0;\n for(int i=0;i<14;i++){\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }\n //length=桁数\n int x = (int) (n % 26);\n x = x == 0 ? 26 : x;\n String s = String.valueOf((char)(x+96));\n n -= 26;\n for(int i=1;i<length;i++){\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }\n System.out.println(s);\n\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long[] pow26 = new long[14];\n for(int i=1;i<14;i++){\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }\n int length = 0;\n for(int i=0;i<14;i++){\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }\n //length=桁数\n int x = (int) (n % 26);\n x = x == 0 ? 26 : x;\n String s = String.valueOf((char)(x+96));\n n -= 26;\n for(int i=1;i<length;i++){\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }\n System.out.println(s);\n\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long[] pow26 = new long[14];\n for(int i=1;i<14;i++){\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }\n int length = 0;\n for(int i=0;i<14;i++){\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }\n //length=桁数\n int x = (int) (n % 26);\n x = x == 0 ? 26 : x;\n String s = String.valueOf((char)(x+96));\n n -= 26;\n for(int i=1;i<length;i++){\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }\n System.out.println(s);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long[] pow26 = new long[14];\n for(int i=1;i<14;i++){\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }\n int length = 0;\n for(int i=0;i<14;i++){\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }\n //length=桁数\n int x = (int) (n % 26);\n x = x == 0 ? 26 : x;\n String s = String.valueOf((char)(x+96));\n n -= 26;\n for(int i=1;i<length;i++){\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }\n System.out.println(s);\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long[] pow26 = new long[14];",
"pow26",
"new long[14]",
"14",
"for(int i=1;i<14;i++){\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<14",
"i",
"14",
"i++",
"i++",
"i",
"{\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }",
"{\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }",
"pow26[i] = pow26[i-1] + (long) Math.pow(26, i)",
"pow26[i]",
"pow26",
"i",
"pow26[i-1] + (long) Math.pow(26, i)",
"pow26[i-1]",
"pow26",
"i-1",
"i",
"1",
"(long) Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"int length = 0;",
"length",
"0",
"for(int i=0;i<14;i++){\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<14",
"i",
"14",
"i++",
"i++",
"i",
"{\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }",
"{\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }",
"if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }",
"n > pow26[i] && n <= pow26[i+1]",
"n > pow26[i]",
"n",
"pow26[i]",
"pow26",
"i",
"n <= pow26[i+1]",
"n",
"pow26[i+1]",
"pow26",
"i+1",
"i",
"1",
"{\n length = i+1;\n break;\n }",
"length = i+1",
"length",
"i+1",
"i",
"1",
"break;",
"int x = (int) (n % 26);",
"x",
"(int) (n % 26)",
"n",
"26",
"x = x == 0 ? 26 : x",
"x",
"x == 0 ? 26 : x",
"x == 0",
"x",
"0",
"26",
"x",
"String s = String.valueOf((char)(x+96));",
"s",
"String.valueOf((char)(x+96))",
"String.valueOf",
"String",
"(char)(x+96)",
"x",
"96",
"n -= 26",
"n",
"26",
"for(int i=1;i<length;i++){\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<length",
"i",
"length",
"i++",
"i++",
"i",
"{\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }",
"{\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }",
"long z = n % (long)Math.pow(26, i+1);",
"z",
"n % (long)Math.pow(26, i+1)",
"n",
"(long)Math.pow(26, i+1)",
"Math.pow",
"Math",
"26",
"i+1",
"i",
"1",
"z = z == 0 ? (long)Math.pow(26, i+1) : z",
"z",
"z == 0 ? (long)Math.pow(26, i+1) : z",
"z == 0",
"z",
"0",
"(long)Math.pow(26, i+1)",
"Math.pow",
"Math",
"26",
"i+1",
"i",
"1",
"z",
"int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;",
"y",
"(int)((z-1) / (long)Math.pow(26, i)) + 1",
"(int)((z-1) / (long)Math.pow(26, i))",
"(z-1)",
"z",
"1",
"(long)Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"1",
"s = String.valueOf((char)(y+96)) + s",
"s",
"String.valueOf((char)(y+96)) + s",
"String.valueOf((char)(y+96))",
"String.valueOf",
"String",
"(char)(y+96)",
"y",
"96",
"s",
"n -= (long)Math.pow(26, i+1)",
"n",
"(long)Math.pow(26, i+1)",
"Math.pow",
"Math",
"26",
"i+1",
"i",
"1",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long[] pow26 = new long[14];\n for(int i=1;i<14;i++){\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }\n int length = 0;\n for(int i=0;i<14;i++){\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }\n //length=桁数\n int x = (int) (n % 26);\n x = x == 0 ? 26 : x;\n String s = String.valueOf((char)(x+96));\n n -= 26;\n for(int i=1;i<length;i++){\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }\n System.out.println(s);\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long[] pow26 = new long[14];\n for(int i=1;i<14;i++){\n pow26[i] = pow26[i-1] + (long) Math.pow(26, i);\n }\n int length = 0;\n for(int i=0;i<14;i++){\n if(n > pow26[i] && n <= pow26[i+1]){\n length = i+1;\n break;\n }\n }\n //length=桁数\n int x = (int) (n % 26);\n x = x == 0 ? 26 : x;\n String s = String.valueOf((char)(x+96));\n n -= 26;\n for(int i=1;i<length;i++){\n long z = n % (long)Math.pow(26, i+1);\n z = z == 0 ? (long)Math.pow(26, i+1) : z;\n int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;\n s = String.valueOf((char)(y+96)) + s;\n n -= (long)Math.pow(26, i+1);\n }\n System.out.println(s);\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);
long n = sc.nextLong();
long[] pow26 = new long[14];
for(int i=1;i<14;i++){
pow26[i] = pow26[i-1] + (long) Math.pow(26, i);
}
int length = 0;
for(int i=0;i<14;i++){
if(n > pow26[i] && n <= pow26[i+1]){
length = i+1;
break;
}
}
//length=桁数
int x = (int) (n % 26);
x = x == 0 ? 26 : x;
String s = String.valueOf((char)(x+96));
n -= 26;
for(int i=1;i<length;i++){
long z = n % (long)Math.pow(26, i+1);
z = z == 0 ? (long)Math.pow(26, i+1) : z;
int y = (int)((z-1) / (long)Math.pow(26, i)) + 1;
s = String.valueOf((char)(y+96)) + s;
n -= (long)Math.pow(26, i+1);
}
System.out.println(s);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
0,
13,
2,
2,
17,
13,
13,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
10,
21
],
[
21,
22
],
[
21,
23
],
[
10,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
28,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
28,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
10,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}\n\t}",
"main",
"{\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}\n\t}",
"try (Scanner sc = new Scanner(System.in)) {\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}",
"{\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long num = sc.nextLong() - 1;",
"num",
"sc.nextLong() - 1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"1",
"String name = \"\";",
"name",
"\"\"",
"while (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}",
"num >= 0",
"num",
"0",
"{\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}",
"int mod = (int) (num % 26);",
"mod",
"(int) (num % 26)",
"num",
"26",
"name = ((char) ('a' + mod) + name)",
"name",
"((char) ('a' + mod) + name)",
"(char) ('a' + mod)",
"'a'",
"mod",
"name",
"num = num / 26 - 1",
"num",
"num / 26 - 1",
"num / 26",
"num",
"26",
"1",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tlong num = sc.nextLong() - 1;\n\t\t\tString name = \"\";\n\n\t\t\twhile (num >= 0) {\n\t\t\t\tint mod = (int) (num % 26);\n\t\t\t\tname = ((char) ('a' + mod) + name);\n\t\t\t\tnum = num / 26 - 1;\n\t\t\t}\n\t\t\tSystem.out.println(name);\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
long num = sc.nextLong() - 1;
String name = "";
while (num >= 0) {
int mod = (int) (num % 26);
name = ((char) ('a' + mod) + name);
num = num / 26 - 1;
}
System.out.println(name);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
20,
41,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
4,
18,
13,
18,
13,
13,
0,
13,
2,
2,
13,
17,
17,
0,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
40,
4,
13,
0,
13,
20,
12,
13,
30,
29,
2,
2,
13,
17,
4,
18,
13,
12,
13,
30,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
144,
11
],
[
144,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
20,
24
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
28,
30
],
[
14,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
38,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
14,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
14,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
12,
70
],
[
70,
71
],
[
144,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
72,
76
],
[
76,
77
],
[
72,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
72,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
89,
93
],
[
93,
94
],
[
93,
95
],
[
72,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
72,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
72,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
72,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
72,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport static java.lang.Math.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong n = sc.nextLong()-1;\n\t\tchar[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\n\t\t// 計算\n\t\tString result = \"\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(n >= 0){\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}\n\t\tresult = sb.reverse().toString();\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong n = sc.nextLong()-1;\n\t\tchar[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\n\t\t// 計算\n\t\tString result = \"\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(n >= 0){\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}\n\t\tresult = sb.reverse().toString();\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong n = sc.nextLong()-1;\n\t\tchar[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\n\t\t// 計算\n\t\tString result = \"\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(n >= 0){\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}\n\t\tresult = sb.reverse().toString();\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong n = sc.nextLong()-1;\n\t\tchar[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\n\t\t// 計算\n\t\tString result = \"\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(n >= 0){\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}\n\t\tresult = sb.reverse().toString();\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong()-1;",
"n",
"sc.nextLong()-1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"1",
"char[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};",
"c",
"new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'}",
"String result = \"\";",
"result",
"\"\"",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(n >= 0){\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}",
"n >= 0",
"n",
"0",
"{\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}",
"long a = n%26;",
"a",
"n%26",
"n",
"26",
"sb.append(c[(int)a])",
"sb.append",
"sb",
"c[(int)a]",
"c",
"(int)a",
"n = n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"result = sb.reverse().toString()",
"result",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}",
"Scanner",
"private BufferedReader br;",
"br",
"private StringTokenizer tok;",
"tok",
"public Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}",
"Scanner",
"{ br = new BufferedReader(new InputStreamReader(is));}",
"br = new BufferedReader(new InputStreamReader(is))",
"br",
"new BufferedReader(new InputStreamReader(is))",
"InputStream is",
"is",
"private void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}",
"getLine",
"{ while(!hasNext()) tok = new StringTokenizer(br.readLine());}",
"while(!hasNext()) tok = new StringTokenizer(br.readLine());",
"!hasNext()",
"hasNext()",
"hasNext",
"tok = new StringTokenizer(br.readLine())",
"tok",
"new StringTokenizer(br.readLine())",
"private boolean hasNext() { return tok != null && tok.hasMoreTokens();}",
"hasNext",
"{ return tok != null && tok.hasMoreTokens();}",
"return tok != null && tok.hasMoreTokens();",
"tok != null && tok.hasMoreTokens()",
"tok != null",
"tok",
"null",
"tok.hasMoreTokens()",
"tok.hasMoreTokens",
"tok",
"public String next() throws IOException { getLine(); return tok.nextToken();}",
"next",
"{ getLine(); return tok.nextToken();}",
"getLine()",
"getLine",
"return tok.nextToken();",
"tok.nextToken()",
"tok.nextToken",
"tok",
"public int nextInt() throws IOException { return Integer.parseInt(next());}",
"nextInt",
"{ return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException { return Long.parseLong(next());}",
"nextLong",
"{ return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double nextDouble() throws IOException { return Double.parseDouble(next());}",
"nextDouble",
"{ return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong n = sc.nextLong()-1;\n\t\tchar[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\n\t\t// 計算\n\t\tString result = \"\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(n >= 0){\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}\n\t\tresult = sb.reverse().toString();\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\t// 入力\n\t\tlong n = sc.nextLong()-1;\n\t\tchar[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};\n\t\t\n\t\t// 計算\n\t\tString result = \"\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile(n >= 0){\n\t\t long a = n%26;\n\t\t sb.append(c[(int)a]);\n\t\t n = n/26-1;\n\t\t}\n\t\tresult = sb.reverse().toString();\n\t\t\n\t\t// 出力\n\t\tSystem.out.println(result);\n\t}\n\t\n\tpublic static class Scanner {\n\t\tprivate BufferedReader br; private StringTokenizer tok;\n\t\tpublic Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}\n\t\tprivate void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}\n\t\tprivate boolean hasNext() { return tok != null && tok.hasMoreTokens();}\n\t\tpublic String next() throws IOException { getLine(); return tok.nextToken();}\n\t\tpublic int nextInt() throws IOException { return Integer.parseInt(next());}\n\t\tpublic long nextLong() throws IOException { return Long.parseLong(next());}\n\t\tpublic double nextDouble() throws IOException { return Double.parseDouble(next());}\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import static java.lang.Math.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
// 入力
long n = sc.nextLong()-1;
char[] c = new char[]{'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'};
// 計算
String result = "";
StringBuilder sb = new StringBuilder();
while(n >= 0){
long a = n%26;
sb.append(c[(int)a]);
n = n/26-1;
}
result = sb.reverse().toString();
// 出力
System.out.println(result);
}
public static class Scanner {
private BufferedReader br; private StringTokenizer tok;
public Scanner(InputStream is) throws IOException { br = new BufferedReader(new InputStreamReader(is));}
private void getLine() throws IOException { while(!hasNext()) tok = new StringTokenizer(br.readLine());}
private boolean hasNext() { return tok != null && tok.hasMoreTokens();}
public String next() throws IOException { getLine(); return tok.nextToken();}
public int nextInt() throws IOException { return Integer.parseInt(next());}
public long nextLong() throws IOException { return Long.parseLong(next());}
public double nextDouble() throws IOException { return Double.parseDouble(next());}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
2,
17,
13,
0,
13,
2,
2,
13,
17,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
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
],
[
77,
8
],
[
77,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
27,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
11,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
52,
56
],
[
48,
57
],
[
57,
58
],
[
57,
59
],
[
48,
60
],
[
60,
61
],
[
61,
62
],
[
48,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
9,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"\n\nimport java.util.ArrayList;\nimport 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\tlong n=scan.nextLong();\n\t\tArrayList<Character> al=new ArrayList<Character>();\n\t\twhile(n>0) {\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}\n\t\tfor(int i=al.size()-1;i>=0;i--) {\n\t\t\tSystem.out.print(al.get(i));\n\t\t}\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\tScanner scan=new Scanner(System.in);\n\t\tlong n=scan.nextLong();\n\t\tArrayList<Character> al=new ArrayList<Character>();\n\t\twhile(n>0) {\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}\n\t\tfor(int i=al.size()-1;i>=0;i--) {\n\t\t\tSystem.out.print(al.get(i));\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong n=scan.nextLong();\n\t\tArrayList<Character> al=new ArrayList<Character>();\n\t\twhile(n>0) {\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}\n\t\tfor(int i=al.size()-1;i>=0;i--) {\n\t\t\tSystem.out.print(al.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong n=scan.nextLong();\n\t\tArrayList<Character> al=new ArrayList<Character>();\n\t\twhile(n>0) {\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}\n\t\tfor(int i=al.size()-1;i>=0;i--) {\n\t\t\tSystem.out.print(al.get(i));\n\t\t}\n\t}",
"Scanner scan=new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n=scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"ArrayList<Character> al=new ArrayList<Character>();",
"al",
"new ArrayList<Character>()",
"while(n>0) {\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}",
"long x=(n-1)%26;",
"x",
"(n-1)%26",
"(n-1)",
"n",
"1",
"26",
"al.add((char) ('a'+x))",
"al.add",
"al",
"(char) ('a'+x)",
"'a'",
"x",
"n=(n-1)/26",
"n",
"(n-1)/26",
"(n-1)",
"n",
"1",
"26",
"for(int i=al.size()-1;i>=0;i--) {\n\t\t\tSystem.out.print(al.get(i));\n\t\t}",
"int i=al.size()-1;",
"int i=al.size()-1;",
"i",
"al.size()-1",
"al.size()",
"al.size",
"al",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(al.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(al.get(i));\n\t\t}",
"System.out.print(al.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"al.get(i)",
"al.get",
"al",
"i",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong n=scan.nextLong();\n\t\tArrayList<Character> al=new ArrayList<Character>();\n\t\twhile(n>0) {\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}\n\t\tfor(int i=al.size()-1;i>=0;i--) {\n\t\t\tSystem.out.print(al.get(i));\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tlong n=scan.nextLong();\n\t\tArrayList<Character> al=new ArrayList<Character>();\n\t\twhile(n>0) {\n\t\t\tlong x=(n-1)%26;\n\t\t\tal.add((char) ('a'+x));\n\t\t\tn=(n-1)/26;\n\t\t}\n\t\tfor(int i=al.size()-1;i>=0;i--) {\n\t\t\tSystem.out.print(al.get(i));\n\t\t}\n\t}\n\n}",
"Main"
]
|
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan=new Scanner(System.in);
long n=scan.nextLong();
ArrayList<Character> al=new ArrayList<Character>();
while(n>0) {
long x=(n-1)%26;
al.add((char) ('a'+x));
n=(n-1)/26;
}
for(int i=al.size()-1;i>=0;i--) {
System.out.print(al.get(i));
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
13,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
41,
13,
2,
17,
13,
0,
13,
2,
13,
13,
0,
13,
17,
29,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
4,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
9,
25
],
[
25,
26
],
[
4,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
29,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
40,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
40,
58
],
[
58,
59
],
[
58,
60
],
[
29,
61
],
[
61,
62
],
[
27,
63
],
[
63,
64
]
]
| [
"import java.util.*;\nclass Main {\n \tstatic Scanner scan = new Scanner(System.in);\n \tpublic static void main(String[] args) {\n \t\tlong N = scan.nextLong();\n \tSystem.out.println(dogName(N));\n \t}\n \tprivate static String dogName(long N) {\n \tString ans = \"\";\n \tlong temp = N;\n \twhile(temp > 0) {\n temp--;\n long rem = (temp % 26);\n \tchar cc = (char)('a' + rem);\n \tans = cc + ans;\n \ttemp /= 26;\n }\n return ans;\n \t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n \tstatic Scanner scan = new Scanner(System.in);\n \tpublic static void main(String[] args) {\n \t\tlong N = scan.nextLong();\n \tSystem.out.println(dogName(N));\n \t}\n \tprivate static String dogName(long N) {\n \tString ans = \"\";\n \tlong temp = N;\n \twhile(temp > 0) {\n temp--;\n long rem = (temp % 26);\n \tchar cc = (char)('a' + rem);\n \tans = cc + ans;\n \ttemp /= 26;\n }\n return ans;\n \t}\n}",
"Main",
"static Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args) {\n \t\tlong N = scan.nextLong();\n \tSystem.out.println(dogName(N));\n \t}",
"main",
"{\n \t\tlong N = scan.nextLong();\n \tSystem.out.println(dogName(N));\n \t}",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"System.out.println(dogName(N))",
"System.out.println",
"System.out",
"System",
"System.out",
"dogName(N)",
"dogName",
"N",
"String[] args",
"args",
"private static String dogName(long N) {\n \tString ans = \"\";\n \tlong temp = N;\n \twhile(temp > 0) {\n temp--;\n long rem = (temp % 26);\n \tchar cc = (char)('a' + rem);\n \tans = cc + ans;\n \ttemp /= 26;\n }\n return ans;\n \t}",
"dogName",
"{\n \tString ans = \"\";\n \tlong temp = N;\n \twhile(temp > 0) {\n temp--;\n long rem = (temp % 26);\n \tchar cc = (char)('a' + rem);\n \tans = cc + ans;\n \ttemp /= 26;\n }\n return ans;\n \t}",
"String ans = \"\";",
"ans",
"\"\"",
"long temp = N;",
"temp",
"N",
"while(temp > 0) {\n temp--;\n long rem = (temp % 26);\n \tchar cc = (char)('a' + rem);\n \tans = cc + ans;\n \ttemp /= 26;\n }",
"temp > 0",
"temp",
"0",
"{\n temp--;\n long rem = (temp % 26);\n \tchar cc = (char)('a' + rem);\n \tans = cc + ans;\n \ttemp /= 26;\n }",
"temp--",
"temp",
"long rem = (temp % 26);",
"rem",
"(temp % 26)",
"temp",
"26",
"char cc = (char)('a' + rem);",
"cc",
"(char)('a' + rem)",
"'a'",
"rem",
"ans = cc + ans",
"ans",
"cc + ans",
"cc",
"ans",
"temp /= 26",
"temp",
"26",
"return ans;",
"ans",
"long N",
"N"
]
| import java.util.*;
class Main {
static Scanner scan = new Scanner(System.in);
public static void main(String[] args) {
long N = scan.nextLong();
System.out.println(dogName(N));
}
private static String dogName(long N) {
String ans = "";
long temp = N;
while(temp > 0) {
temp--;
long rem = (temp % 26);
char cc = (char)('a' + rem);
ans = cc + ans;
temp /= 26;
}
return ans;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
12,
13,
30,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
41,
13,
42,
17,
30,
14,
2,
13,
17,
30,
4,
18,
13,
2,
13,
17,
3,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
13,
14,
2,
13,
17,
30,
40,
13,
4,
18,
13,
17,
4,
18,
13,
2,
17,
13,
4,
13,
4,
18,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
17,
0,
13,
20,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
18,
13,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
2,
18,
18,
13,
2,
13,
17,
2,
13,
17,
18,
18,
13,
2,
13,
17,
13,
0,
18,
18,
13,
13,
13,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
17,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
29,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
710,
14
],
[
710,
15
],
[
15,
16
],
[
15,
17
],
[
710,
18
],
[
18,
19
],
[
18,
20
],
[
710,
21
],
[
21,
22
],
[
21,
23
],
[
710,
24
],
[
24,
25
],
[
24,
26
],
[
710,
27
],
[
27,
28
],
[
710,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
29,
37
],
[
37,
38
],
[
710,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
39,
55
],
[
55,
56
],
[
39,
57
],
[
57,
58
],
[
710,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
67,
70
],
[
59,
71
],
[
71,
72
],
[
59,
73
],
[
73,
74
],
[
710,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
77,
86
],
[
86,
87
],
[
86,
88
],
[
77,
89
],
[
89,
90
],
[
77,
91
],
[
91,
92
],
[
77,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
104,
106
],
[
100,
107
],
[
95,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
95,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
115,
117
],
[
95,
118
],
[
118,
119
],
[
118,
120
],
[
95,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
121,
132
],
[
132,
133
],
[
133,
134
],
[
132,
135
],
[
135,
136
],
[
135,
137
],
[
77,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
77,
145
],
[
145,
146
],
[
710,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
153,
155
],
[
149,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
163,
165
],
[
158,
166
],
[
166,
167
],
[
167,
168
],
[
158,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
170,
176
],
[
149,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
177,
182
],
[
182,
183
],
[
182,
184
],
[
177,
185
],
[
185,
186
],
[
186,
187
],
[
177,
188
],
[
189,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
195,
196
],
[
195,
197
],
[
190,
198
],
[
198,
199
],
[
199,
200
],
[
190,
201
],
[
202,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
203,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
213,
215
],
[
210,
216
],
[
216,
217
],
[
216,
218
],
[
209,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
222,
224
],
[
219,
225
],
[
202,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
226,
232
],
[
710,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
236,
239
],
[
233,
240
],
[
240,
241
],
[
710,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
245,
248
],
[
242,
249
],
[
249,
250
],
[
710,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
710,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
260,
263
],
[
257,
264
],
[
264,
265
],
[
710,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
266,
273
],
[
273,
274
],
[
710,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
278,
281
],
[
275,
282
],
[
282,
283
],
[
710,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
287,
290
],
[
284,
291
],
[
291,
292
],
[
710,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
710,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
303,
306
],
[
300,
307
],
[
307,
308
],
[
710,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
312,
315
],
[
309,
316
],
[
316,
317
],
[
710,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
318,
322
],
[
322,
323
],
[
318,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
327,
331
],
[
326,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
332,
336
],
[
324,
337
],
[
337,
338
],
[
324,
339
],
[
339,
340
],
[
710,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
345,
347
],
[
341,
348
],
[
348,
349
],
[
348,
350
],
[
341,
352
],
[
352,
353
],
[
352,
354
],
[
341,
355
],
[
355,
356
],
[
355,
357
],
[
341,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
361,
365
],
[
365,
366
],
[
366,
367
],
[
361,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
368,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
372,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
382,
383
],
[
383,
384
],
[
382,
385
],
[
368,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
386,
390
],
[
390,
391
],
[
391,
392
],
[
360,
393
],
[
393,
394
],
[
341,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
398,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
398,
406
],
[
406,
407
],
[
407,
408
],
[
341,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
414,
416
],
[
413,
417
],
[
417,
418
],
[
417,
419
],
[
409,
420
],
[
420,
421
],
[
341,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
426,
429
],
[
429,
430
],
[
430,
431
],
[
430,
432
],
[
432,
433
],
[
432,
434
],
[
425,
435
],
[
435,
436
],
[
341,
437
],
[
437,
438
],
[
437,
439
],
[
439,
440
],
[
440,
441
],
[
439,
442
],
[
442,
443
],
[
443,
444
],
[
341,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
450,
451
],
[
448,
452
],
[
452,
453
],
[
447,
454
],
[
454,
455
],
[
454,
456
],
[
447,
457
],
[
457,
458
],
[
457,
459
],
[
459,
460
],
[
447,
461
],
[
461,
462
],
[
462,
463
],
[
462,
464
],
[
461,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
466,
469
],
[
465,
470
],
[
470,
471
],
[
470,
472
],
[
472,
473
],
[
447,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
341,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
481,
485
],
[
485,
486
],
[
480,
487
],
[
487,
488
],
[
487,
489
],
[
480,
490
],
[
490,
491
],
[
490,
492
],
[
480,
493
],
[
493,
494
],
[
493,
495
],
[
495,
496
],
[
480,
497
],
[
497,
498
],
[
498,
499
],
[
498,
500
],
[
497,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
501,
505
],
[
505,
506
],
[
505,
507
],
[
507,
508
],
[
480,
509
],
[
509,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
510,
514
],
[
514,
515
],
[
514,
516
],
[
509,
517
],
[
517,
518
],
[
518,
519
],
[
480,
520
],
[
520,
521
],
[
520,
522
],
[
522,
523
],
[
523,
524
],
[
524,
525
],
[
525,
526
],
[
525,
527
],
[
524,
528
],
[
528,
529
],
[
528,
530
],
[
523,
531
],
[
531,
532
],
[
532,
533
],
[
532,
534
],
[
531,
535
],
[
535,
536
],
[
535,
537
],
[
537,
538
],
[
537,
539
],
[
523,
540
],
[
540,
541
],
[
541,
542
],
[
542,
543
],
[
542,
544
],
[
544,
545
],
[
541,
546
],
[
546,
547
],
[
547,
548
],
[
547,
549
],
[
540,
550
],
[
550,
551
],
[
551,
552
],
[
552,
553
],
[
552,
554
],
[
554,
555
],
[
552,
556
],
[
540,
557
],
[
557,
558
],
[
558,
559
],
[
522,
560
],
[
560,
561
],
[
560,
562
],
[
562,
563
],
[
341,
564
],
[
564,
565
],
[
564,
566
],
[
566,
567
],
[
567,
568
],
[
568,
569
],
[
341,
570
],
[
570,
571
],
[
570,
572
],
[
572,
573
],
[
573,
574
],
[
574,
575
],
[
575,
576
],
[
574,
577
],
[
577,
578
],
[
341,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
584,
585
],
[
585,
586
],
[
585,
587
],
[
588,
589
],
[
588,
590
],
[
584,
591
],
[
591,
592
],
[
592,
593
],
[
593,
594
],
[
593,
595
],
[
591,
596
],
[
596,
597
],
[
596,
598
],
[
591,
599
],
[
599,
600
],
[
600,
601
],
[
591,
602
],
[
603,
603
],
[
603,
604
],
[
604,
605
],
[
605,
606
],
[
605,
607
],
[
604,
608
],
[
608,
609
],
[
609,
610
],
[
584,
611
],
[
611,
612
],
[
582,
613
],
[
613,
614
],
[
614,
615
],
[
614,
616
],
[
613,
618
],
[
618,
619
],
[
619,
620
],
[
620,
621
],
[
620,
622
],
[
618,
623
],
[
623,
624
],
[
623,
625
],
[
618,
626
],
[
626,
627
],
[
627,
628
],
[
618,
629
],
[
630,
630
],
[
630,
631
],
[
631,
632
],
[
632,
633
],
[
632,
634
],
[
631,
635
],
[
635,
636
],
[
636,
637
],
[
613,
638
],
[
638,
639
],
[
579,
640
],
[
640,
641
],
[
579,
642
],
[
642,
643
],
[
341,
644
],
[
644,
645
],
[
644,
646
],
[
646,
647
],
[
647,
648
],
[
647,
649
],
[
649,
650
],
[
650,
651
],
[
650,
652
],
[
653,
654
],
[
653,
655
],
[
649,
656
],
[
656,
657
],
[
657,
658
],
[
658,
659
],
[
658,
660
],
[
656,
661
],
[
661,
662
],
[
661,
663
],
[
656,
664
],
[
664,
665
],
[
665,
666
],
[
656,
667
],
[
668,
668
],
[
668,
669
],
[
669,
670
],
[
670,
671
],
[
670,
672
],
[
669,
673
],
[
673,
674
],
[
674,
675
],
[
649,
676
],
[
676,
677
],
[
647,
678
],
[
678,
679
],
[
679,
680
],
[
679,
681
],
[
678,
683
],
[
683,
684
],
[
684,
685
],
[
685,
686
],
[
685,
687
],
[
683,
688
],
[
688,
689
],
[
688,
690
],
[
683,
691
],
[
691,
692
],
[
692,
693
],
[
683,
694
],
[
695,
695
],
[
695,
696
],
[
696,
697
],
[
697,
698
],
[
697,
699
],
[
696,
700
],
[
700,
701
],
[
701,
702
],
[
678,
703
],
[
703,
704
],
[
644,
705
],
[
705,
706
],
[
644,
707
],
[
707,
708
],
[
0,
709
],
[
709,
710
],
[
709,
711
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\t\n\t\t\n\t\t\t\n\t\tslover();\n\t\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tprivate static int mod=998244353;\n\t\t\n\tprivate static int slover() {\n\t\t//p((int)'z'+\" \"+(int)'Z');\n\t\tStringBuffer S = new StringBuffer();\n\n\t\tlong N=sc.nextLong();\n\t\n\t\tlong i=26;\n\t\t//97\n\t\tlong a;long b;\n\t\t\n\t\twhile(true) {\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}p(S.reverse().toString());\n\t\treturn 1;\n\t\t\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n\t\n\t\n\t\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public double nextDouble(){\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}\n",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\t\n\t\t\n\t\t\t\n\t\tslover();\n\t\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tprivate static int mod=998244353;\n\t\t\n\tprivate static int slover() {\n\t\t//p((int)'z'+\" \"+(int)'Z');\n\t\tStringBuffer S = new StringBuffer();\n\n\t\tlong N=sc.nextLong();\n\t\n\t\tlong i=26;\n\t\t//97\n\t\tlong a;long b;\n\t\t\n\t\twhile(true) {\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}p(S.reverse().toString());\n\t\treturn 1;\n\t\t\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n\t\n\t\n\t\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public double nextDouble(){\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"Main",
"static FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"private static int INF =1000000007;",
"INF",
"1000000007",
"private static int mod=998244353;",
"mod",
"998244353",
"private static long[][] com;",
"com",
"public static void main(String[] args) {\n\n\n\t\t\n\t\t\n\t\t\t\n\t\tslover();\n\t\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t}",
"main",
"{\n\n\n\t\t\n\t\t\n\t\t\t\n\t\tslover();\n\t\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t}",
"slover()",
"slover",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }",
"gcd",
"{\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }",
"if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);",
"num2==0",
"num2",
"0",
"return num1;",
"num1",
"return gcd(num2,num1%num2);",
"gcd(num2,num1%num2)",
"gcd",
"num2",
"num1%num2",
"num1",
"num2",
"long num1",
"num1",
"long num2",
"num2",
"public static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}",
"lcm",
"{\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}",
"return num1*num2/gcd(num1,num2);",
"num1*num2/gcd(num1,num2)",
"num1*num2",
"num1",
"num2",
"gcd(num1,num2)",
"gcd",
"num1",
"num2",
"long num1",
"num1",
"long num2",
"num2",
"private static int slover() {\n\t\t//p((int)'z'+\" \"+(int)'Z');\n\t\tStringBuffer S = new StringBuffer();\n\n\t\tlong N=sc.nextLong();\n\t\n\t\tlong i=26;\n\t\t//97\n\t\tlong a;long b;\n\t\t\n\t\twhile(true) {\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}p(S.reverse().toString());\n\t\treturn 1;\n\t\t\n\t}",
"slover",
"{\n\t\t//p((int)'z'+\" \"+(int)'Z');\n\t\tStringBuffer S = new StringBuffer();\n\n\t\tlong N=sc.nextLong();\n\t\n\t\tlong i=26;\n\t\t//97\n\t\tlong a;long b;\n\t\t\n\t\twhile(true) {\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}p(S.reverse().toString());\n\t\treturn 1;\n\t\t\n\t}",
"StringBuffer S = new StringBuffer();",
"S",
"new StringBuffer()",
"long N=sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long i=26;",
"i",
"26",
"long a;",
"a",
"long b;",
"b",
"while(true) {\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}",
"true",
"{\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}",
"if(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}",
"N<=26",
"N",
"26",
"{\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}",
"S.append((char)(N+96))",
"S.append",
"S",
"(char)(N+96)",
"N",
"96",
"break;",
"a=N/26",
"a",
"N/26",
"N",
"26",
"b=N%26",
"b",
"N%26",
"N",
"26",
"N=a",
"N",
"a",
"if(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));",
"b==0",
"b",
"0",
"{\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}",
"N--",
"N",
"S.append('z')",
"S.append",
"S",
"'z'",
"S.append((char)(96+b))",
"S.append",
"S",
"(char)(96+b)",
"96",
"b",
"p(S.reverse().toString())",
"p",
"S.reverse().toString()",
"S.reverse().toString",
"S.reverse()",
"S.reverse",
"S",
"return 1;",
"1",
"private static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n\t\n\t\n\t\n}",
"nCr",
"{\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n\t\n\t\n\t\n}",
"int MAX = 3001;",
"MAX",
"3001",
"com= new long[MAX][MAX]",
"com",
"new long[MAX][MAX]",
"MAX",
"MAX",
"for(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < MAX",
"i",
"MAX",
"i++",
"i++",
"i",
"com[i][0] = 1;",
"com[i][0] = 1",
"com[i][0]",
"com[i]",
"com",
"i",
"0",
"1",
"for(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < MAX",
"i",
"MAX",
"i++",
"i++",
"i",
"{\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}",
"{\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}",
"for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }",
"{\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }",
"com[i][j] = com[i-1][j-1] + com[i-1][j]",
"com[i][j]",
"com[i]",
"com",
"i",
"j",
"com[i-1][j-1] + com[i-1][j]",
"com[i-1][j-1]",
"com[i-1]",
"com",
"i-1",
"i",
"1",
"j-1",
"j",
"1",
"com[i-1][j]",
"com[i-1]",
"com",
"i-1",
"i",
"1",
"j",
"com[i][j] %= mod",
"com[i][j]",
"com[i]",
"com",
"i",
"j",
"mod",
"static void p(String ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"String ans",
"ans",
"static void p(int ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"int ans",
"ans",
"static void p() {out.println();}",
"p",
"{out.println();}",
"out.println()",
"out.println",
"out",
"static void p(long ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"long ans",
"ans",
"static void p(double ans) {out.println(ans);}",
"p",
"{out.println(ans);}",
"out.println(ans)",
"out.println",
"out",
"ans",
"double ans",
"ans",
"static void pn(String ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"String ans",
"ans",
"static void pn(int ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"int ans",
"ans",
"static void pn() {out.print(\"\");}",
"pn",
"{out.print(\"\");}",
"out.print(\"\")",
"out.print",
"out",
"\"\"",
"static void pn(long ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"long ans",
"ans",
"static void pn(double ans) {out.print(ans);}",
"pn",
"{out.print(ans);}",
"out.print(ans)",
"out.print",
"out",
"ans",
"double ans",
"ans",
"private static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}",
"D",
"int a",
"a",
"b;",
"b",
"D(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}",
"D",
"{\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}",
"this.a=a",
"this.a",
"this",
"this.a",
"a",
"this.b=b",
"this.b",
"this",
"this.b",
"b",
"int a",
"a",
"int b",
"b",
"static class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public double nextDouble(){\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }",
"hasNextByte",
"{\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }",
"if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t return true;\n\t }",
"return true;",
"true",
"{\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }",
"ptr = 0",
"ptr",
"0",
"try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"IOException e",
"{\n\t e.printStackTrace();\n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t buflen = in.read(buffer);\n\t }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t return false;\n\t }",
"buflen <= 0",
"buflen",
"0",
"{\n\t return false;\n\t }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }",
"readByte",
"{\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }",
"if (hasNextByte()) return buffer[ptr++];\n\t else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }",
"isPrintableChar",
"{\n\t return 33 <= c && c <= 126;\n\t }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }",
"skipUnprintable",
"{\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }",
"hasNext",
"{\n\t skipUnprintable();\n\t return hasNextByte();\n\t }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }",
"next",
"{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }",
"nextLong",
"{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }",
"b == '-'",
"b",
"'-'",
"{\n\t minus = true;\n\t b = readByte();\n\t }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t throw new NumberFormatException();\n\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }",
"true",
"{\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }",
"if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t n *= 10;\n\t n += b - '0';\n\t }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t return minus ? -n : n;\n\t }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t throw new NumberFormatException();\n\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t return (int) nextLong();\n\t }",
"nextInt",
"{\n\t return (int) nextLong();\n\t }",
"return (int) nextLong();",
"(int) nextLong()",
"nextLong",
"public double nextDouble(){\n\t \treturn Double.parseDouble(next());\n\t }",
"nextDouble",
"{\n\t \treturn Double.parseDouble(next());\n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }",
"nextIntArray",
"{\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }",
"if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"oneBased",
"{\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"int[] array = new int[N + 1];",
"array",
"new int[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextInt();\n\t }",
"{\n\t array[i] = sc.nextInt();\n\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"{\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"int[] array = new int[N];",
"array",
"new int[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextInt();\n\t }",
"{\n\t array[i] = sc.nextInt();\n\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }",
"nextLongArray",
"{\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }",
"if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"oneBased",
"{\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"long[] array = new long[N + 1];",
"array",
"new long[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextLong();\n\t }",
"{\n\t array[i] = sc.nextLong();\n\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"{\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"long[] array = new long[N];",
"array",
"new long[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextLong();\n\t }",
"{\n\t array[i] = sc.nextLong();\n\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\t\n\t\t\n\t\t\t\n\t\tslover();\n\t\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tprivate static int mod=998244353;\n\t\t\n\tprivate static int slover() {\n\t\t//p((int)'z'+\" \"+(int)'Z');\n\t\tStringBuffer S = new StringBuffer();\n\n\t\tlong N=sc.nextLong();\n\t\n\t\tlong i=26;\n\t\t//97\n\t\tlong a;long b;\n\t\t\n\t\twhile(true) {\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}p(S.reverse().toString());\n\t\treturn 1;\n\t\t\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n\t\n\t\n\t\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public double nextDouble(){\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\n\n\t\t\n\t\t\n\t\t\t\n\t\tslover();\n\t\t\t\n\t\t\n\t\t\n\t\tout.flush();\n\t}\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\t//StringBuffer S = new StringBuffer(sc.next());\n\t\t//String hoge2 = str.reverse().toString();\n\t\t//map.containsKey(A)\n\t\t//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);\n\t\t/*for ( キーのデータ型 key : マップの名前.keySet() ) {\n\t\t\tデータのデータ型 data = マップの名前.get( key );\n\t \n\t\t\t// keyやdataを使った処理;\n\t\t}*/\n\t\t//int i = Integer.parseInt(s);\n\t\t//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される\n\t\t//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意\n\t\t//stackdfsは後ろから実行される\n\t\t//ArrayList<Integer> cc = new ArrayList<>(N);\n\t\t//cc.contains(tmp)\n\t\t//Arrays.asList(c).contains(\"a\")\n\t\t//list.set(1,\"walk\");//1 1 2 3 5\n\t \n\t \n\t\tprivate static int INF =1000000007;\n\t \n\t\t\n\t\tpublic static long gcd(long num1,long num2) {\n\t if(num2==0) return num1;\n\t else return gcd(num2,num1%num2);\n\t }\n\t\tpublic static long lcm(long num1,long num2) {\n\t\t\treturn num1*num2/gcd(num1,num2);\n\t\t}\n\t\tprivate static class D{\n\t\t\tint a,b;\n\t\t\tD(int a,int b){\n\t\t\t\tthis.a=a;;\n\t\t\t\tthis.b=b;\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tprivate static int mod=998244353;\n\t\t\n\tprivate static int slover() {\n\t\t//p((int)'z'+\" \"+(int)'Z');\n\t\tStringBuffer S = new StringBuffer();\n\n\t\tlong N=sc.nextLong();\n\t\n\t\tlong i=26;\n\t\t//97\n\t\tlong a;long b;\n\t\t\n\t\twhile(true) {\n\t\t\tif(N<=26) {\n\t\t\t\tS.append((char)(N+96));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ta=N/26;\n\t\t\tb=N%26;\n\t\t\tN=a;\n\t\t\tif(b==0) {\n\t\t\t\tN--;\n\t\t\t\tS.append('z');\n\t\t\t}\n\t\t\telse S.append((char)(96+b));\n\t\t}p(S.reverse().toString());\n\t\treturn 1;\n\t\t\n\t}\n\n/**/\n\nprivate static long[][] com;\nprivate static void nCr() {\n\tint MAX = 3001;\n\tcom= new long[MAX][MAX];\n\tfor(int i = 0; i < MAX; i++)\n\t com[i][0] = 1;\n\tfor(int i = 1; i < MAX; i++) {\n\t for(int j = 1; j <= i; j++) {\n\t com[i][j] = com[i-1][j-1] + com[i-1][j];\n\t com[i][j] %= mod;\n\t }\n\t}\n\t\n\t\n\t\n}\n\n\t\n\tstatic void p(String ans) {out.println(ans);};\n\tstatic void p(int ans) {out.println(ans);};\n\tstatic void p() {out.println();};\n\tstatic void p(long ans) {out.println(ans);};\n\tstatic void p(double ans) {out.println(ans);};\n\n\tstatic void pn(String ans) {out.print(ans);};\n\tstatic void pn(int ans) {out.print(ans);};\n\tstatic void pn() {out.print(\"\");};\n\tstatic void pn(long ans) {out.print(ans);};\n\tstatic void pn(double ans) {out.print(ans);};\n\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public double nextDouble(){\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
public class Main {
public static void main(String[] args) {
slover();
out.flush();
}
static FastScanner sc = new FastScanner();
static PrintWriter out = new PrintWriter(System.out);
//StringBuffer S = new StringBuffer(sc.next());
//String hoge2 = str.reverse().toString();
//map.containsKey(A)
//Map<Integer, Integer> map = new HashMap<Integer, Integer>(N);
/*for ( キーのデータ型 key : マップの名前.keySet() ) {
データのデータ型 data = マップの名前.get( key );
// keyやdataを使った処理;
}*/
//int i = Integer.parseInt(s);
//Queue<String> qq=new ArrayDeque<>(); //add,poll,peek BFSは前から実行される
//Deque<String> dd=new ArrayDeque<>();//push後ろに入れる,poll(pop)後ろからとる,peek addは先頭に入るからバグ注意
//stackdfsは後ろから実行される
//ArrayList<Integer> cc = new ArrayList<>(N);
//cc.contains(tmp)
//Arrays.asList(c).contains("a")
//list.set(1,"walk");//1 1 2 3 5
private static int INF =1000000007;
public static long gcd(long num1,long num2) {
if(num2==0) return num1;
else return gcd(num2,num1%num2);
}
public static long lcm(long num1,long num2) {
return num1*num2/gcd(num1,num2);
}
private static class D{
int a,b;
D(int a,int b){
this.a=a;;
this.b=b;
}
}
private static int mod=998244353;
private static int slover() {
//p((int)'z'+" "+(int)'Z');
StringBuffer S = new StringBuffer();
long N=sc.nextLong();
long i=26;
//97
long a;long b;
while(true) {
if(N<=26) {
S.append((char)(N+96));
break;
}
a=N/26;
b=N%26;
N=a;
if(b==0) {
N--;
S.append('z');
}
else S.append((char)(96+b));
}p(S.reverse().toString());
return 1;
}
/**/
private static long[][] com;
private static void nCr() {
int MAX = 3001;
com= new long[MAX][MAX];
for(int i = 0; i < MAX; i++)
com[i][0] = 1;
for(int i = 1; i < MAX; i++) {
for(int j = 1; j <= i; j++) {
com[i][j] = com[i-1][j-1] + com[i-1][j];
com[i][j] %= mod;
}
}
}
static void p(String ans) {out.println(ans);};
static void p(int ans) {out.println(ans);};
static void p() {out.println();};
static void p(long ans) {out.println(ans);};
static void p(double ans) {out.println(ans);};
static void pn(String ans) {out.print(ans);};
static void pn(int ans) {out.print(ans);};
static void pn() {out.print("");};
static void pn(long ans) {out.print(ans);};
static void pn(double ans) {out.print(ans);};
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) return buffer[ptr++];
else return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
private void skipUnprintable() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
}
public boolean hasNext() {
skipUnprintable();
return hasNextByte();
}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
return (int) nextLong();
}
public double nextDouble(){
return Double.parseDouble(next());
}
public int[] nextIntArray(int N, boolean oneBased) {
if (oneBased) {
int[] array = new int[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextInt();
}
return array;
} else {
int[] array = new int[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextInt();
}
return array;
}
}
public long[] nextLongArray(int N, boolean oneBased) {
if (oneBased) {
long[] array = new long[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextLong();
}
return array;
} else {
long[] array = new long[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextLong();
}
return array;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
40,
13,
4,
18,
13,
4,
13,
13,
0,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
41,
13,
17,
29,
2,
2,
13,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
4,
18,
13,
8,
13,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
516,
8
],
[
516,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
27,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
11,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
57,
58
],
[
9,
59
],
[
59,
60
],
[
516,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
63,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
61,
79
],
[
79,
80
],
[
516,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
81,
85
],
[
85,
86
],
[
81,
87
],
[
87,
88
],
[
81,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
95,
97
],
[
81,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
108,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
108,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
124,
125
],
[
108,
126
],
[
126,
127
],
[
127,
128
],
[
98,
129
],
[
129,
130
],
[
81,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
134,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
145,
148
],
[
141,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
141,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
156,
157
],
[
157,
158
],
[
141,
159
],
[
159,
160
],
[
160,
161
],
[
131,
162
],
[
162,
163
],
[
81,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
167,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
174,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
174,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
189,
190
],
[
190,
191
],
[
174,
192
],
[
192,
193
],
[
193,
194
],
[
164,
195
],
[
195,
196
],
[
81,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
200,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
211,
212
],
[
212,
213
],
[
211,
214
],
[
214,
215
],
[
214,
216
],
[
214,
217
],
[
207,
218
],
[
218,
219
],
[
219,
220
],
[
218,
221
],
[
207,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
225,
226
],
[
226,
227
],
[
207,
228
],
[
228,
229
],
[
229,
230
],
[
197,
231
],
[
231,
232
],
[
197,
233
],
[
233,
234
],
[
197,
235
],
[
235,
236
],
[
81,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
240,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
251,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
258,
260
],
[
251,
261
],
[
261,
262
],
[
262,
263
],
[
251,
264
],
[
265,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
266,
269
],
[
269,
270
],
[
269,
271
],
[
265,
272
],
[
272,
273
],
[
273,
274
],
[
272,
275
],
[
247,
276
],
[
276,
277
],
[
277,
278
],
[
276,
279
],
[
247,
280
],
[
280,
281
],
[
281,
282
],
[
280,
283
],
[
283,
284
],
[
284,
285
],
[
247,
286
],
[
286,
287
],
[
287,
288
],
[
237,
289
],
[
289,
290
],
[
237,
291
],
[
291,
292
],
[
81,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
296,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
303,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
307,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
314,
316
],
[
307,
317
],
[
317,
318
],
[
318,
319
],
[
307,
320
],
[
321,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
322,
325
],
[
325,
326
],
[
325,
327
],
[
321,
328
],
[
328,
329
],
[
329,
330
],
[
328,
331
],
[
303,
332
],
[
332,
333
],
[
333,
334
],
[
332,
335
],
[
303,
336
],
[
336,
337
],
[
337,
338
],
[
336,
339
],
[
339,
340
],
[
340,
341
],
[
303,
342
],
[
342,
343
],
[
343,
344
],
[
293,
345
],
[
345,
346
],
[
293,
347
],
[
347,
348
],
[
81,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
352,
361
],
[
361,
362
],
[
362,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
362,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
351,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
81,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
381,
384
],
[
384,
385
],
[
81,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
393,
398
],
[
398,
399
],
[
398,
400
],
[
393,
401
],
[
401,
402
],
[
402,
403
],
[
393,
404
],
[
405,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
406,
410
],
[
410,
411
],
[
388,
412
],
[
412,
413
],
[
386,
414
],
[
414,
415
],
[
81,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
418,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
425,
427
],
[
423,
428
],
[
428,
429
],
[
428,
430
],
[
423,
431
],
[
431,
432
],
[
432,
433
],
[
423,
434
],
[
435,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
440,
441
],
[
418,
442
],
[
442,
443
],
[
416,
444
],
[
444,
445
],
[
81,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
449,
450
],
[
449,
451
],
[
448,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
455,
457
],
[
453,
458
],
[
458,
459
],
[
458,
460
],
[
453,
461
],
[
461,
462
],
[
462,
463
],
[
453,
464
],
[
465,
465
],
[
465,
466
],
[
466,
467
],
[
467,
468
],
[
467,
469
],
[
466,
470
],
[
470,
471
],
[
448,
472
],
[
472,
473
],
[
446,
474
],
[
474,
475
],
[
81,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
479,
480
],
[
480,
481
],
[
481,
482
],
[
480,
483
],
[
483,
484
],
[
81,
485
],
[
485,
486
],
[
485,
487
],
[
487,
488
],
[
488,
489
],
[
489,
490
],
[
490,
491
],
[
489,
492
],
[
492,
493
],
[
81,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
497,
498
],
[
497,
499
],
[
496,
500
],
[
500,
501
],
[
501,
502
],
[
501,
503
],
[
503,
504
],
[
504,
505
],
[
505,
506
],
[
500,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
511,
512
],
[
496,
513
],
[
513,
514
],
[
0,
515
],
[
515,
516
],
[
515,
517
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n IO io = new IO();\n\n long n = io.nextLong();\n //n = n - 1;\n \n StringBuilder sb = new StringBuilder();\n while (n != 0) { \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }\n //sb.append(getV(n));\n \n sb.reverse();\n io.write(sb.toString());\n }\n \n static char getV(long v) {\n\n if (v == 0) return 'z';\n\n int a = 'a';\n\n return (char) (a + (int)v - 1);\n }\n\n\n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public double nextDouble() {\n return Double.parseDouble(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n IO io = new IO();\n\n long n = io.nextLong();\n //n = n - 1;\n \n StringBuilder sb = new StringBuilder();\n while (n != 0) { \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }\n //sb.append(getV(n));\n \n sb.reverse();\n io.write(sb.toString());\n }\n \n static char getV(long v) {\n\n if (v == 0) return 'z';\n\n int a = 'a';\n\n return (char) (a + (int)v - 1);\n }\n\n\n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public double nextDouble() {\n return Double.parseDouble(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n\n IO io = new IO();\n\n long n = io.nextLong();\n //n = n - 1;\n \n StringBuilder sb = new StringBuilder();\n while (n != 0) { \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }\n //sb.append(getV(n));\n \n sb.reverse();\n io.write(sb.toString());\n }",
"main",
"{\n\n IO io = new IO();\n\n long n = io.nextLong();\n //n = n - 1;\n \n StringBuilder sb = new StringBuilder();\n while (n != 0) { \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }\n //sb.append(getV(n));\n \n sb.reverse();\n io.write(sb.toString());\n }",
"IO io = new IO();",
"io",
"new IO()",
"long n = io.nextLong();",
"n",
"io.nextLong()",
"io.nextLong",
"io",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n != 0) { \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }",
"n != 0",
"n",
"0",
"{ \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }",
"long v = n % 26;",
"v",
"n % 26",
"n",
"26",
"if (v == 0) n--;",
"v == 0",
"v",
"0",
"n--",
"n",
"sb.append(getV(v))",
"sb.append",
"sb",
"getV(v)",
"getV",
"v",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"sb.reverse()",
"sb.reverse",
"sb",
"io.write(sb.toString())",
"io.write",
"io",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"static char getV(long v) {\n\n if (v == 0) return 'z';\n\n int a = 'a';\n\n return (char) (a + (int)v - 1);\n }",
"getV",
"{\n\n if (v == 0) return 'z';\n\n int a = 'a';\n\n return (char) (a + (int)v - 1);\n }",
"if (v == 0) return 'z';",
"v == 0",
"v",
"0",
"return 'z';",
"'z'",
"int a = 'a';",
"a",
"'a'",
"return (char) (a + (int)v - 1);",
"(char) (a + (int)v - 1)",
"a + (int)v",
"a",
"(int)v",
"1",
"long v",
"v",
"static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public double nextDouble() {\n return Double.parseDouble(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }",
"IO",
"BufferedWriter bw;",
"bw",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }",
"IO",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"bw = new BufferedWriter(new OutputStreamWriter(System.out))",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }",
"write",
"{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }",
"try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }",
"catch(Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"sb.append(s)",
"sb.append",
"sb",
"s",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"bw.write(sb.toString())",
"bw.write",
"bw",
"sb.toString()",
"sb.toString",
"sb",
"bw.flush()",
"bw.flush",
"bw",
"String s",
"s",
"public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"write",
"{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }",
"catch(Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"sb.append(value)",
"sb.append",
"sb",
"value",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"bw.write(sb.toString())",
"bw.write",
"bw",
"sb.toString()",
"sb.toString",
"sb",
"bw.flush()",
"bw.flush",
"bw",
"long value",
"value",
"public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"write",
"{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }",
"catch(Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"sb.append(value)",
"sb.append",
"sb",
"value",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"bw.write(sb.toString())",
"bw.write",
"bw",
"sb.toString()",
"sb.toString",
"sb",
"bw.flush()",
"bw.flush",
"bw",
"int value",
"value",
"public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"write",
"{\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }",
"catch(Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"sb.append(b ? truev : falsv)",
"sb.append",
"sb",
"b ? truev : falsv",
"b",
"truev",
"falsv",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"bw.write(sb.toString())",
"bw.write",
"bw",
"sb.toString()",
"sb.toString",
"sb",
"bw.flush()",
"bw.flush",
"bw",
"boolean b",
"b",
"String truev",
"truev",
"String falsv",
"falsv",
"public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"write",
"{\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }",
"catch(Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n sb.append(a[i]);\n sb.append(sep);\n }",
"{\n sb.append(a[i]);\n sb.append(sep);\n }",
"sb.append(a[i])",
"sb.append",
"sb",
"a[i]",
"a",
"i",
"sb.append(sep)",
"sb.append",
"sb",
"sep",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"bw.write(sb.toString())",
"bw.write",
"bw",
"sb.toString()",
"sb.toString",
"sb",
"bw.flush()",
"bw.flush",
"bw",
"int[] a",
"a",
"char sep",
"sep",
"public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"write",
"{\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }",
"catch(Exception e) {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{\n sb.append(a[i]);\n sb.append(sep);\n }",
"{\n sb.append(a[i]);\n sb.append(sep);\n }",
"sb.append(a[i])",
"sb.append",
"sb",
"a[i]",
"a",
"i",
"sb.append(sep)",
"sb.append",
"sb",
"sep",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"bw.write(sb.toString())",
"bw.write",
"bw",
"sb.toString()",
"sb.toString",
"sb",
"bw.flush()",
"bw.flush",
"bw",
"long[] a",
"a",
"char sep",
"sep",
"public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"nIntA",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextInt();\n }",
"{\n a[i] = nextInt();\n }",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }",
"nLongA",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextLong();\n }",
"{\n a[i] = nextLong();\n }",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"int n",
"n",
"public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }",
"nDoubleA",
"{\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }",
"double[] a = new double[n];",
"a",
"new double[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nextDouble();\n }",
"{\n a[i] = nextDouble();\n }",
"a[i] = nextDouble()",
"a[i]",
"a",
"i",
"nextDouble()",
"nextDouble",
"return a;",
"a",
"int n",
"n",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double nextDouble() {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n str = br.readLine();\n }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main {\n public static void main(String[] args) {\n\n IO io = new IO();\n\n long n = io.nextLong();\n //n = n - 1;\n \n StringBuilder sb = new StringBuilder();\n while (n != 0) { \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }\n //sb.append(getV(n));\n \n sb.reverse();\n io.write(sb.toString());\n }\n \n static char getV(long v) {\n\n if (v == 0) return 'z';\n\n int a = 'a';\n\n return (char) (a + (int)v - 1);\n }\n\n\n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public double nextDouble() {\n return Double.parseDouble(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n IO io = new IO();\n\n long n = io.nextLong();\n //n = n - 1;\n \n StringBuilder sb = new StringBuilder();\n while (n != 0) { \n long v = n % 26;\n if (v == 0) n--;\n sb.append(getV(v));\n n = n / 26;\n }\n //sb.append(getV(n));\n \n sb.reverse();\n io.write(sb.toString());\n }\n \n static char getV(long v) {\n\n if (v == 0) return 'z';\n\n int a = 'a';\n\n return (char) (a + (int)v - 1);\n }\n\n\n static class IO {\n BufferedWriter bw;\n BufferedReader br;\n StringTokenizer st;\n\n public IO() {\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n }\n\n public void write(String s) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(s);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n } \n }\n\n public void write(long value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int value) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(value);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(boolean b, String truev, String falsv) {\n try {\n StringBuilder sb = new StringBuilder();\n sb.append(b ? truev : falsv);\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(int[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n\n public void write(long[] a, char sep) {\n try {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < a.length; i++) {\n sb.append(a[i]);\n sb.append(sep);\n }\n sb.append(\"\\n\");\n bw.write(sb.toString());\n bw.flush();\n } catch(Exception e) {\n e.printStackTrace();\n }\n }\n \n public String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n \n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nIntA(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }\n\n public long[] nLongA(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextLong();\n }\n return a;\n }\n\n public double[] nDoubleA(int n) {\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextDouble();\n }\n return a;\n }\n \n public long nextLong() {\n return Long.parseLong(next());\n }\n \n public double nextDouble() {\n return Double.parseDouble(next());\n }\n \n public String nextLine() {\n String str = \"\";\n try{\n str = br.readLine();\n }\n catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
IO io = new IO();
long n = io.nextLong();
//n = n - 1;
StringBuilder sb = new StringBuilder();
while (n != 0) {
long v = n % 26;
if (v == 0) n--;
sb.append(getV(v));
n = n / 26;
}
//sb.append(getV(n));
sb.reverse();
io.write(sb.toString());
}
static char getV(long v) {
if (v == 0) return 'z';
int a = 'a';
return (char) (a + (int)v - 1);
}
static class IO {
BufferedWriter bw;
BufferedReader br;
StringTokenizer st;
public IO() {
br = new BufferedReader(new InputStreamReader(System.in));
bw = new BufferedWriter(new OutputStreamWriter(System.out));
}
public void write(String s) {
try {
StringBuilder sb = new StringBuilder();
sb.append(s);
sb.append("\n");
bw.write(sb.toString());
bw.flush();
} catch(Exception e) {
e.printStackTrace();
}
}
public void write(long value) {
try {
StringBuilder sb = new StringBuilder();
sb.append(value);
sb.append("\n");
bw.write(sb.toString());
bw.flush();
} catch(Exception e) {
e.printStackTrace();
}
}
public void write(int value) {
try {
StringBuilder sb = new StringBuilder();
sb.append(value);
sb.append("\n");
bw.write(sb.toString());
bw.flush();
} catch(Exception e) {
e.printStackTrace();
}
}
public void write(boolean b, String truev, String falsv) {
try {
StringBuilder sb = new StringBuilder();
sb.append(b ? truev : falsv);
sb.append("\n");
bw.write(sb.toString());
bw.flush();
} catch(Exception e) {
e.printStackTrace();
}
}
public void write(int[] a, char sep) {
try {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < a.length; i++) {
sb.append(a[i]);
sb.append(sep);
}
sb.append("\n");
bw.write(sb.toString());
bw.flush();
} catch(Exception e) {
e.printStackTrace();
}
}
public void write(long[] a, char sep) {
try {
StringBuilder sb = new StringBuilder();
for (int i = 0; i < a.length; i++) {
sb.append(a[i]);
sb.append(sep);
}
sb.append("\n");
bw.write(sb.toString());
bw.flush();
} catch(Exception e) {
e.printStackTrace();
}
}
public String next() {
while (st == null || !st.hasMoreElements()) {
try {
st = new StringTokenizer(br.readLine());
}
catch (IOException e) {
e.printStackTrace();
}
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public int[] nIntA(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public long[] nLongA(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = nextLong();
}
return a;
}
public double[] nDoubleA(int n) {
double[] a = new double[n];
for (int i = 0; i < n; i++) {
a[i] = nextDouble();
}
return a;
}
public long nextLong() {
return Long.parseLong(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public String nextLine() {
String str = "";
try{
str = br.readLine();
}
catch (IOException e) {
e.printStackTrace();
}
return str;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
20,
17,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
40,
13,
41,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
40,
13,
30,
3,
4,
13,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
18,
13,
2,
13,
17,
0,
13,
2,
13,
18,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
41,
13,
4,
18,
13,
18,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
188,
17
],
[
188,
18
],
[
18,
19
],
[
188,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
27
],
[
27,
28
],
[
27,
29
],
[
22,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
22,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
22,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
41,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
22,
65
],
[
65,
66
],
[
22,
67
],
[
67,
68
],
[
67,
69
],
[
22,
70
],
[
70,
71
],
[
70,
72
],
[
22,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
84,
90
],
[
90,
91
],
[
78,
92
],
[
92,
93
],
[
22,
94
],
[
94,
95
],
[
94,
96
],
[
94,
97
],
[
94,
98
],
[
20,
99
],
[
99,
100
],
[
188,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
107,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
126,
128
],
[
119,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
119,
138
],
[
138,
139
],
[
139,
140
],
[
138,
141
],
[
141,
142
],
[
141,
143
],
[
103,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
101,
150
],
[
150,
151
],
[
101,
152
],
[
152,
153
],
[
101,
154
],
[
154,
155
],
[
188,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
164,
169
],
[
158,
170
],
[
170,
171
],
[
170,
172
],
[
158,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
175,
178
],
[
178,
179
],
[
178,
180
],
[
158,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
156,
185
],
[
185,
186
],
[
0,
187
],
[
187,
188
],
[
187,
189
]
]
| [
"import java.util.*;\nimport java.io.*;\nimport java.math.BigDecimal;\nimport java.nio.file.Files;\nimport java.nio.charset.StandardCharsets;\n//给出两个数a,b 求出[a,b]中各位数字之和能整除原数的数的个数。\npublic class Main {\n\n int mod ;\n //\n //int[][] dp = new int[1001][1001];\n void solve(long n) {\n long[] fact = new long[17];\n long[] dp = new long[17];\n fact[1] = (long)26;\n fact[0] = (long)1;\n //dp[0] = 0;\n for(int i=1;i<=14;i++){\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }\n n--;\n long k = n;\n int cnt = 1;\n while(k>=0){\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }\n //System.out.println(k+\" \"+cnt);\n helper(fact,cnt,k);\n\n }\n void helper(long[] fact, int len, long n){\n StringBuilder sb = new StringBuilder();\n for(int i=len;i>=1;i--){\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }\n System.out.println(sb);\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n long n = Long.parseLong(s[0]);\n\n test.solve(n);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.nio.file.Files;",
"Files",
"java.nio.file",
"import java.nio.charset.StandardCharsets;",
"StandardCharsets",
"java.nio.charset",
"public class Main {\n\n int mod ;\n //\n //int[][] dp = new int[1001][1001];\n void solve(long n) {\n long[] fact = new long[17];\n long[] dp = new long[17];\n fact[1] = (long)26;\n fact[0] = (long)1;\n //dp[0] = 0;\n for(int i=1;i<=14;i++){\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }\n n--;\n long k = n;\n int cnt = 1;\n while(k>=0){\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }\n //System.out.println(k+\" \"+cnt);\n helper(fact,cnt,k);\n\n }\n void helper(long[] fact, int len, long n){\n StringBuilder sb = new StringBuilder();\n for(int i=len;i>=1;i--){\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }\n System.out.println(sb);\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n long n = Long.parseLong(s[0]);\n\n test.solve(n);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"Main",
"int mod ;",
"mod",
"//\n //int[][] dp = new int[1001][1001];\n void solve(long n) {\n long[] fact = new long[17];\n long[] dp = new long[17];\n fact[1] = (long)26;\n fact[0] = (long)1;\n //dp[0] = 0;\n for(int i=1;i<=14;i++){\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }\n n--;\n long k = n;\n int cnt = 1;\n while(k>=0){\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }\n //System.out.println(k+\" \"+cnt);\n helper(fact,cnt,k);\n\n }",
"solve",
"{\n long[] fact = new long[17];\n long[] dp = new long[17];\n fact[1] = (long)26;\n fact[0] = (long)1;\n //dp[0] = 0;\n for(int i=1;i<=14;i++){\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }\n n--;\n long k = n;\n int cnt = 1;\n while(k>=0){\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }\n //System.out.println(k+\" \"+cnt);\n helper(fact,cnt,k);\n\n }",
"long[] fact = new long[17];",
"fact",
"new long[17]",
"17",
"long[] dp = new long[17];",
"dp",
"new long[17]",
"17",
"fact[1] = (long)26",
"fact[1]",
"fact",
"1",
"(long)26",
"fact[0] = (long)1",
"fact[0]",
"fact",
"0",
"(long)1",
"for(int i=1;i<=14;i++){\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=14",
"i",
"14",
"i++",
"i++",
"i",
"{\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }",
"{\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }",
"fact[i] = fact[i-1]*26",
"fact[i]",
"fact",
"i",
"fact[i-1]*26",
"fact[i-1]",
"fact",
"i-1",
"i",
"1",
"26",
"n--",
"n",
"long k = n;",
"k",
"n",
"int cnt = 1;",
"cnt",
"1",
"while(k>=0){\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }",
"k>=0",
"k",
"0",
"{\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }",
"if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }",
"k>=fact[cnt]",
"k",
"fact[cnt]",
"fact",
"cnt",
"{\n k-=fact[cnt];\n cnt++;\n }",
"k-=fact[cnt]",
"k",
"fact[cnt]",
"fact",
"cnt",
"cnt++",
"cnt",
"{\n break;\n }",
"break;",
"helper(fact,cnt,k)",
"helper",
"fact",
"cnt",
"k",
"long n",
"n",
"void helper(long[] fact, int len, long n){\n StringBuilder sb = new StringBuilder();\n for(int i=len;i>=1;i--){\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }\n System.out.println(sb);\n\n }",
"helper",
"{\n StringBuilder sb = new StringBuilder();\n for(int i=len;i>=1;i--){\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }\n System.out.println(sb);\n\n }",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i=len;i>=1;i--){\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }",
"int i=len;",
"int i=len;",
"i",
"len",
"i>=1",
"i",
"1",
"i--",
"i--",
"i",
"{\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }",
"{\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }",
"long idx = n/fact[i-1];",
"idx",
"n/fact[i-1]",
"n",
"fact[i-1]",
"fact",
"i-1",
"i",
"1",
"n -= idx*fact[i-1]",
"n",
"idx*fact[i-1]",
"idx",
"fact[i-1]",
"fact",
"i-1",
"i",
"1",
"sb.append((char) ((int)idx+'a'))",
"sb.append",
"sb",
"(char) ((int)idx+'a')",
"(int)idx",
"'a'",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"long[] fact",
"fact",
"int len",
"len",
"long n",
"n",
"public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n long n = Long.parseLong(s[0]);\n\n test.solve(n);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }",
"main",
"{\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n long n = Long.parseLong(s[0]);\n\n test.solve(n);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s = br.readLine().split(\" \");",
"s",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"Main test = new Main();",
"test",
"new Main()",
"long n = Long.parseLong(s[0]);",
"n",
"Long.parseLong(s[0])",
"Long.parseLong",
"Long",
"s[0]",
"s",
"0",
"test.solve(n)",
"test.solve",
"test",
"n",
"String[] args",
"args",
"public class Main {\n\n int mod ;\n //\n //int[][] dp = new int[1001][1001];\n void solve(long n) {\n long[] fact = new long[17];\n long[] dp = new long[17];\n fact[1] = (long)26;\n fact[0] = (long)1;\n //dp[0] = 0;\n for(int i=1;i<=14;i++){\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }\n n--;\n long k = n;\n int cnt = 1;\n while(k>=0){\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }\n //System.out.println(k+\" \"+cnt);\n helper(fact,cnt,k);\n\n }\n void helper(long[] fact, int len, long n){\n StringBuilder sb = new StringBuilder();\n for(int i=len;i>=1;i--){\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }\n System.out.println(sb);\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n long n = Long.parseLong(s[0]);\n\n test.solve(n);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"public class Main {\n\n int mod ;\n //\n //int[][] dp = new int[1001][1001];\n void solve(long n) {\n long[] fact = new long[17];\n long[] dp = new long[17];\n fact[1] = (long)26;\n fact[0] = (long)1;\n //dp[0] = 0;\n for(int i=1;i<=14;i++){\n fact[i] = fact[i-1]*26;\n //dp[i] = dp[i-1]+fact[i];\n //System.out.println(i+\" \" +fact[i]);\n }\n n--;\n long k = n;\n int cnt = 1;\n while(k>=0){\n if(k>=fact[cnt]){\n k-=fact[cnt];\n cnt++;\n }else{\n break;\n }\n }\n //System.out.println(k+\" \"+cnt);\n helper(fact,cnt,k);\n\n }\n void helper(long[] fact, int len, long n){\n StringBuilder sb = new StringBuilder();\n for(int i=len;i>=1;i--){\n long idx = n/fact[i-1];\n //System.out.println(idx);\n n -= idx*fact[i-1];\n sb.append((char) ((int)idx+'a'));\n }\n System.out.println(sb);\n\n }\n\n\n public static void main(String[] args) throws IOException {\n // Use the Scanner class\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] s = br.readLine().split(\" \");\n Main test = new Main();\n\n long n = Long.parseLong(s[0]);\n\n test.solve(n);\n //int tot = Integer.parseInt(br.readLine());\n\n\n// int i =1;\n// System.out.println();\n// while(tot>0){\n//\n// String s = br.readLine();\n// String[] sr = s.split(\" \");\n// List<Long> ls = new ArrayList<>();\n// for(String ss:sr){\n// ls.add(Long.parseLong(ss));\n// }\n// Main tt = new Main();\n// tt.sol(ls);\n// // String Buffer to store answer\n// StringBuffer sb = new StringBuffer();\n//// Solution obj = new Solution();\n////\n//// System.out.println(\"Case #\"+i+\": \"+obj.sol());\n// tot--;\n// i++;\n// }\n }\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
import java.math.BigDecimal;
import java.nio.file.Files;
import java.nio.charset.StandardCharsets;
//给出两个数a,b 求出[a,b]中各位数字之和能整除原数的数的个数。
public class Main {
int mod ;
//
//int[][] dp = new int[1001][1001];
void solve(long n) {
long[] fact = new long[17];
long[] dp = new long[17];
fact[1] = (long)26;
fact[0] = (long)1;
//dp[0] = 0;
for(int i=1;i<=14;i++){
fact[i] = fact[i-1]*26;
//dp[i] = dp[i-1]+fact[i];
//System.out.println(i+" " +fact[i]);
}
n--;
long k = n;
int cnt = 1;
while(k>=0){
if(k>=fact[cnt]){
k-=fact[cnt];
cnt++;
}else{
break;
}
}
//System.out.println(k+" "+cnt);
helper(fact,cnt,k);
}
void helper(long[] fact, int len, long n){
StringBuilder sb = new StringBuilder();
for(int i=len;i>=1;i--){
long idx = n/fact[i-1];
//System.out.println(idx);
n -= idx*fact[i-1];
sb.append((char) ((int)idx+'a'));
}
System.out.println(sb);
}
public static void main(String[] args) throws IOException {
// Use the Scanner class
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String[] s = br.readLine().split(" ");
Main test = new Main();
long n = Long.parseLong(s[0]);
test.solve(n);
//int tot = Integer.parseInt(br.readLine());
// int i =1;
// System.out.println();
// while(tot>0){
//
// String s = br.readLine();
// String[] sr = s.split(" ");
// List<Long> ls = new ArrayList<>();
// for(String ss:sr){
// ls.add(Long.parseLong(ss));
// }
// Main tt = new Main();
// tt.sol(ls);
// // String Buffer to store answer
// StringBuffer sb = new StringBuffer();
//// Solution obj = new Solution();
////
//// System.out.println("Case #"+i+": "+obj.sol());
// tot--;
// i++;
// }
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
40,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
13,
0,
13,
2,
2,
13,
17,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
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
],
[
85,
11
],
[
85,
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
],
[
14,
25
],
[
25,
26
],
[
25,
27
],
[
14,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
32,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
55,
59
],
[
51,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
64,
65
],
[
51,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
14,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
12,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n--;\n List<Character> ansList = new ArrayList<>();\n while (n>=0) {\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }\n\n for (int i=ansList.size()-1;i>=0;i--) {\n System.out.print(ansList.get(i));\n }\n System.out.println();\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n--;\n List<Character> ansList = new ArrayList<>();\n while (n>=0) {\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }\n\n for (int i=ansList.size()-1;i>=0;i--) {\n System.out.print(ansList.get(i));\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n--;\n List<Character> ansList = new ArrayList<>();\n while (n>=0) {\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }\n\n for (int i=ansList.size()-1;i>=0;i--) {\n System.out.print(ansList.get(i));\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n--;\n List<Character> ansList = new ArrayList<>();\n while (n>=0) {\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }\n\n for (int i=ansList.size()-1;i>=0;i--) {\n System.out.print(ansList.get(i));\n }\n System.out.println();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"n--",
"n",
"List<Character> ansList = new ArrayList<>();",
"ansList",
"new ArrayList<>()",
"while (n>=0) {\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }",
"n>=0",
"n",
"0",
"{\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }",
"long nAns = n % 26 + 97;",
"nAns",
"n % 26 + 97",
"n % 26",
"n",
"26",
"97",
"ansList.add((char) nAns)",
"ansList.add",
"ansList",
"(char) nAns",
"n = n / 26 - 1",
"n",
"n / 26 - 1",
"n / 26",
"n",
"26",
"1",
"for (int i=ansList.size()-1;i>=0;i--) {\n System.out.print(ansList.get(i));\n }",
"int i=ansList.size()-1;",
"int i=ansList.size()-1;",
"i",
"ansList.size()-1",
"ansList.size()",
"ansList.size",
"ansList",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(ansList.get(i));\n }",
"{\n System.out.print(ansList.get(i));\n }",
"System.out.print(ansList.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"ansList.get(i)",
"ansList.get",
"ansList",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n--;\n List<Character> ansList = new ArrayList<>();\n while (n>=0) {\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }\n\n for (int i=ansList.size()-1;i>=0;i--) {\n System.out.print(ansList.get(i));\n }\n System.out.println();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n--;\n List<Character> ansList = new ArrayList<>();\n while (n>=0) {\n long nAns = n % 26 + 97;\n ansList.add((char) nAns);\n n = n / 26 - 1;\n }\n\n for (int i=ansList.size()-1;i>=0;i--) {\n System.out.print(ansList.get(i));\n }\n System.out.println();\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
n--;
List<Character> ansList = new ArrayList<>();
while (n>=0) {
long nAns = n % 26 + 97;
ansList.add((char) nAns);
n = n / 26 - 1;
}
for (int i=ansList.size()-1;i>=0;i--) {
System.out.print(ansList.get(i));
}
System.out.println();
}
}
|
[
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,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
17,
30,
40,
13,
0,
13,
13,
30,
3,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
4,
18,
4,
18,
13,
2,
13,
17,
17,
17,
4,
18,
13,
13,
14,
2,
4,
18,
13,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
41,
13,
2,
13,
4,
18,
13,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
2,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
186,
11
],
[
186,
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
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
39,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
39,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
53,
58
],
[
52,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
62,
64
],
[
52,
65
],
[
65,
66
],
[
14,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
14,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
14,
79
],
[
79,
80
],
[
79,
81
],
[
14,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
82,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
105,
107
],
[
100,
108
],
[
98,
109
],
[
95,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
14,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
115,
119
],
[
114,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
120,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
125,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
124,
136
],
[
136,
137
],
[
136,
138
],
[
124,
139
],
[
139,
140
],
[
140,
141
],
[
124,
142
],
[
143,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
120,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
149,
151
],
[
14,
152
],
[
152,
153
],
[
152,
154
],
[
14,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
160,
161
],
[
160,
162
],
[
155,
163
],
[
163,
164
],
[
164,
165
],
[
155,
166
],
[
167,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
170,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
14,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
177,
182
],
[
12,
183
],
[
183,
184
],
[
0,
185
],
[
185,
186
],
[
185,
187
]
]
| [
"import java.math.BigInteger;\n import java.util.*;\n import java.util.stream.Collectors;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = new BigInteger(sc.next());\n BigInteger c26 = new BigInteger(\"26\");\n BigInteger tmp = BigInteger.ONE;\n BigInteger sum = BigInteger.ONE;\n int digit = 1;\n while (true) {\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }\n\n BigInteger remain = n.subtract(sum);\n String s = remain.toString(26);\n\n Map<Character, String> map = new HashMap<>();\n for (char i = 'a'; i <= 'z'; i++) {\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }\n if (s.length() < digit) {\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }\n String result = \"\";\n for (int i = 0; i < digit; i++) {\n result += map.get(s.charAt(i));\n }\n System.out.println(result);\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.util.stream.Collectors;",
"Collectors",
"java.util.stream",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = new BigInteger(sc.next());\n BigInteger c26 = new BigInteger(\"26\");\n BigInteger tmp = BigInteger.ONE;\n BigInteger sum = BigInteger.ONE;\n int digit = 1;\n while (true) {\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }\n\n BigInteger remain = n.subtract(sum);\n String s = remain.toString(26);\n\n Map<Character, String> map = new HashMap<>();\n for (char i = 'a'; i <= 'z'; i++) {\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }\n if (s.length() < digit) {\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }\n String result = \"\";\n for (int i = 0; i < digit; i++) {\n result += map.get(s.charAt(i));\n }\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = new BigInteger(sc.next());\n BigInteger c26 = new BigInteger(\"26\");\n BigInteger tmp = BigInteger.ONE;\n BigInteger sum = BigInteger.ONE;\n int digit = 1;\n while (true) {\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }\n\n BigInteger remain = n.subtract(sum);\n String s = remain.toString(26);\n\n Map<Character, String> map = new HashMap<>();\n for (char i = 'a'; i <= 'z'; i++) {\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }\n if (s.length() < digit) {\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }\n String result = \"\";\n for (int i = 0; i < digit; i++) {\n result += map.get(s.charAt(i));\n }\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n BigInteger n = new BigInteger(sc.next());\n BigInteger c26 = new BigInteger(\"26\");\n BigInteger tmp = BigInteger.ONE;\n BigInteger sum = BigInteger.ONE;\n int digit = 1;\n while (true) {\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }\n\n BigInteger remain = n.subtract(sum);\n String s = remain.toString(26);\n\n Map<Character, String> map = new HashMap<>();\n for (char i = 'a'; i <= 'z'; i++) {\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }\n if (s.length() < digit) {\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }\n String result = \"\";\n for (int i = 0; i < digit; i++) {\n result += map.get(s.charAt(i));\n }\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigInteger n = new BigInteger(sc.next());",
"n",
"new BigInteger(sc.next())",
"BigInteger c26 = new BigInteger(\"26\");",
"c26",
"new BigInteger(\"26\")",
"BigInteger tmp = BigInteger.ONE;",
"tmp",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"BigInteger sum = BigInteger.ONE;",
"sum",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"int digit = 1;",
"digit",
"1",
"while (true) {\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }",
"true",
"{\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }",
"tmp = tmp.multiply(c26)",
"tmp",
"tmp.multiply(c26)",
"tmp.multiply",
"tmp",
"c26",
"BigInteger t = sum.add(tmp);",
"t",
"sum.add(tmp)",
"sum.add",
"sum",
"tmp",
"if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }",
"t.compareTo(n) <= 0",
"t.compareTo(n)",
"t.compareTo",
"t",
"n",
"0",
"{\n digit++;\n sum = t;\n }",
"digit++",
"digit",
"sum = t",
"sum",
"t",
"{\n break;\n }",
"break;",
"BigInteger remain = n.subtract(sum);",
"remain",
"n.subtract(sum)",
"n.subtract",
"n",
"sum",
"String s = remain.toString(26);",
"s",
"remain.toString(26)",
"remain.toString",
"remain",
"26",
"Map<Character, String> map = new HashMap<>();",
"map",
"new HashMap<>()",
"for (char i = 'a'; i <= 'z'; i++) {\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }",
"char i = 'a';",
"char i = 'a';",
"i",
"'a'",
"i <= 'z'",
"i",
"'z'",
"i++",
"i++",
"i",
"{\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }",
"{\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }",
"map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i))",
"map.put",
"map",
"BigInteger.valueOf(i - 'a').toString(26).charAt(0)",
"BigInteger.valueOf(i - 'a').toString(26).charAt",
"BigInteger.valueOf(i - 'a').toString(26)",
"BigInteger.valueOf(i - 'a').toString",
"BigInteger.valueOf(i - 'a')",
"BigInteger.valueOf",
"BigInteger",
"i - 'a'",
"i",
"'a'",
"26",
"0",
"Character.toString(i)",
"Character.toString",
"Character",
"i",
"if (s.length() < digit) {\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }",
"s.length() < digit",
"s.length()",
"s.length",
"s",
"digit",
"{\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }",
"String t = \"\";",
"t",
"\"\"",
"for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }",
"int i = 0, len = digit - s.length();",
"int i = 0",
"i",
"0",
"len = digit - s.length();",
"len",
"digit - s.length()",
"digit",
"s.length()",
"s.length",
"s",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n t += \"0\";\n }",
"{\n t += \"0\";\n }",
"t += \"0\"",
"t",
"\"0\"",
"s = t + s",
"s",
"t + s",
"t",
"s",
"String result = \"\";",
"result",
"\"\"",
"for (int i = 0; i < digit; i++) {\n result += map.get(s.charAt(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < digit",
"i",
"digit",
"i++",
"i++",
"i",
"{\n result += map.get(s.charAt(i));\n }",
"{\n result += map.get(s.charAt(i));\n }",
"result += map.get(s.charAt(i))",
"result",
"map.get(s.charAt(i))",
"map.get",
"map",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = new BigInteger(sc.next());\n BigInteger c26 = new BigInteger(\"26\");\n BigInteger tmp = BigInteger.ONE;\n BigInteger sum = BigInteger.ONE;\n int digit = 1;\n while (true) {\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }\n\n BigInteger remain = n.subtract(sum);\n String s = remain.toString(26);\n\n Map<Character, String> map = new HashMap<>();\n for (char i = 'a'; i <= 'z'; i++) {\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }\n if (s.length() < digit) {\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }\n String result = \"\";\n for (int i = 0; i < digit; i++) {\n result += map.get(s.charAt(i));\n }\n System.out.println(result);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n BigInteger n = new BigInteger(sc.next());\n BigInteger c26 = new BigInteger(\"26\");\n BigInteger tmp = BigInteger.ONE;\n BigInteger sum = BigInteger.ONE;\n int digit = 1;\n while (true) {\n tmp = tmp.multiply(c26);\n BigInteger t = sum.add(tmp);\n if (t.compareTo(n) <= 0) {\n digit++;\n sum = t;\n } else {\n break;\n }\n }\n\n BigInteger remain = n.subtract(sum);\n String s = remain.toString(26);\n\n Map<Character, String> map = new HashMap<>();\n for (char i = 'a'; i <= 'z'; i++) {\n map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));\n }\n if (s.length() < digit) {\n String t = \"\";\n for (int i = 0, len = digit - s.length(); i < len; i++) {\n t += \"0\";\n }\n s = t + s;\n }\n String result = \"\";\n for (int i = 0; i < digit; i++) {\n result += map.get(s.charAt(i));\n }\n System.out.println(result);\n }\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.*;
import java.util.stream.Collectors;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
BigInteger n = new BigInteger(sc.next());
BigInteger c26 = new BigInteger("26");
BigInteger tmp = BigInteger.ONE;
BigInteger sum = BigInteger.ONE;
int digit = 1;
while (true) {
tmp = tmp.multiply(c26);
BigInteger t = sum.add(tmp);
if (t.compareTo(n) <= 0) {
digit++;
sum = t;
} else {
break;
}
}
BigInteger remain = n.subtract(sum);
String s = remain.toString(26);
Map<Character, String> map = new HashMap<>();
for (char i = 'a'; i <= 'z'; i++) {
map.put(BigInteger.valueOf(i - 'a').toString(26).charAt(0), Character.toString(i));
}
if (s.length() < digit) {
String t = "";
for (int i = 0, len = digit - s.length(); i < len; i++) {
t += "0";
}
s = t + s;
}
String result = "";
for (int i = 0; i < digit; i++) {
result += map.get(s.charAt(i));
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
17,
2,
13,
17,
0,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
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
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
41,
45
],
[
37,
46
],
[
46,
47
],
[
46,
48
],
[
37,
49
],
[
49,
50
],
[
50,
51
],
[
37,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n != 0) {\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\tfor(int i = ans.length()-1; i >= 0; i--) {\n\t\t\tSystem.out.print(ans.charAt(i));\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\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n != 0) {\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\tfor(int i = ans.length()-1; i >= 0; i--) {\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n != 0) {\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\tfor(int i = ans.length()-1; i >= 0; i--) {\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n != 0) {\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\tfor(int i = ans.length()-1; i >= 0; i--) {\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"while(n != 0) {\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}",
"n != 0",
"n",
"0",
"{\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}",
"n--",
"n",
"ans += (char)('a'+n%26)",
"ans",
"(char)('a'+n%26)",
"'a'",
"n%26",
"n",
"26",
"n/=26",
"n",
"26",
"for(int i = ans.length()-1; i >= 0; i--) {\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}",
"int i = ans.length()-1;",
"int i = ans.length()-1;",
"i",
"ans.length()-1",
"ans.length()",
"ans.length",
"ans",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(ans.charAt(i));\n\t\t}",
"System.out.print(ans.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"ans.charAt(i)",
"ans.charAt",
"ans",
"i",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n != 0) {\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\tfor(int i = ans.length()-1; i >= 0; i--) {\n\t\t\tSystem.out.print(ans.charAt(i));\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\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n != 0) {\n\t\t\tn--;\n\t\t\tans += (char)('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\tfor(int i = ans.length()-1; i >= 0; i--) {\n\t\t\tSystem.out.print(ans.charAt(i));\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);
long n = sc.nextLong();
String ans = "";
while(n != 0) {
n--;
ans += (char)('a'+n%26);
n/=26;
}
for(int i = ans.length()-1; i >= 0; i--) {
System.out.print(ans.charAt(i));
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
2,
13,
17,
14,
2,
13,
17,
30,
41,
13,
13,
4,
18,
13,
18,
13,
2,
13,
17,
0,
13,
2,
13,
17,
30,
4,
18,
13,
18,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
91,
5
],
[
91,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
32,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
45,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
41,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
62,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
6,
88
],
[
88,
89
],
[
0,
90
],
[
90,
91
],
[
90,
92
]
]
| [
"import java.util.*;\npublic class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\nlong n=sc.nextLong();\n String s=\"abcdefghijklmnopqrstuvwxyz\";\n char[] c=s.toCharArray();\n StringBuilder s1=new StringBuilder();\n while(n>0)\n {\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }\n s1.reverse();\n System.out.println(s1);\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);\nlong n=sc.nextLong();\n String s=\"abcdefghijklmnopqrstuvwxyz\";\n char[] c=s.toCharArray();\n StringBuilder s1=new StringBuilder();\n while(n>0)\n {\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }\n s1.reverse();\n System.out.println(s1);\n }\n}",
"Main",
"public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\nlong n=sc.nextLong();\n String s=\"abcdefghijklmnopqrstuvwxyz\";\n char[] c=s.toCharArray();\n StringBuilder s1=new StringBuilder();\n while(n>0)\n {\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }\n s1.reverse();\n System.out.println(s1);\n }",
"main",
"{\n Scanner sc=new Scanner(System.in);\nlong n=sc.nextLong();\n String s=\"abcdefghijklmnopqrstuvwxyz\";\n char[] c=s.toCharArray();\n StringBuilder s1=new StringBuilder();\n while(n>0)\n {\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }\n s1.reverse();\n System.out.println(s1);\n }",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String s=\"abcdefghijklmnopqrstuvwxyz\";",
"s",
"\"abcdefghijklmnopqrstuvwxyz\"",
"char[] c=s.toCharArray();",
"c",
"s.toCharArray()",
"s.toCharArray",
"s",
"StringBuilder s1=new StringBuilder();",
"s1",
"new StringBuilder()",
"while(n>0)\n {\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }",
"n>0",
"n",
"0",
"{\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }",
"long x=Math.abs(n%26);",
"x",
"Math.abs(n%26)",
"Math.abs",
"Math",
"n%26",
"n",
"26",
"if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }",
"x!=0",
"x",
"0",
"{\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }",
"int y=(int)x;",
"y",
"(int)x",
"s1.append(c[y-1])",
"s1.append",
"s1",
"c[y-1]",
"c",
"y-1",
"y",
"1",
"n=n/26",
"n",
"n/26",
"n",
"26",
"{\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }",
"s1.append(c[25])",
"s1.append",
"s1",
"c[25]",
"c",
"25",
"n=n/26",
"n",
"n/26",
"n",
"26",
"n=n-1",
"n",
"n-1",
"n",
"1",
"s1.reverse()",
"s1.reverse",
"s1",
"System.out.println(s1)",
"System.out.println",
"System.out",
"System",
"System.out",
"s1",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\nlong n=sc.nextLong();\n String s=\"abcdefghijklmnopqrstuvwxyz\";\n char[] c=s.toCharArray();\n StringBuilder s1=new StringBuilder();\n while(n>0)\n {\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }\n s1.reverse();\n System.out.println(s1);\n }\n}",
"public class Main{\n public static void main(String[] args)\n {\n Scanner sc=new Scanner(System.in);\nlong n=sc.nextLong();\n String s=\"abcdefghijklmnopqrstuvwxyz\";\n char[] c=s.toCharArray();\n StringBuilder s1=new StringBuilder();\n while(n>0)\n {\n \t\n long x=Math.abs(n%26);\n \n if(x!=0)\n {\n \t int y=(int)x;\n s1.append(c[y-1]);\n \n n=n/26;\n \n }\n else\n {\n s1.append(c[25]);\n n=n/26;\n\t n=n-1;\n }\n \n \n }\n s1.reverse();\n System.out.println(s1);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args)
{
Scanner sc=new Scanner(System.in);
long n=sc.nextLong();
String s="abcdefghijklmnopqrstuvwxyz";
char[] c=s.toCharArray();
StringBuilder s1=new StringBuilder();
while(n>0)
{
long x=Math.abs(n%26);
if(x!=0)
{
int y=(int)x;
s1.append(c[y-1]);
n=n/26;
}
else
{
s1.append(c[25]);
n=n/26;
n=n-1;
}
}
s1.reverse();
System.out.println(s1);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
41,
13,
2,
17,
13,
0,
13,
13,
14,
2,
2,
2,
13,
17,
17,
2,
13,
17,
0,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
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
],
[
108,
5
],
[
108,
6
],
[
6,
7
],
[
6,
8
],
[
108,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
11,
17
],
[
17,
18
],
[
17,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
24,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
24,
43
],
[
43,
44
],
[
43,
45
],
[
24,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
56,
58
],
[
46,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
59,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
11,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
83,
87
],
[
79,
88
],
[
88,
89
],
[
88,
90
],
[
79,
91
],
[
91,
92
],
[
92,
93
],
[
79,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
9,
105
],
[
105,
106
],
[
0,
107
],
[
107,
108
],
[
107,
109
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n public static Scanner scanner = new Scanner(System.in);\n public static void main(String[] args) {\n long n=scanner.nextLong();\n String s=\"\";\n while (n>0)\n {\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }\n for(int i=s.length()-1;i>=0;i--)\n {\n System.out.print(s.charAt(i));\n }\n\n\t// write your code here\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static Scanner scanner = new Scanner(System.in);\n public static void main(String[] args) {\n long n=scanner.nextLong();\n String s=\"\";\n while (n>0)\n {\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }\n for(int i=s.length()-1;i>=0;i--)\n {\n System.out.print(s.charAt(i));\n }\n\n\t// write your code here\n }\n}",
"Main",
"public static Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"public static void main(String[] args) {\n long n=scanner.nextLong();\n String s=\"\";\n while (n>0)\n {\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }\n for(int i=s.length()-1;i>=0;i--)\n {\n System.out.print(s.charAt(i));\n }\n\n\t// write your code here\n }",
"main",
"{\n long n=scanner.nextLong();\n String s=\"\";\n while (n>0)\n {\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }\n for(int i=s.length()-1;i>=0;i--)\n {\n System.out.print(s.charAt(i));\n }\n\n\t// write your code here\n }",
"long n=scanner.nextLong();",
"n",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"String s=\"\";",
"s",
"\"\"",
"while (n>0)\n {\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }",
"n>0",
"n",
"0",
"{\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }",
"long i = n%26;",
"i",
"n%26",
"n",
"26",
"if(i==0)\n {\n i=26;\n }",
"i==0",
"i",
"0",
"{\n i=26;\n }",
"i=26",
"i",
"26",
"char c= (char) (96+i);",
"c",
"(char) (96+i)",
"96",
"i",
"s+=c",
"s",
"c",
"if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }",
"n/26==1 && n<27",
"n/26==1",
"n/26",
"n",
"26",
"1",
"n<27",
"n",
"27",
"n=0",
"n",
"0",
"if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }",
"n%26==0",
"n%26",
"n",
"26",
"0",
"{\n n=n/26-1;\n }",
"n=n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"{\n n=n/26;\n }",
"n=n/26",
"n",
"n/26",
"n",
"26",
"for(int i=s.length()-1;i>=0;i--)\n {\n System.out.print(s.charAt(i));\n }",
"int i=s.length()-1;",
"int i=s.length()-1;",
"i",
"s.length()-1",
"s.length()",
"s.length",
"s",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(s.charAt(i));\n }",
"{\n System.out.print(s.charAt(i));\n }",
"System.out.print(s.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"String[] args",
"args",
"public class Main {\n\n public static Scanner scanner = new Scanner(System.in);\n public static void main(String[] args) {\n long n=scanner.nextLong();\n String s=\"\";\n while (n>0)\n {\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }\n for(int i=s.length()-1;i>=0;i--)\n {\n System.out.print(s.charAt(i));\n }\n\n\t// write your code here\n }\n}",
"public class Main {\n\n public static Scanner scanner = new Scanner(System.in);\n public static void main(String[] args) {\n long n=scanner.nextLong();\n String s=\"\";\n while (n>0)\n {\n long i = n%26;\n if(i==0)\n {\n i=26;\n }\n char c= (char) (96+i);\n s+=c;\n if(n/26==1 && n<27)\n n=0;\n else if(n%26==0)\n {\n n=n/26-1;\n }\n else\n {\n n=n/26;\n }\n }\n for(int i=s.length()-1;i>=0;i--)\n {\n System.out.print(s.charAt(i));\n }\n\n\t// write your code here\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static Scanner scanner = new Scanner(System.in);
public static void main(String[] args) {
long n=scanner.nextLong();
String s="";
while (n>0)
{
long i = n%26;
if(i==0)
{
i=26;
}
char c= (char) (96+i);
s+=c;
if(n/26==1 && n<27)
n=0;
else if(n%26==0)
{
n=n/26-1;
}
else
{
n=n/26;
}
}
for(int i=s.length()-1;i>=0;i--)
{
System.out.print(s.charAt(i));
}
// write your code here
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
40,
13,
0,
13,
4,
18,
13,
17,
13,
41,
13,
2,
2,
2,
13,
13,
4,
18,
13,
17,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
4,
18,
13,
13,
0,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
4,
18,
13,
13,
17,
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
],
[
118,
8
],
[
118,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
11,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
47,
51
],
[
42,
52
],
[
11,
53
],
[
53,
54
],
[
53,
55
],
[
11,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
65,
66
],
[
56,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
68,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
68,
78
],
[
78,
79
],
[
78,
80
],
[
11,
81
],
[
81,
82
],
[
81,
83
],
[
11,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
84,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
102,
107
],
[
101,
108
],
[
11,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
9,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
]
| [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long num = 0;\n int count=0;\n while (num<n){\n count++;\n num+=(long)Math.pow(26,count);\n }\n long instance = n-num+(long)Math.pow(26,count)-1;\n ArrayList<Character> array = new ArrayList<>();\n for (int i=0;i<count;i++){\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }\n String s = \"\";\n for (int i=0;i<array.size();i++){\n s = (char) (array.get(i) + 'a') +s;\n }\n System.out.println(s);\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long num = 0;\n int count=0;\n while (num<n){\n count++;\n num+=(long)Math.pow(26,count);\n }\n long instance = n-num+(long)Math.pow(26,count)-1;\n ArrayList<Character> array = new ArrayList<>();\n for (int i=0;i<count;i++){\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }\n String s = \"\";\n for (int i=0;i<array.size();i++){\n s = (char) (array.get(i) + 'a') +s;\n }\n System.out.println(s);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long num = 0;\n int count=0;\n while (num<n){\n count++;\n num+=(long)Math.pow(26,count);\n }\n long instance = n-num+(long)Math.pow(26,count)-1;\n ArrayList<Character> array = new ArrayList<>();\n for (int i=0;i<count;i++){\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }\n String s = \"\";\n for (int i=0;i<array.size();i++){\n s = (char) (array.get(i) + 'a') +s;\n }\n System.out.println(s);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long num = 0;\n int count=0;\n while (num<n){\n count++;\n num+=(long)Math.pow(26,count);\n }\n long instance = n-num+(long)Math.pow(26,count)-1;\n ArrayList<Character> array = new ArrayList<>();\n for (int i=0;i<count;i++){\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }\n String s = \"\";\n for (int i=0;i<array.size();i++){\n s = (char) (array.get(i) + 'a') +s;\n }\n System.out.println(s);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long num = 0;",
"num",
"0",
"int count=0;",
"count",
"0",
"while (num<n){\n count++;\n num+=(long)Math.pow(26,count);\n }",
"num<n",
"num",
"n",
"{\n count++;\n num+=(long)Math.pow(26,count);\n }",
"count++",
"count",
"num+=(long)Math.pow(26,count)",
"num",
"(long)Math.pow(26,count)",
"Math.pow",
"Math",
"26",
"count",
"long instance = n-num+(long)Math.pow(26,count)-1;",
"instance",
"n-num+(long)Math.pow(26,count)-1",
"n-num+(long)Math.pow(26,count)",
"n-num",
"n",
"num",
"(long)Math.pow(26,count)",
"Math.pow",
"Math",
"26",
"count",
"1",
"ArrayList<Character> array = new ArrayList<>();",
"array",
"new ArrayList<>()",
"for (int i=0;i<count;i++){\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<count",
"i",
"count",
"i++",
"i++",
"i",
"{\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }",
"{\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }",
"int mod = (int) (instance%26);",
"mod",
"(int) (instance%26)",
"instance",
"26",
"array.add((char)mod)",
"array.add",
"array",
"(char)mod",
"instance /= 26",
"instance",
"26",
"String s = \"\";",
"s",
"\"\"",
"for (int i=0;i<array.size();i++){\n s = (char) (array.get(i) + 'a') +s;\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<array.size()",
"i",
"array.size()",
"array.size",
"array",
"i++",
"i++",
"i",
"{\n s = (char) (array.get(i) + 'a') +s;\n }",
"{\n s = (char) (array.get(i) + 'a') +s;\n }",
"s = (char) (array.get(i) + 'a') +s",
"s",
"(char) (array.get(i) + 'a') +s",
"(char) (array.get(i) + 'a')",
"array.get(i)",
"array.get",
"array",
"i",
"'a'",
"s",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long num = 0;\n int count=0;\n while (num<n){\n count++;\n num+=(long)Math.pow(26,count);\n }\n long instance = n-num+(long)Math.pow(26,count)-1;\n ArrayList<Character> array = new ArrayList<>();\n for (int i=0;i<count;i++){\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }\n String s = \"\";\n for (int i=0;i<array.size();i++){\n s = (char) (array.get(i) + 'a') +s;\n }\n System.out.println(s);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long num = 0;\n int count=0;\n while (num<n){\n count++;\n num+=(long)Math.pow(26,count);\n }\n long instance = n-num+(long)Math.pow(26,count)-1;\n ArrayList<Character> array = new ArrayList<>();\n for (int i=0;i<count;i++){\n int mod = (int) (instance%26);\n array.add((char)mod);\n instance /= 26;\n }\n String s = \"\";\n for (int i=0;i<array.size();i++){\n s = (char) (array.get(i) + 'a') +s;\n }\n System.out.println(s);\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);
long n = sc.nextLong();
long num = 0;
int count=0;
while (num<n){
count++;
num+=(long)Math.pow(26,count);
}
long instance = n-num+(long)Math.pow(26,count)-1;
ArrayList<Character> array = new ArrayList<>();
for (int i=0;i<count;i++){
int mod = (int) (instance%26);
array.add((char)mod);
instance /= 26;
}
String s = "";
for (int i=0;i<array.size();i++){
s = (char) (array.get(i) + 'a') +s;
}
System.out.println(s);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
4,
18,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
4,
18,
13,
4,
18,
13,
13,
41,
13,
17,
42,
2,
17,
13,
30,
0,
13,
18,
13,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
0,
13,
2,
2,
13,
17,
17,
0,
13,
8,
2,
2,
13,
17,
17,
17,
4,
18,
13,
2,
2,
13,
2,
13,
17,
17,
42,
17,
30,
14,
2,
17,
13,
30,
3,
0,
13,
8,
2,
2,
13,
17,
17,
2,
17,
13,
4,
18,
13,
2,
2,
2,
13,
2,
13,
17,
17,
13,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
2,
13,
4,
18,
13,
13,
17,
4,
18,
13,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
40,
4,
18,
4,
13,
4,
18,
13,
13,
4,
13,
4,
18,
13,
13,
30,
40,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
20,
2,
13,
17,
41,
13,
20,
2,
13,
17,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
4,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
4,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
3,
42,
2,
2,
13,
18,
13,
13,
18,
13,
13,
40,
13,
0,
13,
4,
18,
13,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
13,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
39,
17,
17,
17,
17,
4,
18,
13,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
35,
13,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
34,
17,
1,
40,
18,
13,
17,
3,
41,
13,
17,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
18,
13,
13,
17,
13,
40,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
18,
13,
13,
2,
17,
13,
30,
41,
13,
20,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
4,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
18,
13,
13,
13,
4,
13,
4,
18,
4,
18,
4,
13,
4,
18,
13,
13,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
2,
17,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
2,
17,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
18,
18,
13,
13,
13,
17,
2,
2,
2,
13,
13,
17,
17,
2,
2,
2,
13,
13,
17,
17,
30,
40,
13,
14,
2,
13,
13,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
20,
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
],
[
942,
11
],
[
942,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
12,
17
],
[
17,
18
],
[
942,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
22,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
34,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
43,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
942,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
68,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
80,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
80,
98
],
[
98,
99
],
[
98,
100
],
[
80,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
102,
107
],
[
107,
108
],
[
107,
109
],
[
102,
110
],
[
110,
111
],
[
111,
112
],
[
102,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
80,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
80,
128
],
[
128,
129
],
[
128,
130
],
[
80,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
140,
142
],
[
135,
143
],
[
143,
144
],
[
80,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
942,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
163,
165
],
[
154,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
166,
177
],
[
177,
178
],
[
177,
179
],
[
166,
180
],
[
180,
181
],
[
180,
182
],
[
166,
183
],
[
183,
184
],
[
183,
185
],
[
166,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
189,
191
],
[
188,
192
],
[
166,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
195,
201
],
[
195,
202
],
[
202,
203
],
[
203,
204
],
[
202,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
208,
210
],
[
205,
211
],
[
166,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
219,
220
],
[
214,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
223,
229
],
[
229,
230
],
[
229,
231
],
[
223,
232
],
[
232,
233
],
[
233,
234
],
[
232,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
236,
242
],
[
235,
243
],
[
214,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
246,
250
],
[
166,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
251,
256
],
[
942,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
264,
269
],
[
269,
270
],
[
269,
271
],
[
260,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
272,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
272,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
283,
288
],
[
289,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
291,
294
],
[
291,
295
],
[
289,
296
],
[
296,
297
],
[
297,
298
],
[
296,
299
],
[
296,
300
],
[
942,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
308,
313
],
[
313,
314
],
[
313,
315
],
[
304,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
316,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
323,
324
],
[
316,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
316,
330
],
[
330,
331
],
[
330,
332
],
[
316,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
333,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
333,
343
],
[
343,
344
],
[
344,
345
],
[
333,
346
],
[
347,
347
],
[
347,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
355,
356
],
[
354,
357
],
[
350,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
361,
362
],
[
360,
363
],
[
348,
364
],
[
364,
365
],
[
365,
366
],
[
316,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
367,
372
],
[
942,
373
],
[
373,
374
],
[
373,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
377,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
386,
387
],
[
377,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
377,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
397,
399
],
[
399,
400
],
[
400,
401
],
[
377,
402
],
[
402,
403
],
[
402,
404
],
[
405,
406
],
[
405,
407
],
[
377,
408
],
[
408,
409
],
[
408,
410
],
[
411,
412
],
[
411,
413
],
[
377,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
377,
419
],
[
419,
420
],
[
420,
421
],
[
420,
422
],
[
419,
423
],
[
377,
424
],
[
424,
425
],
[
425,
426
],
[
426,
427
],
[
426,
428
],
[
424,
429
],
[
429,
430
],
[
429,
431
],
[
424,
432
],
[
432,
433
],
[
433,
434
],
[
424,
435
],
[
436,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
437,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
444,
446
],
[
441,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
450,
451
],
[
377,
452
],
[
452,
453
],
[
453,
454
],
[
454,
455
],
[
454,
456
],
[
452,
457
],
[
457,
458
],
[
457,
459
],
[
452,
460
],
[
460,
461
],
[
461,
462
],
[
452,
463
],
[
464,
464
],
[
464,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
469
],
[
469,
470
],
[
470,
471
],
[
470,
472
],
[
472,
473
],
[
472,
474
],
[
469,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
478,
479
],
[
377,
480
],
[
480,
481
],
[
480,
482
],
[
377,
483
],
[
483,
484
],
[
484,
485
],
[
485,
486
],
[
485,
487
],
[
483,
488
],
[
488,
489
],
[
488,
490
],
[
483,
491
],
[
491,
492
],
[
492,
493
],
[
483,
494
],
[
495,
495
],
[
495,
496
],
[
496,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
499,
501
],
[
496,
502
],
[
502,
503
],
[
495,
504
],
[
504,
505
],
[
505,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
508,
510
],
[
505,
511
],
[
511,
512
],
[
511,
513
],
[
504,
514
],
[
514,
515
],
[
495,
516
],
[
516,
517
],
[
516,
518
],
[
518,
519
],
[
519,
520
],
[
518,
521
],
[
518,
522
],
[
522,
523
],
[
522,
524
],
[
377,
525
],
[
525,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
525,
530
],
[
942,
531
],
[
531,
532
],
[
531,
533
],
[
533,
534
],
[
534,
535
],
[
535,
536
],
[
535,
537
],
[
537,
538
],
[
538,
539
],
[
539,
540
],
[
540,
541
],
[
540,
542
],
[
538,
543
],
[
543,
544
],
[
543,
545
],
[
534,
546
],
[
546,
547
],
[
547,
548
],
[
547,
549
],
[
546,
550
],
[
550,
551
],
[
550,
552
],
[
552,
553
],
[
552,
554
],
[
554,
555
],
[
555,
556
],
[
546,
557
],
[
557,
558
],
[
557,
559
],
[
546,
560
],
[
560,
561
],
[
560,
562
],
[
546,
563
],
[
563,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
563,
568
],
[
568,
569
],
[
569,
570
],
[
569,
571
],
[
568,
572
],
[
942,
573
],
[
573,
574
],
[
573,
575
],
[
575,
576
],
[
576,
577
],
[
577,
578
],
[
577,
579
],
[
579,
580
],
[
580,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
580,
585
],
[
585,
586
],
[
585,
587
],
[
576,
588
],
[
588,
589
],
[
589,
590
],
[
589,
591
],
[
588,
592
],
[
592,
593
],
[
592,
594
],
[
594,
595
],
[
594,
596
],
[
596,
597
],
[
597,
598
],
[
588,
599
],
[
599,
600
],
[
599,
601
],
[
588,
603
],
[
603,
604
],
[
603,
605
],
[
605,
606
],
[
605,
607
],
[
605,
608
],
[
605,
609
],
[
588,
610
],
[
610,
611
],
[
611,
612
],
[
610,
613
],
[
610,
614
],
[
588,
615
],
[
615,
616
],
[
616,
617
],
[
617,
618
],
[
617,
619
],
[
615,
620
],
[
620,
621
],
[
620,
622
],
[
615,
623
],
[
623,
624
],
[
624,
625
],
[
615,
626
],
[
627,
627
],
[
627,
628
],
[
628,
629
],
[
628,
630
],
[
630,
631
],
[
631,
632
],
[
627,
633
],
[
633,
634
],
[
633,
635
],
[
635,
636
],
[
635,
637
],
[
637,
638
],
[
638,
639
],
[
639,
640
],
[
639,
641
],
[
637,
642
],
[
633,
643
],
[
643,
644
],
[
643,
645
],
[
645,
646
],
[
646,
647
],
[
647,
648
],
[
647,
649
],
[
645,
650
],
[
633,
651
],
[
651,
652
],
[
651,
653
],
[
653,
654
],
[
654,
655
],
[
655,
656
],
[
655,
657
],
[
653,
658
],
[
633,
659
],
[
659,
660
],
[
659,
661
],
[
661,
662
],
[
662,
663
],
[
663,
664
],
[
663,
665
],
[
661,
666
],
[
588,
667
],
[
667,
668
],
[
667,
669
],
[
588,
670
],
[
670,
671
],
[
670,
672
],
[
670,
673
],
[
674,
674
],
[
674,
675
],
[
675,
676
],
[
676,
677
],
[
677,
678
],
[
677,
679
],
[
675,
680
],
[
681,
681
],
[
681,
682
],
[
682,
683
],
[
682,
684
],
[
681,
685
],
[
681,
686
],
[
674,
687
],
[
687,
688
],
[
942,
689
],
[
689,
690
],
[
689,
691
],
[
691,
692
],
[
692,
693
],
[
693,
694
],
[
693,
695
],
[
695,
696
],
[
696,
697
],
[
697,
698
],
[
698,
699
],
[
698,
700
],
[
696,
701
],
[
701,
702
],
[
701,
703
],
[
692,
704
],
[
704,
705
],
[
705,
706
],
[
705,
707
],
[
704,
708
],
[
708,
709
],
[
708,
710
],
[
710,
711
],
[
710,
712
],
[
712,
713
],
[
713,
714
],
[
704,
715
],
[
715,
716
],
[
715,
717
],
[
717,
718
],
[
717,
719
],
[
719,
720
],
[
720,
721
],
[
704,
722
],
[
722,
723
],
[
722,
724
],
[
724,
725
],
[
724,
726
],
[
726,
727
],
[
727,
728
],
[
704,
729
],
[
729,
730
],
[
729,
731
],
[
704,
732
],
[
732,
733
],
[
732,
734
],
[
704,
735
],
[
735,
736
],
[
735,
737
],
[
704,
740
],
[
740,
741
],
[
740,
742
],
[
704,
743
],
[
743,
744
],
[
744,
745
],
[
745,
746
],
[
745,
747
],
[
743,
748
],
[
748,
749
],
[
748,
750
],
[
743,
751
],
[
751,
752
],
[
752,
753
],
[
743,
754
],
[
755,
755
],
[
755,
756
],
[
756,
757
],
[
756,
758
],
[
758,
759
],
[
759,
760
],
[
755,
761
],
[
761,
762
],
[
762,
763
],
[
763,
764
],
[
763,
765
],
[
761,
766
],
[
766,
767
],
[
766,
768
],
[
761,
769
],
[
769,
770
],
[
770,
771
],
[
761,
772
],
[
773,
773
],
[
773,
774
],
[
774,
775
],
[
775,
776
],
[
776,
777
],
[
776,
778
],
[
775,
779
],
[
774,
780
],
[
780,
781
],
[
780,
782
],
[
782,
783
],
[
783,
784
],
[
784,
785
],
[
785,
786
],
[
786,
787
],
[
786,
788
],
[
788,
789
],
[
789,
790
],
[
788,
791
],
[
784,
792
],
[
784,
793
],
[
782,
794
],
[
782,
795
],
[
704,
796
],
[
796,
797
],
[
797,
798
],
[
798,
799
],
[
798,
800
],
[
796,
801
],
[
801,
802
],
[
801,
803
],
[
803,
804
],
[
803,
805
],
[
796,
806
],
[
806,
807
],
[
807,
808
],
[
796,
809
],
[
810,
810
],
[
810,
811
],
[
811,
812
],
[
812,
813
],
[
813,
814
],
[
813,
815
],
[
811,
816
],
[
816,
817
],
[
816,
818
],
[
818,
819
],
[
818,
820
],
[
811,
821
],
[
821,
822
],
[
822,
823
],
[
811,
824
],
[
825,
825
],
[
825,
826
],
[
826,
827
],
[
827,
828
],
[
828,
829
],
[
828,
830
],
[
826,
831
],
[
831,
832
],
[
831,
833
],
[
826,
834
],
[
834,
835
],
[
835,
836
],
[
826,
837
],
[
838,
838
],
[
838,
839
],
[
839,
840
],
[
840,
841
],
[
841,
842
],
[
841,
843
],
[
839,
844
],
[
844,
845
],
[
844,
846
],
[
839,
847
],
[
847,
848
],
[
848,
849
],
[
839,
850
],
[
851,
851
],
[
851,
852
],
[
852,
853
],
[
854,
854
],
[
854,
855
],
[
855,
856
],
[
856,
857
],
[
857,
858
],
[
857,
859
],
[
856,
860
],
[
855,
861
],
[
854,
862
],
[
862,
863
],
[
863,
864
],
[
864,
865
],
[
864,
866
],
[
863,
867
],
[
862,
868
],
[
854,
869
],
[
869,
870
],
[
870,
871
],
[
871,
872
],
[
871,
873
],
[
870,
874
],
[
869,
875
],
[
852,
876
],
[
876,
877
],
[
877,
878
],
[
825,
879
],
[
879,
880
],
[
880,
881
],
[
880,
882
],
[
879,
883
],
[
883,
884
],
[
825,
885
],
[
885,
886
],
[
885,
887
],
[
704,
888
],
[
888,
889
],
[
889,
890
],
[
890,
891
],
[
890,
892
],
[
888,
893
],
[
942,
894
],
[
894,
895
],
[
894,
896
],
[
896,
897
],
[
897,
898
],
[
898,
899
],
[
899,
900
],
[
898,
901
],
[
894,
902
],
[
902,
903
],
[
942,
904
],
[
904,
905
],
[
904,
906
],
[
906,
907
],
[
907,
908
],
[
908,
909
],
[
909,
910
],
[
908,
911
],
[
904,
912
],
[
912,
913
],
[
942,
914
],
[
914,
915
],
[
914,
916
],
[
916,
917
],
[
917,
918
],
[
918,
919
],
[
919,
920
],
[
918,
921
],
[
914,
922
],
[
922,
923
],
[
942,
924
],
[
924,
925
],
[
924,
926
],
[
926,
927
],
[
927,
928
],
[
928,
929
],
[
929,
930
],
[
928,
931
],
[
924,
932
],
[
932,
933
],
[
942,
934
],
[
934,
935
],
[
934,
936
],
[
936,
937
],
[
937,
938
],
[
934,
939
],
[
939,
940
],
[
0,
941
],
[
941,
942
],
[
941,
943
]
]
| [
"import java.math.BigDecimal;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n // abc171_a();\n // abc171_b();\n abc171_c();\n // abc172_a();\n // abc172_b();\n // abc172_c();\n // abc173_a();\n // abc173_b();\n // abc173_c();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc171_a() {\n try (Scanner sc = new Scanner(System.in)) {\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_c() {\n try (Scanner sc = new Scanner(System.in)) {\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static long parseL(String value) {\n return Long.parseLong(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n\n public static BigDecimal parseBigD(String value) {\n return new BigDecimal(value);\n }\n\n}",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n // abc171_a();\n // abc171_b();\n abc171_c();\n // abc172_a();\n // abc172_b();\n // abc172_c();\n // abc173_a();\n // abc173_b();\n // abc173_c();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc171_a() {\n try (Scanner sc = new Scanner(System.in)) {\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_c() {\n try (Scanner sc = new Scanner(System.in)) {\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static long parseL(String value) {\n return Long.parseLong(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n\n public static BigDecimal parseBigD(String value) {\n return new BigDecimal(value);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n // abc171_a();\n // abc171_b();\n abc171_c();\n // abc172_a();\n // abc172_b();\n // abc172_c();\n // abc173_a();\n // abc173_b();\n // abc173_c();\n }",
"main",
"{\n // abc171_a();\n // abc171_b();\n abc171_c();\n // abc172_a();\n // abc172_b();\n // abc172_c();\n // abc173_a();\n // abc173_b();\n // abc173_c();\n }",
"abc171_c()",
"abc171_c",
"String[] args",
"args",
"public static void abc171_a() {\n try (Scanner sc = new Scanner(System.in)) {\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc171_a",
"{\n try (Scanner sc = new Scanner(System.in)) {\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String a = sc.next();",
"a",
"sc.next()",
"sc.next",
"sc",
"if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }",
"Character.isUpperCase(a.charAt(0))",
"Character.isUpperCase",
"Character",
"a.charAt(0)",
"a.charAt",
"a",
"0",
"{\n System.out.println(\"A\");\n }",
"System.out.println(\"A\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"A\"",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"public static void abc171_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc171_b",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int n = parseI(sc.next());",
"n",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int k = parseI(sc.next());",
"k",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int[] prices = new int[n];",
"prices",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n prices[i] = parseI(sc.next());\n }",
"{\n prices[i] = parseI(sc.next());\n }",
"prices[i] = parseI(sc.next())",
"prices[i]",
"prices",
"i",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"Arrays.sort(prices)",
"Arrays.sort",
"Arrays",
"prices",
"int ans = 0;",
"ans",
"0",
"while (0 < k) {\n ans += prices[k - 1];\n k--;\n }",
"0 < k",
"0",
"k",
"{\n ans += prices[k - 1];\n k--;\n }",
"ans += prices[k - 1]",
"ans",
"prices[k - 1]",
"prices",
"k - 1",
"k",
"1",
"k--",
"k",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public static void abc171_c() {\n try (Scanner sc = new Scanner(System.in)) {\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc171_c",
"{\n try (Scanner sc = new Scanner(System.in)) {\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long number = parseL(sc.next());",
"number",
"parseL(sc.next())",
"parseL",
"sc.next()",
"sc.next",
"sc",
"char a = 'a';",
"a",
"'a'",
"String ans = \"\";",
"ans",
"\"\"",
"long divideCnt = 0;",
"divideCnt",
"0",
"divideCnt = (number - 1) / 26",
"divideCnt",
"(number - 1) / 26",
"(number - 1)",
"number",
"1",
"26",
"ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1))",
"ans",
"number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1))",
"number % 26 == 0",
"number % 26",
"number",
"26",
"0",
"\"z\"",
"String.valueOf((char) (a + number % 26 - 1))",
"String.valueOf",
"String",
"(char) (a + number % 26 - 1)",
"a + number % 26",
"a",
"number % 26",
"number",
"26",
"1",
"while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }",
"true",
"{\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }",
"if (0 == divideCnt) {\n break;\n }",
"0 == divideCnt",
"0",
"divideCnt",
"{\n break;\n }",
"break;",
"ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans)",
"ans",
"divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans)",
"divideCnt % 26 == 0",
"divideCnt % 26",
"divideCnt",
"26",
"0",
"\"z\" + ans",
"\"z\"",
"ans",
"String.valueOf((char) (a + divideCnt % 26 - 1) + ans)",
"String.valueOf",
"String",
"(char) (a + divideCnt % 26 - 1) + ans",
"(char) (a + divideCnt % 26 - 1)",
"a + divideCnt % 26",
"a",
"divideCnt % 26",
"divideCnt",
"26",
"1",
"ans",
"divideCnt = (divideCnt - 1) / 26",
"divideCnt",
"(divideCnt - 1) / 26",
"(divideCnt - 1)",
"divideCnt",
"1",
"26",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc172_a",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int a = parseI(sc.next());",
"a",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3))",
"System.out.println",
"System.out",
"System",
"System.out",
"a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3)",
"a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3)",
"a",
"(int) Math.pow(a, 2)",
"Math.pow",
"Math",
"a",
"2",
"(int) Math.pow(a, 3)",
"Math.pow",
"Math",
"a",
"3",
"public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc172_b",
"{\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"String s = sc.next();",
"s",
"sc.next()",
"sc.next",
"sc",
"String t = sc.next();",
"t",
"sc.next()",
"sc.next",
"sc",
"int ansCnt = 0;",
"ansCnt",
"0",
"for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length()",
"i",
"s.length()",
"s.length",
"s",
"i++",
"i++",
"i",
"{\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }",
"{\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }",
"if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }",
"!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))",
"parseS(s.charAt(i)).equals(parseS(t.charAt(i)))",
"parseS(s.charAt(i)).equals",
"parseS(s.charAt(i))",
"parseS",
"s.charAt(i)",
"s.charAt",
"s",
"i",
"parseS(t.charAt(i))",
"parseS",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"{\n ansCnt++;\n }",
"ansCnt++",
"ansCnt",
"System.out.println(ansCnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"ansCnt",
"public static void abc172_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }\n }",
"abc172_c",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }",
"{\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int n = parseI(sc.next());",
"n",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int m = parseI(sc.next());",
"m",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int k = parseI(sc.next());",
"k",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"long[] nList = new long[n + 1];",
"nList",
"new long[n + 1]",
"n + 1",
"n",
"1",
"long[] mList = new long[m + 1];",
"mList",
"new long[m + 1]",
"m + 1",
"m",
"1",
"nList[0] = 0",
"nList[0]",
"nList",
"0",
"0",
"mList[0] = 0",
"mList[0]",
"mList",
"0",
"0",
"for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= n",
"i",
"n",
"i++",
"i++",
"i",
"{\n nList[i] = nList[i - 1] + parseI(sc.next());\n }",
"{\n nList[i] = nList[i - 1] + parseI(sc.next());\n }",
"nList[i] = nList[i - 1] + parseI(sc.next())",
"nList[i]",
"nList",
"i",
"nList[i - 1] + parseI(sc.next())",
"nList[i - 1]",
"nList",
"i - 1",
"i",
"1",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= m",
"i",
"m",
"i++",
"i++",
"i",
"{\n mList[i] = mList[i - 1] + parseI(sc.next());\n }",
"{\n mList[i] = mList[i - 1] + parseI(sc.next());\n }",
"mList[i] = mList[i - 1] + parseI(sc.next())",
"mList[i]",
"mList",
"i",
"mList[i - 1] + parseI(sc.next())",
"mList[i - 1]",
"mList",
"i - 1",
"i",
"1",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int ansCnt = 0;",
"ansCnt",
"0",
"for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }",
"{\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }",
"if (k < nList[i]) {\n break;\n }",
"k < nList[i]",
"k",
"nList[i]",
"nList",
"i",
"{\n break;\n }",
"break;",
"while (k - nList[i] < mList[m])\n m--;",
"k - nList[i] < mList[m]",
"k - nList[i]",
"k",
"nList[i]",
"nList",
"i",
"mList[m]",
"mList",
"m",
"m--",
"m",
"ansCnt = Math.max(ansCnt, i + m)",
"ansCnt",
"Math.max(ansCnt, i + m)",
"Math.max",
"Math",
"ansCnt",
"i + m",
"i",
"m",
"System.out.println(ansCnt)",
"System.out.println",
"System.out",
"System",
"System.out",
"ansCnt",
"public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc173_a",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int payment = parseI(sc.next());",
"payment",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int max = 10000;",
"max",
"10000",
"int thou = 1000;",
"thou",
"1000",
"System.out.println((max - payment) % thou)",
"System.out.println",
"System.out",
"System",
"System.out",
"(max - payment) % thou",
"(max - payment)",
"max",
"payment",
"thou",
"public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc173_b",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int num = parseI(sc.next());",
"num",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int[] ansCount = new int[4];",
"ansCount",
"new int[4]",
"4",
"final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };",
"err",
"{ \"AC\", \"WA\", \"TLE\", \"RE\" }",
"\"AC\"",
"\"WA\"",
"\"TLE\"",
"\"RE\"",
"Arrays.fill(ansCount, 0)",
"Arrays.fill",
"Arrays",
"ansCount",
"0",
"for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < num",
"i",
"num",
"i++",
"i++",
"i",
"{\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }",
"{\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }",
"String ans = sc.next();",
"ans",
"sc.next()",
"sc.next",
"sc",
"switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }",
"ans",
"case \"AC\":",
"\"AC\"",
"case \"AC\":",
"ansCount[0]++",
"ansCount[0]",
"ansCount",
"0",
"break;",
"case \"WA\":",
"\"WA\"",
"case \"WA\":",
"ansCount[1]++",
"ansCount[1]",
"ansCount",
"1",
"break;",
"case \"TLE\":",
"\"TLE\"",
"case \"TLE\":",
"ansCount[2]++",
"ansCount[2]",
"ansCount",
"2",
"break;",
"case \"RE\":",
"\"RE\"",
"case \"RE\":",
"ansCount[3]++",
"ansCount[3]",
"ansCount",
"3",
"break;",
"int count = 0;",
"count",
"0",
"for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }",
"int answer",
"ansCount",
"{\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }",
"{\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }",
"System.out.println(err[count] + \" x \" + answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"err[count] + \" x \" + answer",
"err[count] + \" x \" + answer",
"err[count]",
"err",
"count",
"\" x \"",
"answer",
"count++",
"count",
"public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"abc173_c",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }",
"Exception e",
"{\n System.out.println(\"エラー\" + e);\n }",
"System.out.println(\"エラー\" + e)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"エラー\" + e",
"\"エラー\"",
"e",
"{\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int row = parseI(sc.next());",
"row",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int column = parseI(sc.next());",
"column",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int checkBlackCount = parseI(sc.next());",
"checkBlackCount",
"parseI(sc.next())",
"parseI",
"sc.next()",
"sc.next",
"sc",
"int existBlack = 0;",
"existBlack",
"0",
"int ansCount = 0;",
"ansCount",
"0",
"int[][] inputList = new int[row][column];",
"inputList",
"new int[row][column]",
"row",
"column",
"String input = \"\";",
"input",
"\"\"",
"for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < row",
"i",
"row",
"i++",
"i++",
"i",
"{\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }",
"{\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }",
"input = sc.next()",
"input",
"sc.next()",
"sc.next",
"sc",
"for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < column",
"x",
"column",
"x++",
"x++",
"x",
"{\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }",
"{\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }",
"inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"))",
"inputList[i][x]",
"inputList[i]",
"inputList",
"i",
"x",
"parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"))",
"parseI",
"parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\")",
"parseS(input.charAt(x)).replace(\".\", \"0\").replace",
"parseS(input.charAt(x)).replace(\".\", \"0\")",
"parseS(input.charAt(x)).replace",
"parseS(input.charAt(x))",
"parseS",
"input.charAt(x)",
"input.charAt",
"input",
"x",
"\".\"",
"\"0\"",
"\"#\"",
"\"1\"",
"for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < (1 << row)",
"i",
"(1 << row)",
"1",
"row",
"i++",
"i++",
"i",
"{\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }",
"{\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }",
"for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }",
"int x = 0;",
"int x = 0;",
"x",
"0",
"x < (1 << column)",
"x",
"(1 << column)",
"1",
"column",
"x++",
"x++",
"x",
"{\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }",
"{\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }",
"for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }",
"int chRownum = 0;",
"int chRownum = 0;",
"chRownum",
"0",
"chRownum < row",
"chRownum",
"row",
"chRownum++",
"chRownum++",
"chRownum",
"{\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }",
"{\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }",
"for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }",
"int chColNum = 0;",
"int chColNum = 0;",
"chColNum",
"0",
"chColNum < column",
"chColNum",
"column",
"chColNum++",
"chColNum++",
"chColNum",
"{\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }",
"{\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }",
"if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }",
"inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0",
"inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0",
"inputList[chRownum][chColNum] == 1",
"inputList[chRownum][chColNum]",
"inputList[chRownum]",
"inputList",
"chRownum",
"chColNum",
"1",
"((i >> chRownum) & 1) == 0",
"((i >> chRownum) & 1)",
"(i >> chRownum)",
"i",
"chRownum",
"1",
"0",
"((x >> chColNum) & 1) == 0",
"((x >> chColNum) & 1)",
"(x >> chColNum)",
"x",
"chColNum",
"1",
"0",
"{\n existBlack++;\n }",
"existBlack++",
"existBlack",
"if (existBlack == checkBlackCount) ansCount++;",
"existBlack == checkBlackCount",
"existBlack",
"checkBlackCount",
"ansCount++",
"ansCount",
"existBlack = 0",
"existBlack",
"0",
"System.out.println(ansCount)",
"System.out.println",
"System.out",
"System",
"System.out",
"ansCount",
"public static int parseI(String value) {\n return Integer.parseInt(value);\n }",
"parseI",
"{\n return Integer.parseInt(value);\n }",
"return Integer.parseInt(value);",
"Integer.parseInt(value)",
"Integer.parseInt",
"Integer",
"value",
"String value",
"value",
"public static long parseL(String value) {\n return Long.parseLong(value);\n }",
"parseL",
"{\n return Long.parseLong(value);\n }",
"return Long.parseLong(value);",
"Long.parseLong(value)",
"Long.parseLong",
"Long",
"value",
"String value",
"value",
"public static double parseD(String value) {\n return Double.parseDouble(value);\n }",
"parseD",
"{\n return Double.parseDouble(value);\n }",
"return Double.parseDouble(value);",
"Double.parseDouble(value)",
"Double.parseDouble",
"Double",
"value",
"String value",
"value",
"public static <T> String parseS(T value) {\n return String.valueOf(value);\n }",
"parseS",
"{\n return String.valueOf(value);\n }",
"return String.valueOf(value);",
"String.valueOf(value)",
"String.valueOf",
"String",
"value",
"T value",
"value",
"public static BigDecimal parseBigD(String value) {\n return new BigDecimal(value);\n }",
"parseBigD",
"{\n return new BigDecimal(value);\n }",
"return new BigDecimal(value);",
"new BigDecimal(value)",
"String value",
"value",
"public class Main {\n\n public static void main(String[] args) {\n // abc171_a();\n // abc171_b();\n abc171_c();\n // abc172_a();\n // abc172_b();\n // abc172_c();\n // abc173_a();\n // abc173_b();\n // abc173_c();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc171_a() {\n try (Scanner sc = new Scanner(System.in)) {\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_c() {\n try (Scanner sc = new Scanner(System.in)) {\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static long parseL(String value) {\n return Long.parseLong(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n\n public static BigDecimal parseBigD(String value) {\n return new BigDecimal(value);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n // abc171_a();\n // abc171_b();\n abc171_c();\n // abc172_a();\n // abc172_b();\n // abc172_c();\n // abc173_a();\n // abc173_b();\n // abc173_c();\n }\n\n // int 2147483648 [ 2 * 10(9)]\n // long 9223372036854775808 [ 9 * 10(18)]\n\n public static void abc171_a() {\n try (Scanner sc = new Scanner(System.in)) {\n String a = sc.next();\n if (Character.isUpperCase(a.charAt(0))) {\n System.out.println(\"A\");\n } else {\n System.out.println(\"a\");\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int k = parseI(sc.next());\n\n int[] prices = new int[n];\n for (int i = 0; i < n; i++) {\n prices[i] = parseI(sc.next());\n }\n Arrays.sort(prices);\n\n int ans = 0;\n while (0 < k) {\n ans += prices[k - 1];\n k--;\n }\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc171_c() {\n try (Scanner sc = new Scanner(System.in)) {\n\n long number = parseL(sc.next());\n char a = 'a';\n\n String ans = \"\";\n\n long divideCnt = 0;\n\n divideCnt = (number - 1) / 26;\n ans =\n number % 26 == 0 ? \"z\" : String.valueOf((char) (a + number % 26 - 1));\n\n while (true) {\n if (0 == divideCnt) {\n break;\n }\n ans = divideCnt % 26 == 0 ? \"z\" + ans\n : String.valueOf((char) (a + divideCnt % 26 - 1) + ans);\n divideCnt = (divideCnt - 1) / 26;\n }\n\n System.out.println(ans);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int a = parseI(sc.next());\n\n System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_b() {\n try (Scanner sc = new Scanner(System.in)) {\n String s = sc.next();\n String t = sc.next();\n int ansCnt = 0;\n for (int i = 0; i < s.length(); i++) {\n if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {\n ansCnt++;\n }\n }\n System.out.println(ansCnt);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc172_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int n = parseI(sc.next());\n int m = parseI(sc.next());\n int k = parseI(sc.next());\n long[] nList = new long[n + 1];\n long[] mList = new long[m + 1];\n nList[0] = 0;\n mList[0] = 0;\n for (int i = 1; i <= n; i++) {\n nList[i] = nList[i - 1] + parseI(sc.next());\n }\n for (int i = 1; i <= m; i++) {\n mList[i] = mList[i - 1] + parseI(sc.next());\n }\n int ansCnt = 0;\n for (int i = 0; i <= n; i++) {\n if (k < nList[i]) {\n break;\n }\n while (k - nList[i] < mList[m])\n m--;\n ansCnt = Math.max(ansCnt, i + m);\n }\n System.out.println(ansCnt);\n }\n }\n\n public static void abc173_a() {\n try (Scanner sc = new Scanner(System.in)) {\n int payment = parseI(sc.next());\n int max = 10000;\n int thou = 1000;\n\n System.out.println((max - payment) % thou);\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_b() {\n try (Scanner sc = new Scanner(System.in)) {\n int num = parseI(sc.next());\n\n // AC\n // WA\n // TLE\n // RE x 0\n int[] ansCount = new int[4];\n final String[] err = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n Arrays.fill(ansCount, 0);\n\n for (int i = 0; i < num; i++) {\n String ans = sc.next();\n switch (ans) {\n case \"AC\":\n ansCount[0]++;\n break;\n case \"WA\":\n ansCount[1]++;\n break;\n case \"TLE\":\n ansCount[2]++;\n break;\n case \"RE\":\n ansCount[3]++;\n break;\n }\n }\n int count = 0;\n for (int answer : ansCount) {\n System.out.println(err[count] + \" x \" + answer);\n count++;\n }\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static void abc173_c() {\n try (Scanner sc = new Scanner(System.in)) {\n int row = parseI(sc.next());\n int column = parseI(sc.next());\n int checkBlackCount = parseI(sc.next());\n int existBlack = 0;\n int ansCount = 0;\n int[][] inputList = new int[row][column];\n String input = \"\";\n for (int i = 0; i < row; i++) {\n input = sc.next();\n for (int x = 0; x < column; x++) {\n inputList[i][x] =\n parseI(parseS(input.charAt(x)).replace(\".\", \"0\").replace(\"#\", \"1\"));\n }\n }\n\n for (int i = 0; i < (1 << row); i++) {\n for (int x = 0; x < (1 << column); x++) {\n\n for (int chRownum = 0; chRownum < row; chRownum++) {\n for (int chColNum = 0; chColNum < column; chColNum++) {\n if (inputList[chRownum][chColNum] == 1\n && ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {\n existBlack++;\n }\n }\n }\n if (existBlack == checkBlackCount) ansCount++;\n existBlack = 0;\n\n }\n }\n System.out.println(ansCount);\n\n } catch (Exception e) {\n System.out.println(\"エラー\" + e);\n }\n }\n\n public static int parseI(String value) {\n return Integer.parseInt(value);\n }\n\n public static long parseL(String value) {\n return Long.parseLong(value);\n }\n\n public static double parseD(String value) {\n return Double.parseDouble(value);\n }\n\n public static <T> String parseS(T value) {\n return String.valueOf(value);\n }\n\n public static BigDecimal parseBigD(String value) {\n return new BigDecimal(value);\n }\n\n}",
"Main"
]
| import java.math.BigDecimal;
import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// abc171_a();
// abc171_b();
abc171_c();
// abc172_a();
// abc172_b();
// abc172_c();
// abc173_a();
// abc173_b();
// abc173_c();
}
// int 2147483648 [ 2 * 10(9)]
// long 9223372036854775808 [ 9 * 10(18)]
public static void abc171_a() {
try (Scanner sc = new Scanner(System.in)) {
String a = sc.next();
if (Character.isUpperCase(a.charAt(0))) {
System.out.println("A");
} else {
System.out.println("a");
}
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc171_b() {
try (Scanner sc = new Scanner(System.in)) {
int n = parseI(sc.next());
int k = parseI(sc.next());
int[] prices = new int[n];
for (int i = 0; i < n; i++) {
prices[i] = parseI(sc.next());
}
Arrays.sort(prices);
int ans = 0;
while (0 < k) {
ans += prices[k - 1];
k--;
}
System.out.println(ans);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc171_c() {
try (Scanner sc = new Scanner(System.in)) {
long number = parseL(sc.next());
char a = 'a';
String ans = "";
long divideCnt = 0;
divideCnt = (number - 1) / 26;
ans =
number % 26 == 0 ? "z" : String.valueOf((char) (a + number % 26 - 1));
while (true) {
if (0 == divideCnt) {
break;
}
ans = divideCnt % 26 == 0 ? "z" + ans
: String.valueOf((char) (a + divideCnt % 26 - 1) + ans);
divideCnt = (divideCnt - 1) / 26;
}
System.out.println(ans);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc172_a() {
try (Scanner sc = new Scanner(System.in)) {
int a = parseI(sc.next());
System.out.println(a + (int) Math.pow(a, 2) + (int) Math.pow(a, 3));
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc172_b() {
try (Scanner sc = new Scanner(System.in)) {
String s = sc.next();
String t = sc.next();
int ansCnt = 0;
for (int i = 0; i < s.length(); i++) {
if (!parseS(s.charAt(i)).equals(parseS(t.charAt(i)))) {
ansCnt++;
}
}
System.out.println(ansCnt);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc172_c() {
try (Scanner sc = new Scanner(System.in)) {
int n = parseI(sc.next());
int m = parseI(sc.next());
int k = parseI(sc.next());
long[] nList = new long[n + 1];
long[] mList = new long[m + 1];
nList[0] = 0;
mList[0] = 0;
for (int i = 1; i <= n; i++) {
nList[i] = nList[i - 1] + parseI(sc.next());
}
for (int i = 1; i <= m; i++) {
mList[i] = mList[i - 1] + parseI(sc.next());
}
int ansCnt = 0;
for (int i = 0; i <= n; i++) {
if (k < nList[i]) {
break;
}
while (k - nList[i] < mList[m])
m--;
ansCnt = Math.max(ansCnt, i + m);
}
System.out.println(ansCnt);
}
}
public static void abc173_a() {
try (Scanner sc = new Scanner(System.in)) {
int payment = parseI(sc.next());
int max = 10000;
int thou = 1000;
System.out.println((max - payment) % thou);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc173_b() {
try (Scanner sc = new Scanner(System.in)) {
int num = parseI(sc.next());
// AC
// WA
// TLE
// RE x 0
int[] ansCount = new int[4];
final String[] err = { "AC", "WA", "TLE", "RE" };
Arrays.fill(ansCount, 0);
for (int i = 0; i < num; i++) {
String ans = sc.next();
switch (ans) {
case "AC":
ansCount[0]++;
break;
case "WA":
ansCount[1]++;
break;
case "TLE":
ansCount[2]++;
break;
case "RE":
ansCount[3]++;
break;
}
}
int count = 0;
for (int answer : ansCount) {
System.out.println(err[count] + " x " + answer);
count++;
}
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static void abc173_c() {
try (Scanner sc = new Scanner(System.in)) {
int row = parseI(sc.next());
int column = parseI(sc.next());
int checkBlackCount = parseI(sc.next());
int existBlack = 0;
int ansCount = 0;
int[][] inputList = new int[row][column];
String input = "";
for (int i = 0; i < row; i++) {
input = sc.next();
for (int x = 0; x < column; x++) {
inputList[i][x] =
parseI(parseS(input.charAt(x)).replace(".", "0").replace("#", "1"));
}
}
for (int i = 0; i < (1 << row); i++) {
for (int x = 0; x < (1 << column); x++) {
for (int chRownum = 0; chRownum < row; chRownum++) {
for (int chColNum = 0; chColNum < column; chColNum++) {
if (inputList[chRownum][chColNum] == 1
&& ((i >> chRownum) & 1) == 0 && ((x >> chColNum) & 1) == 0) {
existBlack++;
}
}
}
if (existBlack == checkBlackCount) ansCount++;
existBlack = 0;
}
}
System.out.println(ansCount);
} catch (Exception e) {
System.out.println("エラー" + e);
}
}
public static int parseI(String value) {
return Integer.parseInt(value);
}
public static long parseL(String value) {
return Long.parseLong(value);
}
public static double parseD(String value) {
return Double.parseDouble(value);
}
public static <T> String parseS(T value) {
return String.valueOf(value);
}
public static BigDecimal parseBigD(String value) {
return new BigDecimal(value);
}
}
|
[
7,
6,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
41,
13,
2,
13,
13,
0,
13,
2,
4,
18,
13,
13,
2,
13,
17,
13,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
0,
2
],
[
2,
3
],
[
2,
4
],
[
0,
5
],
[
5,
6
],
[
5,
7
],
[
0,
8
],
[
8,
9
],
[
8,
10
],
[
0,
11
],
[
11,
12
],
[
11,
13
],
[
0,
14
],
[
90,
15
],
[
90,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
18,
22
],
[
22,
23
],
[
22,
24
],
[
18,
25
],
[
25,
26
],
[
25,
27
],
[
18,
28
],
[
28,
29
],
[
28,
30
],
[
18,
31
],
[
31,
32
],
[
31,
33
],
[
18,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
18,
39
],
[
39,
40
],
[
39,
41
],
[
18,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
54,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
54,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
18,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
16,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
]
| [
"\nimport java.util.Map.Entry;\nimport java.util.*;\nimport java.math.*;\nimport org.w3c.dom.css.Counter;\n \npublic class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n ArrayList<String> allmen =new ArrayList <String>(){{}};\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n int bigNum =11;\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n \n for(int i=bigNum;N>0;i--){\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }\n\n\n System.out.println(ans);\n\n }\n}\n \n\n\n ",
"ArrayList <String>(){{}}",
"import java.util.Map.Entry;",
"Entry",
"java.util.Map",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import org.w3c.dom.css.Counter;",
"Counter",
"org.w3c.dom.css",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n ArrayList<String> allmen =new ArrayList <String>(){{}};\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n int bigNum =11;\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n \n for(int i=bigNum;N>0;i--){\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }\n\n\n System.out.println(ans);\n\n }\n}",
"Main",
"public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n ArrayList<String> allmen =new ArrayList <String>(){{}};\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n int bigNum =11;\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n \n for(int i=bigNum;N>0;i--){\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }\n\n\n System.out.println(ans);\n\n }",
"main",
"{\n \n final Scanner sc = new Scanner(System.in);\n\n ArrayList<String> allmen =new ArrayList <String>(){{}};\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n int bigNum =11;\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n \n for(int i=bigNum;N>0;i--){\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }\n\n\n System.out.println(ans);\n\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"ArrayList<String> allmen =new ArrayList <String>(){{}};",
"allmen",
"new ArrayList <String>(){{}}",
"String abc = \"abcdefghijklmnopqrstuvwxyz\";",
"abc",
"\"abcdefghijklmnopqrstuvwxyz\"",
"int bigNum =11;",
"bigNum",
"11",
"Long alf = 26l;",
"alf",
"26l",
"Long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"for(int i=bigNum;N>0;i--){\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }",
"int i=bigNum;",
"int i=bigNum;",
"i",
"bigNum",
"N>0",
"N",
"0",
"i--",
"i--",
"i",
"{\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }",
"{\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }",
"Long targetNum = N-1;",
"targetNum",
"N-1",
"N",
"1",
"int targetStr = (int)(targetNum%alf);",
"targetStr",
"(int)(targetNum%alf)",
"targetNum",
"alf",
"ans = abc.substring(targetStr,targetStr+1)+ans",
"ans",
"abc.substring(targetStr,targetStr+1)+ans",
"abc.substring(targetStr,targetStr+1)",
"abc.substring",
"abc",
"targetStr",
"targetStr+1",
"targetStr",
"1",
"ans",
"N = targetNum/alf",
"N",
"targetNum/alf",
"targetNum",
"alf",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"final String[] args",
"args",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n ArrayList<String> allmen =new ArrayList <String>(){{}};\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n int bigNum =11;\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n \n for(int i=bigNum;N>0;i--){\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }\n\n\n System.out.println(ans);\n\n }\n}",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n ArrayList<String> allmen =new ArrayList <String>(){{}};\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n int bigNum =11;\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n \n for(int i=bigNum;N>0;i--){\n Long targetNum = N-1;\n int targetStr = (int)(targetNum%alf);\n ans = abc.substring(targetStr,targetStr+1)+ans;\n N = targetNum/alf;\n }\n\n\n System.out.println(ans);\n\n }\n}",
"Main"
]
|
import java.util.Map.Entry;
import java.util.*;
import java.math.*;
import org.w3c.dom.css.Counter;
public class Main{
public static void main(final String[] args){
final Scanner sc = new Scanner(System.in);
ArrayList<String> allmen =new ArrayList <String>(){{}};
String abc = "abcdefghijklmnopqrstuvwxyz";
int bigNum =11;
Long alf = 26l;
Long N = sc.nextLong();
String ans = "";
for(int i=bigNum;N>0;i--){
Long targetNum = N-1;
int targetStr = (int)(targetNum%alf);
ans = abc.substring(targetStr,targetStr+1)+ans;
N = targetNum/alf;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
17,
41,
13,
2,
17,
13,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
17,
17,
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
27,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
27,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
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 public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String a = \"\";\n long counter = 0;\n while(n>0){\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }\n System.out.println(a);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String a = \"\";\n long counter = 0;\n while(n>0){\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }\n System.out.println(a);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String a = \"\";\n long counter = 0;\n while(n>0){\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }\n System.out.println(a);\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String a = \"\";\n long counter = 0;\n while(n>0){\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }\n System.out.println(a);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"String a = \"\";",
"a",
"\"\"",
"long counter = 0;",
"counter",
"0",
"while(n>0){\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }",
"n>0",
"n",
"0",
"{\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }",
"counter= (n-1)%26",
"counter",
"(n-1)%26",
"(n-1)",
"n",
"1",
"26",
"char a1 = (char)('a'+counter);",
"a1",
"(char)('a'+counter)",
"'a'",
"counter",
"a=a1+a",
"a",
"a1+a",
"a1",
"a",
"n = (n-1)/26",
"n",
"(n-1)/26",
"(n-1)",
"n",
"1",
"26",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String a = \"\";\n long counter = 0;\n while(n>0){\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }\n System.out.println(a);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String a = \"\";\n long counter = 0;\n while(n>0){\n counter= (n-1)%26;\n char a1 = (char)('a'+counter);\n a=a1+a;\n n = (n-1)/26;\n }\n System.out.println(a);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long n = s.nextLong();
String a = "";
long counter = 0;
while(n>0){
counter= (n-1)%26;
char a1 = (char)('a'+counter);
a=a1+a;
n = (n-1)/26;
}
System.out.println(a);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
2,
2,
13,
13,
17,
0,
13,
2,
2,
17,
13,
17,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
12,
13,
30,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
69,
5
],
[
69,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
24,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
24,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
69,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
62,
66
],
[
66,
67
],
[
0,
68
],
[
68,
69
],
[
68,
70
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n long N = scanner.nextLong();\n\n String R = \"\";\n while(N > 0){\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }\n\n System.out.println(R);\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n long N = scanner.nextLong();\n\n String R = \"\";\n while(N > 0){\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }\n\n System.out.println(R);\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"Main",
"public Main() {\n Scanner scanner = new Scanner(System.in);\n long N = scanner.nextLong();\n\n String R = \"\";\n while(N > 0){\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }\n\n System.out.println(R);\n }",
"Main",
"{\n Scanner scanner = new Scanner(System.in);\n long N = scanner.nextLong();\n\n String R = \"\";\n while(N > 0){\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }\n\n System.out.println(R);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long N = scanner.nextLong();",
"N",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"String R = \"\";",
"R",
"\"\"",
"while(N > 0){\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }",
"N > 0",
"N",
"0",
"{\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }",
"char C = (char)(N%26L);",
"C",
"(char)(N%26L)",
"N",
"26L",
"if(C == 0) C = 26;",
"C == 0",
"C",
"0",
"C = 26",
"C",
"26",
"N = (N - C) / 26L",
"N",
"(N - C) / 26L",
"(N - C)",
"N",
"C",
"26L",
"C = (char)('a'+C-1)",
"C",
"(char)('a'+C-1)",
"'a'+C",
"'a'",
"C",
"1",
"R = C + R",
"R",
"C + R",
"C",
"R",
"System.out.println(R)",
"System.out.println",
"System.out",
"System",
"System.out",
"R",
"public static void main(String[] args) {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n long N = scanner.nextLong();\n\n String R = \"\";\n while(N > 0){\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }\n\n System.out.println(R);\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"public class Main {\n\n public Main() {\n Scanner scanner = new Scanner(System.in);\n long N = scanner.nextLong();\n\n String R = \"\";\n while(N > 0){\n char C = (char)(N%26L);\n if(C == 0) C = 26;\n N = (N - C) / 26L;\n C = (char)('a'+C-1);\n R = C + R;\n }\n\n System.out.println(R);\n }\n\n public static void main(String[] args) {\n new Main();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public Main() {
Scanner scanner = new Scanner(System.in);
long N = scanner.nextLong();
String R = "";
while(N > 0){
char C = (char)(N%26L);
if(C == 0) C = 26;
N = (N - C) / 26L;
C = (char)('a'+C-1);
R = C + R;
}
System.out.println(R);
}
public static void main(String[] args) {
new Main();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
4,
18,
13,
17,
0,
13,
2,
2,
13,
17,
17,
30,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
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
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
11,
14
],
[
11,
15
],
[
11,
16
],
[
11,
17
],
[
11,
18
],
[
11,
19
],
[
11,
20
],
[
11,
21
],
[
11,
22
],
[
11,
23
],
[
11,
24
],
[
11,
25
],
[
11,
26
],
[
11,
27
],
[
11,
28
],
[
11,
29
],
[
11,
30
],
[
11,
31
],
[
11,
32
],
[
11,
33
],
[
11,
34
],
[
11,
35
],
[
11,
36
],
[
11,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
54,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
72,
81
],
[
81,
82
],
[
81,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
8,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
98,
102
],
[
94,
103
],
[
103,
104
],
[
103,
105
],
[
94,
106
],
[
106,
107
],
[
107,
108
],
[
94,
109
],
[
110,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
6,
122
],
[
122,
123
]
]
| [
"import java.util.*;\nclass Main {\n\tpublic static void main(String[] args) {\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\n \"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n ArrayList<Integer> list = new ArrayList<>();\n while(n>26){\n if(n%26==0){\n list.add(25);\n n=n/26-1;\n } else {\n list.add((int)(n%26-1));\n n/=26;\n }\n }\n System.out.print(alphabet[(int)n-1]);\n for(int i = list.size()-1;i>=0;i--){\n System.out.print(alphabet[list.get(i)]);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n\tpublic static void main(String[] args) {\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\n \"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n ArrayList<Integer> list = new ArrayList<>();\n while(n>26){\n if(n%26==0){\n list.add(25);\n n=n/26-1;\n } else {\n list.add((int)(n%26-1));\n n/=26;\n }\n }\n System.out.print(alphabet[(int)n-1]);\n for(int i = list.size()-1;i>=0;i--){\n System.out.print(alphabet[list.get(i)]);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\n \"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n ArrayList<Integer> list = new ArrayList<>();\n while(n>26){\n if(n%26==0){\n list.add(25);\n n=n/26-1;\n } else {\n list.add((int)(n%26-1));\n n/=26;\n }\n }\n System.out.print(alphabet[(int)n-1]);\n for(int i = list.size()-1;i>=0;i--){\n System.out.print(alphabet[list.get(i)]);\n }\n }",
"main",
"{\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\n \"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n ArrayList<Integer> list = new ArrayList<>();\n while(n>26){\n if(n%26==0){\n list.add(25);\n n=n/26-1;\n } else {\n list.add((int)(n%26-1));\n n/=26;\n }\n }\n System.out.print(alphabet[(int)n-1]);\n for(int i = list.size()-1;i>=0;i--){\n System.out.print(alphabet[list.get(i)]);\n }\n }",
"String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\n \"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"alphabet",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\n \"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"ArrayList<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"while(n>26){\n if(n%26==0){\n list.add(25);\n n=n/26-1;\n } else {\n list.add((int)(n%26-1));\n n/=26;\n }\n }",
"n>26",
"n",
"26",
"{\n if(n%26==0){\n list.add(25);\n n=n/26-1;\n } else {\n list.add((int)(n%26-1));\n n/=26;\n }\n }",
"if(n%26==0){\n list.add(25);\n n=n/26-1;\n } else {\n list.add((int)(n%26-1));\n n/=26;\n }",
"n%26==0",
"n%26",
"n",
"26",
"0",
"{\n list.add(25);\n n=n/26-1;\n }",
"list.add(25)",
"list.add",
"list",
"25",
"n=n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"{\n list.add((int)(n%26-1));\n n/=26;\n }",
"list.add((int)(n%26-1))",
"list.add",
"list",
"(int)(n%26-1)",
"n%26",
"n",
"26",
"1",
"n/=26",
"n",
"26",
"System.out.print(alphabet[(int)n-1])",
"System.out.print",
"System.out",
"System",
"System.out",
"alphabet[(int)n-1]",
"alphabet",
"(int)n-1",
"(int)n",
"1",
"for(int i = list.size()-1;i>=0;i--){\n System.out.print(alphabet[list.get(i)]);\n }",
"int i = list.size()-1;",
"int i = list.size()-1;",
"i",
"list.size()-1",
"list.size()",
"list.size",
"list",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(alphabet[list.get(i)]);\n }",
"{\n System.out.print(alphabet[list.get(i)]);\n }",
"System.out.print(alphabet[list.get(i)])",
"System.out.print",
"System.out",
"System",
"System.out",
"alphabet[list.get(i)]",
"alphabet",
"list.get(i)",
"list.get",
"list",
"i",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
String[] alphabet = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q",
"r","s","t","u","v","w","x","y","z"};
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
ArrayList<Integer> list = new ArrayList<>();
while(n>26){
if(n%26==0){
list.add(25);
n=n/26-1;
} else {
list.add((int)(n%26-1));
n/=26;
}
}
System.out.print(alphabet[(int)n-1]);
for(int i = list.size()-1;i>=0;i--){
System.out.print(alphabet[list.get(i)]);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
4,
18,
17,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
4,
18,
13,
17,
41,
13,
20,
4,
18,
13,
17,
17,
41,
13,
17,
42,
2,
13,
17,
30,
4,
18,
13,
2,
4,
18,
13,
17,
41,
13,
2,
2,
4,
18,
13,
17,
13,
4,
18,
13,
17,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
13,
40,
13,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
13,
41,
13,
2,
4,
18,
13,
17,
13,
17,
41,
13,
20,
42,
2,
40,
13,
17,
4,
18,
13,
17,
41,
13,
2,
13,
13,
41,
13,
2,
4,
18,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
40,
13,
14,
2,
13,
17,
3,
41,
13,
13,
4,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
37,
20,
14,
2,
13,
18,
13,
13,
29,
4,
18,
13,
18,
13,
2,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
17,
18,
13,
2,
13,
18,
13,
13,
0,
13,
18,
13,
13,
29,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
2,
2,
4,
13,
13,
13,
13,
4,
13,
13,
13,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
13,
17,
42,
2,
13,
13,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
17,
29,
13,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
4,
18,
13,
17,
40,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
40,
17,
41,
13,
17,
41,
13,
13,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
13,
13,
30,
29,
13,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
30,
29,
13,
29,
40,
13,
23,
13,
23,
13,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
13,
0,
13,
0,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
17,
41,
13,
17,
41,
13,
42,
2,
0,
13,
4,
13,
40,
17,
30,
14,
2,
13,
17,
3,
0,
18,
13,
40,
13,
13,
29,
20,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
42,
2,
13,
17,
0,
13,
4,
13,
41,
13,
2,
13,
17,
14,
13,
0,
13,
4,
13,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
2,
13,
17,
13,
17,
14,
2,
13,
17,
30,
42,
2,
2,
0,
13,
4,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
0,
13,
17,
14,
13,
29,
40,
13,
29,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
0,
13,
17,
13,
14,
2,
13,
40,
17,
0,
18,
13,
17,
40,
17,
12,
13,
30,
14,
2,
13,
13,
4,
13,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
13,
17,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
857,
11
],
[
857,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
857,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
19,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
31,
37
],
[
37,
38
],
[
37,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
31,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
31,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
31,
51
],
[
51,
52
],
[
51,
53
],
[
31,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
31,
59
],
[
59,
60
],
[
59,
61
],
[
31,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
70,
74
],
[
66,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
79,
83
],
[
78,
84
],
[
84,
85
],
[
85,
86
],
[
77,
87
],
[
66,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
66,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
96,
97
],
[
92,
98
],
[
66,
99
],
[
99,
100
],
[
31,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
31,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
31,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
116,
120
],
[
115,
121
],
[
31,
122
],
[
122,
123
],
[
122,
124
],
[
31,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
125,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
31,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
136,
138
],
[
31,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
141,
145
],
[
31,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
146,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
151,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
162,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
151,
170
],
[
170,
171
],
[
170,
172
],
[
151,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
173,
177
],
[
177,
178
],
[
177,
179
],
[
31,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
180,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
187,
190
],
[
17,
191
],
[
191,
192
],
[
857,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
195,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
205,
207
],
[
202,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
214,
216
],
[
195,
217
],
[
217,
218
],
[
217,
219
],
[
195,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
220,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
227,
228
],
[
228,
229
],
[
227,
230
],
[
227,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
235,
237
],
[
224,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
240,
242
],
[
195,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
193,
247
],
[
247,
248
],
[
193,
249
],
[
249,
250
],
[
857,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
261,
264
],
[
261,
265
],
[
260,
266
],
[
266,
267
],
[
266,
268
],
[
266,
269
],
[
266,
270
],
[
259,
271
],
[
253,
272
],
[
272,
273
],
[
251,
274
],
[
274,
275
],
[
251,
276
],
[
276,
277
],
[
251,
278
],
[
278,
279
],
[
251,
280
],
[
280,
281
],
[
857,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
284,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
300,
304
],
[
297,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
306,
310
],
[
305,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
313,
315
],
[
305,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
318,
320
],
[
284,
321
],
[
321,
322
],
[
282,
323
],
[
323,
324
],
[
282,
325
],
[
325,
326
],
[
282,
327
],
[
327,
328
],
[
857,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
337,
339
],
[
331,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
340,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
347,
351
],
[
344,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
353,
357
],
[
352,
358
],
[
358,
359
],
[
358,
360
],
[
360,
361
],
[
360,
362
],
[
352,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
365,
367
],
[
331,
368
],
[
368,
369
],
[
329,
370
],
[
370,
371
],
[
329,
372
],
[
372,
373
],
[
329,
374
],
[
374,
375
],
[
857,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
379,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
383,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
387,
392
],
[
392,
393
],
[
392,
394
],
[
387,
395
],
[
395,
396
],
[
396,
397
],
[
387,
398
],
[
399,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
400,
403
],
[
383,
404
],
[
404,
405
],
[
378,
406
],
[
406,
407
],
[
406,
408
],
[
378,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
409,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
414,
417
],
[
417,
418
],
[
417,
419
],
[
413,
420
],
[
420,
421
],
[
420,
422
],
[
378,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
426,
427
],
[
378,
428
],
[
428,
429
],
[
428,
430
],
[
378,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
434,
435
],
[
378,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
441,
444
],
[
440,
445
],
[
445,
446
],
[
378,
447
],
[
447,
448
],
[
448,
449
],
[
447,
450
],
[
378,
451
],
[
451,
452
],
[
376,
453
],
[
453,
454
],
[
857,
455
],
[
455,
456
],
[
455,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
460,
462
],
[
457,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
457,
467
],
[
467,
468
],
[
467,
469
],
[
457,
470
],
[
470,
471
],
[
470,
472
],
[
457,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
473,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
480,
484
],
[
477,
485
],
[
485,
486
],
[
486,
487
],
[
486,
488
],
[
485,
489
],
[
489,
490
],
[
490,
491
],
[
477,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
495,
496
],
[
495,
497
],
[
492,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
501,
502
],
[
501,
503
],
[
492,
504
],
[
504,
505
],
[
505,
506
],
[
505,
507
],
[
507,
508
],
[
507,
509
],
[
504,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
513,
514
],
[
513,
515
],
[
504,
516
],
[
516,
517
],
[
517,
518
],
[
457,
519
],
[
519,
520
],
[
520,
521
],
[
455,
522
],
[
522,
523
],
[
455,
524
],
[
524,
525
],
[
857,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
528,
530
],
[
530,
531
],
[
530,
532
],
[
526,
533
],
[
533,
534
],
[
526,
535
],
[
535,
536
],
[
526,
537
],
[
537,
538
],
[
526,
539
],
[
539,
540
],
[
526,
541
],
[
541,
542
],
[
541,
543
],
[
543,
544
],
[
544,
545
],
[
544,
546
],
[
543,
547
],
[
547,
548
],
[
547,
549
],
[
543,
551
],
[
551,
552
],
[
551,
553
],
[
553,
554
],
[
553,
555
],
[
526,
556
],
[
556,
557
],
[
556,
558
],
[
558,
559
],
[
559,
560
],
[
559,
561
],
[
558,
562
],
[
562,
563
],
[
562,
564
],
[
558,
566
],
[
566,
567
],
[
566,
568
],
[
568,
569
],
[
568,
570
],
[
556,
571
],
[
571,
572
],
[
526,
573
],
[
573,
574
],
[
573,
575
],
[
575,
576
],
[
576,
577
],
[
576,
578
],
[
575,
580
],
[
580,
581
],
[
580,
582
],
[
575,
583
],
[
583,
584
],
[
575,
585
],
[
585,
586
],
[
586,
587
],
[
587,
588
],
[
587,
589
],
[
589,
590
],
[
586,
591
],
[
591,
592
],
[
585,
593
],
[
593,
594
],
[
594,
595
],
[
595,
596
],
[
595,
597
],
[
594,
598
],
[
593,
599
],
[
599,
600
],
[
600,
601
],
[
600,
602
],
[
602,
603
],
[
599,
604
],
[
575,
605
],
[
605,
606
],
[
526,
607
],
[
607,
608
],
[
607,
609
],
[
609,
610
],
[
610,
611
],
[
610,
612
],
[
609,
613
],
[
613,
614
],
[
613,
615
],
[
615,
616
],
[
609,
617
],
[
617,
618
],
[
618,
619
],
[
618,
620
],
[
617,
621
],
[
621,
622
],
[
621,
623
],
[
623,
624
],
[
609,
625
],
[
625,
626
],
[
625,
627
],
[
627,
628
],
[
627,
629
],
[
609,
630
],
[
630,
631
],
[
630,
632
],
[
632,
633
],
[
632,
634
],
[
634,
635
],
[
609,
636
],
[
636,
637
],
[
637,
638
],
[
638,
639
],
[
639,
640
],
[
639,
641
],
[
641,
642
],
[
638,
643
],
[
637,
644
],
[
644,
645
],
[
644,
646
],
[
636,
647
],
[
647,
648
],
[
648,
649
],
[
648,
650
],
[
650,
651
],
[
651,
652
],
[
652,
653
],
[
652,
654
],
[
651,
655
],
[
650,
656
],
[
609,
657
],
[
657,
658
],
[
657,
659
],
[
659,
660
],
[
660,
661
],
[
609,
662
],
[
662,
663
],
[
526,
664
],
[
664,
665
],
[
664,
666
],
[
666,
667
],
[
667,
668
],
[
667,
669
],
[
666,
670
],
[
670,
671
],
[
670,
672
],
[
672,
673
],
[
666,
674
],
[
674,
675
],
[
675,
676
],
[
675,
677
],
[
674,
678
],
[
678,
679
],
[
678,
680
],
[
680,
681
],
[
666,
682
],
[
682,
683
],
[
682,
684
],
[
684,
685
],
[
684,
686
],
[
666,
687
],
[
687,
688
],
[
687,
689
],
[
689,
690
],
[
689,
691
],
[
691,
692
],
[
666,
693
],
[
693,
694
],
[
694,
695
],
[
695,
696
],
[
696,
697
],
[
696,
698
],
[
698,
699
],
[
695,
700
],
[
694,
701
],
[
701,
702
],
[
701,
703
],
[
693,
704
],
[
704,
705
],
[
705,
706
],
[
705,
707
],
[
707,
708
],
[
708,
709
],
[
709,
710
],
[
709,
711
],
[
708,
712
],
[
707,
713
],
[
666,
714
],
[
714,
715
],
[
714,
716
],
[
716,
717
],
[
717,
718
],
[
666,
719
],
[
719,
720
],
[
526,
721
],
[
721,
722
],
[
721,
723
],
[
723,
724
],
[
724,
725
],
[
724,
726
],
[
723,
727
],
[
727,
728
],
[
727,
729
],
[
723,
730
],
[
730,
731
],
[
730,
732
],
[
732,
733
],
[
723,
734
],
[
734,
735
],
[
735,
736
],
[
735,
737
],
[
734,
738
],
[
738,
739
],
[
738,
740
],
[
740,
741
],
[
723,
742
],
[
742,
743
],
[
742,
744
],
[
744,
745
],
[
744,
746
],
[
723,
747
],
[
747,
748
],
[
747,
749
],
[
749,
750
],
[
749,
751
],
[
751,
752
],
[
723,
753
],
[
753,
754
],
[
754,
755
],
[
755,
756
],
[
756,
757
],
[
756,
758
],
[
758,
759
],
[
755,
760
],
[
754,
761
],
[
761,
762
],
[
761,
763
],
[
753,
764
],
[
764,
765
],
[
765,
766
],
[
765,
767
],
[
767,
768
],
[
768,
769
],
[
769,
770
],
[
769,
771
],
[
768,
772
],
[
767,
773
],
[
723,
774
],
[
774,
775
],
[
775,
776
],
[
775,
777
],
[
774,
778
],
[
778,
779
],
[
779,
780
],
[
780,
781
],
[
781,
782
],
[
782,
783
],
[
782,
784
],
[
784,
785
],
[
781,
786
],
[
780,
787
],
[
787,
788
],
[
787,
789
],
[
779,
790
],
[
790,
791
],
[
791,
792
],
[
791,
793
],
[
793,
794
],
[
794,
795
],
[
794,
796
],
[
793,
797
],
[
797,
798
],
[
797,
799
],
[
723,
800
],
[
800,
801
],
[
800,
802
],
[
802,
803
],
[
803,
804
],
[
723,
805
],
[
805,
806
],
[
526,
807
],
[
807,
808
],
[
807,
809
],
[
809,
810
],
[
810,
811
],
[
810,
812
],
[
812,
813
],
[
813,
814
],
[
812,
815
],
[
812,
816
],
[
816,
817
],
[
816,
818
],
[
812,
819
],
[
809,
820
],
[
820,
821
],
[
821,
822
],
[
821,
823
],
[
823,
824
],
[
820,
825
],
[
825,
826
],
[
826,
827
],
[
826,
828
],
[
825,
829
],
[
829,
830
],
[
526,
831
],
[
831,
832
],
[
831,
833
],
[
833,
834
],
[
834,
835
],
[
835,
836
],
[
835,
837
],
[
834,
838
],
[
838,
839
],
[
833,
840
],
[
840,
841
],
[
841,
842
],
[
841,
843
],
[
843,
844
],
[
526,
845
],
[
845,
846
],
[
845,
847
],
[
847,
848
],
[
848,
849
],
[
849,
850
],
[
849,
851
],
[
848,
852
],
[
847,
853
],
[
853,
854
],
[
854,
855
],
[
0,
856
],
[
856,
857
],
[
856,
858
]
]
| [
"\nimport java.io.*;\nimport java.util.*;\nimport java.math.*;\n\npublic class Main { \n public static final char[] ALPHABET = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".toCharArray();\n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }\n //end of tests\n \n }\n //end of main class\n public static String indexToColumnItr(long index, char[] alphabet) {\n if (index <= 0)\n throw new IndexOutOfBoundsException(\"index must be a positive number\");\n if (index <= alphabet.length)\n return Character.toString(alphabet[(int)index - 1]);\n StringBuffer sb = new StringBuffer();\n while (index > 0) {\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }\n return sb.toString();\n }\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n} ",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main { \n public static final char[] ALPHABET = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".toCharArray();\n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }\n //end of tests\n \n }\n //end of main class\n public static String indexToColumnItr(long index, char[] alphabet) {\n if (index <= 0)\n throw new IndexOutOfBoundsException(\"index must be a positive number\");\n if (index <= alphabet.length)\n return Character.toString(alphabet[(int)index - 1]);\n StringBuffer sb = new StringBuffer();\n while (index > 0) {\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }\n return sb.toString();\n }\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n}",
"Main",
"public static final char[] ALPHABET = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".toCharArray();",
"ALPHABET",
"\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".toCharArray()",
"\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".toCharArray",
"\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\"",
"public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }\n //end of tests\n \n }",
"main",
"{ \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }\n //end of tests\n \n }",
"Reader pm =new Reader();",
"pm",
"new Reader()",
"int t = 1;",
"t",
"1",
"while(t-- > 0){\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }",
"t-- > 0",
"t--",
"t",
"0",
"{\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }",
"long n = pm.nextLong();",
"n",
"pm.nextLong()",
"pm.nextLong",
"pm",
"TreeSet<Long> l = new TreeSet<>();",
"l",
"new TreeSet<>()",
"TreeSet<Long> r = new TreeSet<>();",
"r",
"new TreeSet<>()",
"l.add(1l)",
"l.add",
"l",
"1l",
"r.add(26l)",
"r.add",
"r",
"26l",
"HashMap<Long, Integer> hm = new HashMap<>();",
"hm",
"new HashMap<>()",
"hm.put(1l, 1)",
"hm.put",
"hm",
"1l",
"1",
"int pow = 2;",
"pow",
"2",
"while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }",
"pow < 11",
"pow",
"11",
"{\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }",
"l.add(r.last() + 1)",
"l.add",
"l",
"r.last() + 1",
"r.last()",
"r.last",
"r",
"1",
"long toAdd = (long)Math.pow(26, pow) + l.last() - 1;",
"toAdd",
"(long)Math.pow(26, pow) + l.last() - 1",
"(long)Math.pow(26, pow) + l.last()",
"(long)Math.pow(26, pow)",
"Math.pow",
"Math",
"26",
"pow",
"l.last()",
"l.last",
"l",
"1",
"r.add(toAdd)",
"r.add",
"r",
"toAdd",
"hm.put(l.last(), pow)",
"hm.put",
"hm",
"l.last()",
"l.last",
"l",
"pow",
"pow++",
"pow",
"long low = l.floor(n);",
"low",
"l.floor(n)",
"l.floor",
"l",
"n",
"int pg = hm.get(low);",
"pg",
"hm.get(low)",
"hm.get",
"hm",
"low",
"long got = (long)Math.pow(26, pg) + 1;",
"got",
"(long)Math.pow(26, pg) + 1",
"(long)Math.pow(26, pg)",
"Math.pow",
"Math",
"26",
"pg",
"1",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"while(pg-- > 0) \n sb.append('a');",
"pg-- > 0",
"pg--",
"pg",
"0",
"sb.append('a')",
"sb.append",
"sb",
"'a'",
"long dif = n - low;",
"dif",
"n - low",
"n",
"low",
"int ind = sb.length()-1;",
"ind",
"sb.length()-1",
"sb.length()",
"sb.length",
"sb",
"1",
"while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }",
"dif-- > 0",
"dif--",
"dif",
"0",
"{\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }",
"char pre = sb.charAt(ind);",
"pre",
"sb.charAt(ind)",
"sb.charAt",
"sb",
"ind",
"if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }",
"pre == 'z'",
"pre",
"'z'",
"{\n ind--;\n if(ind < 0)\n break;\n }",
"ind--",
"ind",
"if(ind < 0)\n break;",
"ind < 0",
"ind",
"0",
"break;",
"int prn = (int)pre;",
"prn",
"(int)pre",
"sb.setCharAt(ind, (char)(prn+1))",
"sb.setCharAt",
"sb",
"ind",
"(char)(prn+1)",
"prn",
"1",
"System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase())",
"System.out.println",
"System.out",
"System",
"System.out",
"indexToColumnItr(n, ALPHABET).toLowerCase()",
"indexToColumnItr(n, ALPHABET).toLowerCase",
"indexToColumnItr(n, ALPHABET)",
"indexToColumnItr",
"n",
"ALPHABET",
"String[] args",
"args",
"//end of main class\n public static String indexToColumnItr(long index, char[] alphabet) {\n if (index <= 0)\n throw new IndexOutOfBoundsException(\"index must be a positive number\");\n if (index <= alphabet.length)\n return Character.toString(alphabet[(int)index - 1]);\n StringBuffer sb = new StringBuffer();\n while (index > 0) {\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }\n return sb.toString();\n }",
"indexToColumnItr",
"{\n if (index <= 0)\n throw new IndexOutOfBoundsException(\"index must be a positive number\");\n if (index <= alphabet.length)\n return Character.toString(alphabet[(int)index - 1]);\n StringBuffer sb = new StringBuffer();\n while (index > 0) {\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }\n return sb.toString();\n }",
"if (index <= 0)\n throw new IndexOutOfBoundsException(\"index must be a positive number\");",
"index <= 0",
"index",
"0",
"throw new IndexOutOfBoundsException(\"index must be a positive number\");",
"new IndexOutOfBoundsException(\"index must be a positive number\")",
"if (index <= alphabet.length)\n return Character.toString(alphabet[(int)index - 1]);",
"index <= alphabet.length",
"index",
"alphabet.length",
"alphabet",
"alphabet.length",
"return Character.toString(alphabet[(int)index - 1]);",
"Character.toString(alphabet[(int)index - 1])",
"Character.toString",
"Character",
"alphabet[(int)index - 1]",
"alphabet",
"(int)index - 1",
"(int)index",
"1",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"while (index > 0) {\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }",
"index > 0",
"index",
"0",
"{\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }",
"index--",
"index",
"sb.insert(0, alphabet[(int)(index % alphabet.length)])",
"sb.insert",
"sb",
"0",
"alphabet[(int)(index % alphabet.length)]",
"alphabet",
"(int)(index % alphabet.length)",
"index",
"alphabet.length",
"alphabet",
"alphabet.length",
"index /= alphabet.length",
"index",
"alphabet.length",
"alphabet",
"alphabet.length",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"long index",
"index",
"char[] alphabet",
"alphabet",
"static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n }",
"countInRange",
"{ \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n }",
"int count = 0;",
"count",
"0",
"count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1",
"count",
"upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1",
"upperIndex(arr, n, y) - \n lowerIndex(arr, n, x)",
"upperIndex(arr, n, y)",
"upperIndex",
"arr",
"n",
"y",
"lowerIndex(arr, n, x)",
"lowerIndex",
"arr",
"n",
"x",
"1",
"return count;",
"count",
"int arr[]",
"arr",
"int n",
"n",
"int x",
"x",
"int y",
"y",
"static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n }",
"lowerIndex",
"{ \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n }",
"int l = 0",
"l",
"0",
"h = n - 1;",
"h",
"n - 1",
"n",
"1",
"while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n }",
"l <= h",
"l",
"h",
"{ \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n }",
"int mid = (l + h) / 2;",
"mid",
"(l + h) / 2",
"(l + h)",
"l",
"h",
"2",
"if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1;",
"arr[mid] >= x",
"arr[mid]",
"arr",
"mid",
"x",
"h = mid - 1",
"h",
"mid - 1",
"mid",
"1",
"l = mid + 1",
"l",
"mid + 1",
"mid",
"1",
"return l;",
"l",
"int arr[]",
"arr",
"int n",
"n",
"int x",
"x",
"// function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }",
"upperIndex",
"{ \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }",
"int l = 0",
"l",
"0",
"h = n - 1;",
"h",
"n - 1",
"n",
"1",
"while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n }",
"l <= h",
"l",
"h",
"{ \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n }",
"int mid = (l + h) / 2;",
"mid",
"(l + h) / 2",
"(l + h)",
"l",
"h",
"2",
"if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1;",
"arr[mid] <= y",
"arr[mid]",
"arr",
"mid",
"y",
"l = mid + 1",
"l",
"mid + 1",
"mid",
"1",
"h = mid - 1",
"h",
"mid - 1",
"mid",
"1",
"return h;",
"h",
"int arr[]",
"arr",
"int n",
"n",
"int y",
"y",
"public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }",
"dec_to_bin",
"{\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }",
"if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }",
"n==0",
"n",
"0",
"{\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }",
"StringBuilder str=new StringBuilder(\"\");",
"str",
"new StringBuilder(\"\")",
"for(int i=0;i<30;i++) {\n str.append(\"0\");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<30",
"i",
"30",
"i++",
"i++",
"i",
"{\n str.append(\"0\");\n }",
"{\n str.append(\"0\");\n }",
"str.append(\"0\")",
"str.append",
"str",
"\"0\"",
"return str;",
"str",
"StringBuilder str=new StringBuilder(\"\");",
"str",
"new StringBuilder(\"\")",
"while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }",
"n!=0",
"n",
"0",
"{\n str.append(n%2L);\n n/=2L;\n }",
"str.append(n%2L)",
"str.append",
"str",
"n%2L",
"n",
"2L",
"n/=2L",
"n",
"2L",
"str=str.reverse()",
"str",
"str.reverse()",
"str.reverse",
"str",
"StringBuilder tmp_str=new StringBuilder(\"\");",
"tmp_str",
"new StringBuilder(\"\")",
"int len=str.length();",
"len",
"str.length()",
"str.length",
"str",
"while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }",
"len!=30",
"len",
"30",
"{\n tmp_str.append(\"0\");\n len++;\n }",
"tmp_str.append(\"0\")",
"tmp_str.append",
"tmp_str",
"\"0\"",
"len++",
"len",
"tmp_str.append(str)",
"tmp_str.append",
"tmp_str",
"str",
"return tmp_str;",
"tmp_str",
"long n",
"n",
"private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }",
"binarySearchPM",
"{\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }",
"int n = arr.length;",
"n",
"arr.length",
"arr",
"arr.length",
"int mid = -1;",
"mid",
"-1",
"1",
"int begin = 0",
"begin",
"0",
"end=n;",
"end",
"n",
"while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }",
"begin <= end",
"begin",
"end",
"{\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }",
"mid = (begin+end) / 2",
"mid",
"(begin+end) / 2",
"(begin+end)",
"begin",
"end",
"2",
"if(mid == n){\n return n;\n }",
"mid == n",
"mid",
"n",
"{\n return n;\n }",
"return n;",
"n",
"if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }",
"key < arr[mid]",
"key",
"arr[mid]",
"arr",
"mid",
"{\n end = mid-1;\n }",
"end = mid-1",
"end",
"mid-1",
"mid",
"1",
"if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }",
"key > arr[mid]",
"key",
"arr[mid]",
"arr",
"mid",
"{\n begin = mid+1;\n }",
"begin = mid+1",
"begin",
"mid+1",
"mid",
"1",
"{\n return mid;\n }",
"return mid;",
"mid",
"return -begin; //expected Index",
"-begin",
"begin",
"int[] arr",
"arr",
"int key",
"key",
"static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }",
"Reader",
"final private int BUFFER_SIZE = 1 << 16;",
"BUFFER_SIZE",
"1 << 16",
"1",
"16",
"private DataInputStream din;",
"din",
"private byte[] buffer;",
"buffer",
"private int bufferPointer",
"bufferPointer",
"bytesRead;",
"bytesRead",
"public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(System.in)",
"din",
"new DataInputStream(System.in)",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"Reader",
"{ \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n }",
"din = new DataInputStream(new FileInputStream(file_name))",
"din",
"new DataInputStream(new FileInputStream(file_name))",
"buffer = new byte[BUFFER_SIZE]",
"buffer",
"new byte[BUFFER_SIZE]",
"BUFFER_SIZE",
"bufferPointer = bytesRead = 0",
"bufferPointer",
"bytesRead = 0",
"bytesRead",
"0",
"String file_name",
"file_name",
"public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"readLine",
"{ \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n }",
"byte[] buf = new byte[64];",
"buf",
"new byte[64]",
"64",
"int cnt = 0",
"cnt",
"0",
"c;",
"c",
"while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"(c = read()) != -1",
"(c = read())",
"c",
"read()",
"read",
"-1",
"1",
"{ \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n }",
"if (c == '\\n') \n break;",
"c == '\\n'",
"c",
"'\\n'",
"break;",
"buf[cnt++] = (byte) c",
"buf[cnt++]",
"buf",
"cnt++",
"cnt",
"(byte) c",
"return new String(buf, 0, cnt);",
"new String(buf, 0, cnt)",
"public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n }",
"nextInt",
"{ \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n }",
"int ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"nextLong",
"{ \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n }",
"long ret = 0;",
"ret",
"0",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n }",
"nextDouble",
"{ \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n }",
"double ret = 0",
"ret",
"0",
"div = 1;",
"div",
"1",
"byte c = read();",
"c",
"read()",
"read",
"while (c <= ' ') \n c = read();",
"c <= ' '",
"c",
"' '",
"c = read()",
"c",
"read()",
"read",
"boolean neg = (c == '-');",
"neg",
"(c == '-')",
"c",
"'-'",
"if (neg) \n c = read();",
"neg",
"c = read()",
"c",
"read()",
"read",
"do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9');",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret = ret * 10 + c - '0'; \n }",
"ret = ret * 10 + c - '0'",
"ret",
"ret * 10 + c - '0'",
"ret * 10 + c",
"ret * 10",
"ret",
"10",
"c",
"'0'",
"if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n }",
"c == '.'",
"c",
"'.'",
"{ \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n }",
"while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n }",
"(c = read()) >= '0' && c <= '9'",
"(c = read()) >= '0'",
"(c = read())",
"c",
"read()",
"read",
"'0'",
"c <= '9'",
"c",
"'9'",
"{ \n ret += (c - '0') / (div *= 10); \n }",
"ret += (c - '0') / (div *= 10)",
"ret",
"(c - '0') / (div *= 10)",
"(c - '0')",
"c",
"'0'",
"(div *= 10)",
"div",
"10",
"if (neg) \n return -ret;",
"neg",
"return -ret;",
"-ret",
"ret",
"return ret;",
"ret",
"private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"fillBuffer",
"{ \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n }",
"bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"bytesRead",
"din.read(buffer, bufferPointer = 0, BUFFER_SIZE)",
"din.read",
"din",
"buffer",
"bufferPointer = 0",
"bufferPointer",
"0",
"BUFFER_SIZE",
"if (bytesRead == -1) \n buffer[0] = -1;",
"bytesRead == -1",
"bytesRead",
"-1",
"1",
"buffer[0] = -1",
"buffer[0]",
"buffer",
"0",
"-1",
"1",
"private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"read",
"{ \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n }",
"if (bufferPointer == bytesRead) \n fillBuffer();",
"bufferPointer == bytesRead",
"bufferPointer",
"bytesRead",
"fillBuffer()",
"fillBuffer",
"return buffer[bufferPointer++];",
"buffer[bufferPointer++]",
"buffer",
"bufferPointer++",
"bufferPointer",
"public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n }",
"close",
"{ \n if (din == null) \n return; \n din.close(); \n }",
"if (din == null) \n return;",
"din == null",
"din",
"null",
"return;",
"din.close()",
"din.close",
"din",
"public class Main { \n public static final char[] ALPHABET = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".toCharArray();\n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }\n //end of tests\n \n }\n //end of main class\n public static String indexToColumnItr(long index, char[] alphabet) {\n if (index <= 0)\n throw new IndexOutOfBoundsException(\"index must be a positive number\");\n if (index <= alphabet.length)\n return Character.toString(alphabet[(int)index - 1]);\n StringBuffer sb = new StringBuffer();\n while (index > 0) {\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }\n return sb.toString();\n }\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n}",
"public class Main { \n public static final char[] ALPHABET = \"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".toCharArray();\n public static void main(String[] args) throws java.lang.Exception { \n Reader pm =new Reader(); \n //Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int t = 1;\n while(t-- > 0){\n long n = pm.nextLong();\n TreeSet<Long> l = new TreeSet<>();\n TreeSet<Long> r = new TreeSet<>();\n l.add(1l);\n r.add(26l);\n HashMap<Long, Integer> hm = new HashMap<>();\n hm.put(1l, 1);\n int pow = 2;\n\n while(pow < 11) {\n l.add(r.last() + 1);\n long toAdd = (long)Math.pow(26, pow) + l.last() - 1;\n r.add(toAdd);\n hm.put(l.last(), pow);\n pow++;\n }\n // System.out.println(l);\n // System.out.println(r);\n\n long low = l.floor(n);\n int pg = hm.get(low);\n long got = (long)Math.pow(26, pg) + 1;\n StringBuffer sb = new StringBuffer();\n while(pg-- > 0) \n sb.append('a');\n long dif = n - low;\n int ind = sb.length()-1;\n //System.out.println(dif+\" \"+low);\n while(dif-- > 0) {\n char pre = sb.charAt(ind);\n if(pre == 'z'){\n ind--;\n if(ind < 0)\n break;\n }\n int prn = (int)pre;\n sb.setCharAt(ind, (char)(prn+1));\n }\n //System.out.println(sb);\n System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());\n }\n //end of tests\n \n }\n //end of main class\n public static String indexToColumnItr(long index, char[] alphabet) {\n if (index <= 0)\n throw new IndexOutOfBoundsException(\"index must be a positive number\");\n if (index <= alphabet.length)\n return Character.toString(alphabet[(int)index - 1]);\n StringBuffer sb = new StringBuffer();\n while (index > 0) {\n index--;\n sb.insert(0, alphabet[(int)(index % alphabet.length)]);\n index /= alphabet.length;\n }\n return sb.toString();\n }\n\n static int countInRange(int arr[], int n, int x, int y) { \n // initialize result \n int count = 0; \n count = upperIndex(arr, n, y) - \n lowerIndex(arr, n, x) + 1; \n return count; \n } \n \n \n static int lowerIndex(int arr[], int n, int x) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] >= x) \n h = mid - 1; \n else\n l = mid + 1; \n } \n return l; \n } \n \n // function to find last index <= y \n static int upperIndex(int arr[], int n, int y) { \n int l = 0, h = n - 1; \n while (l <= h) \n { \n int mid = (l + h) / 2; \n if (arr[mid] <= y) \n l = mid + 1; \n else\n h = mid - 1; \n } \n return h; \n }\n \n public static StringBuilder dec_to_bin(long n) {\n // decimal to binary upto 30 binaries\n if(n==0) {\n StringBuilder str=new StringBuilder(\"\");\n for(int i=0;i<30;i++) {\n str.append(\"0\");\n }\n return str;\n }\n StringBuilder str=new StringBuilder(\"\");\n while(n!=0) {\n str.append(n%2L);\n n/=2L;\n }\n str=str.reverse();\n StringBuilder tmp_str=new StringBuilder(\"\");\n int len=str.length();\n while(len!=30) {\n tmp_str.append(\"0\");\n len++;\n }\n tmp_str.append(str);\n return tmp_str;\n }\n \n private static int binarySearchPM(int[] arr, int key){\n int n = arr.length;\n int mid = -1;\n int begin = 0,end=n;\n while(begin <= end){\n mid = (begin+end) / 2;\n if(mid == n){\n return n;\n }\n if(key < arr[mid]){\n end = mid-1;\n } else if(key > arr[mid]){\n begin = mid+1;\n } else {\n return mid;\n }\n }\n //System.out.println(begin+\" \"+end);\n return -begin; //expected Index\n }\n \n static class Reader { \n final private int BUFFER_SIZE = 1 << 16; \n private DataInputStream din; \n private byte[] buffer; \n private int bufferPointer, bytesRead; \n \n public Reader() \n { \n din = new DataInputStream(System.in); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public Reader(String file_name) throws IOException \n { \n din = new DataInputStream(new FileInputStream(file_name)); \n buffer = new byte[BUFFER_SIZE]; \n bufferPointer = bytesRead = 0; \n } \n \n public String readLine() throws IOException \n { \n byte[] buf = new byte[64]; // line length \n int cnt = 0, c; \n while ((c = read()) != -1) \n { \n if (c == '\\n') \n break; \n buf[cnt++] = (byte) c; \n } \n return new String(buf, 0, cnt); \n } \n \n public int nextInt() throws IOException \n { \n int ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do\n { \n ret = ret * 10 + c - '0'; \n } while ((c = read()) >= '0' && c <= '9'); \n \n if (neg) \n return -ret; \n return ret; \n } \n \n public long nextLong() throws IOException \n { \n long ret = 0; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n if (neg) \n return -ret; \n return ret; \n } \n \n public double nextDouble() throws IOException \n { \n double ret = 0, div = 1; \n byte c = read(); \n while (c <= ' ') \n c = read(); \n boolean neg = (c == '-'); \n if (neg) \n c = read(); \n \n do { \n ret = ret * 10 + c - '0'; \n } \n while ((c = read()) >= '0' && c <= '9'); \n \n if (c == '.') \n { \n while ((c = read()) >= '0' && c <= '9') \n { \n ret += (c - '0') / (div *= 10); \n } \n } \n \n if (neg) \n return -ret; \n return ret; \n } \n \n private void fillBuffer() throws IOException \n { \n bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE); \n if (bytesRead == -1) \n buffer[0] = -1; \n } \n \n private byte read() throws IOException \n { \n if (bufferPointer == bytesRead) \n fillBuffer(); \n return buffer[bufferPointer++]; \n } \n \n public void close() throws IOException \n { \n if (din == null) \n return; \n din.close(); \n } \n }\n}",
"Main"
]
|
import java.io.*;
import java.util.*;
import java.math.*;
public class Main {
public static final char[] ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ".toCharArray();
public static void main(String[] args) throws java.lang.Exception {
Reader pm =new Reader();
//Scanner pm = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
int t = 1;
while(t-- > 0){
long n = pm.nextLong();
TreeSet<Long> l = new TreeSet<>();
TreeSet<Long> r = new TreeSet<>();
l.add(1l);
r.add(26l);
HashMap<Long, Integer> hm = new HashMap<>();
hm.put(1l, 1);
int pow = 2;
while(pow < 11) {
l.add(r.last() + 1);
long toAdd = (long)Math.pow(26, pow) + l.last() - 1;
r.add(toAdd);
hm.put(l.last(), pow);
pow++;
}
// System.out.println(l);
// System.out.println(r);
long low = l.floor(n);
int pg = hm.get(low);
long got = (long)Math.pow(26, pg) + 1;
StringBuffer sb = new StringBuffer();
while(pg-- > 0)
sb.append('a');
long dif = n - low;
int ind = sb.length()-1;
//System.out.println(dif+" "+low);
while(dif-- > 0) {
char pre = sb.charAt(ind);
if(pre == 'z'){
ind--;
if(ind < 0)
break;
}
int prn = (int)pre;
sb.setCharAt(ind, (char)(prn+1));
}
//System.out.println(sb);
System.out.println(indexToColumnItr(n, ALPHABET).toLowerCase());
}
//end of tests
}
//end of main class
public static String indexToColumnItr(long index, char[] alphabet) {
if (index <= 0)
throw new IndexOutOfBoundsException("index must be a positive number");
if (index <= alphabet.length)
return Character.toString(alphabet[(int)index - 1]);
StringBuffer sb = new StringBuffer();
while (index > 0) {
index--;
sb.insert(0, alphabet[(int)(index % alphabet.length)]);
index /= alphabet.length;
}
return sb.toString();
}
static int countInRange(int arr[], int n, int x, int y) {
// initialize result
int count = 0;
count = upperIndex(arr, n, y) -
lowerIndex(arr, n, x) + 1;
return count;
}
static int lowerIndex(int arr[], int n, int x) {
int l = 0, h = n - 1;
while (l <= h)
{
int mid = (l + h) / 2;
if (arr[mid] >= x)
h = mid - 1;
else
l = mid + 1;
}
return l;
}
// function to find last index <= y
static int upperIndex(int arr[], int n, int y) {
int l = 0, h = n - 1;
while (l <= h)
{
int mid = (l + h) / 2;
if (arr[mid] <= y)
l = mid + 1;
else
h = mid - 1;
}
return h;
}
public static StringBuilder dec_to_bin(long n) {
// decimal to binary upto 30 binaries
if(n==0) {
StringBuilder str=new StringBuilder("");
for(int i=0;i<30;i++) {
str.append("0");
}
return str;
}
StringBuilder str=new StringBuilder("");
while(n!=0) {
str.append(n%2L);
n/=2L;
}
str=str.reverse();
StringBuilder tmp_str=new StringBuilder("");
int len=str.length();
while(len!=30) {
tmp_str.append("0");
len++;
}
tmp_str.append(str);
return tmp_str;
}
private static int binarySearchPM(int[] arr, int key){
int n = arr.length;
int mid = -1;
int begin = 0,end=n;
while(begin <= end){
mid = (begin+end) / 2;
if(mid == n){
return n;
}
if(key < arr[mid]){
end = mid-1;
} else if(key > arr[mid]){
begin = mid+1;
} else {
return mid;
}
}
//System.out.println(begin+" "+end);
return -begin; //expected Index
}
static class Reader {
final private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public Reader()
{
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public Reader(String file_name) throws IOException
{
din = new DataInputStream(new FileInputStream(file_name));
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public String readLine() throws IOException
{
byte[] buf = new byte[64]; // line length
int cnt = 0, c;
while ((c = read()) != -1)
{
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public int nextInt() throws IOException
{
int ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do
{
ret = ret * 10 + c - '0';
} while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public long nextLong() throws IOException
{
long ret = 0;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (neg)
return -ret;
return ret;
}
public double nextDouble() throws IOException
{
double ret = 0, div = 1;
byte c = read();
while (c <= ' ')
c = read();
boolean neg = (c == '-');
if (neg)
c = read();
do {
ret = ret * 10 + c - '0';
}
while ((c = read()) >= '0' && c <= '9');
if (c == '.')
{
while ((c = read()) >= '0' && c <= '9')
{
ret += (c - '0') / (div *= 10);
}
}
if (neg)
return -ret;
return ret;
}
private void fillBuffer() throws IOException
{
bytesRead = din.read(buffer, bufferPointer = 0, BUFFER_SIZE);
if (bytesRead == -1)
buffer[0] = -1;
}
private byte read() throws IOException
{
if (bufferPointer == bytesRead)
fillBuffer();
return buffer[bufferPointer++];
}
public void close() throws IOException
{
if (din == null)
return;
din.close();
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
18,
13,
13,
2,
13,
17,
0,
13,
17,
40,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
13,
17,
40,
18,
13,
2,
13,
17,
14,
2,
18,
13,
2,
13,
17,
17,
40,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
2,
17,
18,
13,
13,
17,
4,
18,
18,
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
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
28,
36
],
[
36,
37
],
[
36,
38
],
[
28,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
41,
54
],
[
55,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
74,
82
],
[
82,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
84,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
84,
97
],
[
98,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
104,
110
],
[
8,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int[] bits = new int[12]; //26進数を記録\n int top = 0; //26進表記何桁か\n \n //26進数に変換\n while(n > 0) {\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }\n\n //下から1以上になるように補正\n for(int i = 0; i < top - 1; i++) {\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }\n //最上位の桁(bits[top - 1])が0に繰り下がった場合、topを1減らす\n if(bits[top - 1] == 0) top--;\n\n //上の桁から出力\n for(int i = top - 1; i >= 0; i--) {\n System.out.print((char)('a' + bits[i] - 1));\n }\n System.out.println();\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 long n = sc.nextLong();\n int[] bits = new int[12]; //26進数を記録\n int top = 0; //26進表記何桁か\n \n //26進数に変換\n while(n > 0) {\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }\n\n //下から1以上になるように補正\n for(int i = 0; i < top - 1; i++) {\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }\n //最上位の桁(bits[top - 1])が0に繰り下がった場合、topを1減らす\n if(bits[top - 1] == 0) top--;\n\n //上の桁から出力\n for(int i = top - 1; i >= 0; i--) {\n System.out.print((char)('a' + bits[i] - 1));\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int[] bits = new int[12]; //26進数を記録\n int top = 0; //26進表記何桁か\n \n //26進数に変換\n while(n > 0) {\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }\n\n //下から1以上になるように補正\n for(int i = 0; i < top - 1; i++) {\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }\n //最上位の桁(bits[top - 1])が0に繰り下がった場合、topを1減らす\n if(bits[top - 1] == 0) top--;\n\n //上の桁から出力\n for(int i = top - 1; i >= 0; i--) {\n System.out.print((char)('a' + bits[i] - 1));\n }\n System.out.println();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int[] bits = new int[12]; //26進数を記録\n int top = 0; //26進表記何桁か\n \n //26進数に変換\n while(n > 0) {\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }\n\n //下から1以上になるように補正\n for(int i = 0; i < top - 1; i++) {\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }\n //最上位の桁(bits[top - 1])が0に繰り下がった場合、topを1減らす\n if(bits[top - 1] == 0) top--;\n\n //上の桁から出力\n for(int i = top - 1; i >= 0; i--) {\n System.out.print((char)('a' + bits[i] - 1));\n }\n System.out.println();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int[] bits = new int[12];",
"bits",
"new int[12]",
"12",
"int top = 0;",
"top",
"0",
"while(n > 0) {\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }",
"n > 0",
"n",
"0",
"{\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }",
"bits[top] = (int)(n % 26)",
"bits[top]",
"bits",
"top",
"(int)(n % 26)",
"n",
"26",
"n /= 26",
"n",
"26",
"top++",
"top",
"for(int i = 0; i < top - 1; i++) {\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < top - 1",
"i",
"top - 1",
"top",
"1",
"i++",
"i++",
"i",
"{\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }",
"{\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }",
"if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }",
"bits[i] <= 0",
"bits[i]",
"bits",
"i",
"0",
"{\n bits[i] += 26;\n bits[i + 1]--;\n }",
"bits[i] += 26",
"bits[i]",
"bits",
"i",
"26",
"bits[i + 1]--",
"bits[i + 1]",
"bits",
"i + 1",
"i",
"1",
"if(bits[top - 1] == 0) top--;",
"bits[top - 1] == 0",
"bits[top - 1]",
"bits",
"top - 1",
"top",
"1",
"0",
"top--",
"top",
"for(int i = top - 1; i >= 0; i--) {\n System.out.print((char)('a' + bits[i] - 1));\n }",
"int i = top - 1;",
"int i = top - 1;",
"i",
"top - 1",
"top",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print((char)('a' + bits[i] - 1));\n }",
"{\n System.out.print((char)('a' + bits[i] - 1));\n }",
"System.out.print((char)('a' + bits[i] - 1))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)('a' + bits[i] - 1)",
"'a' + bits[i]",
"'a'",
"bits[i]",
"bits",
"i",
"1",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int[] bits = new int[12]; //26進数を記録\n int top = 0; //26進表記何桁か\n \n //26進数に変換\n while(n > 0) {\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }\n\n //下から1以上になるように補正\n for(int i = 0; i < top - 1; i++) {\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }\n //最上位の桁(bits[top - 1])が0に繰り下がった場合、topを1減らす\n if(bits[top - 1] == 0) top--;\n\n //上の桁から出力\n for(int i = top - 1; i >= 0; i--) {\n System.out.print((char)('a' + bits[i] - 1));\n }\n System.out.println();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int[] bits = new int[12]; //26進数を記録\n int top = 0; //26進表記何桁か\n \n //26進数に変換\n while(n > 0) {\n bits[top] = (int)(n % 26);\n n /= 26;\n top++;\n }\n\n //下から1以上になるように補正\n for(int i = 0; i < top - 1; i++) {\n if(bits[i] <= 0) {\n bits[i] += 26;\n bits[i + 1]--;\n }\n }\n //最上位の桁(bits[top - 1])が0に繰り下がった場合、topを1減らす\n if(bits[top - 1] == 0) top--;\n\n //上の桁から出力\n for(int i = top - 1; i >= 0; i--) {\n System.out.print((char)('a' + bits[i] - 1));\n }\n System.out.println();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
int[] bits = new int[12]; //26進数を記録
int top = 0; //26進表記何桁か
//26進数に変換
while(n > 0) {
bits[top] = (int)(n % 26);
n /= 26;
top++;
}
//下から1以上になるように補正
for(int i = 0; i < top - 1; i++) {
if(bits[i] <= 0) {
bits[i] += 26;
bits[i + 1]--;
}
}
//最上位の桁(bits[top - 1])が0に繰り下がった場合、topを1減らす
if(bits[top - 1] == 0) top--;
//上の桁から出力
for(int i = top - 1; i >= 0; i--) {
System.out.print((char)('a' + bits[i] - 1));
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
0,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
0,
13,
2,
13,
13,
0,
13,
2,
2,
13,
13,
17,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
29,
4,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
452,
14
],
[
452,
15
],
[
15,
16
],
[
15,
17
],
[
452,
18
],
[
18,
19
],
[
18,
20
],
[
452,
21
],
[
21,
22
],
[
452,
23
],
[
23,
24
],
[
452,
25
],
[
25,
26
],
[
452,
27
],
[
27,
28
],
[
452,
29
],
[
29,
30
],
[
452,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
33,
42
],
[
42,
43
],
[
42,
44
],
[
33,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
49,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
49,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
33,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
33,
78
],
[
78,
79
],
[
79,
80
],
[
31,
81
],
[
81,
82
],
[
452,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
83,
90
],
[
90,
91
],
[
90,
92
],
[
83,
94
],
[
94,
95
],
[
94,
96
],
[
83,
97
],
[
97,
98
],
[
97,
99
],
[
83,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
103,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
114,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
110,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
128,
132
],
[
132,
133
],
[
133,
134
],
[
102,
135
],
[
135,
136
],
[
83,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
140,
148
],
[
148,
149
],
[
149,
150
],
[
83,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
83,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
167,
177
],
[
177,
178
],
[
83,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
184,
185
],
[
185,
186
],
[
83,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
190,
194
],
[
194,
195
],
[
189,
196
],
[
196,
197
],
[
196,
198
],
[
189,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
189,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
208,
211
],
[
207,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
189,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
83,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
224,
227
],
[
227,
228
],
[
83,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
232,
236
],
[
236,
237
],
[
231,
238
],
[
238,
239
],
[
238,
240
],
[
231,
241
],
[
241,
242
],
[
241,
243
],
[
231,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
231,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
231,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
265,
267
],
[
260,
268
],
[
268,
269
],
[
269,
270
],
[
231,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
279,
281
],
[
274,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
288,
290
],
[
274,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
292,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
291,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
303,
307
],
[
291,
308
],
[
308,
309
],
[
309,
310
],
[
273,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
83,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
83,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
330,
331
],
[
330,
332
],
[
326,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
333,
338
],
[
338,
339
],
[
338,
340
],
[
333,
341
],
[
341,
342
],
[
342,
343
],
[
333,
344
],
[
345,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
346,
350
],
[
350,
351
],
[
351,
352
],
[
326,
353
],
[
353,
354
],
[
324,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
355,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
360,
365
],
[
365,
366
],
[
365,
367
],
[
360,
368
],
[
368,
369
],
[
369,
370
],
[
360,
371
],
[
372,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
377,
378
],
[
378,
379
],
[
355,
380
],
[
380,
381
],
[
321,
382
],
[
382,
383
],
[
321,
384
],
[
384,
385
],
[
83,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
392,
393
],
[
392,
394
],
[
395,
396
],
[
395,
397
],
[
391,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
400,
402
],
[
398,
403
],
[
403,
404
],
[
403,
405
],
[
398,
406
],
[
406,
407
],
[
407,
408
],
[
398,
409
],
[
410,
410
],
[
410,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
411,
415
],
[
415,
416
],
[
416,
417
],
[
391,
418
],
[
418,
419
],
[
389,
420
],
[
420,
421
],
[
421,
422
],
[
421,
423
],
[
420,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
425,
430
],
[
430,
431
],
[
430,
432
],
[
425,
433
],
[
433,
434
],
[
434,
435
],
[
425,
436
],
[
437,
437
],
[
437,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
443,
444
],
[
420,
445
],
[
445,
446
],
[
386,
447
],
[
447,
448
],
[
386,
449
],
[
449,
450
],
[
0,
451
],
[
451,
452
],
[
451,
453
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\npublic class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tlong n = sc.nextLong();\n\t\t\n\t\ts = \"\";\n\t\t\t\t\n\t\t String result = \"\";\n\t\t while (n > 0) {\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }\n\n\t\tout.println(result);\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tlong n = sc.nextLong();\n\t\t\n\t\ts = \"\";\n\t\t\t\t\n\t\t String result = \"\";\n\t\t while (n > 0) {\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }\n\n\t\tout.println(result);\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"Main",
"static FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static int n;",
"n",
"static int m;",
"m",
"static int a;",
"a",
"static int b;",
"b",
"static String s;",
"s",
"public static void main(String[] args) {\n\t\tlong n = sc.nextLong();\n\t\t\n\t\ts = \"\";\n\t\t\t\t\n\t\t String result = \"\";\n\t\t while (n > 0) {\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }\n\n\t\tout.println(result);\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"main",
"{\n\t\tlong n = sc.nextLong();\n\t\t\n\t\ts = \"\";\n\t\t\t\t\n\t\t String result = \"\";\n\t\t while (n > 0) {\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }\n\n\t\tout.println(result);\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"s = \"\"",
"s",
"\"\"",
"String result = \"\";",
"result",
"\"\"",
"while (n > 0) {\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }",
"n > 0",
"n",
"0",
"{\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }",
"n--",
"n",
"int remainder = (int) (n % 26);",
"remainder",
"(int) (n % 26)",
"n",
"26",
"char digit = (char) (remainder + 97);",
"digit",
"(char) (remainder + 97)",
"remainder",
"97",
"result = digit + result",
"result",
"digit + result",
"digit",
"result",
"n= (n - remainder) / 26",
"n",
"(n - remainder) / 26",
"(n - remainder)",
"n",
"remainder",
"26",
"out.println(result)",
"out.println",
"out",
"result",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }",
"hasNextByte",
"{\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }",
"if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t return true;\n\t }",
"return true;",
"true",
"{\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }",
"ptr = 0",
"ptr",
"0",
"try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"IOException e",
"{\n\t e.printStackTrace();\n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t buflen = in.read(buffer);\n\t }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t return false;\n\t }",
"buflen <= 0",
"buflen",
"0",
"{\n\t return false;\n\t }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }",
"readByte",
"{\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }",
"if (hasNextByte()) return buffer[ptr++];\n\t else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }",
"isPrintableChar",
"{\n\t return 33 <= c && c <= 126;\n\t }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }",
"skipUnprintable",
"{\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }",
"hasNext",
"{\n\t skipUnprintable();\n\t return hasNextByte();\n\t }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }",
"next",
"{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }",
"nextDouble",
"{\n\t \treturn Double.parseDouble(next());\n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }",
"nextLong",
"{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }",
"b == '-'",
"b",
"'-'",
"{\n\t minus = true;\n\t b = readByte();\n\t }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t throw new NumberFormatException();\n\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }",
"true",
"{\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }",
"if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t n *= 10;\n\t n += b - '0';\n\t }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t return minus ? -n : n;\n\t }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t throw new NumberFormatException();\n\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t return (int) nextLong();\n\t }",
"nextInt",
"{\n\t return (int) nextLong();\n\t }",
"return (int) nextLong();",
"(int) nextLong()",
"nextLong",
"public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }",
"nextIntArray",
"{\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }",
"if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"oneBased",
"{\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"int[] array = new int[N + 1];",
"array",
"new int[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextInt();\n\t }",
"{\n\t array[i] = sc.nextInt();\n\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"{\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"int[] array = new int[N];",
"array",
"new int[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextInt();\n\t }",
"{\n\t array[i] = sc.nextInt();\n\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }",
"nextLongArray",
"{\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }",
"if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"oneBased",
"{\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"long[] array = new long[N + 1];",
"array",
"new long[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextLong();\n\t }",
"{\n\t array[i] = sc.nextLong();\n\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"{\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"long[] array = new long[N];",
"array",
"new long[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextLong();\n\t }",
"{\n\t array[i] = sc.nextLong();\n\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tlong n = sc.nextLong();\n\t\t\n\t\ts = \"\";\n\t\t\t\t\n\t\t String result = \"\";\n\t\t while (n > 0) {\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }\n\n\t\tout.println(result);\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\tstatic String s;\n\t//static HashMap <Integer, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tlong n = sc.nextLong();\n\t\t\n\t\ts = \"\";\n\t\t\t\t\n\t\t String result = \"\";\n\t\t while (n > 0) {\n\t\t n--; // 1 => a, not 0 => a\n\t\t int remainder = (int) (n % 26);\n\t\t char digit = (char) (remainder + 97);\n\t\t result = digit + result;\n\t\t n= (n - remainder) / 26;\n\t\t }\n\n\t\tout.println(result);\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
public class Main{
static FastScanner sc = new FastScanner();
static PrintWriter out = new PrintWriter(System.out);
static int n;
static int m;
static int a;
static int b;
static String s;
//static HashMap <Integer, Integer> map;
public static void main(String[] args) {
long n = sc.nextLong();
s = "";
String result = "";
while (n > 0) {
n--; // 1 => a, not 0 => a
int remainder = (int) (n % 26);
char digit = (char) (remainder + 97);
result = digit + result;
n= (n - remainder) / 26;
}
out.println(result);
out.flush();
}
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) return buffer[ptr++];
else return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
private void skipUnprintable() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
}
public boolean hasNext() {
skipUnprintable();
return hasNextByte();
}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public double nextDouble () {
return Double.parseDouble(next());
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
return (int) nextLong();
}
public int[] nextIntArray(int N, boolean oneBased) {
if (oneBased) {
int[] array = new int[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextInt();
}
return array;
} else {
int[] array = new int[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextInt();
}
return array;
}
}
public long[] nextLongArray(int N, boolean oneBased) {
if (oneBased) {
long[] array = new long[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextLong();
}
return array;
} else {
long[] array = new long[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextLong();
}
return array;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
40,
13,
14,
2,
2,
13,
17,
2,
17,
13,
29,
4,
18,
13,
2,
17,
13,
41,
13,
2,
4,
13,
2,
13,
17,
2,
17,
2,
13,
17,
29,
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
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
6,
28
],
[
28,
29
],
[
4,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
32,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
32,
63
],
[
63,
64
],
[
30,
65
],
[
65,
66
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String res = func(n);\n System.out.println(res);\n }\n \n public static String func(long n) {\n n--;\n if(n <= 25 && 0 <= n)\n return Character.toString((char)(97 + n));\n String res = func(n/26) + ((char)(97 + (n%26)));\n \n return res;\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String res = func(n);\n System.out.println(res);\n }\n \n public static String func(long n) {\n n--;\n if(n <= 25 && 0 <= n)\n return Character.toString((char)(97 + n));\n String res = func(n/26) + ((char)(97 + (n%26)));\n \n return res;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String res = func(n);\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String res = func(n);\n System.out.println(res);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String res = func(n);",
"res",
"func(n)",
"func",
"n",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public static String func(long n) {\n n--;\n if(n <= 25 && 0 <= n)\n return Character.toString((char)(97 + n));\n String res = func(n/26) + ((char)(97 + (n%26)));\n \n return res;\n }",
"func",
"{\n n--;\n if(n <= 25 && 0 <= n)\n return Character.toString((char)(97 + n));\n String res = func(n/26) + ((char)(97 + (n%26)));\n \n return res;\n }",
"n--",
"n",
"if(n <= 25 && 0 <= n)\n return Character.toString((char)(97 + n));",
"n <= 25 && 0 <= n",
"n <= 25",
"n",
"25",
"0 <= n",
"0",
"n",
"return Character.toString((char)(97 + n));",
"Character.toString((char)(97 + n))",
"Character.toString",
"Character",
"(char)(97 + n)",
"97",
"n",
"String res = func(n/26) + ((char)(97 + (n%26)));",
"res",
"func(n/26) + ((char)(97 + (n%26)))",
"func(n/26)",
"func",
"n/26",
"n",
"26",
"((char)(97 + (n%26)))",
"97",
"(n%26)",
"n",
"26",
"return res;",
"res",
"long n",
"n"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
String res = func(n);
System.out.println(res);
}
public static String func(long n) {
n--;
if(n <= 25 && 0 <= n)
return Character.toString((char)(97 + n));
String res = func(n/26) + ((char)(97 + (n%26)));
return res;
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
40,
13,
0,
13,
17,
30,
40,
13,
4,
18,
13,
2,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
71,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
43,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
30,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
30,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
58,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
9,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"Main",
"public static final int MOD = 1000000007;",
"MOD",
"1000000007",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = Long.parseLong(sc.next());",
"n",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }",
"long mod = n % 26;",
"mod",
"n % 26",
"n",
"26",
"if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }",
"mod == 0",
"mod",
"0",
"{\n n--;\n mod = 25;\n }",
"n--",
"n",
"mod = 25",
"mod",
"25",
"{\n mod--;\n }",
"mod--",
"mod",
"sb.append((char) ('a' + mod))",
"sb.append",
"sb",
"(char) ('a' + mod)",
"'a'",
"mod",
"n /= 26",
"n",
"26",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n long mod = n % 26;\n if (mod == 0) {\n n--;\n mod = 25;\n } else {\n mod--;\n }\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static final int MOD = 1000000007;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = Long.parseLong(sc.next());
StringBuilder sb = new StringBuilder();
while (n > 0) {
long mod = n % 26;
if (mod == 0) {
n--;
mod = 25;
} else {
mod--;
}
sb.append((char) ('a' + mod));
n /= 26;
}
System.out.println(sb.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
17,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
53,
5
],
[
53,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
10,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
32,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
29,
41
],
[
41,
42
],
[
41,
43
],
[
10,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
6,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }",
"{\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long N = Long.parseLong(sc.next());",
"N",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }",
"N > 0",
"N",
"0",
"{\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }",
"N--",
"N",
"ans.insert(0, (char) ('a' + (N % 26)))",
"ans.insert",
"ans",
"0",
"(char) ('a' + (N % 26))",
"'a'",
"(N % 26)",
"N",
"26",
"N /= 26",
"N",
"26",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = Long.parseLong(sc.next());\n StringBuilder ans = new StringBuilder();\n while(N > 0) {\n N--;\n ans.insert(0, (char) ('a' + (N % 26)));\n N /= 26;\n }\n System.out.println(ans);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
long N = Long.parseLong(sc.next());
StringBuilder ans = new StringBuilder();
while(N > 0) {
N--;
ans.insert(0, (char) ('a' + (N % 26)));
N /= 26;
}
System.out.println(ans);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
0,
13,
2,
2,
13,
17,
17,
30,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
85,
8
],
[
85,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
9,
26
],
[
26,
27
],
[
85,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
44,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
60,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
30,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
80,
81
],
[
28,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t\tLong n=sc.nextLong();\n\t\tList<Long> li=new ArrayList<Long>();\n\t\tQuadrillion(n);\n\t\t\n\t\t\n\t}\n\tpublic static void Quadrillion(Long n)\n\t{\n\t\tStringBuffer sb=new StringBuffer();\n\t\twhile(n>0)\n\t\t{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}\n\t\t System.out.println(sb.reverse());\n\t}\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t\tLong n=sc.nextLong();\n\t\tList<Long> li=new ArrayList<Long>();\n\t\tQuadrillion(n);\n\t\t\n\t\t\n\t}\n\tpublic static void Quadrillion(Long n)\n\t{\n\t\tStringBuffer sb=new StringBuffer();\n\t\twhile(n>0)\n\t\t{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}\n\t\t System.out.println(sb.reverse());\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t\tLong n=sc.nextLong();\n\t\tList<Long> li=new ArrayList<Long>();\n\t\tQuadrillion(n);\n\t\t\n\t\t\n\t}",
"main",
"{\n\t Scanner sc=new Scanner(System.in);\n\t\tLong n=sc.nextLong();\n\t\tList<Long> li=new ArrayList<Long>();\n\t\tQuadrillion(n);\n\t\t\n\t\t\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"List<Long> li=new ArrayList<Long>();",
"li",
"new ArrayList<Long>()",
"Quadrillion(n)",
"Quadrillion",
"n",
"String[] args",
"args",
"public static void Quadrillion(Long n)\n\t{\n\t\tStringBuffer sb=new StringBuffer();\n\t\twhile(n>0)\n\t\t{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}\n\t\t System.out.println(sb.reverse());\n\t}",
"Quadrillion",
"{\n\t\tStringBuffer sb=new StringBuffer();\n\t\twhile(n>0)\n\t\t{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}\n\t\t System.out.println(sb.reverse());\n\t}",
"StringBuffer sb=new StringBuffer();",
"sb",
"new StringBuffer()",
"while(n>0)\n\t\t{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}",
"Long x=n%26;",
"x",
"n%26",
"n",
"26",
"if(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}",
"x==0",
"x",
"0",
"{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}",
"sb.append('z')",
"sb.append",
"sb",
"'z'",
"n=n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}",
"sb.append((char)((x-1)+'a'))",
"sb.append",
"sb",
"(char)((x-1)+'a')",
"(x-1)",
"x",
"1",
"'a'",
"n=n/26",
"n",
"n/26",
"n",
"26",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"Long n",
"n",
"public class Main{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t\tLong n=sc.nextLong();\n\t\tList<Long> li=new ArrayList<Long>();\n\t\tQuadrillion(n);\n\t\t\n\t\t\n\t}\n\tpublic static void Quadrillion(Long n)\n\t{\n\t\tStringBuffer sb=new StringBuffer();\n\t\twhile(n>0)\n\t\t{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}\n\t\t System.out.println(sb.reverse());\n\t}\n\n}",
"public class Main{\n\tpublic static void main(String[] args) throws Exception\n\t{\n\t Scanner sc=new Scanner(System.in);\n\t\tLong n=sc.nextLong();\n\t\tList<Long> li=new ArrayList<Long>();\n\t\tQuadrillion(n);\n\t\t\n\t\t\n\t}\n\tpublic static void Quadrillion(Long n)\n\t{\n\t\tStringBuffer sb=new StringBuffer();\n\t\twhile(n>0)\n\t\t{\n\t\t\tLong x=n%26;\n\t\t\tif(x==0)\n\t\t\t{\n\t\t\t\tsb.append('z');\n\t\t\t\tn=n/26-1;\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\tsb.append((char)((x-1)+'a'));\n\t\t\t\tn=n/26;\n\t\t\t}\n\t\t}\n\t\t System.out.println(sb.reverse());\n\t}\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args) throws Exception
{
Scanner sc=new Scanner(System.in);
Long n=sc.nextLong();
List<Long> li=new ArrayList<Long>();
Quadrillion(n);
}
public static void Quadrillion(Long n)
{
StringBuffer sb=new StringBuffer();
while(n>0)
{
Long x=n%26;
if(x==0)
{
sb.append('z');
n=n/26-1;
}
else
{
sb.append((char)((x-1)+'a'));
n=n/26;
}
}
System.out.println(sb.reverse());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
17,
30,
40,
13,
4,
18,
13,
17,
2,
17,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
57,
5
],
[
57,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
22,
34
],
[
34,
35
],
[
34,
36
],
[
22,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n while (true) {\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }\n String ans = sb.toString();\n System.out.println(ans);\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 long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n while (true) {\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }\n String ans = sb.toString();\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n while (true) {\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }\n String ans = sb.toString();\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n while (true) {\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }\n String ans = sb.toString();\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (true) {\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }",
"true",
"{\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }",
"n--",
"n",
"sb.insert(0, (char) ('a' + n % 26))",
"sb.insert",
"sb",
"0",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"if (n == 0) {\n break;\n }",
"n == 0",
"n",
"0",
"{\n break;\n }",
"break;",
"String ans = sb.toString();",
"ans",
"sb.toString()",
"sb.toString",
"sb",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n while (true) {\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }\n String ans = sb.toString();\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n while (true) {\n n--;\n sb.insert(0, (char) ('a' + n % 26));\n n /= 26;\n if (n == 0) {\n break;\n }\n }\n String ans = sb.toString();\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
StringBuilder sb = new StringBuilder();
while (true) {
n--;
sb.insert(0, (char) ('a' + n % 26));
n /= 26;
if (n == 0) {
break;
}
}
String ans = sb.toString();
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
2,
4,
18,
13,
18,
13,
13,
17,
30,
0,
13,
4,
18,
13,
18,
13,
13,
41,
13,
4,
18,
13,
13,
0,
13,
18,
13,
17,
41,
13,
2,
4,
18,
18,
13,
17,
17,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
78,
8
],
[
78,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
24,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
33,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
33,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
33,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
55,
61
],
[
33,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
9,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n Scanner sc = new Scanner(System.in);\n BigInteger inu = new BigInteger(sc.next());\n BigInteger t = new BigInteger(\"26\");\n\n StringBuilder sb = new StringBuilder();\n while (inu.compareTo(BigInteger.ZERO) > 0) {\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n Scanner sc = new Scanner(System.in);\n BigInteger inu = new BigInteger(sc.next());\n BigInteger t = new BigInteger(\"26\");\n\n StringBuilder sb = new StringBuilder();\n while (inu.compareTo(BigInteger.ZERO) > 0) {\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n\t// write your code here\n Scanner sc = new Scanner(System.in);\n BigInteger inu = new BigInteger(sc.next());\n BigInteger t = new BigInteger(\"26\");\n\n StringBuilder sb = new StringBuilder();\n while (inu.compareTo(BigInteger.ZERO) > 0) {\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }",
"main",
"{\n\t// write your code here\n Scanner sc = new Scanner(System.in);\n BigInteger inu = new BigInteger(sc.next());\n BigInteger t = new BigInteger(\"26\");\n\n StringBuilder sb = new StringBuilder();\n while (inu.compareTo(BigInteger.ZERO) > 0) {\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigInteger inu = new BigInteger(sc.next());",
"inu",
"new BigInteger(sc.next())",
"BigInteger t = new BigInteger(\"26\");",
"t",
"new BigInteger(\"26\")",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (inu.compareTo(BigInteger.ZERO) > 0) {\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }",
"inu.compareTo(BigInteger.ZERO) > 0",
"inu.compareTo(BigInteger.ZERO)",
"inu.compareTo",
"inu",
"BigInteger.ZERO",
"BigInteger",
"BigInteger.ZERO",
"0",
"{\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }",
"inu = inu.subtract(BigInteger.ONE)",
"inu",
"inu.subtract(BigInteger.ONE)",
"inu.subtract",
"inu",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"BigInteger[] big = inu.divideAndRemainder(t);",
"big",
"inu.divideAndRemainder(t)",
"inu.divideAndRemainder",
"inu",
"t",
"inu = big[0]",
"inu",
"big[0]",
"big",
"0",
"char c = (char)(big[1].intValue() + 'a');",
"c",
"(char)(big[1].intValue() + 'a')",
"big[1].intValue()",
"big[1].intValue",
"big[1]",
"big",
"1",
"'a'",
"sb.insert(0, c)",
"sb.insert",
"sb",
"0",
"c",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n Scanner sc = new Scanner(System.in);\n BigInteger inu = new BigInteger(sc.next());\n BigInteger t = new BigInteger(\"26\");\n\n StringBuilder sb = new StringBuilder();\n while (inu.compareTo(BigInteger.ZERO) > 0) {\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\t// write your code here\n Scanner sc = new Scanner(System.in);\n BigInteger inu = new BigInteger(sc.next());\n BigInteger t = new BigInteger(\"26\");\n\n StringBuilder sb = new StringBuilder();\n while (inu.compareTo(BigInteger.ZERO) > 0) {\n inu = inu.subtract(BigInteger.ONE);\n BigInteger[] big = inu.divideAndRemainder(t);\n inu = big[0];\n char c = (char)(big[1].intValue() + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.*;
public class Main {
public static void main(String[] args) {
// write your code here
Scanner sc = new Scanner(System.in);
BigInteger inu = new BigInteger(sc.next());
BigInteger t = new BigInteger("26");
StringBuilder sb = new StringBuilder();
while (inu.compareTo(BigInteger.ZERO) > 0) {
inu = inu.subtract(BigInteger.ONE);
BigInteger[] big = inu.divideAndRemainder(t);
inu = big[0];
char c = (char)(big[1].intValue() + 'a');
sb.insert(0, c);
}
System.out.println(sb.toString());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
2,
18,
13,
13,
17,
41,
13,
2,
18,
13,
13,
17,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
42,
2,
2,
13,
17,
2,
2,
4,
18,
13,
17,
13,
17,
17,
40,
13,
0,
13,
2,
2,
2,
2,
4,
18,
13,
17,
2,
13,
17,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
18,
4,
18,
4,
13,
17,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
302,
8
],
[
302,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
302,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
302,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
302,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
30,
39
],
[
39,
40
],
[
39,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
30,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
51,
57
],
[
50,
58
],
[
45,
59
],
[
59,
60
],
[
30,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
65,
75
],
[
64,
76
],
[
63,
77
],
[
30,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
83,
85
],
[
78,
86
],
[
86,
87
],
[
87,
88
],
[
78,
89
],
[
90,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
90,
99
],
[
99,
100
],
[
99,
101
],
[
30,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
105,
106
],
[
106,
107
],
[
28,
108
],
[
108,
109
],
[
28,
110
],
[
110,
111
],
[
302,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
114,
121
],
[
121,
122
],
[
121,
123
],
[
121,
124
],
[
114,
125
],
[
125,
126
],
[
126,
127
],
[
112,
128
],
[
128,
129
],
[
302,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
130,
134
],
[
134,
135
],
[
130,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
142,
144
],
[
136,
145
],
[
145,
146
],
[
130,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
150,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
160,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
149,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
130,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
130,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
130,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
196,
199
],
[
199,
200
],
[
130,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
205,
210
],
[
130,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
218,
223
],
[
223,
224
],
[
223,
225
],
[
218,
226
],
[
226,
227
],
[
227,
228
],
[
218,
229
],
[
230,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
231,
235
],
[
235,
236
],
[
213,
237
],
[
237,
238
],
[
211,
239
],
[
239,
240
],
[
130,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
248,
253
],
[
253,
254
],
[
253,
255
],
[
248,
256
],
[
256,
257
],
[
257,
258
],
[
248,
259
],
[
260,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
261,
265
],
[
265,
266
],
[
243,
267
],
[
267,
268
],
[
241,
269
],
[
269,
270
],
[
130,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
273,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
278,
283
],
[
283,
284
],
[
283,
285
],
[
278,
286
],
[
286,
287
],
[
287,
288
],
[
278,
289
],
[
290,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
292,
294
],
[
291,
295
],
[
295,
296
],
[
273,
297
],
[
297,
298
],
[
271,
299
],
[
299,
300
],
[
0,
301
],
[
301,
302
],
[
301,
303
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = 1000000000000001L;\n long n = in.nl();\n StringBuilder sb = new StringBuilder();\n long k = 0;\n while(n*25 > (Math.pow(26, k)-1)*26) k++;\n n -= (Math.pow(26, k-1)-1)/25*26+1;\n for (int i = 0; i < k; i++) {\n sb.append((char)(n%26+'a'));\n n /= 26;\n }\n out.println(sb.reverse());\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = 1000000000000001L;\n long n = in.nl();\n StringBuilder sb = new StringBuilder();\n long k = 0;\n while(n*25 > (Math.pow(26, k)-1)*26) k++;\n n -= (Math.pow(26, k-1)-1)/25*26+1;\n for (int i = 0; i < k; i++) {\n sb.append((char)(n%26+'a'));\n n /= 26;\n }\n out.println(sb.reverse());\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"Main",
"public static final long mod = (long)1e9+7;",
"mod",
"(long)1e9+7",
"(long)1e9",
"7",
"public static final long INF = Long.MAX_VALUE/2;",
"INF",
"Long.MAX_VALUE/2",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"2",
"public static final int inf = Integer.MAX_VALUE/2;",
"inf",
"Integer.MAX_VALUE/2",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"2",
"static void solve(InputReader in, PrintWriter out){\n long a = 1000000000000001L;\n long n = in.nl();\n StringBuilder sb = new StringBuilder();\n long k = 0;\n while(n*25 > (Math.pow(26, k)-1)*26) k++;\n n -= (Math.pow(26, k-1)-1)/25*26+1;\n for (int i = 0; i < k; i++) {\n sb.append((char)(n%26+'a'));\n n /= 26;\n }\n out.println(sb.reverse());\n }",
"solve",
"{\n long a = 1000000000000001L;\n long n = in.nl();\n StringBuilder sb = new StringBuilder();\n long k = 0;\n while(n*25 > (Math.pow(26, k)-1)*26) k++;\n n -= (Math.pow(26, k-1)-1)/25*26+1;\n for (int i = 0; i < k; i++) {\n sb.append((char)(n%26+'a'));\n n /= 26;\n }\n out.println(sb.reverse());\n }",
"long a = 1000000000000001L;",
"a",
"1000000000000001L",
"long n = in.nl();",
"n",
"in.nl()",
"in.nl",
"in",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"long k = 0;",
"k",
"0",
"while(n*25 > (Math.pow(26, k)-1)*26) k++;",
"n*25 > (Math.pow(26, k)-1)*26",
"n*25",
"n",
"25",
"(Math.pow(26, k)-1)*26",
"(Math.pow(26, k)-1)",
"Math.pow(26, k)",
"Math.pow",
"Math",
"26",
"k",
"1",
"26",
"k++",
"k",
"n -= (Math.pow(26, k-1)-1)/25*26+1",
"n",
"(Math.pow(26, k-1)-1)/25*26+1",
"(Math.pow(26, k-1)-1)/25*26",
"(Math.pow(26, k-1)-1)/25",
"(Math.pow(26, k-1)-1)",
"Math.pow(26, k-1)",
"Math.pow",
"Math",
"26",
"k-1",
"k",
"1",
"1",
"25",
"26",
"1",
"for (int i = 0; i < k; i++) {\n sb.append((char)(n%26+'a'));\n n /= 26;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < k",
"i",
"k",
"i++",
"i++",
"i",
"{\n sb.append((char)(n%26+'a'));\n n /= 26;\n }",
"{\n sb.append((char)(n%26+'a'));\n n /= 26;\n }",
"sb.append((char)(n%26+'a'))",
"sb.append",
"sb",
"(char)(n%26+'a')",
"n%26",
"n",
"26",
"'a'",
"n /= 26",
"n",
"26",
"out.println(sb.reverse())",
"out.println",
"out",
"sb.reverse()",
"sb.reverse",
"sb",
"InputReader in",
"in",
"PrintWriter out",
"out",
"public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"solve(in, out)",
"solve",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }",
"InputReader",
"private BufferedReader br;",
"br",
"private StringTokenizer st;",
"st",
"public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }",
"br = new BufferedReader(new InputStreamReader(is))",
"br",
"new BufferedReader(new InputStreamReader(is))",
"st = null",
"st",
"null",
"InputStream is",
"is",
"public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"ns",
"{\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }",
"if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }",
"try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }",
"catch (Exception e){\n throw new RuntimeException(e);\n }",
"Exception e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int ni(){\n return Integer.parseInt(ns());\n }",
"ni",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"public long nl(){\n return Long.parseLong(ns());\n }",
"nl",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"public double nd(){\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"public char nc(){\n return ns().toCharArray()[0];\n }",
"nc",
"{\n return ns().toCharArray()[0];\n }",
"return ns().toCharArray()[0];",
"ns().toCharArray()[0]",
"ns().toCharArray()",
"ns().toCharArray",
"ns()",
"ns",
"0",
"public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"ni",
"{\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = ni();\n }",
"{\n a[i] = ni();\n }",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }",
"nl",
"{\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nl();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nl();\n }",
"{\n a[i] = nl();\n }",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }",
"nd",
"{\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }",
"double[] a = new double[n];",
"a",
"new double[n]",
"n",
"for (int i = 0; i < n; i++) {\n a[i] = nd();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = nd();\n }",
"{\n a[i] = nd();\n }",
"a[i] = nd()",
"a[i]",
"a",
"i",
"nd()",
"nd",
"return a;",
"a",
"int n",
"n",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = 1000000000000001L;\n long n = in.nl();\n StringBuilder sb = new StringBuilder();\n long k = 0;\n while(n*25 > (Math.pow(26, k)-1)*26) k++;\n n -= (Math.pow(26, k-1)-1)/25*26+1;\n for (int i = 0; i < k; i++) {\n sb.append((char)(n%26+'a'));\n n /= 26;\n }\n out.println(sb.reverse());\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"public class Main {\n public static final long mod = (long)1e9+7;\n public static final long INF = Long.MAX_VALUE/2;\n public static final int inf = Integer.MAX_VALUE/2;\n\n static void solve(InputReader in, PrintWriter out){\n long a = 1000000000000001L;\n long n = in.nl();\n StringBuilder sb = new StringBuilder();\n long k = 0;\n while(n*25 > (Math.pow(26, k)-1)*26) k++;\n n -= (Math.pow(26, k-1)-1)/25*26+1;\n for (int i = 0; i < k; i++) {\n sb.append((char)(n%26+'a'));\n n /= 26;\n }\n out.println(sb.reverse());\n }\n\n public static void main(String[] args){\n InputReader in = new InputReader(System.in);\n PrintWriter out = new PrintWriter(System.out);\n solve(in, out);\n out.close();\n }\n public static class InputReader{\n private BufferedReader br;\n private StringTokenizer st;\n public InputReader(InputStream is){\n br = new BufferedReader(new InputStreamReader(is));\n st = null;\n }\n public String ns(){\n if(st == null || !st.hasMoreTokens()){\n try{\n st = new StringTokenizer(br.readLine());\n }catch (Exception e){\n throw new RuntimeException(e);\n }\n }\n return st.nextToken();\n }\n public int ni(){\n return Integer.parseInt(ns());\n }\n public long nl(){\n return Long.parseLong(ns());\n }\n public double nd(){\n return Double.parseDouble(ns());\n }\n public char nc(){\n return ns().toCharArray()[0];\n }\n public int[] ni(int n){\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = ni();\n }\n return a;\n }\n public long[] nl(int n){\n long[] a = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = nl();\n }\n return a;\n }\n public double[] nd(int n){\n double[] a = new double[n];\n for (int i = 0; i < n; i++) {\n a[i] = nd();\n }\n return a;\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static final long mod = (long)1e9+7;
public static final long INF = Long.MAX_VALUE/2;
public static final int inf = Integer.MAX_VALUE/2;
static void solve(InputReader in, PrintWriter out){
long a = 1000000000000001L;
long n = in.nl();
StringBuilder sb = new StringBuilder();
long k = 0;
while(n*25 > (Math.pow(26, k)-1)*26) k++;
n -= (Math.pow(26, k-1)-1)/25*26+1;
for (int i = 0; i < k; i++) {
sb.append((char)(n%26+'a'));
n /= 26;
}
out.println(sb.reverse());
}
public static void main(String[] args){
InputReader in = new InputReader(System.in);
PrintWriter out = new PrintWriter(System.out);
solve(in, out);
out.close();
}
public static class InputReader{
private BufferedReader br;
private StringTokenizer st;
public InputReader(InputStream is){
br = new BufferedReader(new InputStreamReader(is));
st = null;
}
public String ns(){
if(st == null || !st.hasMoreTokens()){
try{
st = new StringTokenizer(br.readLine());
}catch (Exception e){
throw new RuntimeException(e);
}
}
return st.nextToken();
}
public int ni(){
return Integer.parseInt(ns());
}
public long nl(){
return Long.parseLong(ns());
}
public double nd(){
return Double.parseDouble(ns());
}
public char nc(){
return ns().toCharArray()[0];
}
public int[] ni(int n){
int[] a = new int[n];
for (int i = 0; i < n; i++) {
a[i] = ni();
}
return a;
}
public long[] nl(int n){
long[] a = new long[n];
for (int i = 0; i < n; i++) {
a[i] = nl();
}
return a;
}
public double[] nd(int n){
double[] a = new double[n];
for (int i = 0; i < n; i++) {
a[i] = nd();
}
return a;
}
}
} |
[
7,
6,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
4,
18,
18,
13,
13,
4,
13,
13,
13,
12,
13,
30,
41,
13,
20,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
13,
17,
30,
4,
18,
13,
13,
0,
13,
2,
2,
13,
13,
17,
30,
4,
18,
13,
2,
13,
13,
0,
13,
2,
13,
13,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
29,
4,
18,
4,
18,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
0,
2
],
[
2,
3
],
[
2,
4
],
[
0,
5
],
[
121,
6
],
[
121,
7
],
[
7,
8
],
[
7,
9
],
[
121,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
10,
15
],
[
15,
16
],
[
121,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
19,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
19,
28
],
[
28,
29
],
[
28,
30
],
[
19,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
121,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
51,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
62,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
84,
86
],
[
80,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
42,
92
],
[
92,
93
],
[
92,
94
],
[
42,
95
],
[
95,
96
],
[
95,
97
],
[
95,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
42,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
40,
116
],
[
116,
117
],
[
40,
118
],
[
118,
119
],
[
0,
120
],
[
120,
121
],
[
120,
122
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n final long a = 26;\n System.out.println(convertTenRadixTo(a, n));\n }\n\n public static String convertTenRadixTo(long radix, long value) {\n\n List<Long> list = new ArrayList<>();\n if (radix == 0 || value == 0) {\n return \"0\";\n }\n\n while (value > 0) {\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }\n StringBuilder builder = new StringBuilder();\n\n for (long number : list) {\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }\n\n return builder.reverse().toString();\n }\n\n /**\n * 手抜きのMap\n */\n private static final Map<String, String> RADIX_MAP = new HashMap<String, String>() {\n {\n // put(\"\", \"a\");\n put(\"1\", \"a\");\n put(\"2\", \"b\");\n put(\"3\", \"c\");\n put(\"4\", \"d\");\n put(\"5\", \"e\");\n put(\"6\", \"f\");\n put(\"7\", \"g\");\n put(\"8\", \"h\");\n put(\"9\", \"i\");\n put(\"10\", \"j\");\n put(\"11\", \"k\");\n put(\"12\", \"l\");\n put(\"13\", \"m\");\n put(\"14\", \"n\");\n put(\"15\", \"o\");\n put(\"16\", \"p\");\n put(\"17\", \"q\");\n put(\"18\", \"r\");\n put(\"19\", \"s\");\n put(\"20\", \"t\");\n put(\"21\", \"u\");\n put(\"22\", \"v\");\n put(\"23\", \"w\");\n put(\"24\", \"x\");\n put(\"25\", \"y\");\n put(\"26\", \"z\");\n }\n };\n}",
"HashMap<String, String>() {\n {\n // put(\"\", \"a\");\n put(\"1\", \"a\");\n put(\"2\", \"b\");\n put(\"3\", \"c\");\n put(\"4\", \"d\");\n put(\"5\", \"e\");\n put(\"6\", \"f\");\n put(\"7\", \"g\");\n put(\"8\", \"h\");\n put(\"9\", \"i\");\n put(\"10\", \"j\");\n put(\"11\", \"k\");\n put(\"12\", \"l\");\n put(\"13\", \"m\");\n put(\"14\", \"n\");\n put(\"15\", \"o\");\n put(\"16\", \"p\");\n put(\"17\", \"q\");\n put(\"18\", \"r\");\n put(\"19\", \"s\");\n put(\"20\", \"t\");\n put(\"21\", \"u\");\n put(\"22\", \"v\");\n put(\"23\", \"w\");\n put(\"24\", \"x\");\n put(\"25\", \"y\");\n put(\"26\", \"z\");\n }\n }",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n final long a = 26;\n System.out.println(convertTenRadixTo(a, n));\n }\n\n public static String convertTenRadixTo(long radix, long value) {\n\n List<Long> list = new ArrayList<>();\n if (radix == 0 || value == 0) {\n return \"0\";\n }\n\n while (value > 0) {\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }\n StringBuilder builder = new StringBuilder();\n\n for (long number : list) {\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }\n\n return builder.reverse().toString();\n }\n\n /**\n * 手抜きのMap\n */\n private static final Map<String, String> RADIX_MAP = new HashMap<String, String>() {\n {\n // put(\"\", \"a\");\n put(\"1\", \"a\");\n put(\"2\", \"b\");\n put(\"3\", \"c\");\n put(\"4\", \"d\");\n put(\"5\", \"e\");\n put(\"6\", \"f\");\n put(\"7\", \"g\");\n put(\"8\", \"h\");\n put(\"9\", \"i\");\n put(\"10\", \"j\");\n put(\"11\", \"k\");\n put(\"12\", \"l\");\n put(\"13\", \"m\");\n put(\"14\", \"n\");\n put(\"15\", \"o\");\n put(\"16\", \"p\");\n put(\"17\", \"q\");\n put(\"18\", \"r\");\n put(\"19\", \"s\");\n put(\"20\", \"t\");\n put(\"21\", \"u\");\n put(\"22\", \"v\");\n put(\"23\", \"w\");\n put(\"24\", \"x\");\n put(\"25\", \"y\");\n put(\"26\", \"z\");\n }\n };\n}",
"Main",
"/**\n * 手抜きのMap\n */\n private static final Map<String, String> RADIX_MAP = new HashMap<String, String>() {\n {\n // put(\"\", \"a\");\n put(\"1\", \"a\");\n put(\"2\", \"b\");\n put(\"3\", \"c\");\n put(\"4\", \"d\");\n put(\"5\", \"e\");\n put(\"6\", \"f\");\n put(\"7\", \"g\");\n put(\"8\", \"h\");\n put(\"9\", \"i\");\n put(\"10\", \"j\");\n put(\"11\", \"k\");\n put(\"12\", \"l\");\n put(\"13\", \"m\");\n put(\"14\", \"n\");\n put(\"15\", \"o\");\n put(\"16\", \"p\");\n put(\"17\", \"q\");\n put(\"18\", \"r\");\n put(\"19\", \"s\");\n put(\"20\", \"t\");\n put(\"21\", \"u\");\n put(\"22\", \"v\");\n put(\"23\", \"w\");\n put(\"24\", \"x\");\n put(\"25\", \"y\");\n put(\"26\", \"z\");\n }\n };",
"RADIX_MAP",
"new HashMap<String, String>() {\n {\n // put(\"\", \"a\");\n put(\"1\", \"a\");\n put(\"2\", \"b\");\n put(\"3\", \"c\");\n put(\"4\", \"d\");\n put(\"5\", \"e\");\n put(\"6\", \"f\");\n put(\"7\", \"g\");\n put(\"8\", \"h\");\n put(\"9\", \"i\");\n put(\"10\", \"j\");\n put(\"11\", \"k\");\n put(\"12\", \"l\");\n put(\"13\", \"m\");\n put(\"14\", \"n\");\n put(\"15\", \"o\");\n put(\"16\", \"p\");\n put(\"17\", \"q\");\n put(\"18\", \"r\");\n put(\"19\", \"s\");\n put(\"20\", \"t\");\n put(\"21\", \"u\");\n put(\"22\", \"v\");\n put(\"23\", \"w\");\n put(\"24\", \"x\");\n put(\"25\", \"y\");\n put(\"26\", \"z\");\n }\n }",
"public static void main(String[] args) {\n exec();\n }",
"main",
"{\n exec();\n }",
"exec()",
"exec",
"String[] args",
"args",
"static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n final long a = 26;\n System.out.println(convertTenRadixTo(a, n));\n }",
"exec",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n final long a = 26;\n System.out.println(convertTenRadixTo(a, n));\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"final long a = 26;",
"a",
"26",
"System.out.println(convertTenRadixTo(a, n))",
"System.out.println",
"System.out",
"System",
"System.out",
"convertTenRadixTo(a, n)",
"convertTenRadixTo",
"a",
"n",
"public static String convertTenRadixTo(long radix, long value) {\n\n List<Long> list = new ArrayList<>();\n if (radix == 0 || value == 0) {\n return \"0\";\n }\n\n while (value > 0) {\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }\n StringBuilder builder = new StringBuilder();\n\n for (long number : list) {\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }\n\n return builder.reverse().toString();\n }",
"convertTenRadixTo",
"{\n\n List<Long> list = new ArrayList<>();\n if (radix == 0 || value == 0) {\n return \"0\";\n }\n\n while (value > 0) {\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }\n StringBuilder builder = new StringBuilder();\n\n for (long number : list) {\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }\n\n return builder.reverse().toString();\n }",
"List<Long> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"if (radix == 0 || value == 0) {\n return \"0\";\n }",
"radix == 0 || value == 0",
"radix == 0",
"radix",
"0",
"value == 0",
"value",
"0",
"{\n return \"0\";\n }",
"return \"0\";",
"\"0\"",
"while (value > 0) {\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }",
"value > 0",
"value",
"0",
"{\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }",
"if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }",
"value % radix == 0",
"value % radix",
"value",
"radix",
"0",
"{\n list.add(radix);\n value = (value / radix) -1;\n }",
"list.add(radix)",
"list.add",
"list",
"radix",
"value = (value / radix) -1",
"value",
"(value / radix) -1",
"(value / radix)",
"value",
"radix",
"1",
"{\n list.add(value % radix);\n value = (value / radix);\n }",
"list.add(value % radix)",
"list.add",
"list",
"value % radix",
"value",
"radix",
"value = (value / radix)",
"value",
"(value / radix)",
"value",
"radix",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"for (long number : list) {\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }",
"long number",
"list",
"{\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }",
"{\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }",
"builder.append(RADIX_MAP.get(String.valueOf(number)))",
"builder.append",
"builder",
"RADIX_MAP.get(String.valueOf(number))",
"RADIX_MAP.get",
"RADIX_MAP",
"String.valueOf(number)",
"String.valueOf",
"String",
"number",
"return builder.reverse().toString();",
"builder.reverse().toString()",
"builder.reverse().toString",
"builder.reverse()",
"builder.reverse",
"builder",
"long radix",
"radix",
"long value",
"value",
"public class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n final long a = 26;\n System.out.println(convertTenRadixTo(a, n));\n }\n\n public static String convertTenRadixTo(long radix, long value) {\n\n List<Long> list = new ArrayList<>();\n if (radix == 0 || value == 0) {\n return \"0\";\n }\n\n while (value > 0) {\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }\n StringBuilder builder = new StringBuilder();\n\n for (long number : list) {\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }\n\n return builder.reverse().toString();\n }\n\n /**\n * 手抜きのMap\n */\n private static final Map<String, String> RADIX_MAP = new HashMap<String, String>() {\n {\n // put(\"\", \"a\");\n put(\"1\", \"a\");\n put(\"2\", \"b\");\n put(\"3\", \"c\");\n put(\"4\", \"d\");\n put(\"5\", \"e\");\n put(\"6\", \"f\");\n put(\"7\", \"g\");\n put(\"8\", \"h\");\n put(\"9\", \"i\");\n put(\"10\", \"j\");\n put(\"11\", \"k\");\n put(\"12\", \"l\");\n put(\"13\", \"m\");\n put(\"14\", \"n\");\n put(\"15\", \"o\");\n put(\"16\", \"p\");\n put(\"17\", \"q\");\n put(\"18\", \"r\");\n put(\"19\", \"s\");\n put(\"20\", \"t\");\n put(\"21\", \"u\");\n put(\"22\", \"v\");\n put(\"23\", \"w\");\n put(\"24\", \"x\");\n put(\"25\", \"y\");\n put(\"26\", \"z\");\n }\n };\n}",
"public class Main {\n\n public static void main(String[] args) {\n exec();\n }\n\n static void exec() {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n final long a = 26;\n System.out.println(convertTenRadixTo(a, n));\n }\n\n public static String convertTenRadixTo(long radix, long value) {\n\n List<Long> list = new ArrayList<>();\n if (radix == 0 || value == 0) {\n return \"0\";\n }\n\n while (value > 0) {\n if (value % radix == 0) {\n list.add(radix);\n value = (value / radix) -1;\n } else {\n list.add(value % radix);\n value = (value / radix);\n }\n }\n StringBuilder builder = new StringBuilder();\n\n for (long number : list) {\n builder.append(RADIX_MAP.get(String.valueOf(number)));\n }\n\n return builder.reverse().toString();\n }\n\n /**\n * 手抜きのMap\n */\n private static final Map<String, String> RADIX_MAP = new HashMap<String, String>() {\n {\n // put(\"\", \"a\");\n put(\"1\", \"a\");\n put(\"2\", \"b\");\n put(\"3\", \"c\");\n put(\"4\", \"d\");\n put(\"5\", \"e\");\n put(\"6\", \"f\");\n put(\"7\", \"g\");\n put(\"8\", \"h\");\n put(\"9\", \"i\");\n put(\"10\", \"j\");\n put(\"11\", \"k\");\n put(\"12\", \"l\");\n put(\"13\", \"m\");\n put(\"14\", \"n\");\n put(\"15\", \"o\");\n put(\"16\", \"p\");\n put(\"17\", \"q\");\n put(\"18\", \"r\");\n put(\"19\", \"s\");\n put(\"20\", \"t\");\n put(\"21\", \"u\");\n put(\"22\", \"v\");\n put(\"23\", \"w\");\n put(\"24\", \"x\");\n put(\"25\", \"y\");\n put(\"26\", \"z\");\n }\n };\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
exec();
}
static void exec() {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
final long a = 26;
System.out.println(convertTenRadixTo(a, n));
}
public static String convertTenRadixTo(long radix, long value) {
List<Long> list = new ArrayList<>();
if (radix == 0 || value == 0) {
return "0";
}
while (value > 0) {
if (value % radix == 0) {
list.add(radix);
value = (value / radix) -1;
} else {
list.add(value % radix);
value = (value / radix);
}
}
StringBuilder builder = new StringBuilder();
for (long number : list) {
builder.append(RADIX_MAP.get(String.valueOf(number)));
}
return builder.reverse().toString();
}
/**
* 手抜きのMap
*/
private static final Map<String, String> RADIX_MAP = new HashMap<String, String>() {
{
// put("", "a");
put("1", "a");
put("2", "b");
put("3", "c");
put("4", "d");
put("5", "e");
put("6", "f");
put("7", "g");
put("8", "h");
put("9", "i");
put("10", "j");
put("11", "k");
put("12", "l");
put("13", "m");
put("14", "n");
put("15", "o");
put("16", "p");
put("17", "q");
put("18", "r");
put("19", "s");
put("20", "t");
put("21", "u");
put("22", "v");
put("23", "w");
put("24", "x");
put("25", "y");
put("26", "z");
}
};
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
40,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
2,
13,
4,
18,
13,
41,
13,
2,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
2,
13,
17,
0,
13,
2,
13,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
27,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
27,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
27,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
27,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n num--;\n\n String result = \"\";\n String alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\n while (true) {\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }\n\n System.out.println(result);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n num--;\n\n String result = \"\";\n String alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\n while (true) {\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }\n\n System.out.println(result);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n num--;\n\n String result = \"\";\n String alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\n while (true) {\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }\n\n System.out.println(result);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n num--;\n\n String result = \"\";\n String alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\n while (true) {\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }\n\n System.out.println(result);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long num = sc.nextLong();",
"num",
"sc.nextLong()",
"sc.nextLong",
"sc",
"num--",
"num",
"String result = \"\";",
"result",
"\"\"",
"String alp = \"abcdefghijklmnopqrstuvwxyz\";",
"alp",
"\"abcdefghijklmnopqrstuvwxyz\"",
"while (true) {\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }",
"true",
"{\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }",
"long syou = num / alp.length();",
"syou",
"num / alp.length()",
"num",
"alp.length()",
"alp.length",
"alp",
"long mod = num % alp.length();",
"mod",
"num % alp.length()",
"num",
"alp.length()",
"alp.length",
"alp",
"String tmp = alp.substring((int)mod, (int)mod + 1);",
"tmp",
"alp.substring((int)mod, (int)mod + 1)",
"alp.substring",
"alp",
"(int)mod",
"(int)mod + 1",
"(int)mod",
"1",
"result = tmp + result",
"result",
"tmp + result",
"tmp",
"result",
"num = syou - 1",
"num",
"syou - 1",
"syou",
"1",
"if (syou == 0) {\n break;\n }",
"syou == 0",
"syou",
"0",
"{\n break;\n }",
"break;",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n num--;\n\n String result = \"\";\n String alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\n while (true) {\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }\n\n System.out.println(result);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long num = sc.nextLong();\n num--;\n\n String result = \"\";\n String alp = \"abcdefghijklmnopqrstuvwxyz\";\n\n\n while (true) {\n long syou = num / alp.length();\n long mod = num % alp.length();\n \n String tmp = alp.substring((int)mod, (int)mod + 1);\n\n result = tmp + result;\n\n num = syou - 1;\n if (syou == 0) {\n break;\n }\n }\n\n System.out.println(result);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long num = sc.nextLong();
num--;
String result = "";
String alp = "abcdefghijklmnopqrstuvwxyz";
while (true) {
long syou = num / alp.length();
long mod = num % alp.length();
String tmp = alp.substring((int)mod, (int)mod + 1);
result = tmp + result;
num = syou - 1;
if (syou == 0) {
break;
}
}
System.out.println(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
4,
18,
13,
4,
13,
2,
13,
17,
0,
13,
17,
30,
4,
18,
13,
4,
13,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
4,
13,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
39,
2,
13,
17,
14,
2,
2,
13,
17,
17,
0,
18,
13,
17,
17,
29,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
118,
5
],
[
118,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
31,
40
],
[
40,
41
],
[
40,
42
],
[
25,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
67,
71
],
[
63,
72
],
[
72,
73
],
[
72,
74
],
[
63,
75
],
[
75,
76
],
[
76,
77
],
[
63,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
8,
88
],
[
88,
89
],
[
89,
90
],
[
6,
91
],
[
91,
92
],
[
118,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
95,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
102,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
95,
113
],
[
113,
114
],
[
93,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
]
| [
"import java.util.*;\n\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n StringBuilder out = new StringBuilder();\n while(n > 26){\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }\n out.append(name(n));\n for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));\n scan.close();\n }\n \n public static String name(long n){\n \n byte[] b = {(byte) (n + 96)};\n if(n % 26 == 0) b[0] = 122;\n return new String(b);\n \n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n StringBuilder out = new StringBuilder();\n while(n > 26){\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }\n out.append(name(n));\n for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));\n scan.close();\n }\n \n public static String name(long n){\n \n byte[] b = {(byte) (n + 96)};\n if(n % 26 == 0) b[0] = 122;\n return new String(b);\n \n \n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n StringBuilder out = new StringBuilder();\n while(n > 26){\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }\n out.append(name(n));\n for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));\n scan.close();\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n StringBuilder out = new StringBuilder();\n while(n > 26){\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }\n out.append(name(n));\n for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));\n scan.close();\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"StringBuilder out = new StringBuilder();",
"out",
"new StringBuilder()",
"while(n > 26){\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }",
"n > 26",
"n",
"26",
"{\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }",
"if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }",
"n % 26 != 0",
"n % 26",
"n",
"26",
"0",
"{\n out.append(name(n % 26));\n n /= 26;\n }",
"out.append(name(n % 26))",
"out.append",
"out",
"name(n % 26)",
"name",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"{\n out.append(name(26));\n n = n / 26 - 1;\n }",
"out.append(name(26))",
"out.append",
"out",
"name(26)",
"name",
"26",
"n = n / 26 - 1",
"n",
"n / 26 - 1",
"n / 26",
"n",
"26",
"1",
"out.append(name(n))",
"out.append",
"out",
"name(n)",
"name",
"n",
"for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));",
"int i = out.length() - 1;",
"int i = out.length() - 1;",
"i",
"out.length() - 1",
"out.length()",
"out.length",
"out",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"System.out.print(out.charAt(i));",
"System.out.print(out.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"out.charAt(i)",
"out.charAt",
"out",
"i",
"scan.close()",
"scan.close",
"scan",
"String[] args",
"args",
"public static String name(long n){\n \n byte[] b = {(byte) (n + 96)};\n if(n % 26 == 0) b[0] = 122;\n return new String(b);\n \n \n }",
"name",
"{\n \n byte[] b = {(byte) (n + 96)};\n if(n % 26 == 0) b[0] = 122;\n return new String(b);\n \n \n }",
"byte[] b = {(byte) (n + 96)};",
"b",
"{(byte) (n + 96)}",
"(byte) (n + 96)",
"n",
"96",
"if(n % 26 == 0) b[0] = 122;",
"n % 26 == 0",
"n % 26",
"n",
"26",
"0",
"b[0] = 122",
"b[0]",
"b",
"0",
"122",
"return new String(b);",
"new String(b)",
"long n",
"n",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n StringBuilder out = new StringBuilder();\n while(n > 26){\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }\n out.append(name(n));\n for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));\n scan.close();\n }\n \n public static String name(long n){\n \n byte[] b = {(byte) (n + 96)};\n if(n % 26 == 0) b[0] = 122;\n return new String(b);\n \n \n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n StringBuilder out = new StringBuilder();\n while(n > 26){\n if(n % 26 != 0){\n out.append(name(n % 26));\n n /= 26;\n }else{\n out.append(name(26));\n n = n / 26 - 1;\n }\n }\n out.append(name(n));\n for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));\n scan.close();\n }\n \n public static String name(long n){\n \n byte[] b = {(byte) (n + 96)};\n if(n % 26 == 0) b[0] = 122;\n return new String(b);\n \n \n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long n = scan.nextLong();
StringBuilder out = new StringBuilder();
while(n > 26){
if(n % 26 != 0){
out.append(name(n % 26));
n /= 26;
}else{
out.append(name(26));
n = n / 26 - 1;
}
}
out.append(name(n));
for(int i = out.length() - 1; i >= 0 ; i--) System.out.print(out.charAt(i));
scan.close();
}
public static String name(long n){
byte[] b = {(byte) (n + 96)};
if(n % 26 == 0) b[0] = 122;
return new String(b);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
4,
18,
13,
29,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
40,
13,
29,
2,
4,
13,
2,
13,
17,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
35,
13,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
252,
5
],
[
252,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
6,
29
],
[
29,
30
],
[
252,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
33,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
31,
55
],
[
55,
56
],
[
252,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
63,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
63,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
63,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
63,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
63,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
63,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
63,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
63,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
63,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
63,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
63,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
63,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
63,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
63,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
63,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
172,
176
],
[
63,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
63,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
63,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
63,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
63,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
207,
211
],
[
63,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
214,
218
],
[
63,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
63,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
63,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
63,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
242,
246
],
[
59,
247
],
[
247,
248
],
[
57,
249
],
[
249,
250
],
[
0,
251
],
[
251,
252
],
[
251,
253
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + _char((int) (N % 26));\n }\n\n static String _char(int N) {\n String moji = \"\";\n switch (N) {\n case 0:\n moji = \"a\";\n break;\n case 1:\n moji = \"b\";\n break;\n case 2:\n moji = \"c\";\n break;\n case 3:\n moji = \"d\";\n break;\n case 4:\n moji = \"e\";\n break;\n case 5:\n moji = \"f\";\n break;\n case 6:\n moji = \"g\";\n break;\n case 7:\n moji = \"h\";\n break;\n case 8:\n moji = \"i\";\n break;\n case 9:\n moji = \"j\";\n break;\n case 10:\n moji = \"k\";\n break;\n case 11:\n moji = \"l\";\n break;\n case 12:\n moji = \"m\";\n break;\n case 13:\n moji = \"n\";\n break;\n case 14:\n moji = \"o\";\n break;\n case 15:\n moji = \"p\";\n break;\n case 16:\n moji = \"q\";\n break;\n case 17:\n moji = \"r\";\n break;\n case 18:\n moji = \"s\";\n break;\n case 19:\n moji = \"t\";\n break;\n case 20:\n moji = \"u\";\n break;\n case 21:\n moji = \"v\";\n break;\n case 22:\n moji = \"w\";\n break;\n case 23:\n moji = \"x\";\n break;\n case 24:\n moji = \"y\";\n break;\n case 25:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + _char((int) (N % 26));\n }\n\n static String _char(int N) {\n String moji = \"\";\n switch (N) {\n case 0:\n moji = \"a\";\n break;\n case 1:\n moji = \"b\";\n break;\n case 2:\n moji = \"c\";\n break;\n case 3:\n moji = \"d\";\n break;\n case 4:\n moji = \"e\";\n break;\n case 5:\n moji = \"f\";\n break;\n case 6:\n moji = \"g\";\n break;\n case 7:\n moji = \"h\";\n break;\n case 8:\n moji = \"i\";\n break;\n case 9:\n moji = \"j\";\n break;\n case 10:\n moji = \"k\";\n break;\n case 11:\n moji = \"l\";\n break;\n case 12:\n moji = \"m\";\n break;\n case 13:\n moji = \"n\";\n break;\n case 14:\n moji = \"o\";\n break;\n case 15:\n moji = \"p\";\n break;\n case 16:\n moji = \"q\";\n break;\n case 17:\n moji = \"r\";\n break;\n case 18:\n moji = \"s\";\n break;\n case 19:\n moji = \"t\";\n break;\n case 20:\n moji = \"u\";\n break;\n case 21:\n moji = \"v\";\n break;\n case 22:\n moji = \"w\";\n break;\n case 23:\n moji = \"x\";\n break;\n case 24:\n moji = \"y\";\n break;\n case 25:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(calc(N))",
"System.out.println",
"System.out",
"System",
"System.out",
"calc(N)",
"calc",
"N",
"sc.close()",
"sc.close",
"sc",
"return;",
"String[] args",
"args",
"static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + _char((int) (N % 26));\n }",
"calc",
"{\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + _char((int) (N % 26));\n }",
"if (N == 0) {\n return \"\";\n }",
"N == 0",
"N",
"0",
"{\n return \"\";\n }",
"return \"\";",
"\"\"",
"N--",
"N",
"return calc(N / 26) + _char((int) (N % 26));",
"calc(N / 26) + _char((int) (N % 26))",
"calc(N / 26)",
"calc",
"N / 26",
"N",
"26",
"_char((int) (N % 26))",
"_char",
"(int) (N % 26)",
"N",
"26",
"long N",
"N",
"static String _char(int N) {\n String moji = \"\";\n switch (N) {\n case 0:\n moji = \"a\";\n break;\n case 1:\n moji = \"b\";\n break;\n case 2:\n moji = \"c\";\n break;\n case 3:\n moji = \"d\";\n break;\n case 4:\n moji = \"e\";\n break;\n case 5:\n moji = \"f\";\n break;\n case 6:\n moji = \"g\";\n break;\n case 7:\n moji = \"h\";\n break;\n case 8:\n moji = \"i\";\n break;\n case 9:\n moji = \"j\";\n break;\n case 10:\n moji = \"k\";\n break;\n case 11:\n moji = \"l\";\n break;\n case 12:\n moji = \"m\";\n break;\n case 13:\n moji = \"n\";\n break;\n case 14:\n moji = \"o\";\n break;\n case 15:\n moji = \"p\";\n break;\n case 16:\n moji = \"q\";\n break;\n case 17:\n moji = \"r\";\n break;\n case 18:\n moji = \"s\";\n break;\n case 19:\n moji = \"t\";\n break;\n case 20:\n moji = \"u\";\n break;\n case 21:\n moji = \"v\";\n break;\n case 22:\n moji = \"w\";\n break;\n case 23:\n moji = \"x\";\n break;\n case 24:\n moji = \"y\";\n break;\n case 25:\n moji = \"z\";\n break;\n }\n return moji;\n }",
"_char",
"{\n String moji = \"\";\n switch (N) {\n case 0:\n moji = \"a\";\n break;\n case 1:\n moji = \"b\";\n break;\n case 2:\n moji = \"c\";\n break;\n case 3:\n moji = \"d\";\n break;\n case 4:\n moji = \"e\";\n break;\n case 5:\n moji = \"f\";\n break;\n case 6:\n moji = \"g\";\n break;\n case 7:\n moji = \"h\";\n break;\n case 8:\n moji = \"i\";\n break;\n case 9:\n moji = \"j\";\n break;\n case 10:\n moji = \"k\";\n break;\n case 11:\n moji = \"l\";\n break;\n case 12:\n moji = \"m\";\n break;\n case 13:\n moji = \"n\";\n break;\n case 14:\n moji = \"o\";\n break;\n case 15:\n moji = \"p\";\n break;\n case 16:\n moji = \"q\";\n break;\n case 17:\n moji = \"r\";\n break;\n case 18:\n moji = \"s\";\n break;\n case 19:\n moji = \"t\";\n break;\n case 20:\n moji = \"u\";\n break;\n case 21:\n moji = \"v\";\n break;\n case 22:\n moji = \"w\";\n break;\n case 23:\n moji = \"x\";\n break;\n case 24:\n moji = \"y\";\n break;\n case 25:\n moji = \"z\";\n break;\n }\n return moji;\n }",
"String moji = \"\";",
"moji",
"\"\"",
"switch (N) {\n case 0:\n moji = \"a\";\n break;\n case 1:\n moji = \"b\";\n break;\n case 2:\n moji = \"c\";\n break;\n case 3:\n moji = \"d\";\n break;\n case 4:\n moji = \"e\";\n break;\n case 5:\n moji = \"f\";\n break;\n case 6:\n moji = \"g\";\n break;\n case 7:\n moji = \"h\";\n break;\n case 8:\n moji = \"i\";\n break;\n case 9:\n moji = \"j\";\n break;\n case 10:\n moji = \"k\";\n break;\n case 11:\n moji = \"l\";\n break;\n case 12:\n moji = \"m\";\n break;\n case 13:\n moji = \"n\";\n break;\n case 14:\n moji = \"o\";\n break;\n case 15:\n moji = \"p\";\n break;\n case 16:\n moji = \"q\";\n break;\n case 17:\n moji = \"r\";\n break;\n case 18:\n moji = \"s\";\n break;\n case 19:\n moji = \"t\";\n break;\n case 20:\n moji = \"u\";\n break;\n case 21:\n moji = \"v\";\n break;\n case 22:\n moji = \"w\";\n break;\n case 23:\n moji = \"x\";\n break;\n case 24:\n moji = \"y\";\n break;\n case 25:\n moji = \"z\";\n break;\n }",
"N",
"case 0:",
"0",
"case 0:",
"moji = \"a\"",
"moji",
"\"a\"",
"break;",
"case 1:",
"1",
"case 1:",
"moji = \"b\"",
"moji",
"\"b\"",
"break;",
"case 2:",
"2",
"case 2:",
"moji = \"c\"",
"moji",
"\"c\"",
"break;",
"case 3:",
"3",
"case 3:",
"moji = \"d\"",
"moji",
"\"d\"",
"break;",
"case 4:",
"4",
"case 4:",
"moji = \"e\"",
"moji",
"\"e\"",
"break;",
"case 5:",
"5",
"case 5:",
"moji = \"f\"",
"moji",
"\"f\"",
"break;",
"case 6:",
"6",
"case 6:",
"moji = \"g\"",
"moji",
"\"g\"",
"break;",
"case 7:",
"7",
"case 7:",
"moji = \"h\"",
"moji",
"\"h\"",
"break;",
"case 8:",
"8",
"case 8:",
"moji = \"i\"",
"moji",
"\"i\"",
"break;",
"case 9:",
"9",
"case 9:",
"moji = \"j\"",
"moji",
"\"j\"",
"break;",
"case 10:",
"10",
"case 10:",
"moji = \"k\"",
"moji",
"\"k\"",
"break;",
"case 11:",
"11",
"case 11:",
"moji = \"l\"",
"moji",
"\"l\"",
"break;",
"case 12:",
"12",
"case 12:",
"moji = \"m\"",
"moji",
"\"m\"",
"break;",
"case 13:",
"13",
"case 13:",
"moji = \"n\"",
"moji",
"\"n\"",
"break;",
"case 14:",
"14",
"case 14:",
"moji = \"o\"",
"moji",
"\"o\"",
"break;",
"case 15:",
"15",
"case 15:",
"moji = \"p\"",
"moji",
"\"p\"",
"break;",
"case 16:",
"16",
"case 16:",
"moji = \"q\"",
"moji",
"\"q\"",
"break;",
"case 17:",
"17",
"case 17:",
"moji = \"r\"",
"moji",
"\"r\"",
"break;",
"case 18:",
"18",
"case 18:",
"moji = \"s\"",
"moji",
"\"s\"",
"break;",
"case 19:",
"19",
"case 19:",
"moji = \"t\"",
"moji",
"\"t\"",
"break;",
"case 20:",
"20",
"case 20:",
"moji = \"u\"",
"moji",
"\"u\"",
"break;",
"case 21:",
"21",
"case 21:",
"moji = \"v\"",
"moji",
"\"v\"",
"break;",
"case 22:",
"22",
"case 22:",
"moji = \"w\"",
"moji",
"\"w\"",
"break;",
"case 23:",
"23",
"case 23:",
"moji = \"x\"",
"moji",
"\"x\"",
"break;",
"case 24:",
"24",
"case 24:",
"moji = \"y\"",
"moji",
"\"y\"",
"break;",
"case 25:",
"25",
"case 25:",
"moji = \"z\"",
"moji",
"\"z\"",
"break;",
"return moji;",
"moji",
"int N",
"N",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + _char((int) (N % 26));\n }\n\n static String _char(int N) {\n String moji = \"\";\n switch (N) {\n case 0:\n moji = \"a\";\n break;\n case 1:\n moji = \"b\";\n break;\n case 2:\n moji = \"c\";\n break;\n case 3:\n moji = \"d\";\n break;\n case 4:\n moji = \"e\";\n break;\n case 5:\n moji = \"f\";\n break;\n case 6:\n moji = \"g\";\n break;\n case 7:\n moji = \"h\";\n break;\n case 8:\n moji = \"i\";\n break;\n case 9:\n moji = \"j\";\n break;\n case 10:\n moji = \"k\";\n break;\n case 11:\n moji = \"l\";\n break;\n case 12:\n moji = \"m\";\n break;\n case 13:\n moji = \"n\";\n break;\n case 14:\n moji = \"o\";\n break;\n case 15:\n moji = \"p\";\n break;\n case 16:\n moji = \"q\";\n break;\n case 17:\n moji = \"r\";\n break;\n case 18:\n moji = \"s\";\n break;\n case 19:\n moji = \"t\";\n break;\n case 20:\n moji = \"u\";\n break;\n case 21:\n moji = \"v\";\n break;\n case 22:\n moji = \"w\";\n break;\n case 23:\n moji = \"x\";\n break;\n case 24:\n moji = \"y\";\n break;\n case 25:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + _char((int) (N % 26));\n }\n\n static String _char(int N) {\n String moji = \"\";\n switch (N) {\n case 0:\n moji = \"a\";\n break;\n case 1:\n moji = \"b\";\n break;\n case 2:\n moji = \"c\";\n break;\n case 3:\n moji = \"d\";\n break;\n case 4:\n moji = \"e\";\n break;\n case 5:\n moji = \"f\";\n break;\n case 6:\n moji = \"g\";\n break;\n case 7:\n moji = \"h\";\n break;\n case 8:\n moji = \"i\";\n break;\n case 9:\n moji = \"j\";\n break;\n case 10:\n moji = \"k\";\n break;\n case 11:\n moji = \"l\";\n break;\n case 12:\n moji = \"m\";\n break;\n case 13:\n moji = \"n\";\n break;\n case 14:\n moji = \"o\";\n break;\n case 15:\n moji = \"p\";\n break;\n case 16:\n moji = \"q\";\n break;\n case 17:\n moji = \"r\";\n break;\n case 18:\n moji = \"s\";\n break;\n case 19:\n moji = \"t\";\n break;\n case 20:\n moji = \"u\";\n break;\n case 21:\n moji = \"v\";\n break;\n case 22:\n moji = \"w\";\n break;\n case 23:\n moji = \"x\";\n break;\n case 24:\n moji = \"y\";\n break;\n case 25:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
System.out.println(calc(N));
sc.close();
return;
}
static String calc(long N) {
if (N == 0) {
return "";
}
N--;
return calc(N / 26) + _char((int) (N % 26));
}
static String _char(int N) {
String moji = "";
switch (N) {
case 0:
moji = "a";
break;
case 1:
moji = "b";
break;
case 2:
moji = "c";
break;
case 3:
moji = "d";
break;
case 4:
moji = "e";
break;
case 5:
moji = "f";
break;
case 6:
moji = "g";
break;
case 7:
moji = "h";
break;
case 8:
moji = "i";
break;
case 9:
moji = "j";
break;
case 10:
moji = "k";
break;
case 11:
moji = "l";
break;
case 12:
moji = "m";
break;
case 13:
moji = "n";
break;
case 14:
moji = "o";
break;
case 15:
moji = "p";
break;
case 16:
moji = "q";
break;
case 17:
moji = "r";
break;
case 18:
moji = "s";
break;
case 19:
moji = "t";
break;
case 20:
moji = "u";
break;
case 21:
moji = "v";
break;
case 22:
moji = "w";
break;
case 23:
moji = "x";
break;
case 24:
moji = "y";
break;
case 25:
moji = "z";
break;
}
return moji;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
17,
4,
18,
13,
17,
2,
13,
17,
0,
13,
2,
2,
13,
17,
17,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
17,
4,
18,
13,
17,
2,
13,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
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
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
9,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
16,
25
],
[
25,
26
],
[
25,
27
],
[
16,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
32,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
32,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
16,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
16,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
68,
70
],
[
16,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
16,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
16,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
6,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\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\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"main",
"{\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}",
"try (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t}",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}",
"n > 26",
"n",
"26",
"{\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}",
"long amari = (n % 26) ;",
"amari",
"(n % 26)",
"n",
"26",
"if(amari == 0) amari = 26;",
"amari == 0",
"amari",
"0",
"amari = 26",
"amari",
"26",
"sb.insert(0, (char)(amari + 96))",
"sb.insert",
"sb",
"0",
"(char)(amari + 96)",
"amari",
"96",
"n = (n-1) / 26l",
"n",
"(n-1) / 26l",
"(n-1)",
"n",
"1",
"26l",
"long amari1 = n % 26;",
"amari1",
"n % 26",
"n",
"26",
"if(amari1 == 0) amari1 = 26;",
"amari1 == 0",
"amari1",
"0",
"amari1 = 26",
"amari1",
"26",
"sb.insert(0, (char)(amari1 + 96))",
"sb.insert",
"sb",
"0",
"(char)(amari1 + 96)",
"amari1",
"96",
"n = (n-1) / 26",
"n",
"(n-1) / 26",
"(n-1)",
"n",
"1",
"26",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner(System.in);) {\n\t\t\tlong n = sc.nextLong();\n\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\n\t\t\twhile (n > 26) {\n\t\t\t\tlong amari = (n % 26) ;\n\t\t\t\tif(amari == 0) amari = 26;\n\t\t\t\tsb.insert(0, (char)(amari + 96));\n\t\t\t\tn = (n-1) / 26l;\n\t\t\t}\n\t\t\t\n\t\t\tlong amari1 = n % 26;\n\t\t\tif(amari1 == 0) amari1 = 26;\n\t\t\tsb.insert(0, (char)(amari1 + 96));\n\t\t\tn = (n-1) / 26;\n\n\t\t\tSystem.out.println(sb.toString());\n\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in);) {
long n = sc.nextLong();
StringBuilder sb = new StringBuilder();
while (n > 26) {
long amari = (n % 26) ;
if(amari == 0) amari = 26;
sb.insert(0, (char)(amari + 96));
n = (n-1) / 26l;
}
long amari1 = n % 26;
if(amari1 == 0) amari1 = 26;
sb.insert(0, (char)(amari1 + 96));
n = (n-1) / 26;
System.out.println(sb.toString());
} catch (Exception e) {
e.printStackTrace();
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
2,
2,
13,
13,
17,
14,
2,
13,
17,
30,
3,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
41,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
93,
8
],
[
93,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
25,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
25,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
25,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
11,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
62,
66
],
[
58,
67
],
[
67,
68
],
[
67,
69
],
[
58,
70
],
[
70,
71
],
[
71,
72
],
[
58,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
9,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"\n\nimport java.util.ArrayList;\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\t\tlong num = sc.nextLong();\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = numList.size() - 1; i >= 0; i--) {\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}\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\t\tScanner sc = new Scanner(System.in);\n\t\tlong num = sc.nextLong();\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = numList.size() - 1; i >= 0; i--) {\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}\n\t}\n\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong num = sc.nextLong();\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = numList.size() - 1; i >= 0; i--) {\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong num = sc.nextLong();\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = numList.size() - 1; i >= 0; i--) {\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long num = sc.nextLong();",
"num",
"sc.nextLong()",
"sc.nextLong",
"sc",
"ArrayList<Integer> numList = new ArrayList<Integer>();",
"numList",
"new ArrayList<Integer>()",
"while (true) {\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int digit = (int)(num % 26L);",
"digit",
"(int)(num % 26L)",
"num",
"26L",
"if (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}",
"digit == 0",
"digit",
"0",
"{\n\t\t\t\tdigit = 26;\n\t\t\t}",
"digit = 26",
"digit",
"26",
"numList.add(digit + 96)",
"numList.add",
"numList",
"digit + 96",
"digit",
"96",
"num = (num - digit) / 26L",
"num",
"(num - digit) / 26L",
"(num - digit)",
"num",
"digit",
"26L",
"if (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}",
"num == 0",
"num",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"for (int i = numList.size() - 1; i >= 0; i--) {\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}",
"int i = numList.size() - 1;",
"int i = numList.size() - 1;",
"i",
"numList.size() - 1",
"numList.size()",
"numList.size",
"numList",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}",
"{\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}",
"int let = (int)numList.get(i);",
"let",
"(int)numList.get(i)",
"numList.get",
"numList",
"i",
"char c = (char)let;",
"c",
"(char)let",
"System.out.print(c)",
"System.out.print",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong num = sc.nextLong();\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = numList.size() - 1; i >= 0; i--) {\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}\n\t}\n\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong num = sc.nextLong();\n\t\tArrayList<Integer> numList = new ArrayList<Integer>();\n\t\twhile (true) {\n\t\t\tint digit = (int)(num % 26L);\n\t\t\tif (digit == 0) {\n\t\t\t\tdigit = 26;\n\t\t\t}\n\t\t\tnumList.add(digit + 96);\n\t\t\tnum = (num - digit) / 26L;\n\t\t\tif (num == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = numList.size() - 1; i >= 0; i--) {\n\t\t\tint let = (int)numList.get(i);\n\t\t\tchar c = (char)let;\n\t\t\tSystem.out.print(c);\n\t\t}\n\t}\n\n\n}",
"Main"
]
|
import java.util.ArrayList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long num = sc.nextLong();
ArrayList<Integer> numList = new ArrayList<Integer>();
while (true) {
int digit = (int)(num % 26L);
if (digit == 0) {
digit = 26;
}
numList.add(digit + 96);
num = (num - digit) / 26L;
if (num == 0) {
break;
}
}
for (int i = numList.size() - 1; i >= 0; i--) {
int let = (int)numList.get(i);
char c = (char)let;
System.out.print(c);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
2,
4,
18,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
17,
13,
14,
2,
2,
13,
13,
17,
30,
0,
13,
13,
40,
13,
3,
41,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
17,
13,
0,
13,
2,
2,
13,
13,
17,
0,
13,
2,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
21,
24
],
[
24,
25
],
[
25,
26
],
[
20,
27
],
[
11,
28
],
[
28,
29
],
[
28,
30
],
[
11,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
36,
37
],
[
36,
38
],
[
31,
39
],
[
39,
40
],
[
40,
41
],
[
31,
42
],
[
43,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
43,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
51,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
51,
63
],
[
11,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
67,
74
],
[
74,
75
],
[
74,
76
],
[
67,
77
],
[
77,
78
],
[
78,
79
],
[
67,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
84,
88
],
[
81,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
81,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
11,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
9,
107
],
[
107,
108
]
]
| [
"import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n long N = Long.parseLong(st.nextToken())-1;\n int len = 1;\n for (int i=1; i<13; i++) {\n long sub = (long)Math.pow(26,i);\n if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;\n }\n\n String ans = \"\";\n\n for (int i=len-1; i>=0; i--) {\n long sub = (long)Math.pow(26,i);\n ans+=(char)(N/sub+'a');\n N=N%sub;\n }\n\n System.out.println(ans);\n \n\n\n\n \n\n\n\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n long N = Long.parseLong(st.nextToken())-1;\n int len = 1;\n for (int i=1; i<13; i++) {\n long sub = (long)Math.pow(26,i);\n if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;\n }\n\n String ans = \"\";\n\n for (int i=len-1; i>=0; i--) {\n long sub = (long)Math.pow(26,i);\n ans+=(char)(N/sub+'a');\n N=N%sub;\n }\n\n System.out.println(ans);\n \n\n\n\n \n\n\n\n }\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n long N = Long.parseLong(st.nextToken())-1;\n int len = 1;\n for (int i=1; i<13; i++) {\n long sub = (long)Math.pow(26,i);\n if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;\n }\n\n String ans = \"\";\n\n for (int i=len-1; i>=0; i--) {\n long sub = (long)Math.pow(26,i);\n ans+=(char)(N/sub+'a');\n N=N%sub;\n }\n\n System.out.println(ans);\n \n\n\n\n \n\n\n\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n long N = Long.parseLong(st.nextToken())-1;\n int len = 1;\n for (int i=1; i<13; i++) {\n long sub = (long)Math.pow(26,i);\n if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;\n }\n\n String ans = \"\";\n\n for (int i=len-1; i>=0; i--) {\n long sub = (long)Math.pow(26,i);\n ans+=(char)(N/sub+'a');\n N=N%sub;\n }\n\n System.out.println(ans);\n \n\n\n\n \n\n\n\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(br.readLine());",
"st",
"new StringTokenizer(br.readLine())",
"long N = Long.parseLong(st.nextToken())-1;",
"N",
"Long.parseLong(st.nextToken())-1",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"1",
"int len = 1;",
"len",
"1",
"for (int i=1; i<13; i++) {\n long sub = (long)Math.pow(26,i);\n if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<13",
"i",
"13",
"i++",
"i++",
"i",
"{\n long sub = (long)Math.pow(26,i);\n if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;\n }",
"{\n long sub = (long)Math.pow(26,i);\n if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;\n }",
"long sub = (long)Math.pow(26,i);",
"sub",
"(long)Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"if (N-sub>=0) {\n N-=sub;\n len++;\n }\n else\n break;",
"N-sub>=0",
"N-sub",
"N",
"sub",
"0",
"{\n N-=sub;\n len++;\n }",
"N-=sub",
"N",
"sub",
"len++",
"len",
"break;",
"String ans = \"\";",
"ans",
"\"\"",
"for (int i=len-1; i>=0; i--) {\n long sub = (long)Math.pow(26,i);\n ans+=(char)(N/sub+'a');\n N=N%sub;\n }",
"int i=len-1;",
"int i=len-1;",
"i",
"len-1",
"len",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n long sub = (long)Math.pow(26,i);\n ans+=(char)(N/sub+'a');\n N=N%sub;\n }",
"{\n long sub = (long)Math.pow(26,i);\n ans+=(char)(N/sub+'a');\n N=N%sub;\n }",
"long sub = (long)Math.pow(26,i);",
"sub",
"(long)Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"ans+=(char)(N/sub+'a')",
"ans",
"(char)(N/sub+'a')",
"N/sub",
"N",
"sub",
"'a'",
"N=N%sub",
"N",
"N%sub",
"N",
"sub",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args"
]
| import java.util.*;
import java.io.*;
class Main{
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
long N = Long.parseLong(st.nextToken())-1;
int len = 1;
for (int i=1; i<13; i++) {
long sub = (long)Math.pow(26,i);
if (N-sub>=0) {
N-=sub;
len++;
}
else
break;
}
String ans = "";
for (int i=len-1; i>=0; i--) {
long sub = (long)Math.pow(26,i);
ans+=(char)(N/sub+'a');
N=N%sub;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
13,
4,
18,
13,
29,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
40,
13,
29,
2,
4,
13,
2,
13,
17,
2,
17,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
58,
5
],
[
58,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
6,
29
],
[
29,
30
],
[
58,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
33,
41
],
[
41,
42
],
[
33,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
31,
55
],
[
55,
56
],
[
0,
57
],
[
57,
58
],
[
57,
59
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + (char) ('a' + N % 26);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + (char) ('a' + N % 26);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"System.out.println(calc(N))",
"System.out.println",
"System.out",
"System",
"System.out",
"calc(N)",
"calc",
"N",
"sc.close()",
"sc.close",
"sc",
"return;",
"String[] args",
"args",
"static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + (char) ('a' + N % 26);\n }",
"calc",
"{\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + (char) ('a' + N % 26);\n }",
"if (N == 0) {\n return \"\";\n }",
"N == 0",
"N",
"0",
"{\n return \"\";\n }",
"return \"\";",
"\"\"",
"N--",
"N",
"return calc(N / 26) + (char) ('a' + N % 26);",
"calc(N / 26) + (char) ('a' + N % 26)",
"calc(N / 26)",
"calc",
"N / 26",
"N",
"26",
"(char) ('a' + N % 26)",
"'a'",
"N % 26",
"N",
"26",
"long N",
"N",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + (char) ('a' + N % 26);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n System.out.println(calc(N));\n sc.close();\n return;\n }\n\n static String calc(long N) {\n if (N == 0) {\n return \"\";\n }\n N--;\n return calc(N / 26) + (char) ('a' + N % 26);\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
System.out.println(calc(N));
sc.close();
return;
}
static String calc(long N) {
if (N == 0) {
return "";
}
N--;
return calc(N / 26) + (char) ('a' + N % 26);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
2,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
30,
0,
13,
2,
13,
17,
4,
18,
13,
13,
41,
13,
20,
28,
13,
13,
30,
30,
41,
13,
2,
17,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
99,
14
],
[
99,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
17,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
17,
73
],
[
73,
74
],
[
73,
75
],
[
17,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
17,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
15,
96
],
[
96,
97
],
[
0,
98
],
[
98,
99
],
[
98,
100
]
]
| [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"N = N-1",
"N",
"N-1",
"N",
"1",
"long div = N;",
"div",
"N",
"int mod = 0;",
"mod",
"0",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"while(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}",
"mod = (int) (div % 26)",
"mod",
"(int) (div % 26)",
"div",
"26",
"div = div / 26",
"div",
"div / 26",
"div",
"26",
"list.add(mod)",
"list.add",
"list",
"mod",
"if(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}",
"div == 0",
"div",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tdiv = div -1;\n\t\t\t}",
"div = div -1",
"div",
"div -1",
"div",
"1",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i : list) {\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}",
"int i",
"list",
"{\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}",
"{\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}",
"char c = (char) (97 + i);",
"c",
"(char) (97 + i)",
"97",
"i",
"sb.append(c)",
"sb.append",
"sb",
"c",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\tchar c = (char) (97 + i);\n\t\t\tsb.append(c);\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// 読み込み
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
N = N-1;
long div = N;
int mod = 0;
List<Integer> list = new ArrayList<>();
while(true) {
mod = (int) (div % 26);
div = div / 26;
list.add(mod);
if(div == 0) {
break;
}
else {
div = div -1;
}
}
Collections.reverse(list);
StringBuilder sb = new StringBuilder();
for(int i : list) {
char c = (char) (97 + i);
sb.append(c);
}
System.out.println(sb);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
20,
12,
13,
30,
41,
13,
17,
41,
13,
2,
4,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
2,
13,
17,
17,
30,
41,
13,
2,
17,
2,
13,
17,
0,
13,
13,
3,
30,
41,
13,
2,
17,
2,
13,
17,
0,
13,
13,
0,
13,
17,
40,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
2,
17,
13,
29,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
4,
18,
13,
4,
18,
13,
13,
2,
13,
4,
18,
13,
30,
40,
13,
29,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
29,
17,
30,
29,
2,
13,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
8,
2,
2,
13,
17,
2,
13,
17,
13,
2,
4,
13,
2,
13,
17,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
8,
2,
13,
17,
13,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
534,
8
],
[
534,
9
],
[
9,
10
],
[
9,
11
],
[
534,
12
],
[
12,
13
],
[
12,
14
],
[
534,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
18,
22
],
[
17,
23
],
[
534,
24
],
[
24,
25
],
[
24,
26
],
[
534,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
29,
39
],
[
39,
40
],
[
39,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
59,
61
],
[
51,
62
],
[
45,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
71,
73
],
[
63,
74
],
[
74,
75
],
[
74,
76
],
[
44,
77
],
[
77,
78
],
[
29,
79
],
[
79,
80
],
[
79,
81
],
[
29,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
88,
89
],
[
27,
90
],
[
90,
91
],
[
534,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
94,
99
],
[
99,
100
],
[
92,
101
],
[
101,
102
],
[
534,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
105,
110
],
[
110,
111
],
[
103,
112
],
[
112,
113
],
[
534,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
116,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
114,
126
],
[
126,
127
],
[
534,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
134,
136
],
[
130,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
130,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
149,
151
],
[
142,
152
],
[
152,
153
],
[
153,
154
],
[
142,
155
],
[
156,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
161,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
157,
170
],
[
170,
171
],
[
171,
172
],
[
130,
173
],
[
173,
174
],
[
128,
175
],
[
175,
176
],
[
534,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
534,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
534,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
534,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
534,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
534,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
222,
223
],
[
222,
224
],
[
217,
225
],
[
225,
226
],
[
226,
227
],
[
217,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
214,
237
],
[
237,
238
],
[
534,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
248,
249
],
[
248,
250
],
[
243,
251
],
[
243,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
255,
257
],
[
252,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
260,
262
],
[
239,
263
],
[
263,
264
],
[
534,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
273,
275
],
[
273,
276
],
[
265,
277
],
[
277,
278
],
[
265,
279
],
[
279,
280
],
[
534,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
289
],
[
289,
290
],
[
289,
291
],
[
289,
292
],
[
281,
293
],
[
293,
294
],
[
281,
295
],
[
295,
296
],
[
534,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
301,
306
],
[
306,
307
],
[
306,
308
],
[
306,
309
],
[
309,
310
],
[
309,
311
],
[
297,
312
],
[
312,
313
],
[
297,
314
],
[
314,
315
],
[
534,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
320,
325
],
[
325,
326
],
[
325,
327
],
[
325,
328
],
[
328,
329
],
[
328,
330
],
[
316,
331
],
[
331,
332
],
[
316,
333
],
[
333,
334
],
[
534,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
338,
343
],
[
335,
344
],
[
344,
345
],
[
534,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
349,
354
],
[
346,
355
],
[
355,
356
],
[
534,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
360,
365
],
[
357,
366
],
[
366,
367
],
[
534,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
371,
376
],
[
368,
377
],
[
377,
378
],
[
534,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
382,
387
],
[
379,
388
],
[
388,
389
],
[
534,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
393,
398
],
[
398,
399
],
[
399,
400
],
[
390,
401
],
[
401,
402
],
[
534,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
406,
411
],
[
403,
412
],
[
412,
413
],
[
534,
414
],
[
414,
415
],
[
414,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
417,
422
],
[
414,
423
],
[
423,
424
],
[
534,
425
],
[
425,
426
],
[
425,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
430,
432
],
[
428,
433
],
[
425,
434
],
[
434,
435
],
[
534,
436
],
[
436,
437
],
[
436,
438
],
[
438,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
441,
443
],
[
439,
444
],
[
436,
445
],
[
445,
446
],
[
534,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
450,
455
],
[
447,
456
],
[
456,
457
],
[
534,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
462,
465
],
[
462,
466
],
[
458,
467
],
[
467,
468
],
[
458,
469
],
[
469,
470
],
[
534,
471
],
[
471,
472
],
[
471,
473
],
[
473,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
475,
478
],
[
475,
479
],
[
471,
480
],
[
480,
481
],
[
471,
482
],
[
482,
483
],
[
534,
484
],
[
484,
485
],
[
484,
486
],
[
486,
487
],
[
487,
488
],
[
488,
489
],
[
489,
490
],
[
488,
491
],
[
488,
492
],
[
484,
493
],
[
493,
494
],
[
484,
495
],
[
495,
496
],
[
534,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
501,
504
],
[
501,
505
],
[
497,
506
],
[
506,
507
],
[
497,
508
],
[
508,
509
],
[
0,
510
],
[
510,
511
],
[
510,
512
],
[
512,
513
],
[
510,
514
],
[
514,
515
],
[
510,
516
],
[
516,
517
],
[
516,
518
],
[
518,
519
],
[
519,
520
],
[
520,
521
],
[
520,
522
],
[
519,
523
],
[
518,
524
],
[
524,
525
],
[
525,
526
],
[
525,
527
],
[
524,
528
],
[
516,
529
],
[
529,
530
],
[
516,
531
],
[
531,
532
],
[
0,
533
],
[
533,
534
],
[
533,
535
]
]
| [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tlong count = 1000000000000001l;\n\n\t\tlong n = nl() - 1l;\n\t\tString ans = \"\";\n\t\twhile (true) {\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}\n\n\t\tStringBuilder sb = new StringBuilder(ans);\n\t\tSystem.out.println(sb.reverse());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int[] sort(int[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic long[] sort(long[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn (int) Math.min(a, b);\n\t}\n}\n\nclass XY {\n\tint h;\n\tint c;\n\n\tXY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tlong count = 1000000000000001l;\n\n\t\tlong n = nl() - 1l;\n\t\tString ans = \"\";\n\t\twhile (true) {\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}\n\n\t\tStringBuilder sb = new StringBuilder(ans);\n\t\tSystem.out.println(sb.reverse());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int[] sort(int[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic long[] sort(long[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn (int) Math.min(a, b);\n\t}\n}",
"Main",
"public static String Y = \"Yes\";",
"Y",
"\"Yes\"",
"public static String N = \"No\";",
"N",
"\"No\"",
"public static long MOD = (long) (Math.pow(10, 9) + 7);",
"MOD",
"(long) (Math.pow(10, 9) + 7)",
"Math.pow(10, 9)",
"Math.pow",
"Math",
"10",
"9",
"7",
"public static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n\t\tlong count = 1000000000000001l;\n\n\t\tlong n = nl() - 1l;\n\t\tString ans = \"\";\n\t\twhile (true) {\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}\n\n\t\tStringBuilder sb = new StringBuilder(ans);\n\t\tSystem.out.println(sb.reverse());\n\n\t}",
"main",
"{\n\t\tlong count = 1000000000000001l;\n\n\t\tlong n = nl() - 1l;\n\t\tString ans = \"\";\n\t\twhile (true) {\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}\n\n\t\tStringBuilder sb = new StringBuilder(ans);\n\t\tSystem.out.println(sb.reverse());\n\n\t}",
"long count = 1000000000000001l;",
"count",
"1000000000000001l",
"long n = nl() - 1l;",
"n",
"nl() - 1l",
"nl()",
"nl",
"1l",
"String ans = \"\";",
"ans",
"\"\"",
"while (true) {\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}",
"true",
"{\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}",
"if (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}",
"n / 26l == 0",
"n / 26l",
"n",
"26l",
"0",
"{\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t}",
"char tmp = (char) ('a' + (char) (n % 26l));",
"tmp",
"(char) ('a' + (char) (n % 26l))",
"'a'",
"(char) (n % 26l)",
"n",
"26l",
"ans += tmp",
"ans",
"tmp",
"break;",
"{\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}",
"char tmp = (char) ('a' + (char) (n % 26l));",
"tmp",
"(char) ('a' + (char) (n % 26l))",
"'a'",
"(char) (n % 26l)",
"n",
"26l",
"ans += tmp",
"ans",
"tmp",
"n /= 26l",
"n",
"26l",
"n--",
"n",
"StringBuilder sb = new StringBuilder(ans);",
"sb",
"new StringBuilder(ans)",
"System.out.println(sb.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"/*\n\t * 以下メソッド集\n\t */\n\tstatic int[] sort(int[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}",
"sort",
"{\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}",
"Arrays.sort(n)",
"Arrays.sort",
"Arrays",
"n",
"return n;",
"n",
"int[] n",
"n",
"static long[] sort(long[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}",
"sort",
"{\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}",
"Arrays.sort(n)",
"Arrays.sort",
"Arrays",
"n",
"return n;",
"n",
"long[] n",
"n",
"static int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}",
"ketasuu",
"{\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}",
"String str = \"\" + n;",
"str",
"\"\" + n",
"\"\"",
"n",
"return str.length();",
"str.length()",
"str.length",
"str",
"int n",
"n",
"static int account(String str) {\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}",
"account",
"{\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}",
"String target = \"AC\";",
"target",
"\"AC\"",
"int count = 0;",
"count",
"0",
"int len = str.length();",
"len",
"str.length()",
"str.length",
"str",
"for (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len - 1",
"i",
"len - 1",
"len",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}",
"if (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}",
"target.equals(str.substring(i, i + target.length()))",
"target.equals",
"target",
"str.substring(i, i + target.length())",
"str.substring",
"str",
"i",
"i + target.length()",
"i",
"target.length()",
"target.length",
"target",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"return count;",
"count",
"String str",
"str",
"static int ni() {\n\t\treturn sc.nextInt();\n\t}",
"ni",
"{\n\t\treturn sc.nextInt();\n\t}",
"return sc.nextInt();",
"sc.nextInt()",
"sc.nextInt",
"sc",
"static long nl() {\n\t\treturn sc.nextLong();\n\t}",
"nl",
"{\n\t\treturn sc.nextLong();\n\t}",
"return sc.nextLong();",
"sc.nextLong()",
"sc.nextLong",
"sc",
"static double nd() {\n\t\treturn sc.nextDouble();\n\t}",
"nd",
"{\n\t\treturn sc.nextDouble();\n\t}",
"return sc.nextDouble();",
"sc.nextDouble()",
"sc.nextDouble",
"sc",
"static String n() {\n\t\treturn sc.next();\n\t}",
"n",
"{\n\t\treturn sc.next();\n\t}",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}",
"nc",
"{\n\t\treturn sc.next().toCharArray();\n\t}",
"return sc.next().toCharArray();",
"sc.next().toCharArray()",
"sc.next().toCharArray",
"sc.next()",
"sc.next",
"sc",
"static int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}",
"kaijo",
"{\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}",
"if (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}",
"n == 0 || n == 1",
"n == 0",
"n",
"0",
"n == 1",
"n",
"1",
"{\n\t\t\treturn 1;\n\t\t}",
"return 1;",
"1",
"{\n\t\t\treturn n * kaijo(n - 1);\n\t\t}",
"return n * kaijo(n - 1);",
"n * kaijo(n - 1)",
"n",
"kaijo(n - 1)",
"kaijo",
"n - 1",
"n",
"1",
"int n",
"n",
"static int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}",
"fib",
"{\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}",
"return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);",
"(n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1)",
"(n == 1 || n == 0)",
"n == 1",
"n",
"1",
"n == 0",
"n",
"0",
"n",
"fib(n - 2) + fib(n - 1)",
"fib(n - 2)",
"fib",
"n - 2",
"n",
"2",
"fib(n - 1)",
"fib",
"n - 1",
"n",
"1",
"int n",
"n",
"static long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"lcm",
"{\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"return m * n / gcd(m, n);",
"m * n / gcd(m, n)",
"m * n",
"m",
"n",
"gcd(m, n)",
"gcd",
"m",
"n",
"long m",
"m",
"long n",
"n",
"static int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"lcm",
"{\n\n\t\treturn m * n / gcd(m, n);\n\t}",
"return m * n / gcd(m, n);",
"m * n / gcd(m, n)",
"m * n",
"m",
"n",
"gcd(m, n)",
"gcd",
"m",
"n",
"int m",
"m",
"int n",
"n",
"static long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"gcd",
"{\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"return (b == 0) ? a : gcd(b, a % b);",
"(b == 0) ? a : gcd(b, a % b)",
"(b == 0)",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"gcd",
"{\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}",
"return (b == 0) ? a : gcd(b, a % b);",
"(b == 0) ? a : gcd(b, a % b)",
"(b == 0)",
"b",
"0",
"a",
"gcd(b, a % b)",
"gcd",
"b",
"a % b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static void out(String info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"String info",
"info",
"static void out(int info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"int info",
"info",
"static void out(double info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"double info",
"info",
"static void out(long info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"long info",
"info",
"static void out(char info) {\n\t\tSystem.out.println(info);\n\t}",
"out",
"{\n\t\tSystem.out.println(info);\n\t}",
"System.out.println(info)",
"System.out.println",
"System.out",
"System",
"System.out",
"info",
"char info",
"info",
"static void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}",
"out",
"{\n\t\tSystem.out.println(obj.toString());\n\t}",
"System.out.println(obj.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"obj.toString()",
"obj.toString",
"obj",
"Object obj",
"obj",
"static void outn(String info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"String info",
"info",
"static void outn(int info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"int info",
"info",
"static void outn(double info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"double info",
"info",
"static void outn(long info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"long info",
"info",
"static void outn(char info) {\n\t\tSystem.out.print(info);\n\t}",
"outn",
"{\n\t\tSystem.out.print(info);\n\t}",
"System.out.print(info)",
"System.out.print",
"System.out",
"System",
"System.out",
"info",
"char info",
"info",
"static double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}",
"max",
"{\n\t\treturn Math.max(d, e);\n\t}",
"return Math.max(d, e);",
"Math.max(d, e)",
"Math.max",
"Math",
"d",
"e",
"double d",
"d",
"double e",
"e",
"static long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}",
"max",
"{\n\t\treturn Math.max(a, b);\n\t}",
"return Math.max(a, b);",
"Math.max(a, b)",
"Math.max",
"Math",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}",
"min",
"{\n\t\treturn Math.min(d, e);\n\t}",
"return Math.min(d, e);",
"Math.min(d, e)",
"Math.min",
"Math",
"d",
"e",
"double d",
"d",
"double e",
"e",
"static int min(int a, int b) {\n\t\treturn (int) Math.min(a, b);\n\t}",
"min",
"{\n\t\treturn (int) Math.min(a, b);\n\t}",
"return (int) Math.min(a, b);",
"(int) Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"int a",
"a",
"int b",
"b",
"class XY {\n\tint h;\n\tint c;\n\n\tXY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}\n}",
"XY",
"int h;",
"h",
"int c;",
"c",
"XY(int h, int c) {\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}",
"XY",
"{\n\t\tthis.h = h;\n\t\tthis.c = c;\n\t}",
"this.h = h",
"this.h",
"this",
"this.h",
"h",
"this.c = c",
"this.c",
"this",
"this.c",
"c",
"int h",
"h",
"int c",
"c",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tlong count = 1000000000000001l;\n\n\t\tlong n = nl() - 1l;\n\t\tString ans = \"\";\n\t\twhile (true) {\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}\n\n\t\tStringBuilder sb = new StringBuilder(ans);\n\t\tSystem.out.println(sb.reverse());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int[] sort(int[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic long[] sort(long[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn (int) Math.min(a, b);\n\t}\n}",
"public class Main {\n\n\tpublic static String Y = \"Yes\";\n\tpublic static String N = \"No\";\n\tpublic static long MOD = (long) (Math.pow(10, 9) + 7);\n\tpublic static Scanner sc = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tlong count = 1000000000000001l;\n\n\t\tlong n = nl() - 1l;\n\t\tString ans = \"\";\n\t\twhile (true) {\n\n\t\t\tif (n / 26l == 0) {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\tchar tmp = (char) ('a' + (char) (n % 26l));\n\t\t\t\tans += tmp;\n\t\t\t\tn /= 26l;\n\t\t\t}\n\t\t\tn--;\n\n\t\t}\n\n\t\tStringBuilder sb = new StringBuilder(ans);\n\t\tSystem.out.println(sb.reverse());\n\n\t}\n\n\t/*\n\t * 以下メソッド集\n\t */\n\tstatic int[] sort(int[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic long[] sort(long[] n) {\n\t\tArrays.sort(n);\n\t\treturn n;\n\t}\n\n\tstatic int ketasuu(int n) {\n\t\tString str = \"\" + n;\n\t\treturn str.length();\n\t}\n\n\tstatic int account(String str) {\n\t\tString target = \"AC\";\n\t\tint count = 0;\n\t\tint len = str.length();\n\t\tfor (int i = 0; i < len - 1; i++) {\n\t\t\tif (target.equals(str.substring(i, i + target.length()))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\treturn count;\n\t}\n\n\tstatic int ni() {\n\t\treturn sc.nextInt();\n\t}\n\n\tstatic long nl() {\n\t\treturn sc.nextLong();\n\t}\n\n\tstatic double nd() {\n\t\treturn sc.nextDouble();\n\t}\n\n\tstatic String n() {\n\t\treturn sc.next();\n\t}\n\n\tstatic char[] nc() {\n\t\treturn sc.next().toCharArray();\n\t}\n\n\tstatic int kaijo(int n) {\n\t\tif (n == 0 || n == 1) {\n\t\t\treturn 1;\n\t\t} else {\n\t\t\treturn n * kaijo(n - 1);\n\t\t}\n\t}\n\n\tstatic int fib(int n) {\n\t\treturn (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);\n\t}\n\n\tstatic long lcm(long m, long n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic int lcm(int m, int n) {\n\n\t\treturn m * n / gcd(m, n);\n\t}\n\n\tstatic long gcd(long a, long b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic int gcd(int a, int b) {\n\t\treturn (b == 0) ? a : gcd(b, a % b);\n\t}\n\n\tstatic void out(String info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(int info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(double info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(long info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(char info) {\n\t\tSystem.out.println(info);\n\t}\n\n\tstatic void out(Object obj) {\n\t\tSystem.out.println(obj.toString());\n\t}\n\n\tstatic void outn(String info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(int info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(double info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(long info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic void outn(char info) {\n\t\tSystem.out.print(info);\n\t}\n\n\tstatic double max(double d, double e) {\n\t\treturn Math.max(d, e);\n\t}\n\n\tstatic long max(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tstatic double min(double d, double e) {\n\t\treturn Math.min(d, e);\n\t}\n\n\tstatic int min(int a, int b) {\n\t\treturn (int) Math.min(a, b);\n\t}\n}",
"Main"
]
| import java.util.Arrays;
import java.util.Scanner;
public class Main {
public static String Y = "Yes";
public static String N = "No";
public static long MOD = (long) (Math.pow(10, 9) + 7);
public static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
long count = 1000000000000001l;
long n = nl() - 1l;
String ans = "";
while (true) {
if (n / 26l == 0) {
char tmp = (char) ('a' + (char) (n % 26l));
ans += tmp;
break;
} else {
char tmp = (char) ('a' + (char) (n % 26l));
ans += tmp;
n /= 26l;
}
n--;
}
StringBuilder sb = new StringBuilder(ans);
System.out.println(sb.reverse());
}
/*
* 以下メソッド集
*/
static int[] sort(int[] n) {
Arrays.sort(n);
return n;
}
static long[] sort(long[] n) {
Arrays.sort(n);
return n;
}
static int ketasuu(int n) {
String str = "" + n;
return str.length();
}
static int account(String str) {
String target = "AC";
int count = 0;
int len = str.length();
for (int i = 0; i < len - 1; i++) {
if (target.equals(str.substring(i, i + target.length()))) {
count++;
}
}
return count;
}
static int ni() {
return sc.nextInt();
}
static long nl() {
return sc.nextLong();
}
static double nd() {
return sc.nextDouble();
}
static String n() {
return sc.next();
}
static char[] nc() {
return sc.next().toCharArray();
}
static int kaijo(int n) {
if (n == 0 || n == 1) {
return 1;
} else {
return n * kaijo(n - 1);
}
}
static int fib(int n) {
return (n == 1 || n == 0) ? n : fib(n - 2) + fib(n - 1);
}
static long lcm(long m, long n) {
return m * n / gcd(m, n);
}
static int lcm(int m, int n) {
return m * n / gcd(m, n);
}
static long gcd(long a, long b) {
return (b == 0) ? a : gcd(b, a % b);
}
static int gcd(int a, int b) {
return (b == 0) ? a : gcd(b, a % b);
}
static void out(String info) {
System.out.println(info);
}
static void out(int info) {
System.out.println(info);
}
static void out(double info) {
System.out.println(info);
}
static void out(long info) {
System.out.println(info);
}
static void out(char info) {
System.out.println(info);
}
static void out(Object obj) {
System.out.println(obj.toString());
}
static void outn(String info) {
System.out.print(info);
}
static void outn(int info) {
System.out.print(info);
}
static void outn(double info) {
System.out.print(info);
}
static void outn(long info) {
System.out.print(info);
}
static void outn(char info) {
System.out.print(info);
}
static double max(double d, double e) {
return Math.max(d, e);
}
static long max(long a, long b) {
return Math.max(a, b);
}
static double min(double d, double e) {
return Math.min(d, e);
}
static int min(int a, int b) {
return (int) Math.min(a, b);
}
}
class XY {
int h;
int c;
XY(int h, int c) {
this.h = h;
this.c = c;
}
}
|
[
7,
6,
13,
41,
13,
4,
18,
17,
12,
13,
30,
41,
13,
4,
18,
20,
4,
18,
18,
13,
13,
4,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
2,
4,
18,
13,
18,
13,
2,
13,
17,
13,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
13,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
80,
2
],
[
80,
3
],
[
3,
4
],
[
3,
5
],
[
5,
6
],
[
6,
7
],
[
80,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
10,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
21,
24
],
[
8,
25
],
[
25,
26
],
[
80,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
29,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
53,
62
],
[
29,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
29,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
71,
74
],
[
27,
75
],
[
75,
76
],
[
27,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"public class Main {\n \n static char[] arr = (\"abcdefghijklmnopqrstuvwxyz\").toCharArray(); \n \n public static void main(String[] args){\n long N = new java.util.Scanner(System.in).nextLong();\n\n System.out.println(getName(N, \"\"));\n }\n \n private static String getName(long n, String str) {\n long syo = n / 26L;\n int yo = (int)(n % 26L);\n \n if (yo == 0) {\n yo = 26;\n syo -= 1;\n }\n\n str = String.valueOf(arr[yo - 1]) + str;\n \n if (syo == 0) {\n return str;\n }\n return getName(syo, str);\n }\n}",
"public class Main {\n \n static char[] arr = (\"abcdefghijklmnopqrstuvwxyz\").toCharArray(); \n \n public static void main(String[] args){\n long N = new java.util.Scanner(System.in).nextLong();\n\n System.out.println(getName(N, \"\"));\n }\n \n private static String getName(long n, String str) {\n long syo = n / 26L;\n int yo = (int)(n % 26L);\n \n if (yo == 0) {\n yo = 26;\n syo -= 1;\n }\n\n str = String.valueOf(arr[yo - 1]) + str;\n \n if (syo == 0) {\n return str;\n }\n return getName(syo, str);\n }\n}",
"Main",
"static char[] arr = (\"abcdefghijklmnopqrstuvwxyz\").toCharArray();",
"arr",
"(\"abcdefghijklmnopqrstuvwxyz\").toCharArray()",
"(\"abcdefghijklmnopqrstuvwxyz\").toCharArray",
"(\"abcdefghijklmnopqrstuvwxyz\")",
"public static void main(String[] args){\n long N = new java.util.Scanner(System.in).nextLong();\n\n System.out.println(getName(N, \"\"));\n }",
"main",
"{\n long N = new java.util.Scanner(System.in).nextLong();\n\n System.out.println(getName(N, \"\"));\n }",
"long N = new java.util.Scanner(System.in).nextLong();",
"N",
"new java.util.Scanner(System.in).nextLong()",
"new java.util.Scanner(System.in).nextLong",
"new java.util.Scanner(System.in)",
"System.out.println(getName(N, \"\"))",
"System.out.println",
"System.out",
"System",
"System.out",
"getName(N, \"\")",
"getName",
"N",
"\"\"",
"String[] args",
"args",
"private static String getName(long n, String str) {\n long syo = n / 26L;\n int yo = (int)(n % 26L);\n \n if (yo == 0) {\n yo = 26;\n syo -= 1;\n }\n\n str = String.valueOf(arr[yo - 1]) + str;\n \n if (syo == 0) {\n return str;\n }\n return getName(syo, str);\n }",
"getName",
"{\n long syo = n / 26L;\n int yo = (int)(n % 26L);\n \n if (yo == 0) {\n yo = 26;\n syo -= 1;\n }\n\n str = String.valueOf(arr[yo - 1]) + str;\n \n if (syo == 0) {\n return str;\n }\n return getName(syo, str);\n }",
"long syo = n / 26L;",
"syo",
"n / 26L",
"n",
"26L",
"int yo = (int)(n % 26L);",
"yo",
"(int)(n % 26L)",
"n",
"26L",
"if (yo == 0) {\n yo = 26;\n syo -= 1;\n }",
"yo == 0",
"yo",
"0",
"{\n yo = 26;\n syo -= 1;\n }",
"yo = 26",
"yo",
"26",
"syo -= 1",
"syo",
"1",
"str = String.valueOf(arr[yo - 1]) + str",
"str",
"String.valueOf(arr[yo - 1]) + str",
"String.valueOf(arr[yo - 1])",
"String.valueOf",
"String",
"arr[yo - 1]",
"arr",
"yo - 1",
"yo",
"1",
"str",
"if (syo == 0) {\n return str;\n }",
"syo == 0",
"syo",
"0",
"{\n return str;\n }",
"return str;",
"str",
"return getName(syo, str);",
"getName(syo, str)",
"getName",
"syo",
"str",
"long n",
"n",
"String str",
"str",
"public class Main {\n \n static char[] arr = (\"abcdefghijklmnopqrstuvwxyz\").toCharArray(); \n \n public static void main(String[] args){\n long N = new java.util.Scanner(System.in).nextLong();\n\n System.out.println(getName(N, \"\"));\n }\n \n private static String getName(long n, String str) {\n long syo = n / 26L;\n int yo = (int)(n % 26L);\n \n if (yo == 0) {\n yo = 26;\n syo -= 1;\n }\n\n str = String.valueOf(arr[yo - 1]) + str;\n \n if (syo == 0) {\n return str;\n }\n return getName(syo, str);\n }\n}",
"public class Main {\n \n static char[] arr = (\"abcdefghijklmnopqrstuvwxyz\").toCharArray(); \n \n public static void main(String[] args){\n long N = new java.util.Scanner(System.in).nextLong();\n\n System.out.println(getName(N, \"\"));\n }\n \n private static String getName(long n, String str) {\n long syo = n / 26L;\n int yo = (int)(n % 26L);\n \n if (yo == 0) {\n yo = 26;\n syo -= 1;\n }\n\n str = String.valueOf(arr[yo - 1]) + str;\n \n if (syo == 0) {\n return str;\n }\n return getName(syo, str);\n }\n}",
"Main"
]
| public class Main {
static char[] arr = ("abcdefghijklmnopqrstuvwxyz").toCharArray();
public static void main(String[] args){
long N = new java.util.Scanner(System.in).nextLong();
System.out.println(getName(N, ""));
}
private static String getName(long n, String str) {
long syo = n / 26L;
int yo = (int)(n % 26L);
if (yo == 0) {
yo = 26;
syo -= 1;
}
str = String.valueOf(arr[yo - 1]) + str;
if (syo == 0) {
return str;
}
return getName(syo, str);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
2,
2,
2,
17,
17,
17,
17,
41,
13,
39,
17,
40,
17,
17,
17,
41,
13,
39,
17,
17,
40,
17,
17,
12,
13,
30,
41,
13,
17,
41,
13,
20,
13,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
17,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
13,
17,
41,
13,
4,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
13,
30,
0,
13,
13,
3,
41,
13,
20,
0,
13,
8,
2,
13,
17,
18,
13,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
13,
4,
18,
4,
18,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
2,
4,
18,
13,
2,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
4,
13,
4,
18,
13,
12,
13,
30,
20,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
38,
5,
13,
30,
0,
13,
17,
29,
17,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
407,
8
],
[
407,
9
],
[
9,
10
],
[
407,
11
],
[
11,
12
],
[
407,
13
],
[
13,
14
],
[
407,
15
],
[
15,
16
],
[
407,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
21,
21
],
[
21,
22
],
[
21,
23
],
[
21,
24
],
[
19,
25
],
[
407,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
28,
32
],
[
28,
33
],
[
407,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
39,
40
],
[
36,
41
],
[
407,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
44,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
44,
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
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
44,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
44,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
44,
107
],
[
107,
108
],
[
107,
109
],
[
44,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
115,
116
],
[
115,
117
],
[
110,
118
],
[
118,
119
],
[
119,
120
],
[
110,
121
],
[
122,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
123,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
44,
134
],
[
134,
135
],
[
134,
136
],
[
44,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
139,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
145,
147
],
[
139,
148
],
[
44,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
149,
154
],
[
154,
155
],
[
154,
156
],
[
149,
157
],
[
157,
158
],
[
158,
159
],
[
149,
160
],
[
161,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
161,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
170,
171
],
[
170,
172
],
[
161,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
175,
177
],
[
44,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
407,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
187,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
193,
198
],
[
198,
199
],
[
198,
200
],
[
193,
201
],
[
201,
202
],
[
202,
203
],
[
193,
204
],
[
205,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
210,
214
],
[
214,
215
],
[
214,
216
],
[
205,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
219,
221
],
[
205,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
205,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
185,
234
],
[
234,
235
],
[
407,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
239,
242
],
[
236,
243
],
[
243,
244
],
[
407,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
248,
251
],
[
245,
252
],
[
252,
253
],
[
407,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
260,
261
],
[
260,
262
],
[
256,
263
],
[
263,
264
],
[
256,
265
],
[
265,
266
],
[
266,
267
],
[
407,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
268,
272
],
[
272,
273
],
[
407,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
281,
286
],
[
286,
287
],
[
286,
288
],
[
281,
289
],
[
289,
290
],
[
290,
291
],
[
281,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
276,
299
],
[
299,
300
],
[
274,
301
],
[
301,
302
],
[
407,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
310,
315
],
[
315,
316
],
[
315,
317
],
[
310,
318
],
[
318,
319
],
[
319,
320
],
[
310,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
326,
327
],
[
305,
328
],
[
328,
329
],
[
303,
330
],
[
330,
331
],
[
407,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
335,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
349,
351
],
[
348,
352
],
[
352,
353
],
[
345,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
334,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
407,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
368,
372
],
[
372,
373
],
[
365,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
377,
378
],
[
407,
379
],
[
379,
380
],
[
379,
381
],
[
381,
382
],
[
382,
383
],
[
383,
384
],
[
384,
385
],
[
383,
386
],
[
386,
387
],
[
407,
388
],
[
388,
389
],
[
388,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
392,
395
],
[
395,
396
],
[
407,
397
],
[
397,
398
],
[
397,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
401,
404
],
[
404,
405
],
[
0,
406
],
[
406,
407
],
[
406,
408
]
]
| [
"import java.util.*;\nimport java.io.*;\n\n// Template for atcoder\npublic class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int sz = 20;\n long[] pow = new long[sz];\n pow[0] = 1;\n for (int i = 1; i < sz; i++) {\n pow[i] = 26 * pow[i - 1];\n }\n for (int i = 1; i < sz; i++) {\n pow[i] += pow[i - 1];\n }\n long N = nextLong();\n int len = 0;\n for (int i = 0; i < sz; i++) {\n if (pow[i] > N) {\n len = i;\n break;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n N -= len > 0 ? pow[len - 1] : 0;\n for (int i = 0; i < len; i++) {\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }\n\n outln(sb.reverse().toString());\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int sz = 20;\n long[] pow = new long[sz];\n pow[0] = 1;\n for (int i = 1; i < sz; i++) {\n pow[i] = 26 * pow[i - 1];\n }\n for (int i = 1; i < sz; i++) {\n pow[i] += pow[i - 1];\n }\n long N = nextLong();\n int len = 0;\n for (int i = 0; i < sz; i++) {\n if (pow[i] > N) {\n len = i;\n break;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n N -= len > 0 ? pow[len - 1] : 0;\n for (int i = 0; i < len; i++) {\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }\n\n outln(sb.reverse().toString());\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main",
"BufferedReader br;",
"br",
"PrintWriter out;",
"out",
"StringTokenizer st;",
"st",
"boolean eof;",
"eof",
"final long MOD = 1000L * 1000L * 1000L + 7;",
"MOD",
"1000L * 1000L * 1000L + 7",
"1000L * 1000L * 1000L",
"1000L * 1000L * 1000L",
"1000L",
"1000L",
"1000L",
"7",
"private static final int[] dx = {0, -1, 0, 1};",
"dx",
"{0, -1, 0, 1}",
"0",
"-1",
"1",
"0",
"1",
"private static final int[] dy = {1, 0, -1, 0};",
"dy",
"{1, 0, -1, 0}",
"1",
"0",
"-1",
"1",
"0",
"void solve() throws IOException {\n int sz = 20;\n long[] pow = new long[sz];\n pow[0] = 1;\n for (int i = 1; i < sz; i++) {\n pow[i] = 26 * pow[i - 1];\n }\n for (int i = 1; i < sz; i++) {\n pow[i] += pow[i - 1];\n }\n long N = nextLong();\n int len = 0;\n for (int i = 0; i < sz; i++) {\n if (pow[i] > N) {\n len = i;\n break;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n N -= len > 0 ? pow[len - 1] : 0;\n for (int i = 0; i < len; i++) {\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }\n\n outln(sb.reverse().toString());\n }",
"solve",
"{\n int sz = 20;\n long[] pow = new long[sz];\n pow[0] = 1;\n for (int i = 1; i < sz; i++) {\n pow[i] = 26 * pow[i - 1];\n }\n for (int i = 1; i < sz; i++) {\n pow[i] += pow[i - 1];\n }\n long N = nextLong();\n int len = 0;\n for (int i = 0; i < sz; i++) {\n if (pow[i] > N) {\n len = i;\n break;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n N -= len > 0 ? pow[len - 1] : 0;\n for (int i = 0; i < len; i++) {\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }\n\n outln(sb.reverse().toString());\n }",
"int sz = 20;",
"sz",
"20",
"long[] pow = new long[sz];",
"pow",
"new long[sz]",
"sz",
"pow[0] = 1",
"pow[0]",
"pow",
"0",
"1",
"for (int i = 1; i < sz; i++) {\n pow[i] = 26 * pow[i - 1];\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < sz",
"i",
"sz",
"i++",
"i++",
"i",
"{\n pow[i] = 26 * pow[i - 1];\n }",
"{\n pow[i] = 26 * pow[i - 1];\n }",
"pow[i] = 26 * pow[i - 1]",
"pow[i]",
"pow",
"i",
"26 * pow[i - 1]",
"26",
"pow[i - 1]",
"pow",
"i - 1",
"i",
"1",
"for (int i = 1; i < sz; i++) {\n pow[i] += pow[i - 1];\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < sz",
"i",
"sz",
"i++",
"i++",
"i",
"{\n pow[i] += pow[i - 1];\n }",
"{\n pow[i] += pow[i - 1];\n }",
"pow[i] += pow[i - 1]",
"pow[i]",
"pow",
"i",
"pow[i - 1]",
"pow",
"i - 1",
"i",
"1",
"long N = nextLong();",
"N",
"nextLong()",
"nextLong",
"int len = 0;",
"len",
"0",
"for (int i = 0; i < sz; i++) {\n if (pow[i] > N) {\n len = i;\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < sz",
"i",
"sz",
"i++",
"i++",
"i",
"{\n if (pow[i] > N) {\n len = i;\n break;\n }\n }",
"{\n if (pow[i] > N) {\n len = i;\n break;\n }\n }",
"if (pow[i] > N) {\n len = i;\n break;\n }",
"pow[i] > N",
"pow[i]",
"pow",
"i",
"N",
"{\n len = i;\n break;\n }",
"len = i",
"len",
"i",
"break;",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"N -= len > 0 ? pow[len - 1] : 0",
"N",
"len > 0 ? pow[len - 1] : 0",
"len > 0",
"len",
"0",
"pow[len - 1]",
"pow",
"len - 1",
"len",
"1",
"0",
"for (int i = 0; i < len; i++) {\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }",
"{\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }",
"long rem = N % 26;",
"rem",
"N % 26",
"N",
"26",
"sb.append((char) (rem + 'a'))",
"sb.append",
"sb",
"(char) (rem + 'a')",
"rem",
"'a'",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"outln(sb.reverse().toString())",
"outln",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"shuffle",
"{\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }",
"int n = a.length;",
"n",
"a.length",
"a",
"a.length",
"for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }",
"int r = i + (int) (Math.random() * (n - i));",
"r",
"i + (int) (Math.random() * (n - i))",
"i",
"(int) (Math.random() * (n - i))",
"Math.random()",
"Math.random",
"Math",
"(n - i)",
"n",
"i",
"int tmp = a[i];",
"tmp",
"a[i]",
"a",
"i",
"a[i] = a[r]",
"a[i]",
"a",
"i",
"a[r]",
"a",
"r",
"a[r] = tmp",
"a[r]",
"a",
"r",
"tmp",
"int[] a",
"a",
"private void outln(Object o) {\n out.println(o);\n }",
"outln",
"{\n out.println(o);\n }",
"out.println(o)",
"out.println",
"out",
"o",
"Object o",
"o",
"private void out(Object o) {\n out.print(o);\n }",
"out",
"{\n out.print(o);\n }",
"out.print(o)",
"out.print",
"out",
"o",
"Object o",
"o",
"public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"Main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"out.close()",
"out.close",
"out",
"public static void main(String[] args) throws IOException {\n new Main();\n }",
"main",
"{\n new Main();\n }",
"new Main()",
"String[] args",
"args",
"public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"nextLongArr",
"{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }",
"long[] res = new long[n];",
"res",
"new long[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextLong();",
"res[i] = nextLong()",
"res[i]",
"res",
"i",
"nextLong()",
"nextLong",
"return res;",
"res",
"int n",
"n",
"public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"nextIntArr",
"{\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for(int i = 0; i < n; i++)\n res[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"res[i] = nextInt();",
"res[i] = nextInt()",
"res[i]",
"res",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int n",
"n",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }",
"try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }",
"catch (Exception e) {\n eof = true;\n return null;\n }",
"Exception e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\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 String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"nextString",
"{\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }",
"try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }",
"catch (IOException e) {\n eof = true;\n return null;\n }",
"IOException e",
"{\n eof = true;\n return null;\n }",
"eof = true",
"eof",
"true",
"return null;",
"null",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }",
"nextInt",
"{\n return Integer.parseInt(nextToken());\n }",
"return Integer.parseInt(nextToken());",
"Integer.parseInt(nextToken())",
"Integer.parseInt",
"Integer",
"nextToken()",
"nextToken",
"public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }",
"nextLong",
"{\n return Long.parseLong(nextToken());\n }",
"return Long.parseLong(nextToken());",
"Long.parseLong(nextToken())",
"Long.parseLong",
"Long",
"nextToken()",
"nextToken",
"public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }",
"nextDouble",
"{\n return Double.parseDouble(nextToken());\n }",
"return Double.parseDouble(nextToken());",
"Double.parseDouble(nextToken())",
"Double.parseDouble",
"Double",
"nextToken()",
"nextToken",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int sz = 20;\n long[] pow = new long[sz];\n pow[0] = 1;\n for (int i = 1; i < sz; i++) {\n pow[i] = 26 * pow[i - 1];\n }\n for (int i = 1; i < sz; i++) {\n pow[i] += pow[i - 1];\n }\n long N = nextLong();\n int len = 0;\n for (int i = 0; i < sz; i++) {\n if (pow[i] > N) {\n len = i;\n break;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n N -= len > 0 ? pow[len - 1] : 0;\n for (int i = 0; i < len; i++) {\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }\n\n outln(sb.reverse().toString());\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int sz = 20;\n long[] pow = new long[sz];\n pow[0] = 1;\n for (int i = 1; i < sz; i++) {\n pow[i] = 26 * pow[i - 1];\n }\n for (int i = 1; i < sz; i++) {\n pow[i] += pow[i - 1];\n }\n long N = nextLong();\n int len = 0;\n for (int i = 0; i < sz; i++) {\n if (pow[i] > N) {\n len = i;\n break;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n N -= len > 0 ? pow[len - 1] : 0;\n for (int i = 0; i < len; i++) {\n long rem = N % 26;\n sb.append((char) (rem + 'a'));\n N = N / 26;\n }\n\n outln(sb.reverse().toString());\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
// Template for atcoder
public class Main {
BufferedReader br;
PrintWriter out;
StringTokenizer st;
boolean eof;
final long MOD = 1000L * 1000L * 1000L + 7;
private static final int[] dx = {0, -1, 0, 1};
private static final int[] dy = {1, 0, -1, 0};
void solve() throws IOException {
int sz = 20;
long[] pow = new long[sz];
pow[0] = 1;
for (int i = 1; i < sz; i++) {
pow[i] = 26 * pow[i - 1];
}
for (int i = 1; i < sz; i++) {
pow[i] += pow[i - 1];
}
long N = nextLong();
int len = 0;
for (int i = 0; i < sz; i++) {
if (pow[i] > N) {
len = i;
break;
}
}
StringBuilder sb = new StringBuilder();
N -= len > 0 ? pow[len - 1] : 0;
for (int i = 0; i < len; i++) {
long rem = N % 26;
sb.append((char) (rem + 'a'));
N = N / 26;
}
outln(sb.reverse().toString());
}
void shuffle(int[] a) {
int n = a.length;
for(int i = 0; i < n; i++) {
int r = i + (int) (Math.random() * (n - i));
int tmp = a[i];
a[i] = a[r];
a[r] = tmp;
}
}
private void outln(Object o) {
out.println(o);
}
private void out(Object o) {
out.print(o);
}
public Main() throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
solve();
out.close();
}
public static void main(String[] args) throws IOException {
new Main();
}
public long[] nextLongArr(int n) throws IOException{
long[] res = new long[n];
for(int i = 0; i < n; i++)
res[i] = nextLong();
return res;
}
public int[] nextIntArr(int n) throws IOException {
int[] res = new int[n];
for(int i = 0; i < n; i++)
res[i] = nextInt();
return res;
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
try {
st = new StringTokenizer(br.readLine());
} catch (Exception e) {
eof = true;
return null;
}
}
return st.nextToken();
}
public String nextString() {
try {
return br.readLine();
} catch (IOException e) {
eof = true;
return null;
}
}
public int nextInt() throws IOException {
return Integer.parseInt(nextToken());
}
public long nextLong() throws IOException {
return Long.parseLong(nextToken());
}
public double nextDouble() throws IOException {
return Double.parseDouble(nextToken());
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.