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,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
41,
13,
2,
13,
17,
4,
18,
13,
2,
17,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
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
],
[
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
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
24,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
38,
40
],
[
24,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
8,
56
],
[
56,
57
],
[
57,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tlong N = sc.nextLong();\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (N > 0) {\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}\n\t\t// 結果の出力\n\t\tSystem.out.println(sb.reverse().toString());\n\t\t\n\t\tsc.close();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tlong N = sc.nextLong();\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (N > 0) {\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}\n\t\t// 結果の出力\n\t\tSystem.out.println(sb.reverse().toString());\n\t\t\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tlong N = sc.nextLong();\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (N > 0) {\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}\n\t\t// 結果の出力\n\t\tSystem.out.println(sb.reverse().toString());\n\t\t\n\t\tsc.close();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tlong N = sc.nextLong();\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (N > 0) {\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}\n\t\t// 結果の出力\n\t\tSystem.out.println(sb.reverse().toString());\n\t\t\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",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (N > 0) {\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}",
"N > 0",
"N",
"0",
"{\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}",
"N = N - 1",
"N",
"N - 1",
"N",
"1",
"long r = N % 26;",
"r",
"N % 26",
"N",
"26",
"sb.append((char)('a' + r))",
"sb.append",
"sb",
"(char)('a' + r)",
"'a'",
"r",
"N = N / 26",
"N",
"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",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tlong N = sc.nextLong();\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (N > 0) {\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}\n\t\t// 結果の出力\n\t\tSystem.out.println(sb.reverse().toString());\n\t\t\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力値の取得\n\t\tlong N = sc.nextLong();\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (N > 0) {\n\t\t\tN = N - 1;\n\t\t\tlong r = N % 26;\n\t\t\tsb.append((char)('a' + r));\n\t\t\tN = N / 26;\n\t\t}\n\t\t// 結果の出力\n\t\tSystem.out.println(sb.reverse().toString());\n\t\t\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// 入力値の取得
long N = sc.nextLong();
StringBuilder sb = new StringBuilder();
while (N > 0) {
N = N - 1;
long r = N % 26;
sb.append((char)('a' + r));
N = N / 26;
}
// 結果の出力
System.out.println(sb.reverse().toString());
sc.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
4,
13,
4,
18,
4,
18,
13,
4,
18,
13,
4,
18,
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,
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,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
4,
13,
2,
18,
13,
13,
17,
4,
13,
17,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
17,
2,
13,
17,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
42,
40,
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,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
296,
8
],
[
296,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
296,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
16,
18
],
[
296,
19
],
[
19,
20
],
[
19,
21
],
[
296,
22
],
[
22,
23
],
[
22,
24
],
[
296,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
40,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
54,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
27,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
27,
81
],
[
81,
82
],
[
82,
83
],
[
27,
84
],
[
84,
85
],
[
85,
86
],
[
25,
87
],
[
87,
88
],
[
296,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
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
],
[
91,
116
],
[
116,
117
],
[
89,
118
],
[
118,
119
],
[
296,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
132,
133
],
[
132,
134
],
[
127,
135
],
[
135,
136
],
[
136,
137
],
[
127,
138
],
[
139,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
122,
147
],
[
147,
148
],
[
120,
149
],
[
149,
150
],
[
296,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
151,
158
],
[
158,
159
],
[
296,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
160,
167
],
[
167,
168
],
[
296,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
172,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
179,
181
],
[
172,
182
],
[
182,
183
],
[
183,
184
],
[
172,
185
],
[
186,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
171,
194
],
[
194,
195
],
[
194,
196
],
[
169,
197
],
[
197,
198
],
[
296,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
201,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
209,
211
],
[
201,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
212,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
219,
221
],
[
199,
222
],
[
222,
223
],
[
0,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
224,
228
],
[
228,
229
],
[
224,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
224,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
242,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
241,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
224,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
259,
262
],
[
262,
263
],
[
224,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
269,
270
],
[
268,
271
],
[
271,
272
],
[
224,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
277,
280
],
[
280,
281
],
[
224,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
224,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
0,
295
],
[
295,
296
],
[
295,
297
]
]
| [
"// created on : Sun Jun 21 2020\n \nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }\n println(sb.reverse().toString());\n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}\n\nclass Reader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n Reader() {\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }\n\n String next() throws IOException {\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }\n\n int nextInt() throws IOException { \n return Integer.parseInt(next()); \n }\n \n double nextDouble() throws IOException { \n return Double.parseDouble(next());\n }\n \n long nextLong() throws IOException { \n return Long.parseLong(next()); \n }\n \n String nextLine() throws IOException { \n return reader.readLine(); \n }\n \n void close() throws IOException { \n reader.close(); \n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }\n println(sb.reverse().toString());\n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}",
"Main",
"static int MIN = Integer.MIN_VALUE;",
"MIN",
"Integer.MIN_VALUE",
"Integer",
"Integer.MIN_VALUE",
"static int MAX = Integer.MAX_VALUE;",
"MAX",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"static Reader in = new Reader();",
"in",
"new Reader()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] args) throws IOException {\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }\n println(sb.reverse().toString());\n in.close();\n out.close();\n }",
"main",
"{\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }\n println(sb.reverse().toString());\n in.close();\n out.close();\n }",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(n > 0){\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }",
"n > 0",
"n",
"0",
"{\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }",
"long mod = (n - 1) % 26;",
"mod",
"(n - 1) % 26",
"(n - 1)",
"n",
"1",
"26",
"sb.append((char) (mod + 97))",
"sb.append",
"sb",
"(char) (mod + 97)",
"mod",
"97",
"if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\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",
"println(sb.reverse().toString())",
"println",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"in.close()",
"in.close",
"in",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }",
"readInt",
"{ \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }",
"int arr[] = new int[N];",
"arr",
"new int[N]",
"N",
"for(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{ \n \t\tarr[i] = in.nextInt(); \n \t}",
"{ \n \t\tarr[i] = in.nextInt(); \n \t}",
"arr[i] = in.nextInt()",
"arr[i]",
"arr",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"return arr;",
"arr",
"int N",
"N",
"static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }",
"readLong",
"{ \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }",
"long arr[] = new long[N];",
"arr",
"new long[N]",
"N",
"for(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{ \n \t\tarr[i] = in.nextLong(); \n \t}",
"{ \n \t\tarr[i] = in.nextLong(); \n \t}",
"arr[i] = in.nextLong()",
"arr[i]",
"arr",
"i",
"in.nextLong()",
"in.nextLong",
"in",
"return arr;",
"arr",
"int N",
"N",
"static void print(Object O) { \n \tout.print(O); \n }",
"print",
"{ \n \tout.print(O); \n }",
"out.print(O)",
"out.print",
"out",
"O",
"Object O",
"O",
"static void println(Object O) { \n \tout.println(O); \n }",
"println",
"{ \n \tout.println(O); \n }",
"out.println(O)",
"out.println",
"out",
"O",
"Object O",
"O",
"static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }",
"println",
"{ \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }",
"for(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{ \n \t\tprint(arr[i] + \" \"); \n \t}",
"{ \n \t\tprint(arr[i] + \" \"); \n \t}",
"print(arr[i] + \" \")",
"print",
"arr[i] + \" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"println(\"\")",
"println",
"\"\"",
"int arr[]",
"arr",
"static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }",
"displayRuntime",
"{\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }",
"long stopTime = System.currentTimeMillis();",
"stopTime",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"long elapsedTime = stopTime - startTime;",
"elapsedTime",
"stopTime - startTime",
"stopTime",
"startTime",
"System.out.println(\"Runtime: \" + elapsedTime / 1000D)",
"System.out.println",
"System.out",
"System",
"System.out",
"\"Runtime: \" + elapsedTime / 1000D",
"\"Runtime: \"",
"elapsedTime / 1000D",
"elapsedTime",
"1000D",
"long startTime",
"startTime",
"class Reader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n Reader() {\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }\n\n String next() throws IOException {\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }\n\n int nextInt() throws IOException { \n return Integer.parseInt(next()); \n }\n \n double nextDouble() throws IOException { \n return Double.parseDouble(next());\n }\n \n long nextLong() throws IOException { \n return Long.parseLong(next()); \n }\n \n String nextLine() throws IOException { \n return reader.readLine(); \n }\n \n void close() throws IOException { \n reader.close(); \n }\n}",
"Reader",
"BufferedReader reader;",
"reader",
"StringTokenizer tokenizer;",
"tokenizer",
"Reader() {\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }",
"Reader",
"{\n reader = new BufferedReader(new InputStreamReader(System.in));\n tokenizer = new StringTokenizer(\"\");\n }",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"tokenizer = new StringTokenizer(\"\")",
"tokenizer",
"new StringTokenizer(\"\")",
"String next() throws IOException {\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }\n return tokenizer.nextToken();\n }",
"while (!tokenizer.hasMoreTokens() ) { \n tokenizer = new StringTokenizer(reader.readLine()); \n }",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{ \n tokenizer = new StringTokenizer(reader.readLine()); \n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"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",
"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",
"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",
"String nextLine() throws IOException { \n return reader.readLine(); \n }",
"nextLine",
"{ \n return reader.readLine(); \n }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"void close() throws IOException { \n reader.close(); \n }",
"close",
"{ \n reader.close(); \n }",
"reader.close()",
"reader.close",
"reader",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }\n println(sb.reverse().toString());\n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws IOException {\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n long mod = (n - 1) % 26;\n sb.append((char) (mod + 97));\n if(n % 26 == 0){\n n = n/26 - 1;\n }\n else{\n n = n / 26;\n }\n }\n println(sb.reverse().toString());\n in.close();\n out.close();\n }\n\n static int MIN = Integer.MIN_VALUE;\n static int MAX = Integer.MAX_VALUE;\n static Reader in = new Reader();\n static PrintWriter out = new PrintWriter(System.out);\n\n static int[] readInt(int N) throws IOException { \n \tint arr[] = new int[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextInt(); \n \t} \n \treturn arr;\n }\n \n static long[] readLong(int N) throws IOException { \n \tlong arr[] = new long[N];\n \tfor(int i = 0; i < N; i++){ \n \t\tarr[i] = in.nextLong(); \n \t} \n \treturn arr;\n }\n \n static void print(Object O) { \n \tout.print(O); \n }\n \n static void println(Object O) { \n \tout.println(O); \n }\n \n static void println(int arr[]) { \n \tfor(int i = 0; i < arr.length; i++){ \n \t\tprint(arr[i] + \" \"); \n \t} \n \tprintln(\"\"); \n }\n \n static void displayRuntime(long startTime){\n long stopTime = System.currentTimeMillis();\n long elapsedTime = stopTime - startTime;\n System.out.println(\"Runtime: \" + elapsedTime / 1000D);\n }\n}",
"Main"
]
| // created on : Sun Jun 21 2020
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws IOException {
long n = in.nextLong();
StringBuilder sb = new StringBuilder();
while(n > 0){
long mod = (n - 1) % 26;
sb.append((char) (mod + 97));
if(n % 26 == 0){
n = n/26 - 1;
}
else{
n = n / 26;
}
}
println(sb.reverse().toString());
in.close();
out.close();
}
static int MIN = Integer.MIN_VALUE;
static int MAX = Integer.MAX_VALUE;
static Reader in = new Reader();
static PrintWriter out = new PrintWriter(System.out);
static int[] readInt(int N) throws IOException {
int arr[] = new int[N];
for(int i = 0; i < N; i++){
arr[i] = in.nextInt();
}
return arr;
}
static long[] readLong(int N) throws IOException {
long arr[] = new long[N];
for(int i = 0; i < N; i++){
arr[i] = in.nextLong();
}
return arr;
}
static void print(Object O) {
out.print(O);
}
static void println(Object O) {
out.println(O);
}
static void println(int arr[]) {
for(int i = 0; i < arr.length; i++){
print(arr[i] + " ");
}
println("");
}
static void displayRuntime(long startTime){
long stopTime = System.currentTimeMillis();
long elapsedTime = stopTime - startTime;
System.out.println("Runtime: " + elapsedTime / 1000D);
}
}
class Reader {
BufferedReader reader;
StringTokenizer tokenizer;
Reader() {
reader = new BufferedReader(new InputStreamReader(System.in));
tokenizer = new StringTokenizer("");
}
String next() throws IOException {
while (!tokenizer.hasMoreTokens() ) {
tokenizer = new StringTokenizer(reader.readLine());
}
return tokenizer.nextToken();
}
int nextInt() throws IOException {
return Integer.parseInt(next());
}
double nextDouble() throws IOException {
return Double.parseDouble(next());
}
long nextLong() throws IOException {
return Long.parseLong(next());
}
String nextLine() throws IOException {
return reader.readLine();
}
void close() throws IOException {
reader.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
20,
17,
0,
18,
13,
17,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
40,
13,
0,
13,
18,
13,
2,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
40,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
17,
42,
2,
2,
4,
18,
13,
4,
18,
13,
13,
2,
13,
17,
13,
30,
40,
13,
0,
18,
13,
2,
2,
13,
17,
13,
13,
0,
13,
2,
4,
18,
13,
4,
18,
13,
13,
13,
0,
18,
13,
2,
13,
17,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
18,
13,
13,
29,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
211,
5
],
[
211,
6
],
[
6,
7
],
[
6,
8
],
[
211,
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
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
9,
33
],
[
33,
34
],
[
211,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
41,
43
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
37,
50
],
[
50,
51
],
[
50,
52
],
[
37,
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
],
[
69,
70
],
[
69,
71
],
[
66,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
75,
76
],
[
76,
77
],
[
72,
78
],
[
78,
79
],
[
65,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
37,
87
],
[
87,
88
],
[
87,
89
],
[
37,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
91,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
91,
101
],
[
101,
102
],
[
102,
103
],
[
91,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
37,
111
],
[
111,
112
],
[
37,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
113,
120
],
[
120,
121
],
[
120,
122
],
[
113,
123
],
[
123,
124
],
[
124,
125
],
[
113,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
127,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
138,
139
],
[
134,
140
],
[
133,
141
],
[
141,
142
],
[
141,
143
],
[
132,
144
],
[
131,
145
],
[
145,
146
],
[
146,
147
],
[
127,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
152,
152
],
[
152,
153
],
[
152,
154
],
[
152,
155
],
[
148,
156
],
[
127,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
164,
165
],
[
160,
166
],
[
159,
167
],
[
37,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
171,
173
],
[
168,
174
],
[
37,
175
],
[
175,
176
],
[
175,
177
],
[
37,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
178,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
185,
187
],
[
178,
188
],
[
188,
189
],
[
189,
190
],
[
178,
191
],
[
192,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
195,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
201,
203
],
[
37,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
35,
208
],
[
208,
209
],
[
0,
210
],
[
210,
211
],
[
210,
212
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tprivate static final String ALF = \"abcdefghijklmnopqrstuvwxyz\"; \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong dog = sc.nextLong();\n\n\t\tString dogName = convertToName(dog);\n\t\tSystem.out.println(dogName.toString());\n\t}\n\n\tstatic String convertToName(long dog) {\n\t\t//文字数を特定する\n\t\tint digitNum = 1;\n\t\tlong[] digitParts = new long[15];\n\t\tdigitParts[0] = 26;\n\t\tlong digitSum = 26;\n\t\tfor (int i = 0; digitSum < dog; i++) {\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}\n\t\t\n\t\tint[] res = new int[digitNum];\n\t\t\n\t\t/// 与えられた数から桁数-1までの組み合わせ分だけ引く\n\t\tfor (int i = 0; i < digitNum - 1; i++) {\n\t\t\tdog -= digitParts[i];\n\t\t}\n\t\t\n\t\t// 計算した数を26進数に変換する\n\t\t//0始まりとする\n\t\tdog --;\n\t\tfor(int i = digitNum - 1; i > 0; i--) {\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}\n\t\tres[digitNum - 1] = (int) dog;\n\t\t\n\t\t// 26進数を文字に変換する\n\t\tStringBuffer dogName = new StringBuffer();\n\t\tfor (int i = 0; i < res.length; i++) {\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}\n\t\treturn dogName.toString();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tprivate static final String ALF = \"abcdefghijklmnopqrstuvwxyz\"; \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong dog = sc.nextLong();\n\n\t\tString dogName = convertToName(dog);\n\t\tSystem.out.println(dogName.toString());\n\t}\n\n\tstatic String convertToName(long dog) {\n\t\t//文字数を特定する\n\t\tint digitNum = 1;\n\t\tlong[] digitParts = new long[15];\n\t\tdigitParts[0] = 26;\n\t\tlong digitSum = 26;\n\t\tfor (int i = 0; digitSum < dog; i++) {\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}\n\t\t\n\t\tint[] res = new int[digitNum];\n\t\t\n\t\t/// 与えられた数から桁数-1までの組み合わせ分だけ引く\n\t\tfor (int i = 0; i < digitNum - 1; i++) {\n\t\t\tdog -= digitParts[i];\n\t\t}\n\t\t\n\t\t// 計算した数を26進数に変換する\n\t\t//0始まりとする\n\t\tdog --;\n\t\tfor(int i = digitNum - 1; i > 0; i--) {\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}\n\t\tres[digitNum - 1] = (int) dog;\n\t\t\n\t\t// 26進数を文字に変換する\n\t\tStringBuffer dogName = new StringBuffer();\n\t\tfor (int i = 0; i < res.length; i++) {\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}\n\t\treturn dogName.toString();\n\t}\n}",
"Main",
"private static final String ALF = \"abcdefghijklmnopqrstuvwxyz\";",
"ALF",
"\"abcdefghijklmnopqrstuvwxyz\"",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong dog = sc.nextLong();\n\n\t\tString dogName = convertToName(dog);\n\t\tSystem.out.println(dogName.toString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong dog = sc.nextLong();\n\n\t\tString dogName = convertToName(dog);\n\t\tSystem.out.println(dogName.toString());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long dog = sc.nextLong();",
"dog",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String dogName = convertToName(dog);",
"dogName",
"convertToName(dog)",
"convertToName",
"dog",
"System.out.println(dogName.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"dogName.toString()",
"dogName.toString",
"dogName",
"String[] args",
"args",
"static String convertToName(long dog) {\n\t\t//文字数を特定する\n\t\tint digitNum = 1;\n\t\tlong[] digitParts = new long[15];\n\t\tdigitParts[0] = 26;\n\t\tlong digitSum = 26;\n\t\tfor (int i = 0; digitSum < dog; i++) {\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}\n\t\t\n\t\tint[] res = new int[digitNum];\n\t\t\n\t\t/// 与えられた数から桁数-1までの組み合わせ分だけ引く\n\t\tfor (int i = 0; i < digitNum - 1; i++) {\n\t\t\tdog -= digitParts[i];\n\t\t}\n\t\t\n\t\t// 計算した数を26進数に変換する\n\t\t//0始まりとする\n\t\tdog --;\n\t\tfor(int i = digitNum - 1; i > 0; i--) {\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}\n\t\tres[digitNum - 1] = (int) dog;\n\t\t\n\t\t// 26進数を文字に変換する\n\t\tStringBuffer dogName = new StringBuffer();\n\t\tfor (int i = 0; i < res.length; i++) {\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}\n\t\treturn dogName.toString();\n\t}",
"convertToName",
"{\n\t\t//文字数を特定する\n\t\tint digitNum = 1;\n\t\tlong[] digitParts = new long[15];\n\t\tdigitParts[0] = 26;\n\t\tlong digitSum = 26;\n\t\tfor (int i = 0; digitSum < dog; i++) {\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}\n\t\t\n\t\tint[] res = new int[digitNum];\n\t\t\n\t\t/// 与えられた数から桁数-1までの組み合わせ分だけ引く\n\t\tfor (int i = 0; i < digitNum - 1; i++) {\n\t\t\tdog -= digitParts[i];\n\t\t}\n\t\t\n\t\t// 計算した数を26進数に変換する\n\t\t//0始まりとする\n\t\tdog --;\n\t\tfor(int i = digitNum - 1; i > 0; i--) {\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}\n\t\tres[digitNum - 1] = (int) dog;\n\t\t\n\t\t// 26進数を文字に変換する\n\t\tStringBuffer dogName = new StringBuffer();\n\t\tfor (int i = 0; i < res.length; i++) {\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}\n\t\treturn dogName.toString();\n\t}",
"int digitNum = 1;",
"digitNum",
"1",
"long[] digitParts = new long[15];",
"digitParts",
"new long[15]",
"15",
"digitParts[0] = 26",
"digitParts[0]",
"digitParts",
"0",
"26",
"long digitSum = 26;",
"digitSum",
"26",
"for (int i = 0; digitSum < dog; i++) {\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"digitSum < dog",
"digitSum",
"dog",
"i++",
"i++",
"i",
"{\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}",
"{\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}",
"digitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum))",
"digitParts[i + 1]",
"digitParts",
"i + 1",
"i",
"1",
"(long) (Math.pow(ALF.length(), ++digitNum))",
"Math.pow",
"Math",
"ALF.length()",
"ALF.length",
"ALF",
"++digitNum",
"digitNum",
"digitSum += digitParts[i + 1]",
"digitSum",
"digitParts[i + 1]",
"digitParts",
"i + 1",
"i",
"1",
"int[] res = new int[digitNum];",
"res",
"new int[digitNum]",
"digitNum",
"for (int i = 0; i < digitNum - 1; i++) {\n\t\t\tdog -= digitParts[i];\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < digitNum - 1",
"i",
"digitNum - 1",
"digitNum",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tdog -= digitParts[i];\n\t\t}",
"{\n\t\t\tdog -= digitParts[i];\n\t\t}",
"dog -= digitParts[i]",
"dog",
"digitParts[i]",
"digitParts",
"i",
"dog --",
"dog",
"for(int i = digitNum - 1; i > 0; i--) {\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}",
"int i = digitNum - 1;",
"int i = digitNum - 1;",
"i",
"digitNum - 1",
"digitNum",
"1",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}",
"{\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}",
"int rankNum = 0;",
"rankNum",
"0",
"while(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}",
"Math.pow(ALF.length(), i) * (rankNum + 1) <= dog",
"Math.pow(ALF.length(), i) * (rankNum + 1)",
"Math.pow(ALF.length(), i)",
"Math.pow",
"Math",
"ALF.length()",
"ALF.length",
"ALF",
"i",
"(rankNum + 1)",
"rankNum",
"1",
"dog",
"{\n\t\t\t\trankNum++;\n\t\t\t}",
"rankNum++",
"rankNum",
"res[digitNum - 1 - i] = rankNum",
"res[digitNum - 1 - i]",
"res",
"digitNum - 1 - i",
"digitNum - 1 - i",
"digitNum",
"1",
"i",
"rankNum",
"dog -= Math.pow(ALF.length(), i) * rankNum",
"dog",
"Math.pow(ALF.length(), i) * rankNum",
"Math.pow(ALF.length(), i)",
"Math.pow",
"Math",
"ALF.length()",
"ALF.length",
"ALF",
"i",
"rankNum",
"res[digitNum - 1] = (int) dog",
"res[digitNum - 1]",
"res",
"digitNum - 1",
"digitNum",
"1",
"(int) dog",
"StringBuffer dogName = new StringBuffer();",
"dogName",
"new StringBuffer()",
"for (int i = 0; i < res.length; i++) {\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < res.length",
"i",
"res.length",
"res",
"res.length",
"i++",
"i++",
"i",
"{\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}",
"{\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}",
"dogName = dogName.append(ALF.charAt(res[i]))",
"dogName",
"dogName.append(ALF.charAt(res[i]))",
"dogName.append",
"dogName",
"ALF.charAt(res[i])",
"ALF.charAt",
"ALF",
"res[i]",
"res",
"i",
"return dogName.toString();",
"dogName.toString()",
"dogName.toString",
"dogName",
"long dog",
"dog",
"public class Main {\n\tprivate static final String ALF = \"abcdefghijklmnopqrstuvwxyz\"; \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong dog = sc.nextLong();\n\n\t\tString dogName = convertToName(dog);\n\t\tSystem.out.println(dogName.toString());\n\t}\n\n\tstatic String convertToName(long dog) {\n\t\t//文字数を特定する\n\t\tint digitNum = 1;\n\t\tlong[] digitParts = new long[15];\n\t\tdigitParts[0] = 26;\n\t\tlong digitSum = 26;\n\t\tfor (int i = 0; digitSum < dog; i++) {\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}\n\t\t\n\t\tint[] res = new int[digitNum];\n\t\t\n\t\t/// 与えられた数から桁数-1までの組み合わせ分だけ引く\n\t\tfor (int i = 0; i < digitNum - 1; i++) {\n\t\t\tdog -= digitParts[i];\n\t\t}\n\t\t\n\t\t// 計算した数を26進数に変換する\n\t\t//0始まりとする\n\t\tdog --;\n\t\tfor(int i = digitNum - 1; i > 0; i--) {\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}\n\t\tres[digitNum - 1] = (int) dog;\n\t\t\n\t\t// 26進数を文字に変換する\n\t\tStringBuffer dogName = new StringBuffer();\n\t\tfor (int i = 0; i < res.length; i++) {\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}\n\t\treturn dogName.toString();\n\t}\n}",
"public class Main {\n\tprivate static final String ALF = \"abcdefghijklmnopqrstuvwxyz\"; \n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong dog = sc.nextLong();\n\n\t\tString dogName = convertToName(dog);\n\t\tSystem.out.println(dogName.toString());\n\t}\n\n\tstatic String convertToName(long dog) {\n\t\t//文字数を特定する\n\t\tint digitNum = 1;\n\t\tlong[] digitParts = new long[15];\n\t\tdigitParts[0] = 26;\n\t\tlong digitSum = 26;\n\t\tfor (int i = 0; digitSum < dog; i++) {\n\t\t\tdigitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));\n\t\t\tdigitSum += digitParts[i + 1];\n\t\t}\n\t\t\n\t\tint[] res = new int[digitNum];\n\t\t\n\t\t/// 与えられた数から桁数-1までの組み合わせ分だけ引く\n\t\tfor (int i = 0; i < digitNum - 1; i++) {\n\t\t\tdog -= digitParts[i];\n\t\t}\n\t\t\n\t\t// 計算した数を26進数に変換する\n\t\t//0始まりとする\n\t\tdog --;\n\t\tfor(int i = digitNum - 1; i > 0; i--) {\n\t\t\tint rankNum = 0;\n\t\t\twhile(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {\n\t\t\t\trankNum++;\n\t\t\t}\n\t\t\tres[digitNum - 1 - i] = rankNum;\n\t\t\tdog -= Math.pow(ALF.length(), i) * rankNum;\n\t\t}\n\t\tres[digitNum - 1] = (int) dog;\n\t\t\n\t\t// 26進数を文字に変換する\n\t\tStringBuffer dogName = new StringBuffer();\n\t\tfor (int i = 0; i < res.length; i++) {\n\t\t\tdogName = dogName.append(ALF.charAt(res[i]));\n\t\t}\n\t\treturn dogName.toString();\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
private static final String ALF = "abcdefghijklmnopqrstuvwxyz";
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long dog = sc.nextLong();
String dogName = convertToName(dog);
System.out.println(dogName.toString());
}
static String convertToName(long dog) {
//文字数を特定する
int digitNum = 1;
long[] digitParts = new long[15];
digitParts[0] = 26;
long digitSum = 26;
for (int i = 0; digitSum < dog; i++) {
digitParts[i + 1] = (long) (Math.pow(ALF.length(), ++digitNum));
digitSum += digitParts[i + 1];
}
int[] res = new int[digitNum];
/// 与えられた数から桁数-1までの組み合わせ分だけ引く
for (int i = 0; i < digitNum - 1; i++) {
dog -= digitParts[i];
}
// 計算した数を26進数に変換する
//0始まりとする
dog --;
for(int i = digitNum - 1; i > 0; i--) {
int rankNum = 0;
while(Math.pow(ALF.length(), i) * (rankNum + 1) <= dog) {
rankNum++;
}
res[digitNum - 1 - i] = rankNum;
dog -= Math.pow(ALF.length(), i) * rankNum;
}
res[digitNum - 1] = (int) dog;
// 26進数を文字に変換する
StringBuffer dogName = new StringBuffer();
for (int i = 0; i < res.length; i++) {
dogName = dogName.append(ALF.charAt(res[i]));
}
return dogName.toString();
}
}
|
[
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,
41,
13,
4,
18,
13,
2,
13,
17,
4,
18,
13,
13,
0,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
49,
53
],
[
45,
54
],
[
54,
55
],
[
54,
56
],
[
45,
57
],
[
57,
58
],
[
58,
59
],
[
45,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"\nimport java.util.*;\n\npublic class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tLong nu=sc.nextLong();\n\t\t\n\t\tString str=\"abcdefghijklmnopqrstuvwxyz\";\n\t\tList<String>list=new ArrayList<>();\n\t\t\n\t\tdo{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}while(nu>0);\n\t\t\n\t\n\t\tfor(int i=list.size()-1;i>=0;i--){\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tLong nu=sc.nextLong();\n\t\t\n\t\tString str=\"abcdefghijklmnopqrstuvwxyz\";\n\t\tList<String>list=new ArrayList<>();\n\t\t\n\t\tdo{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}while(nu>0);\n\t\t\n\t\n\t\tfor(int i=list.size()-1;i>=0;i--){\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}\n\t}\n}",
"Main",
"static public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tLong nu=sc.nextLong();\n\t\t\n\t\tString str=\"abcdefghijklmnopqrstuvwxyz\";\n\t\tList<String>list=new ArrayList<>();\n\t\t\n\t\tdo{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}while(nu>0);\n\t\t\n\t\n\t\tfor(int i=list.size()-1;i>=0;i--){\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tLong nu=sc.nextLong();\n\t\t\n\t\tString str=\"abcdefghijklmnopqrstuvwxyz\";\n\t\tList<String>list=new ArrayList<>();\n\t\t\n\t\tdo{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}while(nu>0);\n\t\t\n\t\n\t\tfor(int i=list.size()-1;i>=0;i--){\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long nu=sc.nextLong();",
"nu",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String str=\"abcdefghijklmnopqrstuvwxyz\";",
"str",
"\"abcdefghijklmnopqrstuvwxyz\"",
"List<String>list=new ArrayList<>();",
"list",
"new ArrayList<>()",
"do{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}while(nu>0);",
"nu>0",
"nu",
"0",
"{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}",
"nu--",
"nu",
"String s=Long.toString(nu%26);",
"s",
"Long.toString(nu%26)",
"Long.toString",
"Long",
"nu%26",
"nu",
"26",
"list.add(s)",
"list.add",
"list",
"s",
"nu/=26",
"nu",
"26",
"for(int i=list.size()-1;i>=0;i--){\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}",
"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\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}",
"{\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}",
"int a=Integer.parseInt(list.get(i));",
"a",
"Integer.parseInt(list.get(i))",
"Integer.parseInt",
"Integer",
"list.get(i)",
"list.get",
"list",
"i",
"System.out.print(str.charAt(a))",
"System.out.print",
"System.out",
"System",
"System.out",
"str.charAt(a)",
"str.charAt",
"str",
"a",
"String args[]",
"args",
"public class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tLong nu=sc.nextLong();\n\t\t\n\t\tString str=\"abcdefghijklmnopqrstuvwxyz\";\n\t\tList<String>list=new ArrayList<>();\n\t\t\n\t\tdo{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}while(nu>0);\n\t\t\n\t\n\t\tfor(int i=list.size()-1;i>=0;i--){\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic public void main(String args[]){\n\t\tScanner sc=new Scanner(System.in);\n\t\t\n\t\tLong nu=sc.nextLong();\n\t\t\n\t\tString str=\"abcdefghijklmnopqrstuvwxyz\";\n\t\tList<String>list=new ArrayList<>();\n\t\t\n\t\tdo{\n\t\t\tnu--;\n\t\t\tString s=Long.toString(nu%26);\n\t\t\t//System.out.print(s);\n\t\t\tlist.add(s);\n\t\t\tnu/=26;\n\t\t}while(nu>0);\n\t\t\n\t\n\t\tfor(int i=list.size()-1;i>=0;i--){\n\t\t\tint a=Integer.parseInt(list.get(i));\n\t\t\t//System.out.print(a);\n\t\t\tSystem.out.print(str.charAt(a));\n\t\t}\n\t}\n}",
"Main"
]
|
import java.util.*;
public class Main {
static public void main(String args[]){
Scanner sc=new Scanner(System.in);
Long nu=sc.nextLong();
String str="abcdefghijklmnopqrstuvwxyz";
List<String>list=new ArrayList<>();
do{
nu--;
String s=Long.toString(nu%26);
//System.out.print(s);
list.add(s);
nu/=26;
}while(nu>0);
for(int i=list.size()-1;i>=0;i--){
int a=Integer.parseInt(list.get(i));
//System.out.print(a);
System.out.print(str.charAt(a));
}
}
} |
[
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,
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,
41,
13,
4,
18,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
13,
4,
18,
18,
13,
13,
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
],
[
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
],
[
36,
37
],
[
35,
38
],
[
34,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
30,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
46,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
8,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
8,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
8,
72
],
[
72,
73
],
[
72,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
75,
84
],
[
84,
85
],
[
84,
86
],
[
75,
87
],
[
87,
88
],
[
88,
89
],
[
75,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
8,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
6,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"import java.util.*;\n\npublic class Main { \n\t// Driver program to test above function \n\tpublic static void main(String[] args) \n\t{ \n\t\tScanner sc = new Scanner(System.in);\n \tlong num = sc.nextLong();\n \tStringBuilder columnName = new StringBuilder(); \n\n\t\twhile (num > 0) { \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t} \n\t\tString lowerCase = columnName.toString().toLowerCase();\n \tchar c[]=lowerCase.toCharArray();\n\t\tString reverse=\"\";\n\n\t\tfor(int i=c.length-1;i>=0;i--){\n\t\t\treverse+=c[i];\n\t\t\t}\n\t\tSystem.out.println(reverse); \n\t} \n \t\n} \n",
"import java.util.*;",
"util.*",
"java",
"public class Main { \n\t// Driver program to test above function \n\tpublic static void main(String[] args) \n\t{ \n\t\tScanner sc = new Scanner(System.in);\n \tlong num = sc.nextLong();\n \tStringBuilder columnName = new StringBuilder(); \n\n\t\twhile (num > 0) { \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t} \n\t\tString lowerCase = columnName.toString().toLowerCase();\n \tchar c[]=lowerCase.toCharArray();\n\t\tString reverse=\"\";\n\n\t\tfor(int i=c.length-1;i>=0;i--){\n\t\t\treverse+=c[i];\n\t\t\t}\n\t\tSystem.out.println(reverse); \n\t} \n \t\n}",
"Main",
"// Driver program to test above function \n\tpublic static void main(String[] args) \n\t{ \n\t\tScanner sc = new Scanner(System.in);\n \tlong num = sc.nextLong();\n \tStringBuilder columnName = new StringBuilder(); \n\n\t\twhile (num > 0) { \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t} \n\t\tString lowerCase = columnName.toString().toLowerCase();\n \tchar c[]=lowerCase.toCharArray();\n\t\tString reverse=\"\";\n\n\t\tfor(int i=c.length-1;i>=0;i--){\n\t\t\treverse+=c[i];\n\t\t\t}\n\t\tSystem.out.println(reverse); \n\t}",
"main",
"{ \n\t\tScanner sc = new Scanner(System.in);\n \tlong num = sc.nextLong();\n \tStringBuilder columnName = new StringBuilder(); \n\n\t\twhile (num > 0) { \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t} \n\t\tString lowerCase = columnName.toString().toLowerCase();\n \tchar c[]=lowerCase.toCharArray();\n\t\tString reverse=\"\";\n\n\t\tfor(int i=c.length-1;i>=0;i--){\n\t\t\treverse+=c[i];\n\t\t\t}\n\t\tSystem.out.println(reverse); \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long num = sc.nextLong();",
"num",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder columnName = new StringBuilder();",
"columnName",
"new StringBuilder()",
"while (num > 0) { \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t}",
"num > 0",
"num",
"0",
"{ \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t}",
"long rem = num % 26;",
"rem",
"num % 26",
"num",
"26",
"if (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t}",
"rem == 0",
"rem",
"0",
"{ \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t}",
"columnName.append(\"Z\")",
"columnName.append",
"columnName",
"\"Z\"",
"num = (num / 26) - 1",
"num",
"(num / 26) - 1",
"(num / 26)",
"num",
"26",
"1",
"{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t}",
"columnName.append((char)((rem - 1) + 'A'))",
"columnName.append",
"columnName",
"(char)((rem - 1) + 'A')",
"(rem - 1)",
"rem",
"1",
"'A'",
"num = num / 26",
"num",
"num / 26",
"num",
"26",
"String lowerCase = columnName.toString().toLowerCase();",
"lowerCase",
"columnName.toString().toLowerCase()",
"columnName.toString().toLowerCase",
"columnName.toString()",
"columnName.toString",
"columnName",
"char c[]=lowerCase.toCharArray();",
"c",
"lowerCase.toCharArray()",
"lowerCase.toCharArray",
"lowerCase",
"String reverse=\"\";",
"reverse",
"\"\"",
"for(int i=c.length-1;i>=0;i--){\n\t\t\treverse+=c[i];\n\t\t\t}",
"int i=c.length-1;",
"int i=c.length-1;",
"i",
"c.length-1",
"c.length",
"c",
"c.length",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\treverse+=c[i];\n\t\t\t}",
"{\n\t\t\treverse+=c[i];\n\t\t\t}",
"reverse+=c[i]",
"reverse",
"c[i]",
"c",
"i",
"System.out.println(reverse)",
"System.out.println",
"System.out",
"System",
"System.out",
"reverse",
"String[] args",
"args",
"public class Main { \n\t// Driver program to test above function \n\tpublic static void main(String[] args) \n\t{ \n\t\tScanner sc = new Scanner(System.in);\n \tlong num = sc.nextLong();\n \tStringBuilder columnName = new StringBuilder(); \n\n\t\twhile (num > 0) { \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t} \n\t\tString lowerCase = columnName.toString().toLowerCase();\n \tchar c[]=lowerCase.toCharArray();\n\t\tString reverse=\"\";\n\n\t\tfor(int i=c.length-1;i>=0;i--){\n\t\t\treverse+=c[i];\n\t\t\t}\n\t\tSystem.out.println(reverse); \n\t} \n \t\n}",
"public class Main { \n\t// Driver program to test above function \n\tpublic static void main(String[] args) \n\t{ \n\t\tScanner sc = new Scanner(System.in);\n \tlong num = sc.nextLong();\n \tStringBuilder columnName = new StringBuilder(); \n\n\t\twhile (num > 0) { \n\t\t\n\t\t\tlong rem = num % 26; \n\t\t\tif (rem == 0) { \n\t\t\t\tcolumnName.append(\"Z\"); \n\t\t\t\tnum = (num / 26) - 1; \n\t\t\t} \n\t\t\telse \n\t\t\t{ \n\t\t\t\tcolumnName.append((char)((rem - 1) + 'A')); \n\t\t\t\tnum = num / 26; \n\t\t\t} \n\t\t} \n\t\tString lowerCase = columnName.toString().toLowerCase();\n \tchar c[]=lowerCase.toCharArray();\n\t\tString reverse=\"\";\n\n\t\tfor(int i=c.length-1;i>=0;i--){\n\t\t\treverse+=c[i];\n\t\t\t}\n\t\tSystem.out.println(reverse); \n\t} \n \t\n}",
"Main"
]
| import java.util.*;
public class Main {
// Driver program to test above function
public static void main(String[] args)
{
Scanner sc = new Scanner(System.in);
long num = sc.nextLong();
StringBuilder columnName = new StringBuilder();
while (num > 0) {
long rem = num % 26;
if (rem == 0) {
columnName.append("Z");
num = (num / 26) - 1;
}
else
{
columnName.append((char)((rem - 1) + 'A'));
num = num / 26;
}
}
String lowerCase = columnName.toString().toLowerCase();
char c[]=lowerCase.toCharArray();
String reverse="";
for(int i=c.length-1;i>=0;i--){
reverse+=c[i];
}
System.out.println(reverse);
}
}
|
[
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,
2,
2,
13,
17,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
48,
5
],
[
48,
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
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
6,
45
],
[
45,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
]
]
| [
"import java.util.Scanner;\n/**\n * 解题方法 26 进制\n * k 进制每一位最大只有 k - 1,但是此道题目最大可以是 26,所以每次处理 N - 1\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n String ans = \"\";\n while (N > 0) {\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n String ans = \"\";\n while (N > 0) {\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n String ans = \"\";\n while (N > 0) {\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n String ans = \"\";\n while (N > 0) {\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long N = scanner.nextLong();",
"N",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"String ans = \"\";",
"ans",
"\"\"",
"while (N > 0) {\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }",
"N > 0",
"N",
"0",
"{\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }",
"N--",
"N",
"ans = (char)(N % 26 + 97) + ans",
"ans",
"(char)(N % 26 + 97) + ans",
"(char)(N % 26 + 97)",
"N % 26",
"N",
"26",
"97",
"ans",
"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 Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n String ans = \"\";\n while (N > 0) {\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n String ans = \"\";\n while (N > 0) {\n N--;\n ans = (char)(N % 26 + 97) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.Scanner;
/**
* 解题方法 26 进制
* k 进制每一位最大只有 k - 1,但是此道题目最大可以是 26,所以每次处理 N - 1
*/
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long N = scanner.nextLong();
String ans = "";
while (N > 0) {
N--;
ans = (char)(N % 26 + 97) + ans;
N /= 26;
}
System.out.println(ans);
}
} |
[
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,
20,
41,
13,
17,
41,
13,
2,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
2,
13,
13,
17,
40,
13,
4,
18,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
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,
29,
17,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
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,
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,
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,
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,
29,
8,
13,
40,
13,
13,
37,
20,
0,
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
],
[
277,
11
],
[
277,
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
],
[
29,
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
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
38,
51
],
[
51,
52
],
[
38,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
14,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
12,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
71,
78
],
[
78,
79
],
[
78,
80
],
[
71,
82
],
[
82,
83
],
[
82,
84
],
[
71,
85
],
[
85,
86
],
[
85,
87
],
[
71,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
95,
96
],
[
91,
97
],
[
97,
98
],
[
97,
99
],
[
90,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
100,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
90,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
90,
120
],
[
120,
121
],
[
71,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
125,
133
],
[
133,
134
],
[
134,
135
],
[
71,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
144,
146
],
[
136,
147
],
[
147,
148
],
[
71,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
153,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
152,
162
],
[
162,
163
],
[
71,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
169,
170
],
[
170,
171
],
[
71,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
174,
182
],
[
182,
183
],
[
183,
184
],
[
183,
185
],
[
182,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
186,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
174,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
71,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
205,
206
],
[
205,
207
],
[
201,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
201,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
201,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
229,
231
],
[
224,
232
],
[
232,
233
],
[
201,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
242,
244
],
[
237,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
251,
253
],
[
237,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
255,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
254,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
265,
269
],
[
254,
270
],
[
270,
271
],
[
236,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
0,
276
],
[
276,
277
],
[
276,
278
]
]
| [
"import java.io.*;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n long n=sc.nextLong();\n StringBuilder ans=new StringBuilder();\n long remain=0;\n long qoute=n-1;\n \n while (qoute>=0) {\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }\n \n System.out.println(ans.reverse().toString());\n }\n}\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 (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0)\n return false;\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(final int c) {\n return 33 <= c && c <= 126;\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public String next() {\n final 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 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 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 b = readByte();\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n long n=sc.nextLong();\n StringBuilder ans=new StringBuilder();\n long remain=0;\n long qoute=n-1;\n \n while (qoute>=0) {\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }\n \n System.out.println(ans.reverse().toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n long n=sc.nextLong();\n StringBuilder ans=new StringBuilder();\n long remain=0;\n long qoute=n-1;\n \n while (qoute>=0) {\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }\n \n System.out.println(ans.reverse().toString());\n }",
"main",
"{\n FastScanner sc = new FastScanner();\n long n=sc.nextLong();\n StringBuilder ans=new StringBuilder();\n long remain=0;\n long qoute=n-1;\n \n while (qoute>=0) {\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }\n \n System.out.println(ans.reverse().toString());\n }",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder ans=new StringBuilder();",
"ans",
"new StringBuilder()",
"long remain=0;",
"remain",
"0",
"long qoute=n-1;",
"qoute",
"n-1",
"n",
"1",
"while (qoute>=0) {\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }",
"qoute>=0",
"qoute",
"0",
"{\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }",
"remain=qoute%26",
"remain",
"qoute%26",
"qoute",
"26",
"qoute=(qoute-remain)/26",
"qoute",
"(qoute-remain)/26",
"(qoute-remain)",
"qoute",
"remain",
"26",
"qoute--",
"qoute",
"ans.append((char)(remain+97))",
"ans.append",
"ans",
"(char)(remain+97)",
"remain",
"97",
"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",
"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 (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0)\n return false;\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(final int c) {\n return 33 <= c && c <= 126;\n }\n\n private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n }\n\n public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }\n\n public String next() {\n final 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 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 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 b = readByte();\n }\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 (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0)\n return false;\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 (final IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0)\n return false;\n return true;\n }",
"if (ptr < buflen)\n return true;\n else\n ptr = 0;",
"ptr < buflen",
"ptr",
"buflen",
"return true;",
"true",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (final IOException e) {\n e.printStackTrace();\n }",
"catch (final IOException e) {\n e.printStackTrace();\n }",
"final 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;",
"buflen <= 0",
"buflen",
"0",
"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(final 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",
"final int c",
"c",
"private void skipUnprintable() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\n }",
"skipUnprintable",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n ptr++;\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",
"public boolean hasNext() {\n skipUnprintable();\n return hasNextByte();\n }",
"hasNext",
"{\n skipUnprintable();\n return hasNextByte();\n }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n final 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 final 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 }",
"final 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 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 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 b = readByte();\n }\n }",
"nextLong",
"{\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 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 b = readByte();\n }\n }",
"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();",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"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 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 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();",
"'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();",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n long n=sc.nextLong();\n StringBuilder ans=new StringBuilder();\n long remain=0;\n long qoute=n-1;\n \n while (qoute>=0) {\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }\n \n System.out.println(ans.reverse().toString());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n long n=sc.nextLong();\n StringBuilder ans=new StringBuilder();\n long remain=0;\n long qoute=n-1;\n \n while (qoute>=0) {\n remain=qoute%26;\n qoute=(qoute-remain)/26;\n qoute--;\n \n ans.append((char)(remain+97));\n }\n \n System.out.println(ans.reverse().toString());\n }\n}",
"Main"
]
| import java.io.*;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner();
long n=sc.nextLong();
StringBuilder ans=new StringBuilder();
long remain=0;
long qoute=n-1;
while (qoute>=0) {
remain=qoute%26;
qoute=(qoute-remain)/26;
qoute--;
ans.append((char)(remain+97));
}
System.out.println(ans.reverse().toString());
}
}
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 (final 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(final 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() {
final StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public long nextLong() {
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();
}
}
} |
[
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,
13,
30,
0,
13,
2,
13,
4,
18,
13,
17,
13,
40,
13,
40,
13,
0,
13,
2,
13,
4,
18,
13,
17,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
13,
17,
0,
13,
2,
13,
17,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
143,
5
],
[
143,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
32,
36
],
[
27,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
45,
49
],
[
8,
50
],
[
50,
51
],
[
50,
52
],
[
53,
53
],
[
53,
54
],
[
53,
55
],
[
53,
56
],
[
8,
57
],
[
57,
58
],
[
57,
59
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
71,
72
],
[
72,
73
],
[
61,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
76,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
8,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
90,
93
],
[
90,
94
],
[
90,
95
],
[
90,
96
],
[
90,
97
],
[
90,
98
],
[
90,
99
],
[
90,
100
],
[
90,
101
],
[
90,
102
],
[
90,
103
],
[
90,
104
],
[
90,
105
],
[
90,
106
],
[
90,
107
],
[
90,
108
],
[
90,
109
],
[
90,
110
],
[
90,
111
],
[
90,
112
],
[
90,
113
],
[
90,
114
],
[
90,
115
],
[
90,
116
],
[
8,
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
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
137,
139
],
[
6,
140
],
[
140,
141
],
[
0,
142
],
[
142,
143
],
[
142,
144
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong N = sc.nextLong();\n\tlong now = 0;\n\tint keta = 1;\n\twhile(N > now) {\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}\n\tketa--;\n\tnow = now - (long)Math.pow(26,keta);\n\tlong shou = N-now-1; //その桁の初めから何番目か\n\tlong[] name = new long[keta];\n\tfor (int i=keta-1;i>=0;i--) {\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}\n\tchar[] abc = {'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t 's','t','u','v','w','x','y','z'};\n\tfor (int i=0;i<keta;i++) {\n\t System.out.print(abc[(int)name[i]]);\n\t}\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong N = sc.nextLong();\n\tlong now = 0;\n\tint keta = 1;\n\twhile(N > now) {\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}\n\tketa--;\n\tnow = now - (long)Math.pow(26,keta);\n\tlong shou = N-now-1; //その桁の初めから何番目か\n\tlong[] name = new long[keta];\n\tfor (int i=keta-1;i>=0;i--) {\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}\n\tchar[] abc = {'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t 's','t','u','v','w','x','y','z'};\n\tfor (int i=0;i<keta;i++) {\n\t System.out.print(abc[(int)name[i]]);\n\t}\n }\n}",
"Main",
"public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong N = sc.nextLong();\n\tlong now = 0;\n\tint keta = 1;\n\twhile(N > now) {\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}\n\tketa--;\n\tnow = now - (long)Math.pow(26,keta);\n\tlong shou = N-now-1; //その桁の初めから何番目か\n\tlong[] name = new long[keta];\n\tfor (int i=keta-1;i>=0;i--) {\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}\n\tchar[] abc = {'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t 's','t','u','v','w','x','y','z'};\n\tfor (int i=0;i<keta;i++) {\n\t System.out.print(abc[(int)name[i]]);\n\t}\n }",
"main",
"{\n\tScanner sc = new Scanner(System.in);\n\tlong N = sc.nextLong();\n\tlong now = 0;\n\tint keta = 1;\n\twhile(N > now) {\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}\n\tketa--;\n\tnow = now - (long)Math.pow(26,keta);\n\tlong shou = N-now-1; //その桁の初めから何番目か\n\tlong[] name = new long[keta];\n\tfor (int i=keta-1;i>=0;i--) {\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}\n\tchar[] abc = {'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t 's','t','u','v','w','x','y','z'};\n\tfor (int i=0;i<keta;i++) {\n\t System.out.print(abc[(int)name[i]]);\n\t}\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long now = 0;",
"now",
"0",
"int keta = 1;",
"keta",
"1",
"while(N > now) {\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}",
"N > now",
"N",
"now",
"{\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}",
"now = now + (long)Math.pow(26,keta)",
"now",
"now + (long)Math.pow(26,keta)",
"now",
"(long)Math.pow(26,keta)",
"Math.pow",
"Math",
"26",
"keta",
"keta++",
"keta",
"keta--",
"keta",
"now = now - (long)Math.pow(26,keta)",
"now",
"now - (long)Math.pow(26,keta)",
"now",
"(long)Math.pow(26,keta)",
"Math.pow",
"Math",
"26",
"keta",
"long shou = N-now-1;",
"shou",
"N-now-1",
"N-now-1",
"N",
"now",
"1",
"long[] name = new long[keta];",
"name",
"new long[keta]",
"keta",
"for (int i=keta-1;i>=0;i--) {\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}",
"int i=keta-1;",
"int i=keta-1;",
"i",
"keta-1",
"keta",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}",
"{\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}",
"name[i] = shou % 26",
"name[i]",
"name",
"i",
"shou % 26",
"shou",
"26",
"shou = shou/26",
"shou",
"shou/26",
"shou",
"26",
"char[] abc = {'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t 's','t','u','v','w','x','y','z'};",
"abc",
"{'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t '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'",
"for (int i=0;i<keta;i++) {\n\t System.out.print(abc[(int)name[i]]);\n\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<keta",
"i",
"keta",
"i++",
"i++",
"i",
"{\n\t System.out.print(abc[(int)name[i]]);\n\t}",
"{\n\t System.out.print(abc[(int)name[i]]);\n\t}",
"System.out.print(abc[(int)name[i]])",
"System.out.print",
"System.out",
"System",
"System.out",
"abc[(int)name[i]]",
"abc",
"(int)name[i]",
"name",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong N = sc.nextLong();\n\tlong now = 0;\n\tint keta = 1;\n\twhile(N > now) {\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}\n\tketa--;\n\tnow = now - (long)Math.pow(26,keta);\n\tlong shou = N-now-1; //その桁の初めから何番目か\n\tlong[] name = new long[keta];\n\tfor (int i=keta-1;i>=0;i--) {\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}\n\tchar[] abc = {'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t 's','t','u','v','w','x','y','z'};\n\tfor (int i=0;i<keta;i++) {\n\t System.out.print(abc[(int)name[i]]);\n\t}\n }\n}",
"public class Main {\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tlong N = sc.nextLong();\n\tlong now = 0;\n\tint keta = 1;\n\twhile(N > now) {\n\t now = now + (long)Math.pow(26,keta);\n\t keta++;\n\t}\n\tketa--;\n\tnow = now - (long)Math.pow(26,keta);\n\tlong shou = N-now-1; //その桁の初めから何番目か\n\tlong[] name = new long[keta];\n\tfor (int i=keta-1;i>=0;i--) {\n\t name[i] = shou % 26;\n\t shou = shou/26;\n\t}\n\tchar[] abc = {'a','b','c','d','e','f','g','h','i',\n\t\t 'j','k','l','m','n','o','p','q','r',\n\t\t 's','t','u','v','w','x','y','z'};\n\tfor (int i=0;i<keta;i++) {\n\t System.out.print(abc[(int)name[i]]);\n\t}\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 now = 0;
int keta = 1;
while(N > now) {
now = now + (long)Math.pow(26,keta);
keta++;
}
keta--;
now = now - (long)Math.pow(26,keta);
long shou = N-now-1; //その桁の初めから何番目か
long[] name = new long[keta];
for (int i=keta-1;i>=0;i--) {
name[i] = shou % 26;
shou = shou/26;
}
char[] abc = {'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'};
for (int i=0;i<keta;i++) {
System.out.print(abc[(int)name[i]]);
}
}
}
|
[
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,
4,
18,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
40,
13,
0,
13,
2,
13,
18,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
3,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
41,
13,
20,
0,
13,
4,
18,
4,
18,
13,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
109,
5
],
[
109,
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
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
28,
30
],
[
8,
31
],
[
31,
32
],
[
31,
33
],
[
8,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
36,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
36,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
36,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
36,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
88,
99
],
[
8,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
6,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
]
| [
"import java.util.*;\n\npublic class Main {\n /**\n * Iterate through each line of input.\n */\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int count = 1;\n int div = 0;\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray(); \n String ans = \"\";\n String dst = \"\";\n \n while(true) {\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }\n System.out.println(dst);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n /**\n * Iterate through each line of input.\n */\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int count = 1;\n int div = 0;\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray(); \n String ans = \"\";\n String dst = \"\";\n \n while(true) {\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }\n System.out.println(dst);\n }\n}",
"Main",
"/**\n * Iterate through each line of input.\n */\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int count = 1;\n int div = 0;\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray(); \n String ans = \"\";\n String dst = \"\";\n \n while(true) {\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }\n System.out.println(dst);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int count = 1;\n int div = 0;\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray(); \n String ans = \"\";\n String dst = \"\";\n \n while(true) {\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }\n System.out.println(dst);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 1;",
"count",
"1",
"int div = 0;",
"div",
"0",
"char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();",
"alphabet",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray()",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String ans = \"\";",
"ans",
"\"\"",
"String dst = \"\";",
"dst",
"\"\"",
"while(true) {\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }",
"true",
"{\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }",
"div = (int) (n % 26)",
"div",
"(int) (n % 26)",
"n",
"26",
"if(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}",
"div == 0",
"div",
"0",
"{\n \t\tdiv = 26;\n \t\tn--;\n \t}",
"div = 26",
"div",
"26",
"n--",
"n",
"ans = ans + alphabet[div-1]",
"ans",
"ans + alphabet[div-1]",
"ans",
"alphabet[div-1]",
"alphabet",
"div-1",
"div",
"1",
"if(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}",
"n / 26 == 0",
"n / 26",
"n",
"26",
"0",
"{\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}",
"StringBuffer sb = new StringBuffer(ans);",
"sb",
"new StringBuffer(ans)",
"dst = sb.reverse().toString()",
"dst",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"break;",
"n = (long) (n / 26)",
"n",
"(long) (n / 26)",
"n",
"26",
"if(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}",
"n == 0",
"n",
"0",
"{\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}",
"StringBuffer sb = new StringBuffer(ans);",
"sb",
"new StringBuffer(ans)",
"dst = sb.reverse().toString()",
"dst",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"break;",
"System.out.println(dst)",
"System.out.println",
"System.out",
"System",
"System.out",
"dst",
"String[] args",
"args",
"public class Main {\n /**\n * Iterate through each line of input.\n */\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int count = 1;\n int div = 0;\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray(); \n String ans = \"\";\n String dst = \"\";\n \n while(true) {\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }\n System.out.println(dst);\n }\n}",
"public class Main {\n /**\n * Iterate through each line of input.\n */\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int count = 1;\n int div = 0;\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray(); \n String ans = \"\";\n String dst = \"\";\n \n while(true) {\n \tdiv = (int) (n % 26);\n \tif(div == 0) {\n \t\tdiv = 26;\n \t\tn--;\n \t}\n \tans = ans + alphabet[div-1];\n \t\n \tif(n / 26 == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n \t\n \tn = (long) (n / 26);\n \tif(n == 0) {\n \t\tStringBuffer sb = new StringBuffer(ans);\n \t\tdst = sb.reverse().toString();\n \t\tbreak;\n \t}\n }\n System.out.println(dst);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
/**
* Iterate through each line of input.
*/
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
int count = 1;
int div = 0;
char[] alphabet = "abcdefghijklmnopqrstuvwxyz".toCharArray();
String ans = "";
String dst = "";
while(true) {
div = (int) (n % 26);
if(div == 0) {
div = 26;
n--;
}
ans = ans + alphabet[div-1];
if(n / 26 == 0) {
StringBuffer sb = new StringBuffer(ans);
dst = sb.reverse().toString();
break;
}
n = (long) (n / 26);
if(n == 0) {
StringBuffer sb = new StringBuffer(ans);
dst = sb.reverse().toString();
break;
}
}
System.out.println(dst);
}
} |
[
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,
41,
13,
2,
13,
17,
4,
18,
13,
4,
13,
13,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
0,
13,
17,
4,
18,
13,
13,
41,
13,
4,
18,
13,
20,
4,
18,
13,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
41,
13,
20,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
41,
13,
2,
17,
17,
0,
13,
2,
13,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
126,
5
],
[
126,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
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
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
24,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
24,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
8,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
65,
66
],
[
66,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
68,
78
],
[
78,
79
],
[
79,
80
],
[
68,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
8,
90
],
[
90,
91
],
[
90,
92
],
[
8,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
6,
99
],
[
99,
100
],
[
126,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
103,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
103,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
118,
120
],
[
103,
121
],
[
121,
122
],
[
101,
123
],
[
123,
124
],
[
0,
125
],
[
125,
126
],
[
125,
127
]
]
| [
"import java.util.*;\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> list = new ArrayList<Character>();\n\t\twhile(n > 0) {\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}\n\t\tCollections.reverse(list);\n\t\tCharacter[] name = list.toArray(new Character[list.size()]);\n\t\tchar[] name2 = new char[list.size()];\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tname2[i] = (char)name[i];\n\t\t}\n\t\tString na = new String(name2);\n\t\tSystem.out.println(na);\n\t}\n\t\n\tpublic static char toS(int n) {\n\t\tif(n == 0) {\n\t\t\treturn 'z';\n\t\t}\n\t\tint a = 'a' - 1;\n\t\ta = n + a;\n\t\treturn (char)a;\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"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> list = new ArrayList<Character>();\n\t\twhile(n > 0) {\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}\n\t\tCollections.reverse(list);\n\t\tCharacter[] name = list.toArray(new Character[list.size()]);\n\t\tchar[] name2 = new char[list.size()];\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tname2[i] = (char)name[i];\n\t\t}\n\t\tString na = new String(name2);\n\t\tSystem.out.println(na);\n\t}\n\t\n\tpublic static char toS(int n) {\n\t\tif(n == 0) {\n\t\t\treturn 'z';\n\t\t}\n\t\tint a = 'a' - 1;\n\t\ta = n + a;\n\t\treturn (char)a;\n\t}\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> list = new ArrayList<Character>();\n\t\twhile(n > 0) {\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}\n\t\tCollections.reverse(list);\n\t\tCharacter[] name = list.toArray(new Character[list.size()]);\n\t\tchar[] name2 = new char[list.size()];\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tname2[i] = (char)name[i];\n\t\t}\n\t\tString na = new String(name2);\n\t\tSystem.out.println(na);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tArrayList<Character> list = new ArrayList<Character>();\n\t\twhile(n > 0) {\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}\n\t\tCollections.reverse(list);\n\t\tCharacter[] name = list.toArray(new Character[list.size()]);\n\t\tchar[] name2 = new char[list.size()];\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tname2[i] = (char)name[i];\n\t\t}\n\t\tString na = new String(name2);\n\t\tSystem.out.println(na);\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> list = new ArrayList<Character>();",
"list",
"new ArrayList<Character>()",
"while(n > 0) {\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}",
"int amari = (int) (n % 26);",
"amari",
"(int) (n % 26)",
"n",
"26",
"list.add(toS(amari))",
"list.add",
"list",
"toS(amari)",
"toS",
"amari",
"if(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}",
"n % 26 == 0",
"n % 26",
"n",
"26",
"0",
"{\n\t\t\t\tn -= 1;\n\t\t\t}",
"n -= 1",
"n",
"1",
"n /= 26",
"n",
"26",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"Character[] name = list.toArray(new Character[list.size()]);",
"name",
"list.toArray(new Character[list.size()])",
"list.toArray",
"list",
"new Character[list.size()]",
"list.size()",
"list.size",
"list",
"char[] name2 = new char[list.size()];",
"name2",
"new char[list.size()]",
"list.size()",
"list.size",
"list",
"for(int i = 0; i < list.size(); i++) {\n\t\t\tname2[i] = (char)name[i];\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n\t\t\tname2[i] = (char)name[i];\n\t\t}",
"{\n\t\t\tname2[i] = (char)name[i];\n\t\t}",
"name2[i] = (char)name[i]",
"name2[i]",
"name2",
"i",
"(char)name[i]",
"name",
"i",
"String na = new String(name2);",
"na",
"new String(name2)",
"System.out.println(na)",
"System.out.println",
"System.out",
"System",
"System.out",
"na",
"String[] args",
"args",
"public static char toS(int n) {\n\t\tif(n == 0) {\n\t\t\treturn 'z';\n\t\t}\n\t\tint a = 'a' - 1;\n\t\ta = n + a;\n\t\treturn (char)a;\n\t}",
"toS",
"{\n\t\tif(n == 0) {\n\t\t\treturn 'z';\n\t\t}\n\t\tint a = 'a' - 1;\n\t\ta = n + a;\n\t\treturn (char)a;\n\t}",
"if(n == 0) {\n\t\t\treturn 'z';\n\t\t}",
"n == 0",
"n",
"0",
"{\n\t\t\treturn 'z';\n\t\t}",
"return 'z';",
"'z'",
"int a = 'a' - 1;",
"a",
"'a' - 1",
"'a'",
"1",
"a = n + a",
"a",
"n + a",
"n",
"a",
"return (char)a;",
"(char)a",
"int 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> list = new ArrayList<Character>();\n\t\twhile(n > 0) {\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}\n\t\tCollections.reverse(list);\n\t\tCharacter[] name = list.toArray(new Character[list.size()]);\n\t\tchar[] name2 = new char[list.size()];\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tname2[i] = (char)name[i];\n\t\t}\n\t\tString na = new String(name2);\n\t\tSystem.out.println(na);\n\t}\n\t\n\tpublic static char toS(int n) {\n\t\tif(n == 0) {\n\t\t\treturn 'z';\n\t\t}\n\t\tint a = 'a' - 1;\n\t\ta = n + a;\n\t\treturn (char)a;\n\t}\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> list = new ArrayList<Character>();\n\t\twhile(n > 0) {\n\t\t\tint amari = (int) (n % 26);\n\t\t\tlist.add(toS(amari));\n\t\t\tif(n % 26 == 0) {\n\t\t\t\tn -= 1;\n\t\t\t}\n\t\t\tn /= 26;\n\t\t}\n\t\tCollections.reverse(list);\n\t\tCharacter[] name = list.toArray(new Character[list.size()]);\n\t\tchar[] name2 = new char[list.size()];\n\t\tfor(int i = 0; i < list.size(); i++) {\n\t\t\tname2[i] = (char)name[i];\n\t\t}\n\t\tString na = new String(name2);\n\t\tSystem.out.println(na);\n\t}\n\t\n\tpublic static char toS(int n) {\n\t\tif(n == 0) {\n\t\t\treturn 'z';\n\t\t}\n\t\tint a = 'a' - 1;\n\t\ta = n + a;\n\t\treturn (char)a;\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long n = scan.nextLong();
ArrayList<Character> list = new ArrayList<Character>();
while(n > 0) {
int amari = (int) (n % 26);
list.add(toS(amari));
if(n % 26 == 0) {
n -= 1;
}
n /= 26;
}
Collections.reverse(list);
Character[] name = list.toArray(new Character[list.size()]);
char[] name2 = new char[list.size()];
for(int i = 0; i < list.size(); i++) {
name2[i] = (char)name[i];
}
String na = new String(name2);
System.out.println(na);
}
public static char toS(int n) {
if(n == 0) {
return 'z';
}
int a = 'a' - 1;
a = n + a;
return (char)a;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
30,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
17,
2,
13,
17,
40,
13,
0,
13,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
17,
41,
13,
20,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
18,
13,
13,
2,
13,
17,
40,
13,
0,
13,
2,
13,
17,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
41,
13,
18,
13,
13,
41,
13,
2,
17,
13,
41,
13,
13,
4,
18,
18,
13,
13,
13,
30,
41,
13,
18,
13,
13,
40,
13,
41,
13,
2,
17,
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
],
[
154,
8
],
[
154,
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
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
20,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
35,
37
],
[
31,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
31,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
31,
59
],
[
59,
60
],
[
59,
61
],
[
62,
62
],
[
62,
63
],
[
62,
64
],
[
62,
65
],
[
31,
66
],
[
66,
67
],
[
66,
68
],
[
31,
70
],
[
70,
71
],
[
70,
72
],
[
31,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
77,
85
],
[
85,
86
],
[
77,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
31,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
92,
100
],
[
100,
101
],
[
101,
102
],
[
92,
103
],
[
104,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
109,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
109,
120
],
[
120,
121
],
[
120,
122
],
[
109,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
123,
128
],
[
105,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
132,
134
],
[
129,
135
],
[
135,
136
],
[
129,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
139,
141
],
[
129,
142
],
[
142,
143
],
[
142,
144
],
[
129,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
9,
151
],
[
151,
152
],
[
0,
153
],
[
153,
154
],
[
153,
155
]
]
| [
"import java.io.FileNotFoundException;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tlong N = sc.nextLong();\n \tif(N==1) {\n \t\tSystem.out.println(\"a\");\n \t} else {\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}\n }\n}",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tlong N = sc.nextLong();\n \tif(N==1) {\n \t\tSystem.out.println(\"a\");\n \t} else {\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}\n }\n}",
"Main",
"public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tlong N = sc.nextLong();\n \tif(N==1) {\n \t\tSystem.out.println(\"a\");\n \t} else {\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}\n }",
"main",
"{\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tlong N = sc.nextLong();\n \tif(N==1) {\n \t\tSystem.out.println(\"a\");\n \t} else {\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"if(N==1) {\n \t\tSystem.out.println(\"a\");\n \t} else {\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}",
"N==1",
"N",
"1",
"{\n \t\tSystem.out.println(\"a\");\n \t}",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"{\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}",
"long X = 26;",
"X",
"26",
"int cnt = 0;",
"cnt",
"0",
"while(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}",
"X<N",
"X",
"N",
"{\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}",
"X = 26 * (X+1)",
"X",
"26 * (X+1)",
"26",
"(X+1)",
"X",
"1",
"cnt++",
"cnt",
"X = X/26 -1",
"X",
"X/26 -1",
"X/26",
"X",
"26",
"1",
"N = N-X-1",
"N",
"N-X-1",
"N-X-1",
"N",
"X",
"1",
"long[] x = new long[11];",
"x",
"new long[11]",
"11",
"int keta = 0;",
"keta",
"0",
"while(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}",
"N>0",
"N",
"0",
"{\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}",
"x[keta] = N%26",
"x[keta]",
"x",
"keta",
"N%26",
"N",
"26",
"keta++",
"keta",
"N = N/26",
"N",
"N/26",
"N",
"26",
"for(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}",
"int i=cnt;",
"int i=cnt;",
"i",
"cnt",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}",
"{\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}",
"if(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}",
"i>0",
"i",
"0",
"{\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t}",
"long y = x[i];",
"y",
"x[i]",
"x",
"i",
"long codepoint = 97+y;",
"codepoint",
"97+y",
"97",
"y",
"char c = (char)codepoint;",
"c",
"(char)codepoint",
"System.out.print(c)",
"System.out.print",
"System.out",
"System",
"System.out",
"c",
"{\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}",
"long y = x[i];",
"y",
"x[i]",
"x",
"i",
"y++",
"y",
"long codepoint = 96+y;",
"codepoint",
"96+y",
"96",
"y",
"char c = (char)codepoint;",
"c",
"(char)codepoint",
"System.out.println(c)",
"System.out.println",
"System.out",
"System",
"System.out",
"c",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tlong N = sc.nextLong();\n \tif(N==1) {\n \t\tSystem.out.println(\"a\");\n \t} else {\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}\n }\n}",
"public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tlong N = sc.nextLong();\n \tif(N==1) {\n \t\tSystem.out.println(\"a\");\n \t} else {\n\n \t\tlong X = 26;\n \t\tint cnt = 0;\n \t\twhile(X<N) {\n \t\t\tX = 26 * (X+1);\n \t\t\tcnt++;\n \t\t}\n \t\tX = X/26 -1 ;\n \tN = N-X-1;\n \tlong[] x = new long[11];\n \tint keta = 0;\n \twhile(N>0) {\n \t\tx[keta] = N%26;\n \t\tketa++;\n \t\tN = N/26;\n \t}\n \tfor(int i=cnt;i>=0;i--) {\n \t\tif(i>0) {\n \t\t\tlong y = x[i];\n \t\t\tlong codepoint = 97+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.print(c);\n \t\t} else {\n \t\t\tlong y = x[i];\n \t\t\ty++;\n \t\t\tlong codepoint = 96+y;\n \t\t\tchar c = (char)codepoint;\n \t\t\tSystem.out.println(c);\n \t\t}\n \t}\n \t}\n }\n}",
"Main"
]
| import java.io.FileNotFoundException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws FileNotFoundException {
// File file = new File("src/in.txt");
//コード
// Scanner sc = new Scanner(file);
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
if(N==1) {
System.out.println("a");
} else {
long X = 26;
int cnt = 0;
while(X<N) {
X = 26 * (X+1);
cnt++;
}
X = X/26 -1 ;
N = N-X-1;
long[] x = new long[11];
int keta = 0;
while(N>0) {
x[keta] = N%26;
keta++;
N = N/26;
}
for(int i=cnt;i>=0;i--) {
if(i>0) {
long y = x[i];
long codepoint = 97+y;
char c = (char)codepoint;
System.out.print(c);
} else {
long y = x[i];
y++;
long codepoint = 96+y;
char c = (char)codepoint;
System.out.println(c);
}
}
}
}
} |
[
7,
15,
13,
17,
6,
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,
14,
2,
13,
17,
30,
4,
18,
13,
17,
0,
13,
2,
2,
13,
17,
17,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
4,
18,
13,
13,
40,
13,
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
],
[
94,
5
],
[
94,
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
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
33,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
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
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
65,
75
],
[
75,
76
],
[
49,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
8,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
6,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
]
| [
"import java.util.*;\n\npublic class Main{\n\t\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tlong n=sc.nextLong(),m=n;\n StringBuffer sb=new StringBuffer();\n \n \n while(n>0){\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }\n sb.reverse();\n System.out.println(sb);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\t\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tlong n=sc.nextLong(),m=n;\n StringBuffer sb=new StringBuffer();\n \n \n while(n>0){\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }\n sb.reverse();\n System.out.println(sb);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tlong n=sc.nextLong(),m=n;\n StringBuffer sb=new StringBuffer();\n \n \n while(n>0){\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }\n sb.reverse();\n System.out.println(sb);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \tlong n=sc.nextLong(),m=n;\n StringBuffer sb=new StringBuffer();\n \n \n while(n>0){\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }\n sb.reverse();\n System.out.println(sb);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=sc.nextLong()",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"m=n;",
"m",
"n",
"StringBuffer sb=new StringBuffer();",
"sb",
"new StringBuffer()",
"while(n>0){\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }",
"n>0",
"n",
"0",
"{\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }",
"long f=n%26;",
"f",
"n%26",
"n",
"26",
"if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }",
"f==0",
"f",
"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 long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }",
"long i=1;",
"i",
"1",
"for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }",
"char al='a';",
"char al='a';",
"al",
"'a'",
"al<='z'",
"al",
"'z'",
"al++",
"al++",
"al",
"{\n if(f==i){\n sb.append(al);\n }\n i++;\n }",
"{\n if(f==i){\n sb.append(al);\n }\n i++;\n }",
"if(f==i){\n sb.append(al);\n }",
"f==i",
"f",
"i",
"{\n sb.append(al);\n }",
"sb.append(al)",
"sb.append",
"sb",
"al",
"i++",
"i",
"n=n/26",
"n",
"n/26",
"n",
"26",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main{\n\t\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tlong n=sc.nextLong(),m=n;\n StringBuffer sb=new StringBuffer();\n \n \n while(n>0){\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }\n sb.reverse();\n System.out.println(sb);\n }\n}",
"public class Main{\n\t\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tlong n=sc.nextLong(),m=n;\n StringBuffer sb=new StringBuffer();\n \n \n while(n>0){\n long f=n%26;\n \n if(f==0){\n sb.append('z');\n n=n/26-1;\n }else{\n long i=1;\n for(char al='a';al<='z';al++){\n if(f==i){\n sb.append(al);\n }\n i++;\n }\n n=n/26;\n }\n \n }\n sb.reverse();\n System.out.println(sb);\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(),m=n;
StringBuffer sb=new StringBuffer();
while(n>0){
long f=n%26;
if(f==0){
sb.append('z');
n=n/26-1;
}else{
long i=1;
for(char al='a';al<='z';al++){
if(f==i){
sb.append(al);
}
i++;
}
n=n/26;
}
}
sb.reverse();
System.out.println(sb);
}
}
|
[
7,
6,
12,
13,
30,
14,
2,
18,
13,
17,
18,
13,
17,
29,
40,
17,
29,
17,
23,
13,
23,
13,
6,
12,
13,
30,
29,
2,
18,
13,
17,
18,
13,
17,
23,
13,
23,
13,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
20,
4,
18,
13,
17,
4,
18,
13,
17,
42,
2,
13,
13,
30,
0,
13,
2,
2,
17,
13,
17,
40,
13,
4,
18,
13,
13,
41,
13,
20,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
2,
13,
4,
18,
13,
13,
4,
18,
13,
17,
2,
13,
17,
4,
18,
13,
2,
13,
17,
0,
13,
2,
2,
13,
17,
4,
18,
13,
17,
2,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
4,
18,
13,
2,
18,
13,
17,
18,
13,
17,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
29,
4,
13,
13,
13,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
41,
13,
17,
0,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
0,
13,
2,
2,
13,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
20,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
4,
18,
13,
13,
20,
29,
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
],
[
2,
3
],
[
2,
4
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
8
],
[
7,
9
],
[
6,
10
],
[
10,
11
],
[
10,
12
],
[
5,
13
],
[
13,
14
],
[
14,
15
],
[
5,
16
],
[
16,
17
],
[
2,
18
],
[
18,
19
],
[
2,
20
],
[
20,
21
],
[
0,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
23,
34
],
[
34,
35
],
[
23,
36
],
[
36,
37
],
[
0,
38
],
[
38,
39
],
[
38,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
],
[
0,
47
],
[
47,
48
],
[
47,
49
],
[
0,
50
],
[
580,
51
],
[
580,
52
],
[
52,
53
],
[
52,
54
],
[
580,
55
],
[
55,
56
],
[
55,
57
],
[
580,
58
],
[
58,
59
],
[
58,
60
],
[
580,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
63,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
63,
75
],
[
75,
76
],
[
75,
77
],
[
63,
78
],
[
78,
79
],
[
78,
80
],
[
63,
81
],
[
81,
82
],
[
81,
83
],
[
63,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
63,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
63,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
92,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
96,
104
],
[
104,
105
],
[
96,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
63,
110
],
[
110,
111
],
[
110,
112
],
[
63,
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
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
128,
135
],
[
135,
136
],
[
136,
137
],
[
135,
138
],
[
135,
139
],
[
139,
140
],
[
139,
141
],
[
125,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
145,
147
],
[
125,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
154,
155
],
[
155,
156
],
[
154,
157
],
[
154,
158
],
[
158,
159
],
[
158,
160
],
[
63,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
165,
166
],
[
63,
167
],
[
167,
168
],
[
168,
169
],
[
61,
170
],
[
170,
171
],
[
580,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
184,
185
],
[
184,
186
],
[
176,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
194,
196
],
[
172,
197
],
[
197,
198
],
[
172,
199
],
[
199,
200
],
[
580,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
209,
212
],
[
203,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
213,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
220,
223
],
[
223,
224
],
[
223,
225
],
[
201,
226
],
[
226,
227
],
[
201,
228
],
[
228,
229
],
[
580,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
232,
239
],
[
239,
240
],
[
239,
241
],
[
232,
242
],
[
242,
243
],
[
242,
244
],
[
232,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
251,
255
],
[
250,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
249,
263
],
[
263,
264
],
[
263,
265
],
[
249,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
269,
271
],
[
268,
272
],
[
232,
273
],
[
273,
274
],
[
230,
275
],
[
275,
276
],
[
230,
277
],
[
277,
278
],
[
230,
279
],
[
279,
280
],
[
580,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
283,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
287,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
294,
296
],
[
287,
297
],
[
297,
298
],
[
298,
299
],
[
287,
300
],
[
301,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
304,
307
],
[
307,
308
],
[
307,
309
],
[
301,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
312,
314
],
[
301,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
319,
321
],
[
301,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
283,
327
],
[
327,
328
],
[
281,
329
],
[
329,
330
],
[
580,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
333,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
337,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
344,
346
],
[
337,
347
],
[
347,
348
],
[
348,
349
],
[
337,
350
],
[
351,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
355,
356
],
[
354,
357
],
[
357,
358
],
[
357,
359
],
[
351,
360
],
[
360,
361
],
[
360,
362
],
[
362,
363
],
[
362,
364
],
[
351,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
369
],
[
369,
370
],
[
369,
371
],
[
351,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
372,
376
],
[
333,
377
],
[
377,
378
],
[
331,
379
],
[
379,
380
],
[
580,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
384,
385
],
[
384,
386
],
[
383,
387
],
[
387,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
387,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
394,
396
],
[
387,
397
],
[
397,
398
],
[
398,
399
],
[
387,
400
],
[
401,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
405,
406
],
[
404,
407
],
[
407,
408
],
[
407,
409
],
[
401,
410
],
[
410,
411
],
[
410,
412
],
[
412,
413
],
[
412,
414
],
[
401,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
415,
419
],
[
419,
420
],
[
419,
421
],
[
401,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
422,
426
],
[
383,
427
],
[
427,
428
],
[
428,
429
],
[
427,
430
],
[
427,
431
],
[
383,
432
],
[
432,
433
],
[
381,
434
],
[
434,
435
],
[
580,
436
],
[
436,
437
],
[
436,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
442,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
449,
451
],
[
442,
452
],
[
452,
453
],
[
453,
454
],
[
442,
455
],
[
456,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
459,
460
],
[
460,
461
],
[
459,
462
],
[
462,
463
],
[
462,
464
],
[
456,
465
],
[
465,
466
],
[
465,
467
],
[
467,
468
],
[
467,
469
],
[
456,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
470,
474
],
[
474,
475
],
[
474,
476
],
[
456,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
477,
481
],
[
438,
482
],
[
482,
483
],
[
483,
484
],
[
482,
485
],
[
482,
486
],
[
438,
487
],
[
487,
488
],
[
436,
489
],
[
489,
490
],
[
580,
491
],
[
491,
492
],
[
491,
493
],
[
493,
494
],
[
491,
495
],
[
495,
496
],
[
491,
497
],
[
497,
498
],
[
497,
499
],
[
499,
500
],
[
500,
501
],
[
500,
502
],
[
491,
503
],
[
503,
504
],
[
503,
505
],
[
505,
506
],
[
506,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
507,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
506,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
517,
519
],
[
519,
520
],
[
520,
521
],
[
521,
522
],
[
516,
523
],
[
523,
524
],
[
524,
525
],
[
524,
526
],
[
505,
527
],
[
527,
528
],
[
528,
529
],
[
529,
530
],
[
491,
531
],
[
531,
532
],
[
531,
533
],
[
533,
534
],
[
534,
535
],
[
535,
536
],
[
536,
537
],
[
535,
538
],
[
538,
539
],
[
491,
540
],
[
540,
541
],
[
540,
542
],
[
542,
543
],
[
543,
544
],
[
544,
545
],
[
545,
546
],
[
544,
547
],
[
547,
548
],
[
491,
549
],
[
549,
550
],
[
549,
551
],
[
551,
552
],
[
552,
553
],
[
553,
554
],
[
554,
555
],
[
553,
556
],
[
556,
557
],
[
491,
558
],
[
558,
559
],
[
558,
560
],
[
560,
561
],
[
561,
562
],
[
561,
563
],
[
560,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
567,
568
],
[
568,
569
],
[
569,
570
],
[
564,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
574,
575
],
[
575,
576
],
[
560,
577
],
[
577,
578
],
[
0,
579
],
[
579,
580
],
[
579,
581
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport java.math.*;\nimport java.awt.Point;\n \npublic class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tlong N = sc.nl();\n\t\tlong p = 1;\n\t\tint d = 0;\n\t\tArrayList<Long> nums = new ArrayList<Long>();\n\t\tnums.add(0L);\n\t\tnums.add(1L);\n\t\twhile (p <= N) {\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}\n\t\tStringBuilder ans = new StringBuilder();\n\t\tfor (int i = d; i >= 1; i--) {\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}\n\t\tpw.println(ans.toString());\n\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t}",
"@Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }",
"compare",
"{\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }",
"if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;",
"a[0] < b[0]",
"a[0]",
"a",
"0",
"b[0]",
"b",
"0",
"return -1;",
"-1",
"1",
"return 1;",
"1",
"long[] a",
"a",
"long[] b",
"b",
"Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t}",
"@Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }",
"compare",
"{\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }",
"return a[0]-b[0]; //ascending order",
"a[0]-b[0]",
"a[0]",
"a",
"0",
"b[0]",
"b",
"0",
"int[] a",
"a",
"int[] b",
"b",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.awt.Point;",
"Point",
"java.awt",
"public class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tlong N = sc.nl();\n\t\tlong p = 1;\n\t\tint d = 0;\n\t\tArrayList<Long> nums = new ArrayList<Long>();\n\t\tnums.add(0L);\n\t\tnums.add(1L);\n\t\twhile (p <= N) {\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}\n\t\tStringBuilder ans = new StringBuilder();\n\t\tfor (int i = d; i >= 1; i--) {\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}\n\t\tpw.println(ans.toString());\n\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Main",
"static final long MOD = 998244353L;",
"MOD",
"998244353L",
"//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";",
"letters",
"\"abcdefghijklmnopqrstuvwxyz\"",
"//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;",
"INF",
"1000000007",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tlong N = sc.nl();\n\t\tlong p = 1;\n\t\tint d = 0;\n\t\tArrayList<Long> nums = new ArrayList<Long>();\n\t\tnums.add(0L);\n\t\tnums.add(1L);\n\t\twhile (p <= N) {\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}\n\t\tStringBuilder ans = new StringBuilder();\n\t\tfor (int i = d; i >= 1; i--) {\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}\n\t\tpw.println(ans.toString());\n\n\t\tpw.close();\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tlong N = sc.nl();\n\t\tlong p = 1;\n\t\tint d = 0;\n\t\tArrayList<Long> nums = new ArrayList<Long>();\n\t\tnums.add(0L);\n\t\tnums.add(1L);\n\t\twhile (p <= N) {\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}\n\t\tStringBuilder ans = new StringBuilder();\n\t\tfor (int i = d; i >= 1; i--) {\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}\n\t\tpw.println(ans.toString());\n\n\t\tpw.close();\n\t}",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"long N = sc.nl();",
"N",
"sc.nl()",
"sc.nl",
"sc",
"long p = 1;",
"p",
"1",
"int d = 0;",
"d",
"0",
"ArrayList<Long> nums = new ArrayList<Long>();",
"nums",
"new ArrayList<Long>()",
"nums.add(0L)",
"nums.add",
"nums",
"0L",
"nums.add(1L)",
"nums.add",
"nums",
"1L",
"while (p <= N) {\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}",
"p <= N",
"p",
"N",
"{\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}",
"p = (26*p+1)",
"p",
"(26*p+1)",
"26*p",
"26",
"p",
"1",
"d++",
"d",
"nums.add(p)",
"nums.add",
"nums",
"p",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"for (int i = d; i >= 1; i--) {\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}",
"int i = d;",
"int i = d;",
"i",
"d",
"i >= 1",
"i",
"1",
"i--",
"i--",
"i",
"{\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}",
"{\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}",
"int ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));",
"ind",
"(int)((N-nums.get(i))/((long)Math.pow(26, i-1)))",
"(N-nums.get(i))",
"N",
"nums.get(i)",
"nums.get",
"nums",
"i",
"((long)Math.pow(26, i-1))",
"Math.pow",
"Math",
"26",
"i-1",
"i",
"1",
"ans.append((char)(ind+'a'))",
"ans.append",
"ans",
"(char)(ind+'a')",
"ind",
"'a'",
"N -= (ind+1)*Math.pow(26, i-1)",
"N",
"(ind+1)*Math.pow(26, i-1)",
"(ind+1)",
"ind",
"1",
"Math.pow(26, i-1)",
"Math.pow",
"Math",
"26",
"i-1",
"i",
"1",
"pw.println(ans.toString())",
"pw.println",
"pw",
"ans.toString()",
"ans.toString",
"ans",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"public static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}",
"dist",
"{\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}",
"return (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));",
"(Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]))",
"Math.abs(p2[0]-p1[0])",
"Math.abs",
"Math",
"p2[0]-p1[0]",
"p2[0]",
"p2",
"0",
"p1[0]",
"p1",
"0",
"Math.abs(p2[1]-p1[1])",
"Math.abs",
"Math",
"p2[1]-p1[1]",
"p2[1]",
"p2",
"1",
"p1[1]",
"p1",
"1",
"long[] p1",
"p1",
"long[] p2",
"p2",
"//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}",
"gcd",
"{\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}",
"if (a < b) return gcd(b,a);",
"a < b",
"a",
"b",
"return gcd(b,a);",
"gcd(b,a)",
"gcd",
"b",
"a",
"if (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);",
"b == 0",
"b",
"0",
"return a;",
"a",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}",
"power",
"{ \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}",
"if (y < 0) return 0L;",
"y < 0",
"y",
"0",
"return 0L;",
"0L",
"long ans = 1;",
"ans",
"1",
"x %= m",
"x",
"m",
"while (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t}",
"y > 0",
"y",
"0",
"{ \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t}",
"if(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m;",
"y % 2 == 1",
"y % 2",
"y",
"2",
"1",
"ans = (ans * x) % m",
"ans",
"(ans * x) % m",
"(ans * x)",
"ans",
"x",
"m",
"y /= 2",
"y",
"2",
"x = (x * x) % m",
"x",
"(x * x) % m",
"(x * x)",
"x",
"x",
"m",
"return ans;",
"ans",
"long x",
"x",
"long y",
"y",
"long m",
"m",
"public static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"shuffle",
"{\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"int temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"return array;",
"array",
"int[] array",
"array",
"public static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"shuffle",
"{\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"long temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"return array;",
"array",
"long[] array",
"array",
"public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"sort",
"{\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"int[] temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"Arrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t})",
"Arrays.sort",
"Arrays",
"array",
"new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t}",
"return array;",
"array",
"int[][] array",
"array",
"public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"sort",
"{\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}",
"Random rgen = new Random();",
"rgen",
"new Random()",
"for (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < array.length",
"i",
"array.length",
"array",
"array.length",
"i++",
"i++",
"i",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"{\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}",
"int randomPosition = rgen.nextInt(array.length);",
"randomPosition",
"rgen.nextInt(array.length)",
"rgen.nextInt",
"rgen",
"array.length",
"array",
"array.length",
"long[] temp = array[i];",
"temp",
"array[i]",
"array",
"i",
"array[i] = array[randomPosition]",
"array[i]",
"array",
"i",
"array[randomPosition]",
"array",
"randomPosition",
"array[randomPosition] = temp",
"array[randomPosition]",
"array",
"randomPosition",
"temp",
"Arrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t})",
"Arrays.sort",
"Arrays",
"array",
"new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t}",
"return array;",
"array",
"long[][] array",
"array",
"static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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 }",
"FastScanner",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastScanner() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"FastScanner",
"{ \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 ni() { \n return Integer.parseInt(next()); \n }",
"ni",
"{ \n return Integer.parseInt(next()); \n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nl() { \n return Long.parseLong(next()); \n }",
"nl",
"{ \n return Long.parseLong(next()); \n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nd() { \n return Double.parseDouble(next()); \n }",
"nd",
"{ \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\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tlong N = sc.nl();\n\t\tlong p = 1;\n\t\tint d = 0;\n\t\tArrayList<Long> nums = new ArrayList<Long>();\n\t\tnums.add(0L);\n\t\tnums.add(1L);\n\t\twhile (p <= N) {\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}\n\t\tStringBuilder ans = new StringBuilder();\n\t\tfor (int i = d; i >= 1; i--) {\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}\n\t\tpw.println(ans.toString());\n\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"public class Main {\n\tstatic final long MOD = 998244353L;\n\t//static final long INF = 1000000000000000007L;\n\tstatic String letters = \"abcdefghijklmnopqrstuvwxyz\";\n\t//static final long MOD = 1000000007L;\n\tstatic final int INF = 1000000007;\n\t\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\t\n\t\t/*int Q = sc.ni();\n\t\tfor (int q = 0; q < Q; q++) {\n\t\t\tint N = sc.ni();\n\t\t}*/\n\t\t\n\t\tlong N = sc.nl();\n\t\tlong p = 1;\n\t\tint d = 0;\n\t\tArrayList<Long> nums = new ArrayList<Long>();\n\t\tnums.add(0L);\n\t\tnums.add(1L);\n\t\twhile (p <= N) {\n\t\t\tp = (26*p+1);\n\t\t\td++;\n\t\t\tnums.add(p);\n\t\t}\n\t\tStringBuilder ans = new StringBuilder();\n\t\tfor (int i = d; i >= 1; i--) {\n\t\t\tint ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));\n\t\t\tans.append((char)(ind+'a'));\n\t\t\tN -= (ind+1)*Math.pow(26, i-1);\n\t\t}\n\t\tpw.println(ans.toString());\n\n\t\tpw.close();\n\t}\n\t\n\tpublic static long dist(long[] p1, long[] p2) {\n\t\treturn (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));\n\t}\n\t\n\t//Find the GCD of two numbers\n\tpublic static long gcd(long a, long b) {\n\t\tif (a < b) return gcd(b,a);\n\t\tif (b == 0)\n\t\t\treturn a;\n\t\telse\n\t\t\treturn gcd(b,a%b);\n\t}\n\t\n\t//Fast exponentiation (x^y mod m)\n\tpublic static long power(long x, long y, long m) { \n\t\tif (y < 0) return 0L;\n\t\tlong ans = 1;\n\t\tx %= m;\n\t\twhile (y > 0) { \n\t\t\tif(y % 2 == 1) \n\t\t\t\tans = (ans * x) % m; \n\t\t\ty /= 2; \n\t\t\tx = (x * x) % m;\n\t\t} \n\t\treturn ans; \n\t}\n\t\n\tpublic static int[] shuffle(int[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n\tpublic static long[] shuffle(long[] array) {\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\treturn array;\n\t}\n\t\n public static int[][] sort(int[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t int[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<int[]>() {\n\t\t\t @Override\n \t public int compare(int[] a, int[] b) {\n\t\t\t\t return a[0]-b[0]; //ascending order\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n public static long[][] sort(long[][] array) {\n \t//Sort an array (immune to quicksort TLE)\n\t\tRandom rgen = new Random();\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t int randomPosition = rgen.nextInt(array.length);\n\t\t long[] temp = array[i];\n\t\t array[i] = array[randomPosition];\n\t\t array[randomPosition] = temp;\n\t\t}\n\t\tArrays.sort(array, new Comparator<long[]>() {\n\t\t\t @Override\n \t public int compare(long[] a, long[] b) {\n\t\t\t\t if (a[0] < b[0])\n\t\t\t\t\t return -1;\n\t\t\t\t else\n\t\t\t\t\t return 1;\n\t }\n\t\t});\n\t\treturn array;\n\t}\n \n static class FastScanner { \n BufferedReader br; \n StringTokenizer st; \n \n public FastScanner() { \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 ni() { \n return Integer.parseInt(next()); \n }\n \n long nl() { \n return Long.parseLong(next()); \n } \n \n double nd() { \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}",
"Main"
]
| import java.io.*;
import java.util.*;
import java.math.*;
import java.awt.Point;
public class Main {
static final long MOD = 998244353L;
//static final long INF = 1000000000000000007L;
static String letters = "abcdefghijklmnopqrstuvwxyz";
//static final long MOD = 1000000007L;
static final int INF = 1000000007;
public static void main(String[] args) {
FastScanner sc = new FastScanner();
PrintWriter pw = new PrintWriter(System.out);
/*int Q = sc.ni();
for (int q = 0; q < Q; q++) {
int N = sc.ni();
}*/
long N = sc.nl();
long p = 1;
int d = 0;
ArrayList<Long> nums = new ArrayList<Long>();
nums.add(0L);
nums.add(1L);
while (p <= N) {
p = (26*p+1);
d++;
nums.add(p);
}
StringBuilder ans = new StringBuilder();
for (int i = d; i >= 1; i--) {
int ind = (int)((N-nums.get(i))/((long)Math.pow(26, i-1)));
ans.append((char)(ind+'a'));
N -= (ind+1)*Math.pow(26, i-1);
}
pw.println(ans.toString());
pw.close();
}
public static long dist(long[] p1, long[] p2) {
return (Math.abs(p2[0]-p1[0])+Math.abs(p2[1]-p1[1]));
}
//Find the GCD of two numbers
public static long gcd(long a, long b) {
if (a < b) return gcd(b,a);
if (b == 0)
return a;
else
return gcd(b,a%b);
}
//Fast exponentiation (x^y mod m)
public static long power(long x, long y, long m) {
if (y < 0) return 0L;
long ans = 1;
x %= m;
while (y > 0) {
if(y % 2 == 1)
ans = (ans * x) % m;
y /= 2;
x = (x * x) % m;
}
return ans;
}
public static int[] shuffle(int[] array) {
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
int temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
return array;
}
public static long[] shuffle(long[] array) {
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
long temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
return array;
}
public static int[][] sort(int[][] array) {
//Sort an array (immune to quicksort TLE)
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
int[] temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
Arrays.sort(array, new Comparator<int[]>() {
@Override
public int compare(int[] a, int[] b) {
return a[0]-b[0]; //ascending order
}
});
return array;
}
public static long[][] sort(long[][] array) {
//Sort an array (immune to quicksort TLE)
Random rgen = new Random();
for (int i = 0; i < array.length; i++) {
int randomPosition = rgen.nextInt(array.length);
long[] temp = array[i];
array[i] = array[randomPosition];
array[randomPosition] = temp;
}
Arrays.sort(array, new Comparator<long[]>() {
@Override
public int compare(long[] a, long[] b) {
if (a[0] < b[0])
return -1;
else
return 1;
}
});
return array;
}
static class FastScanner {
BufferedReader br;
StringTokenizer st;
public FastScanner() {
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 ni() {
return Integer.parseInt(next());
}
long nl() {
return Long.parseLong(next());
}
double nd() {
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
2,
17,
2,
13,
17,
13,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
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
],
[
144,
8
],
[
144,
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
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
9,
53
],
[
53,
54
],
[
144,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
55,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
55,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
70,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
80,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
69,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
55,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
55,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
55,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
55,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
128,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
124,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n\n static class Reader{ \n BufferedReader br; \n StringTokenizer st; \n \n public Reader(){ \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 } \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 } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n } \n\n\n \n public static void main(final String [] args)throws IOException{\n Reader sc=new Reader();\n long n=sc.nextLong();\n String s=\"\";\n\n while(n>0){\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }\n System.out.println(s);\n\n\n }\n}\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\n static class Reader{ \n BufferedReader br; \n StringTokenizer st; \n \n public Reader(){ \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 } \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 } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n } \n\n\n \n public static void main(final String [] args)throws IOException{\n Reader sc=new Reader();\n long n=sc.nextLong();\n String s=\"\";\n\n while(n>0){\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }\n System.out.println(s);\n\n\n }\n}",
"Main",
"public static void main(final String [] args)throws IOException{\n Reader sc=new Reader();\n long n=sc.nextLong();\n String s=\"\";\n\n while(n>0){\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }\n System.out.println(s);\n\n\n }",
"main",
"{\n Reader sc=new Reader();\n long n=sc.nextLong();\n String s=\"\";\n\n while(n>0){\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }\n System.out.println(s);\n\n\n }",
"Reader sc=new Reader();",
"sc",
"new Reader()",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String s=\"\";",
"s",
"\"\"",
"while(n>0){\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }",
"n>0",
"n",
"0",
"{\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }",
"n=n-1",
"n",
"n-1",
"n",
"1",
"s=(char)('a'+(n%26))+s",
"s",
"(char)('a'+(n%26))+s",
"(char)('a'+(n%26))",
"'a'",
"(n%26)",
"n",
"26",
"s",
"n=n/26",
"n",
"n/26",
"n",
"26",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"final String [] args",
"args",
"static class Reader{ \n BufferedReader br; \n StringTokenizer st; \n \n public Reader(){ \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 } \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 } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"Reader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public Reader(){ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }",
"Reader",
"{ \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 } \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",
"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 } \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\n static class Reader{ \n BufferedReader br; \n StringTokenizer st; \n \n public Reader(){ \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 } \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 } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n } \n\n\n \n public static void main(final String [] args)throws IOException{\n Reader sc=new Reader();\n long n=sc.nextLong();\n String s=\"\";\n\n while(n>0){\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }\n System.out.println(s);\n\n\n }\n}",
"public class Main{\n\n static class Reader{ \n BufferedReader br; \n StringTokenizer st; \n \n public Reader(){ \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 } \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 } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return str; \n } \n } \n\n\n \n public static void main(final String [] args)throws IOException{\n Reader sc=new Reader();\n long n=sc.nextLong();\n String s=\"\";\n\n while(n>0){\n n=n-1;\n s=(char)('a'+(n%26))+s;\n n=n/26;\n }\n System.out.println(s);\n\n\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
static class Reader{
BufferedReader br;
StringTokenizer st;
public Reader(){
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;
}
}
public static void main(final String [] args)throws IOException{
Reader sc=new Reader();
long n=sc.nextLong();
String s="";
while(n>0){
n=n-1;
s=(char)('a'+(n%26))+s;
n=n/26;
}
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,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
2,
13,
17,
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
],
[
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
],
[
37,
38
],
[
37,
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
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(n > 0) {\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\n\t\tsc.close();\n\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(n > 0) {\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\n\t\tsc.close();\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(n > 0) {\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\n\t\tsc.close();\n\n\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(n > 0) {\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\n\t\tsc.close();\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",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(n > 0) {\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}",
"n--",
"n",
"sb.append((char)( 'a' + n % 26 ) )",
"sb.append",
"sb",
"(char)( 'a' + n % 26 )",
"'a'",
"n % 26",
"n",
"26",
"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",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(n > 0) {\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\n\t\tsc.close();\n\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(n > 0) {\n\t\t\tn--;\n\t\t\tsb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );\n\t\t\tn = n / 26;\n\t\t\t//System.out.println(sb);\n\t\t}\n\n\t\tSystem.out.println(sb.reverse());\n\n\t\tsc.close();\n\n\n\t}\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
StringBuilder sb = new StringBuilder();
while(n > 0) {
n--;
sb.append((char)( 'a' + n % 26 ) ); // sb.append((char)( 97 + n % 26 ) );
n = n / 26;
//System.out.println(sb);
}
System.out.println(sb.reverse());
sc.close();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
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,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
71,
14
],
[
71,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
17,
35
],
[
35,
36
],
[
35,
37
],
[
17,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
42,
53
],
[
53,
54
],
[
53,
55
],
[
17,
56
],
[
56,
57
],
[
57,
58
],
[
17,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
17,
65
],
[
65,
66
],
[
66,
67
],
[
15,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long n = Long.parseLong(br.readLine());\n \n br.close();\n\n StringBuilder ans = new StringBuilder();\n\n while (n > 0) {\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }\n \n ans.reverse();\n \n bw.write(ans.toString());\n\n bw.flush();\n\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long n = Long.parseLong(br.readLine());\n \n br.close();\n\n StringBuilder ans = new StringBuilder();\n\n while (n > 0) {\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }\n \n ans.reverse();\n \n bw.write(ans.toString());\n\n bw.flush();\n\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long n = Long.parseLong(br.readLine());\n \n br.close();\n\n StringBuilder ans = new StringBuilder();\n\n while (n > 0) {\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }\n \n ans.reverse();\n \n bw.write(ans.toString());\n\n bw.flush();\n\n }",
"main",
"{\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long n = Long.parseLong(br.readLine());\n \n br.close();\n\n StringBuilder ans = new StringBuilder();\n\n while (n > 0) {\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }\n \n ans.reverse();\n \n bw.write(ans.toString());\n\n bw.flush();\n\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 n = Long.parseLong(br.readLine());",
"n",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"br.close()",
"br.close",
"br",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"while (n > 0) {\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }",
"n--",
"n",
"ans.append((char)('a' + n % 26))",
"ans.append",
"ans",
"(char)('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"ans.reverse()",
"ans.reverse",
"ans",
"bw.write(ans.toString())",
"bw.write",
"bw",
"ans.toString()",
"ans.toString",
"ans",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long n = Long.parseLong(br.readLine());\n \n br.close();\n\n StringBuilder ans = new StringBuilder();\n\n while (n > 0) {\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }\n \n ans.reverse();\n \n bw.write(ans.toString());\n\n bw.flush();\n\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n long n = Long.parseLong(br.readLine());\n \n br.close();\n\n StringBuilder ans = new StringBuilder();\n\n while (n > 0) {\n n--;\n ans.append((char)('a' + n % 26));\n n /= 26;\n }\n \n ans.reverse();\n \n bw.write(ans.toString());\n\n bw.flush();\n\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
long n = Long.parseLong(br.readLine());
br.close();
StringBuilder ans = new StringBuilder();
while (n > 0) {
n--;
ans.append((char)('a' + n % 26));
n /= 26;
}
ans.reverse();
bw.write(ans.toString());
bw.flush();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
2,
17,
2,
13,
17,
13,
14,
2,
13,
17,
3,
0,
13,
17,
0,
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
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
30,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
27,
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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n -= 1;\n String ans = \"\";\n while (n >= 0) {\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\n }\n System.out.println(ans);\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 n -= 1;\n String ans = \"\";\n while (n >= 0) {\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\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 n -= 1;\n String ans = \"\";\n while (n >= 0) {\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n n -= 1;\n String ans = \"\";\n while (n >= 0) {\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\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",
"n -= 1",
"n",
"1",
"String ans = \"\";",
"ans",
"\"\"",
"while (n >= 0) {\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\n }",
"n >= 0",
"n",
"0",
"{\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\n }",
"ans = (char) ('a' + n % 26) + ans",
"ans",
"(char) ('a' + n % 26) + ans",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"ans",
"if (n == 0)\n break;",
"n == 0",
"n",
"0",
"break;",
"n /= 26",
"n",
"26",
"n -= 1",
"n",
"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 n -= 1;\n String ans = \"\";\n while (n >= 0) {\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\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 n -= 1;\n String ans = \"\";\n while (n >= 0) {\n ans = (char) ('a' + n % 26) + ans;\n if (n == 0)\n break;\n n /= 26;\n n -= 1;\n }\n System.out.println(ans);\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();
n -= 1;
String ans = "";
while (n >= 0) {
ans = (char) ('a' + n % 26) + ans;
if (n == 0)
break;
n /= 26;
n -= 1;
}
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,
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,
42,
2,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
13,
17,
18,
13,
2,
13,
17,
3,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
18,
13,
17,
0,
13,
17,
30,
4,
18,
13,
17,
18,
13,
2,
13,
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
],
[
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
],
[
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
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
62,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
61,
71
],
[
56,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
56,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
82,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
89,
91
],
[
77,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
93,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
56,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
11,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
113,
114
],
[
9,
115
],
[
115,
116
],
[
0,
117
],
[
117,
118
],
[
117,
119
]
]
| [
"import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tchar[] c = {'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t's','t','u','v','w','x','y','z'};\n\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(n > 0) {\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tchar[] c = {'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t's','t','u','v','w','x','y','z'};\n\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(n > 0) {\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tchar[] c = {'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t's','t','u','v','w','x','y','z'};\n\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(n > 0) {\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tchar[] c = {'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t's','t','u','v','w','x','y','z'};\n\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(n > 0) {\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\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",
"char[] c = {'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t's','t','u','v','w','x','y','z'};",
"c",
"{'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t'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'",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"while(n > 0) {\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}\n\t\t\tn = n / 26;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}\n\t\t\tn = n / 26;\n\t\t}",
"if(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}",
"n <= 26",
"n",
"26",
"{\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}",
"sb.insert(0, c[((int)n)-1])",
"sb.insert",
"sb",
"0",
"c[((int)n)-1]",
"c",
"((int)n)-1",
"((int)n)",
"1",
"break;",
"long result = n % 26;",
"result",
"n % 26",
"n",
"26",
"if(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}",
"result==0",
"result",
"0",
"{\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t}",
"sb.insert(0, c[25])",
"sb.insert",
"sb",
"0",
"c[25]",
"c",
"25",
"n-=26",
"n",
"26",
"{\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}",
"sb.insert(0, c[((int)result)-1])",
"sb.insert",
"sb",
"0",
"c[((int)result)-1]",
"c",
"((int)result)-1",
"((int)result)",
"1",
"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\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tchar[] c = {'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t's','t','u','v','w','x','y','z'};\n\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(n > 0) {\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tchar[] c = {'a','b','c','d','e','f','g','h',\n\t\t\t'i','j','k','l','m','n','o','p','q','r',\n\t\t\t's','t','u','v','w','x','y','z'};\n\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\twhile(n > 0) {\n\t\t\tif(n <= 26) {\n\t\t\t\tsb.insert(0, c[((int)n)-1]);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong result = n % 26;\n\t\t\tif(result==0) {\n\t\t\t\tsb.insert(0, c[25]);\n\t\t\t\tn-=26;\n\t\t\t} else {\n\t\t\t\tsb.insert(0, c[((int)result)-1]);\n\t\t\t}\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\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();
char[] c = {'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'};
StringBuffer sb = new StringBuffer();
while(n > 0) {
if(n <= 26) {
sb.insert(0, c[((int)n)-1]);
break;
}
long result = n % 26;
if(result==0) {
sb.insert(0, c[25]);
n-=26;
} else {
sb.insert(0, c[((int)result)-1]);
}
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,
13,
17,
30,
40,
13,
4,
18,
13,
17,
2,
17,
2,
13,
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
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
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
],
[
6,
47
],
[
47,
48
]
]
| [
"import java.util.*;\nclass Main{\n public static void main(String args[]){\n Scanner obj=new Scanner(System.in);\n long n=obj.nextLong();\n StringBuilder result = new StringBuilder();\n\n while(n>0){\n n--;\n result.insert(0, (char)('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(result.toString());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String args[]){\n Scanner obj=new Scanner(System.in);\n long n=obj.nextLong();\n StringBuilder result = new StringBuilder();\n\n while(n>0){\n n--;\n result.insert(0, (char)('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(result.toString());\n }\n}",
"Main",
"public static void main(String args[]){\n Scanner obj=new Scanner(System.in);\n long n=obj.nextLong();\n StringBuilder result = new StringBuilder();\n\n while(n>0){\n n--;\n result.insert(0, (char)('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(result.toString());\n }",
"main",
"{\n Scanner obj=new Scanner(System.in);\n long n=obj.nextLong();\n StringBuilder result = new StringBuilder();\n\n while(n>0){\n n--;\n result.insert(0, (char)('a' + n % 26));\n n /= 26;\n }\n\n System.out.println(result.toString());\n }",
"Scanner obj=new Scanner(System.in);",
"obj",
"new Scanner(System.in)",
"long n=obj.nextLong();",
"n",
"obj.nextLong()",
"obj.nextLong",
"obj",
"StringBuilder result = new StringBuilder();",
"result",
"new StringBuilder()",
"while(n>0){\n n--;\n result.insert(0, (char)('a' + n % 26));\n n /= 26;\n }",
"n>0",
"n",
"0",
"{\n n--;\n result.insert(0, (char)('a' + n % 26));\n n /= 26;\n }",
"n--",
"n",
"result.insert(0, (char)('a' + n % 26))",
"result.insert",
"result",
"0",
"(char)('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"System.out.println(result.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"result.toString()",
"result.toString",
"result",
"String args[]",
"args"
]
| import java.util.*;
class Main{
public static void main(String args[]){
Scanner obj=new Scanner(System.in);
long n=obj.nextLong();
StringBuilder result = new StringBuilder();
while(n>0){
n--;
result.insert(0, (char)('a' + n % 26));
n /= 26;
}
System.out.println(result.toString());
}
} |
[
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,
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,
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,
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,
12,
13,
30,
29,
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
],
[
194,
20
],
[
194,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
23,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
34,
37
],
[
34,
38
],
[
34,
39
],
[
34,
40
],
[
34,
41
],
[
34,
42
],
[
34,
43
],
[
34,
44
],
[
34,
45
],
[
34,
46
],
[
34,
47
],
[
34,
48
],
[
34,
49
],
[
34,
50
],
[
34,
51
],
[
34,
52
],
[
34,
53
],
[
34,
54
],
[
34,
55
],
[
34,
56
],
[
34,
57
],
[
34,
58
],
[
34,
59
],
[
34,
60
],
[
23,
61
],
[
61,
62
],
[
61,
63
],
[
23,
64
],
[
64,
65
],
[
64,
66
],
[
23,
67
],
[
67,
68
],
[
67,
69
],
[
23,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
74,
85
],
[
85,
86
],
[
85,
87
],
[
23,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
88,
93
],
[
93,
94
],
[
94,
95
],
[
21,
96
],
[
96,
97
],
[
194,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
98,
102
],
[
102,
103
],
[
98,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
98,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
113,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
123,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
112,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
98,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
98,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
154,
155
],
[
98,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
163,
164
],
[
98,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
171,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
167,
184
],
[
184,
185
],
[
98,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
186,
191
],
[
191,
192
],
[
0,
193
],
[
193,
194
],
[
193,
195
]
]
| [
"import java.io.*;\nimport java.io.BufferedReader; \nimport java.io.IOException; \nimport java.io.InputStreamReader; \nimport java.util.StringTokenizer; \nimport java.util.*;\n\n\npublic class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tlong n = s.nextLong();Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};\n \tint sum=0,p=0;\n \tStringBuilder answer = new StringBuilder();\n \twhile (n > 0) {\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}\n \tSystem.out.println(answer.reverse());\n \t\n \t\n \t\n \t\n }\t\n}",
"import java.io.*;",
"io.*",
"java",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.*;",
"util.*",
"java",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tlong n = s.nextLong();Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};\n \tint sum=0,p=0;\n \tStringBuilder answer = new StringBuilder();\n \twhile (n > 0) {\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}\n \tSystem.out.println(answer.reverse());\n \t\n \t\n \t\n \t\n }\t\n}",
"Main",
"public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tlong n = s.nextLong();Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};\n \tint sum=0,p=0;\n \tStringBuilder answer = new StringBuilder();\n \twhile (n > 0) {\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}\n \tSystem.out.println(answer.reverse());\n \t\n \t\n \t\n \t\n }",
"main",
"{\n \tFastReader s=new FastReader();\n \tlong n = s.nextLong();Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};\n \tint sum=0,p=0;\n \tStringBuilder answer = new StringBuilder();\n \twhile (n > 0) {\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}\n \tSystem.out.println(answer.reverse());\n \t\n \t\n \t\n \t\n }",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};",
"ar",
"{65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90}",
"65",
"66",
"67",
"68",
"69",
"70",
"71",
"72",
"73",
"74",
"75",
"76",
"77",
"78",
"79",
"80",
"81",
"82",
"83",
"84",
"85",
"86",
"87",
"88",
"89",
"90",
"int sum=0",
"sum",
"0",
"p=0;",
"p",
"0",
"StringBuilder answer = new StringBuilder();",
"answer",
"new StringBuilder()",
"while (n > 0) {\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}",
"n > 0",
"n",
"0",
"{\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}",
"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",
"static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t }",
"FastReader",
"{ \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t }",
"br = new BufferedReader(new\n\t InputStreamReader(System.in))",
"br",
"new BufferedReader(new\n\t InputStreamReader(System.in))",
"String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t }",
"next",
"{ \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t }",
"while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{ \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t }",
"try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"IOException e",
"{ \n\t e.printStackTrace(); \n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t st = new StringTokenizer(br.readLine()); \n\t }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t }",
"nextInt",
"{ \n\t return Integer.parseInt(next()); \n\t }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t }",
"nextLong",
"{ \n\t return Long.parseLong(next()); \n\t }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t }",
"nextDouble",
"{ \n\t return Double.parseDouble(next()); \n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }",
"nextLine",
"{ \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }",
"String str = \"\";",
"str",
"\"\"",
"try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t }",
"IOException e",
"{ \n\t e.printStackTrace(); \n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{ \n\t str = br.readLine(); \n\t }",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t}",
"charAt",
"{\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t}",
"return null;",
"null",
"int i",
"i",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tlong n = s.nextLong();Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};\n \tint sum=0,p=0;\n \tStringBuilder answer = new StringBuilder();\n \twhile (n > 0) {\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}\n \tSystem.out.println(answer.reverse());\n \t\n \t\n \t\n \t\n }\t\n}",
"public class Main \n{\n\n\t \n\t static class FastReader \n\t { \n\t BufferedReader br; \n\t StringTokenizer st; \n\t \n\t \n\t public FastReader() \n\t { \n\t br = new BufferedReader(new\n\t InputStreamReader(System.in)); \n\t } \n\t \n\t String next() \n\t { \n\t while (st == null || !st.hasMoreTokens()) \n\t { \n\t try\n\t { \n\t st = new StringTokenizer(br.readLine()); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t } \n\t return st.nextToken();\n\t \n\t } \n\t \n\t int nextInt() \n\t { \n\t return Integer.parseInt(next()); \n\t } \n\t \n\t long nextLong() \n\t { \n\t return Long.parseLong(next()); \n\t } \n\t \n\t double nextDouble() \n\t { \n\t return Double.parseDouble(next()); \n\t } \n\t \n\t String nextLine() \n\t { \n\t String str = \"\"; \n\t try\n\t { \n\t str = br.readLine(); \n\t } \n\t catch (IOException e) \n\t { \n\t e.printStackTrace(); \n\t } \n\t return str; \n\t }\n\n\t\t\tpublic Character charAt(int i) {\n\t\t\t\t// TODO Auto-generated method stub\n\t\t\t\treturn null;\n\t\t\t} \n\t } \n\n \n\n\t // Complete the hurdleRace function below.\n// public static void solve() {\n// \tFastReader s=new FastReader();\n\n \n public static void main(String[] args) throws IOException {\n \tFastReader s=new FastReader();\n \tlong n = s.nextLong();Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};\n \tint sum=0,p=0;\n \tStringBuilder answer = new StringBuilder();\n \twhile (n > 0) {\n \t n--;\n \t answer.append((char) ('a' + n % 26));\n \t n /= 26;\n \t}\n \tSystem.out.println(answer.reverse());\n \t\n \t\n \t\n \t\n }\t\n}",
"Main"
]
| import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;
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.hasMoreTokens())
{
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;
}
public Character charAt(int i) {
// TODO Auto-generated method stub
return null;
}
}
// Complete the hurdleRace function below.
// public static void solve() {
// FastReader s=new FastReader();
public static void main(String[] args) throws IOException {
FastReader s=new FastReader();
long n = s.nextLong();Character ar[] = {65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90};
int sum=0,p=0;
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,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
17,
13,
30,
40,
13,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
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
],
[
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
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
6,
49
],
[
49,
50
],
[
0,
51
],
[
51,
52
],
[
51,
53
]
]
| [
"import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder ans = new StringBuilder();\n\n\t\twhile(0 < n) {\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}\n\n\t\tSystem.out.println(ans.reverse());\n\t\tsc.close();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder ans = new StringBuilder();\n\n\t\twhile(0 < n) {\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}\n\n\t\tSystem.out.println(ans.reverse());\n\t\tsc.close();\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder ans = new StringBuilder();\n\n\t\twhile(0 < n) {\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}\n\n\t\tSystem.out.println(ans.reverse());\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder ans = new StringBuilder();\n\n\t\twhile(0 < n) {\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}\n\n\t\tSystem.out.println(ans.reverse());\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",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"while(0 < n) {\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}",
"0 < n",
"0",
"n",
"{\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}",
"n--",
"n",
"ans.append((char) (n % 26 + 97))",
"ans.append",
"ans",
"(char) (n % 26 + 97)",
"n % 26",
"n",
"26",
"97",
"n /= 26",
"n",
"26",
"System.out.println(ans.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.reverse()",
"ans.reverse",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder ans = new StringBuilder();\n\n\t\twhile(0 < n) {\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}\n\n\t\tSystem.out.println(ans.reverse());\n\t\tsc.close();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder ans = new StringBuilder();\n\n\t\twhile(0 < n) {\n\t\t\tn--;\n\t\t\tans.append((char) (n % 26 + 97));\n\t\t\tn /= 26;\n\t\t}\n\n\t\tSystem.out.println(ans.reverse());\n\t\tsc.close();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
StringBuilder ans = new StringBuilder();
while(0 < n) {
n--;
ans.append((char) (n % 26 + 97));
n /= 26;
}
System.out.println(ans.reverse());
sc.close();
}
} |
[
7,
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,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
2,
2,
13,
17,
17,
17,
4,
18,
13,
2,
2,
17,
13,
17,
0,
13,
13,
0,
13,
17,
4,
18,
13,
4,
18,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
80,
8
],
[
80,
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
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
36,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
36,
54
],
[
54,
55
],
[
54,
56
],
[
36,
57
],
[
57,
58
],
[
57,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
11,
71
],
[
71,
72
],
[
72,
73
],
[
11,
74
],
[
74,
75
],
[
75,
76
],
[
9,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n long n = Long.parseLong(br.readLine());\n StringBuilder sb = new StringBuilder();\n int position = 26;\n\n while (n > 0) {\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }\n\n bw.write(sb.reverse().toString());\n bw.newLine();\n\n bw.close();\n br.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n long n = Long.parseLong(br.readLine());\n StringBuilder sb = new StringBuilder();\n int position = 26;\n\n while (n > 0) {\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }\n\n bw.write(sb.reverse().toString());\n bw.newLine();\n\n bw.close();\n br.close();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n long n = Long.parseLong(br.readLine());\n StringBuilder sb = new StringBuilder();\n int position = 26;\n\n while (n > 0) {\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }\n\n bw.write(sb.reverse().toString());\n bw.newLine();\n\n bw.close();\n br.close();\n }",
"main",
"{\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n long n = Long.parseLong(br.readLine());\n StringBuilder sb = new StringBuilder();\n int position = 26;\n\n while (n > 0) {\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }\n\n bw.write(sb.reverse().toString());\n bw.newLine();\n\n bw.close();\n br.close();\n }",
"final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));",
"bw",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"final 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",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int position = 26;",
"position",
"26",
"while (n > 0) {\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }",
"int letter = (int)((n - 1) % 26 + 1);",
"letter",
"(int)((n - 1) % 26 + 1)",
"(n - 1) % 26",
"(n - 1)",
"n",
"1",
"26",
"1",
"sb.append((char)('a' + letter - 1))",
"sb.append",
"sb",
"(char)('a' + letter - 1)",
"'a' + letter",
"'a'",
"letter",
"1",
"n -= letter",
"n",
"letter",
"n /= 26",
"n",
"26",
"bw.write(sb.reverse().toString())",
"bw.write",
"bw",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"bw.newLine()",
"bw.newLine",
"bw",
"bw.close()",
"bw.close",
"bw",
"br.close()",
"br.close",
"br",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n long n = Long.parseLong(br.readLine());\n StringBuilder sb = new StringBuilder();\n int position = 26;\n\n while (n > 0) {\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }\n\n bw.write(sb.reverse().toString());\n bw.newLine();\n\n bw.close();\n br.close();\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\n long n = Long.parseLong(br.readLine());\n StringBuilder sb = new StringBuilder();\n int position = 26;\n\n while (n > 0) {\n int letter = (int)((n - 1) % 26 + 1);\n sb.append((char)('a' + letter - 1));\n n -= letter;\n n /= 26;\n }\n\n bw.write(sb.reverse().toString());\n bw.newLine();\n\n bw.close();\n br.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
final BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
final BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
long n = Long.parseLong(br.readLine());
StringBuilder sb = new StringBuilder();
int position = 26;
while (n > 0) {
int letter = (int)((n - 1) % 26 + 1);
sb.append((char)('a' + letter - 1));
n -= letter;
n /= 26;
}
bw.write(sb.reverse().toString());
bw.newLine();
bw.close();
br.close();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
17,
4,
18,
13,
13,
40,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
13,
17,
14,
2,
18,
13,
13,
17,
0,
18,
13,
13,
17,
0,
13,
2,
2,
13,
18,
13,
13,
17,
14,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
35,
18,
13,
13,
34,
40,
17,
1,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
34,
17,
1,
34,
17,
1,
4,
18,
18,
13,
13,
17,
3,
4,
18,
18,
13,
13,
17
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
10,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
15,
21
],
[
21,
22
],
[
10,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
29,
30
],
[
25,
31
],
[
31,
32
],
[
31,
33
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
39,
40
],
[
25,
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
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
61,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
53,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
53,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
25,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
100,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
112,
117
],
[
111,
118
],
[
100,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
121,
128
],
[
100,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
132,
137
],
[
131,
138
],
[
100,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
141,
148
],
[
100,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
152,
157
],
[
151,
158
],
[
100,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
162,
167
],
[
161,
168
],
[
100,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
172,
177
],
[
171,
178
],
[
100,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
182,
187
],
[
181,
188
],
[
100,
189
],
[
189,
190
],
[
189,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
192,
197
],
[
191,
198
],
[
100,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
202,
207
],
[
201,
208
],
[
100,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
212,
217
],
[
211,
218
],
[
100,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
222,
227
],
[
221,
228
],
[
100,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
232,
237
],
[
231,
238
],
[
100,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
242,
247
],
[
241,
248
],
[
100,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
252,
257
],
[
251,
258
],
[
100,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
262,
267
],
[
261,
268
],
[
100,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
274,
276
],
[
272,
277
],
[
271,
278
],
[
100,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
282,
287
],
[
281,
288
],
[
100,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
292,
297
],
[
291,
298
],
[
100,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
302,
307
],
[
301,
308
],
[
100,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
312,
317
],
[
311,
318
],
[
100,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
322,
327
],
[
321,
328
],
[
100,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
332,
337
],
[
331,
338
],
[
100,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
342,
347
],
[
341,
348
],
[
100,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
352,
357
],
[
351,
358
],
[
100,
359
],
[
359,
360
],
[
359,
361
],
[
100,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
365,
370
],
[
364,
371
],
[
25,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
372,
377
]
]
| [
"import org.w3c.dom.ls.LSOutput;\n\nimport java.util.*;\n\nimport static java.lang.Math.*;\n\nclass Main {\n final Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n long n = sc.nextLong();\n int[] m = new int[100];\n Arrays.fill(m, -1);\n\n for (int i = 1; i < 100; i++) {\n m[i] = (int) (n % 26);\n if (m[i] == 0) m[i] = 26;\n n = (n - m[i]) / 26;\n if (n == 0) {\n break;\n }\n }\n\n for (int i = 99; i > 0; i--) {\n switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }\n }\n// switch (m[1]) {\n// case -1:\n// case 0:\n// System.out.print(\"a\");\n// break;\n// case 1:\n// System.out.print(\"b\");\n// break;\n// case 2:\n// System.out.print(\"c\");\n// break;\n// case 3:\n// System.out.print(\"d\");\n// break;\n// case 4:\n// System.out.print(\"e\");\n// break;\n// case 5:\n// System.out.print(\"f\");\n// break;\n// case 6:\n// System.out.print(\"g\");\n// break;\n// case 7:\n// System.out.print(\"h\");\n// break;\n// case 8:\n// System.out.print(\"i\");\n// break;\n// case 9:\n// System.out.print(\"j\");\n// break;\n// case 10:\n// System.out.print(\"k\");\n// break;\n// case 11:\n// System.out.print(\"l\");\n// break;\n// case 12:\n// System.out.print(\"m\");\n// break;\n// case 13:\n// System.out.print(\"n\");\n// break;\n// case 14:\n// System.out.print(\"o\");\n// break;\n// case 15:\n// System.out.print(\"p\");\n// break;\n// case 16:\n// System.out.print(\"q\");\n// break;\n// case 17:\n// System.out.print(\"r\");\n// break;\n// case 18:\n// System.out.print(\"s\");\n// break;\n// case 19:\n// System.out.print(\"t\");\n// break;\n// case 20:\n// System.out.print(\"u\");\n// break;\n// case 21:\n// System.out.print(\"v\");\n// break;\n// case 22:\n// System.out.print(\"w\");\n// break;\n// case 23:\n// System.out.print(\"x\");\n// break;\n// case 24:\n// System.out.print(\"y\");\n// break;\n// case 25:\n// System.out.print(\"z\");\n// break;\n// }\n System.out.println(\"\");\n }\n}",
"import org.w3c.dom.ls.LSOutput;",
"LSOutput",
"org.w3c.dom.ls",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"class Main {\n final Scanner sc = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n private void run() {\n long n = sc.nextLong();\n int[] m = new int[100];\n Arrays.fill(m, -1);\n\n for (int i = 1; i < 100; i++) {\n m[i] = (int) (n % 26);\n if (m[i] == 0) m[i] = 26;\n n = (n - m[i]) / 26;\n if (n == 0) {\n break;\n }\n }\n\n for (int i = 99; i > 0; i--) {\n switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }\n }\n// switch (m[1]) {\n// case -1:\n// case 0:\n// System.out.print(\"a\");\n// break;\n// case 1:\n// System.out.print(\"b\");\n// break;\n// case 2:\n// System.out.print(\"c\");\n// break;\n// case 3:\n// System.out.print(\"d\");\n// break;\n// case 4:\n// System.out.print(\"e\");\n// break;\n// case 5:\n// System.out.print(\"f\");\n// break;\n// case 6:\n// System.out.print(\"g\");\n// break;\n// case 7:\n// System.out.print(\"h\");\n// break;\n// case 8:\n// System.out.print(\"i\");\n// break;\n// case 9:\n// System.out.print(\"j\");\n// break;\n// case 10:\n// System.out.print(\"k\");\n// break;\n// case 11:\n// System.out.print(\"l\");\n// break;\n// case 12:\n// System.out.print(\"m\");\n// break;\n// case 13:\n// System.out.print(\"n\");\n// break;\n// case 14:\n// System.out.print(\"o\");\n// break;\n// case 15:\n// System.out.print(\"p\");\n// break;\n// case 16:\n// System.out.print(\"q\");\n// break;\n// case 17:\n// System.out.print(\"r\");\n// break;\n// case 18:\n// System.out.print(\"s\");\n// break;\n// case 19:\n// System.out.print(\"t\");\n// break;\n// case 20:\n// System.out.print(\"u\");\n// break;\n// case 21:\n// System.out.print(\"v\");\n// break;\n// case 22:\n// System.out.print(\"w\");\n// break;\n// case 23:\n// System.out.print(\"x\");\n// break;\n// case 24:\n// System.out.print(\"y\");\n// break;\n// case 25:\n// System.out.print(\"z\");\n// break;\n// }\n System.out.println(\"\");\n }\n}",
"Main",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private void run() {\n long n = sc.nextLong();\n int[] m = new int[100];\n Arrays.fill(m, -1);\n\n for (int i = 1; i < 100; i++) {\n m[i] = (int) (n % 26);\n if (m[i] == 0) m[i] = 26;\n n = (n - m[i]) / 26;\n if (n == 0) {\n break;\n }\n }\n\n for (int i = 99; i > 0; i--) {\n switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }\n }\n// switch (m[1]) {\n// case -1:\n// case 0:\n// System.out.print(\"a\");\n// break;\n// case 1:\n// System.out.print(\"b\");\n// break;\n// case 2:\n// System.out.print(\"c\");\n// break;\n// case 3:\n// System.out.print(\"d\");\n// break;\n// case 4:\n// System.out.print(\"e\");\n// break;\n// case 5:\n// System.out.print(\"f\");\n// break;\n// case 6:\n// System.out.print(\"g\");\n// break;\n// case 7:\n// System.out.print(\"h\");\n// break;\n// case 8:\n// System.out.print(\"i\");\n// break;\n// case 9:\n// System.out.print(\"j\");\n// break;\n// case 10:\n// System.out.print(\"k\");\n// break;\n// case 11:\n// System.out.print(\"l\");\n// break;\n// case 12:\n// System.out.print(\"m\");\n// break;\n// case 13:\n// System.out.print(\"n\");\n// break;\n// case 14:\n// System.out.print(\"o\");\n// break;\n// case 15:\n// System.out.print(\"p\");\n// break;\n// case 16:\n// System.out.print(\"q\");\n// break;\n// case 17:\n// System.out.print(\"r\");\n// break;\n// case 18:\n// System.out.print(\"s\");\n// break;\n// case 19:\n// System.out.print(\"t\");\n// break;\n// case 20:\n// System.out.print(\"u\");\n// break;\n// case 21:\n// System.out.print(\"v\");\n// break;\n// case 22:\n// System.out.print(\"w\");\n// break;\n// case 23:\n// System.out.print(\"x\");\n// break;\n// case 24:\n// System.out.print(\"y\");\n// break;\n// case 25:\n// System.out.print(\"z\");\n// break;\n// }\n System.out.println(\"\");\n }",
"run",
"{\n long n = sc.nextLong();\n int[] m = new int[100];\n Arrays.fill(m, -1);\n\n for (int i = 1; i < 100; i++) {\n m[i] = (int) (n % 26);\n if (m[i] == 0) m[i] = 26;\n n = (n - m[i]) / 26;\n if (n == 0) {\n break;\n }\n }\n\n for (int i = 99; i > 0; i--) {\n switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }\n }\n// switch (m[1]) {\n// case -1:\n// case 0:\n// System.out.print(\"a\");\n// break;\n// case 1:\n// System.out.print(\"b\");\n// break;\n// case 2:\n// System.out.print(\"c\");\n// break;\n// case 3:\n// System.out.print(\"d\");\n// break;\n// case 4:\n// System.out.print(\"e\");\n// break;\n// case 5:\n// System.out.print(\"f\");\n// break;\n// case 6:\n// System.out.print(\"g\");\n// break;\n// case 7:\n// System.out.print(\"h\");\n// break;\n// case 8:\n// System.out.print(\"i\");\n// break;\n// case 9:\n// System.out.print(\"j\");\n// break;\n// case 10:\n// System.out.print(\"k\");\n// break;\n// case 11:\n// System.out.print(\"l\");\n// break;\n// case 12:\n// System.out.print(\"m\");\n// break;\n// case 13:\n// System.out.print(\"n\");\n// break;\n// case 14:\n// System.out.print(\"o\");\n// break;\n// case 15:\n// System.out.print(\"p\");\n// break;\n// case 16:\n// System.out.print(\"q\");\n// break;\n// case 17:\n// System.out.print(\"r\");\n// break;\n// case 18:\n// System.out.print(\"s\");\n// break;\n// case 19:\n// System.out.print(\"t\");\n// break;\n// case 20:\n// System.out.print(\"u\");\n// break;\n// case 21:\n// System.out.print(\"v\");\n// break;\n// case 22:\n// System.out.print(\"w\");\n// break;\n// case 23:\n// System.out.print(\"x\");\n// break;\n// case 24:\n// System.out.print(\"y\");\n// break;\n// case 25:\n// System.out.print(\"z\");\n// break;\n// }\n System.out.println(\"\");\n }",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int[] m = new int[100];",
"m",
"new int[100]",
"100",
"Arrays.fill(m, -1)",
"Arrays.fill",
"Arrays",
"m",
"-1",
"1",
"for (int i = 1; i < 100; i++) {\n m[i] = (int) (n % 26);\n if (m[i] == 0) m[i] = 26;\n n = (n - m[i]) / 26;\n if (n == 0) {\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 100",
"i",
"100",
"i++",
"i++",
"i",
"{\n m[i] = (int) (n % 26);\n if (m[i] == 0) m[i] = 26;\n n = (n - m[i]) / 26;\n if (n == 0) {\n break;\n }\n }",
"{\n m[i] = (int) (n % 26);\n if (m[i] == 0) m[i] = 26;\n n = (n - m[i]) / 26;\n if (n == 0) {\n break;\n }\n }",
"m[i] = (int) (n % 26)",
"m[i]",
"m",
"i",
"(int) (n % 26)",
"n",
"26",
"if (m[i] == 0) m[i] = 26;",
"m[i] == 0",
"m[i]",
"m",
"i",
"0",
"m[i] = 26",
"m[i]",
"m",
"i",
"26",
"n = (n - m[i]) / 26",
"n",
"(n - m[i]) / 26",
"(n - m[i])",
"n",
"m[i]",
"m",
"i",
"26",
"if (n == 0) {\n break;\n }",
"n == 0",
"n",
"0",
"{\n break;\n }",
"break;",
"for (int i = 99; i > 0; i--) {\n switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }\n }",
"int i = 99;",
"int i = 99;",
"i",
"99",
"i > 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }\n }",
"{\n switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }\n }",
"switch (m[i]) {\n case -1:\n break;\n case 1:\n System.out.print(\"a\");\n break;\n case 2:\n System.out.print(\"b\");\n break;\n case 3:\n System.out.print(\"c\");\n break;\n case 4:\n System.out.print(\"d\");\n break;\n case 5:\n System.out.print(\"e\");\n break;\n case 6:\n System.out.print(\"f\");\n break;\n case 7:\n System.out.print(\"g\");\n break;\n case 8:\n System.out.print(\"h\");\n break;\n case 9:\n System.out.print(\"i\");\n break;\n case 10:\n System.out.print(\"j\");\n break;\n case 11:\n System.out.print(\"k\");\n break;\n case 12:\n System.out.print(\"l\");\n break;\n case 13:\n System.out.print(\"m\");\n break;\n case 14:\n System.out.print(\"n\");\n break;\n case 15:\n System.out.print(\"o\");\n break;\n case 16:\n System.out.print(\"p\");\n break;\n case 17:\n System.out.print(\"q\");\n break;\n case 18:\n System.out.print(\"r\");\n break;\n case 19:\n System.out.print(\"s\");\n break;\n case 20:\n System.out.print(\"t\");\n break;\n case 21:\n System.out.print(\"u\");\n break;\n case 22:\n System.out.print(\"v\");\n break;\n case 23:\n System.out.print(\"w\");\n break;\n case 24:\n System.out.print(\"x\");\n break;\n case 25:\n System.out.print(\"y\");\n break;\n case 0:\n case 26:\n System.out.print(\"z\");\n break;\n }",
"m[i]",
"m",
"i",
"case -1:",
"-1",
"1",
"case -1:",
"break;",
"case 1:",
"1",
"case 1:",
"System.out.print(\"a\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"a\"",
"break;",
"case 2:",
"2",
"case 2:",
"System.out.print(\"b\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"b\"",
"break;",
"case 3:",
"3",
"case 3:",
"System.out.print(\"c\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"c\"",
"break;",
"case 4:",
"4",
"case 4:",
"System.out.print(\"d\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"d\"",
"break;",
"case 5:",
"5",
"case 5:",
"System.out.print(\"e\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"e\"",
"break;",
"case 6:",
"6",
"case 6:",
"System.out.print(\"f\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"f\"",
"break;",
"case 7:",
"7",
"case 7:",
"System.out.print(\"g\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"g\"",
"break;",
"case 8:",
"8",
"case 8:",
"System.out.print(\"h\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"h\"",
"break;",
"case 9:",
"9",
"case 9:",
"System.out.print(\"i\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"i\"",
"break;",
"case 10:",
"10",
"case 10:",
"System.out.print(\"j\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"j\"",
"break;",
"case 11:",
"11",
"case 11:",
"System.out.print(\"k\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"k\"",
"break;",
"case 12:",
"12",
"case 12:",
"System.out.print(\"l\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"l\"",
"break;",
"case 13:",
"13",
"case 13:",
"System.out.print(\"m\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"m\"",
"break;",
"case 14:",
"14",
"case 14:",
"System.out.print(\"n\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"n\"",
"break;",
"case 15:",
"15",
"case 15:",
"System.out.print(\"o\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"o\"",
"break;",
"case 16:",
"16",
"case 16:",
"System.out.print(\"p\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"p\"",
"break;",
"case 17:",
"17",
"case 17:",
"System.out.print(\"q\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"q\"",
"break;",
"case 18:",
"18",
"case 18:",
"System.out.print(\"r\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"r\"",
"break;",
"case 19:",
"19",
"case 19:",
"System.out.print(\"s\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"s\"",
"break;",
"case 20:",
"20",
"case 20:",
"System.out.print(\"t\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"t\"",
"break;",
"case 21:",
"21",
"case 21:",
"System.out.print(\"u\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"u\"",
"break;",
"case 22:",
"22",
"case 22:",
"System.out.print(\"v\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"v\"",
"break;",
"case 23:",
"23",
"case 23:",
"System.out.print(\"w\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"w\"",
"break;",
"case 24:",
"24",
"case 24:",
"System.out.print(\"x\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"x\"",
"break;",
"case 25:",
"25",
"case 25:",
"System.out.print(\"y\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"y\"",
"break;",
"case 0:",
"0",
"case 0:",
"case 26:",
"26",
"case 26:",
"System.out.print(\"z\")",
"System.out.print",
"System.out",
"System",
"System.out",
"\"z\"",
"break;",
"System.out.println(\"\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"\""
]
| import org.w3c.dom.ls.LSOutput;
import java.util.*;
import static java.lang.Math.*;
class Main {
final Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
new Main().run();
}
private void run() {
long n = sc.nextLong();
int[] m = new int[100];
Arrays.fill(m, -1);
for (int i = 1; i < 100; i++) {
m[i] = (int) (n % 26);
if (m[i] == 0) m[i] = 26;
n = (n - m[i]) / 26;
if (n == 0) {
break;
}
}
for (int i = 99; i > 0; i--) {
switch (m[i]) {
case -1:
break;
case 1:
System.out.print("a");
break;
case 2:
System.out.print("b");
break;
case 3:
System.out.print("c");
break;
case 4:
System.out.print("d");
break;
case 5:
System.out.print("e");
break;
case 6:
System.out.print("f");
break;
case 7:
System.out.print("g");
break;
case 8:
System.out.print("h");
break;
case 9:
System.out.print("i");
break;
case 10:
System.out.print("j");
break;
case 11:
System.out.print("k");
break;
case 12:
System.out.print("l");
break;
case 13:
System.out.print("m");
break;
case 14:
System.out.print("n");
break;
case 15:
System.out.print("o");
break;
case 16:
System.out.print("p");
break;
case 17:
System.out.print("q");
break;
case 18:
System.out.print("r");
break;
case 19:
System.out.print("s");
break;
case 20:
System.out.print("t");
break;
case 21:
System.out.print("u");
break;
case 22:
System.out.print("v");
break;
case 23:
System.out.print("w");
break;
case 24:
System.out.print("x");
break;
case 25:
System.out.print("y");
break;
case 0:
case 26:
System.out.print("z");
break;
}
}
// switch (m[1]) {
// case -1:
// case 0:
// System.out.print("a");
// break;
// case 1:
// System.out.print("b");
// break;
// case 2:
// System.out.print("c");
// break;
// case 3:
// System.out.print("d");
// break;
// case 4:
// System.out.print("e");
// break;
// case 5:
// System.out.print("f");
// break;
// case 6:
// System.out.print("g");
// break;
// case 7:
// System.out.print("h");
// break;
// case 8:
// System.out.print("i");
// break;
// case 9:
// System.out.print("j");
// break;
// case 10:
// System.out.print("k");
// break;
// case 11:
// System.out.print("l");
// break;
// case 12:
// System.out.print("m");
// break;
// case 13:
// System.out.print("n");
// break;
// case 14:
// System.out.print("o");
// break;
// case 15:
// System.out.print("p");
// break;
// case 16:
// System.out.print("q");
// break;
// case 17:
// System.out.print("r");
// break;
// case 18:
// System.out.print("s");
// break;
// case 19:
// System.out.print("t");
// break;
// case 20:
// System.out.print("u");
// break;
// case 21:
// System.out.print("v");
// break;
// case 22:
// System.out.print("w");
// break;
// case 23:
// System.out.print("x");
// break;
// case 24:
// System.out.print("y");
// break;
// case 25:
// System.out.print("z");
// break;
// }
System.out.println("");
}
}
|
[
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,
2,
17,
2,
13,
17,
14,
2,
13,
17,
30,
3,
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
],
[
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
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
22,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
37,
38
],
[
22,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong N = scan.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong N = scan.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong N = scan.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong N = scan.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(true) {\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}",
"true",
"{\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}",
"N--",
"N",
"sb.append((char)('a' + (N % 26)))",
"sb.append",
"sb",
"(char)('a' + (N % 26))",
"'a'",
"(N % 26)",
"N",
"26",
"if(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}",
"N < 26",
"N",
"26",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong N = scan.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tlong N = scan.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(true) {\n\t\t\tN--;\n\t\t\tsb.append((char)('a' + (N % 26)));\n\t\t\tif(N < 26) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.println(sb.reverse().toString());\n\n\t}\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();
StringBuilder sb = new StringBuilder();
while(true) {
N--;
sb.append((char)('a' + (N % 26)));
if(N < 26) {
break;
}
N /= 26;
}
System.out.println(sb.reverse().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,
0,
13,
17,
41,
13,
2,
13,
17,
0,
13,
17,
41,
13,
2,
13,
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
],
[
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
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
24,
33
],
[
33,
34
],
[
33,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
24,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
46,
51
],
[
51,
52
],
[
52,
53
],
[
6,
54
],
[
54,
55
],
[
0,
56
],
[
56,
57
],
[
56,
58
]
]
| [
"import 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 long inu = sc.nextLong();\n\n StringBuilder sb = new StringBuilder();\n while (inu > 0) {\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }\n}",
"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 long inu = sc.nextLong();\n\n StringBuilder sb = new StringBuilder();\n while (inu > 0) {\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + '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 long inu = sc.nextLong();\n\n StringBuilder sb = new StringBuilder();\n while (inu > 0) {\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + '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 long inu = sc.nextLong();\n\n StringBuilder sb = new StringBuilder();\n while (inu > 0) {\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + '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)",
"long inu = sc.nextLong();",
"inu",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (inu > 0) {\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + 'a');\n sb.insert(0, c);\n }",
"inu > 0",
"inu",
"0",
"{\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + 'a');\n sb.insert(0, c);\n }",
"inu -= 1",
"inu",
"1",
"long a = inu % 26;",
"a",
"inu % 26",
"inu",
"26",
"inu /= 26",
"inu",
"26",
"char c = (char)(a + 'a');",
"c",
"(char)(a + 'a')",
"a",
"'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 long inu = sc.nextLong();\n\n StringBuilder sb = new StringBuilder();\n while (inu > 0) {\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + '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 long inu = sc.nextLong();\n\n StringBuilder sb = new StringBuilder();\n while (inu > 0) {\n inu -= 1;\n long a = inu % 26;\n inu /= 26;\n char c = (char)(a + 'a');\n sb.insert(0, c);\n }\n\n System.out.println(sb.toString());\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
// write your code here
Scanner sc = new Scanner(System.in);
long inu = sc.nextLong();
StringBuilder sb = new StringBuilder();
while (inu > 0) {
inu -= 1;
long a = inu % 26;
inu /= 26;
char c = (char)(a + 'a');
sb.insert(0, c);
}
System.out.println(sb.toString());
}
} |
[
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,
14,
2,
2,
13,
17,
17,
30,
4,
18,
13,
17,
17,
40,
13,
30,
4,
18,
13,
17,
2,
2,
13,
2,
13,
17,
17,
0,
13,
17,
4,
18,
18,
13,
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
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
28,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
35,
39
],
[
34,
40
],
[
40,
41
],
[
28,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
43,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
27,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
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) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tint aPos = ('a');\n\t\tStringBuilder res = new StringBuilder();\n\t\twhile (N != 0) {\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tint aPos = ('a');\n\t\tStringBuilder res = new StringBuilder();\n\t\twhile (N != 0) {\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tint aPos = ('a');\n\t\tStringBuilder res = new StringBuilder();\n\t\twhile (N != 0) {\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tint aPos = ('a');\n\t\tStringBuilder res = new StringBuilder();\n\t\twhile (N != 0) {\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(res);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int aPos = ('a');",
"aPos",
"('a')",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"while (N != 0) {\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}",
"N != 0",
"N",
"0",
"{\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}",
"if (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}",
"N % 26 == 0",
"N % 26",
"N",
"26",
"0",
"{\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t}",
"res.insert(0, 'z')",
"res.insert",
"res",
"0",
"'z'",
"N--",
"N",
"{\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}",
"res.insert(0, (char) (aPos + (N % 26) - 1))",
"res.insert",
"res",
"0",
"(char) (aPos + (N % 26) - 1)",
"aPos + (N % 26)",
"aPos",
"(N % 26)",
"N",
"26",
"1",
"N /= 26",
"N",
"26",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tint aPos = ('a');\n\t\tStringBuilder res = new StringBuilder();\n\t\twhile (N != 0) {\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tint aPos = ('a');\n\t\tStringBuilder res = new StringBuilder();\n\t\twhile (N != 0) {\n\t\t\tif (N % 26 == 0) {\n\t\t\t\tres.insert(0, 'z');\n\t\t\t\tN--;\n\t\t\t} else {\n\t\t\t\tres.insert(0, (char) (aPos + (N % 26) - 1));\n\t\t\t}\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(res);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
int aPos = ('a');
StringBuilder res = new StringBuilder();
while (N != 0) {
if (N % 26 == 0) {
res.insert(0, 'z');
N--;
} else {
res.insert(0, (char) (aPos + (N % 26) - 1));
}
N /= 26;
}
System.out.println(res);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
17,
0,
13,
17,
0,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
0,
13,
13,
40,
13,
14,
2,
13,
17,
30,
4,
18,
13,
2,
2,
13,
17,
17,
4,
18,
13,
4,
18,
13,
17,
0,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
17,
0,
13,
13,
0,
13,
17,
42,
2,
13,
13,
30,
0,
13,
13,
40,
13,
0,
13,
13,
0,
13,
13,
0,
13,
17,
4,
18,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
14,
2,
13,
13,
30,
0,
13,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
40,
17,
29,
13,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
42,
4,
13,
13,
0,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
0,
13,
2,
2,
13,
17,
2,
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,
41,
13,
4,
13,
41,
13,
17,
42,
4,
13,
13,
0,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
2,
40,
4,
13,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
29,
2,
13,
4,
18,
13,
17,
4,
13,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
29,
2,
13,
4,
18,
13,
17,
4,
13,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
42,
4,
13,
13,
0,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
0,
13,
2,
2,
13,
17,
2,
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,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
17,
41,
13,
18,
13,
13,
41,
13,
40,
17,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
13,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
18,
13,
13,
41,
13,
40,
17,
42,
2,
13,
13,
30,
0,
13,
2,
2,
13,
13,
17,
14,
2,
18,
13,
13,
13,
0,
13,
13,
0,
13,
2,
13,
17,
29,
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,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
13,
14,
2,
2,
13,
17,
17,
29,
2,
4,
13,
2,
2,
13,
13,
13,
2,
13,
17,
13,
13,
29,
2,
2,
13,
4,
13,
2,
2,
13,
13,
13,
2,
13,
17,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
13,
17,
29,
13,
14,
2,
2,
13,
17,
17,
29,
4,
13,
2,
13,
13,
2,
13,
17,
29,
2,
13,
4,
13,
2,
13,
13,
2,
13,
17,
23,
13,
23,
13,
12,
13,
30,
0,
13,
4,
18,
13,
13,
2,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
13,
2,
2,
13,
2,
13,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
13,
29,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
13,
2,
13,
2,
13,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
855,
8
],
[
855,
9
],
[
9,
10
],
[
855,
11
],
[
11,
12
],
[
855,
13
],
[
13,
14
],
[
855,
15
],
[
15,
16
],
[
855,
17
],
[
17,
18
],
[
855,
19
],
[
19,
20
],
[
855,
21
],
[
21,
22
],
[
855,
23
],
[
23,
24
],
[
855,
25
],
[
25,
26
],
[
25,
27
],
[
855,
28
],
[
28,
29
],
[
28,
30
],
[
855,
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
],
[
45,
47
],
[
33,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
52,
59
],
[
59,
60
],
[
33,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
65,
74
],
[
74,
75
],
[
75,
76
],
[
65,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
33,
81
],
[
81,
82
],
[
81,
83
],
[
33,
84
],
[
84,
85
],
[
84,
86
],
[
33,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
103,
105
],
[
33,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
106,
114
],
[
114,
115
],
[
115,
116
],
[
106,
117
],
[
118,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
122,
124
],
[
118,
125
],
[
125,
126
],
[
125,
127
],
[
118,
128
],
[
128,
129
],
[
128,
130
],
[
118,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
135,
141
],
[
141,
142
],
[
141,
143
],
[
118,
144
],
[
144,
145
],
[
144,
146
],
[
118,
147
],
[
147,
148
],
[
147,
149
],
[
118,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
153,
154
],
[
153,
155
],
[
33,
156
],
[
156,
157
],
[
157,
158
],
[
33,
159
],
[
159,
160
],
[
160,
161
],
[
31,
162
],
[
162,
163
],
[
855,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
164,
168
],
[
168,
169
],
[
168,
170
],
[
164,
172
],
[
172,
173
],
[
164,
174
],
[
174,
175
],
[
164,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
176,
184
],
[
184,
185
],
[
164,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
186,
194
],
[
194,
195
],
[
164,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
198,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
213,
218
],
[
218,
219
],
[
198,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
164,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
227,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
227,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
247,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
227,
256
],
[
256,
257
],
[
256,
258
],
[
227,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
259,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
271,
272
],
[
271,
273
],
[
264,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
276,
278
],
[
264,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
227,
283
],
[
283,
284
],
[
284,
285
],
[
284,
286
],
[
164,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
289,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
289,
302
],
[
302,
303
],
[
302,
304
],
[
289,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
305,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
311,
314
],
[
310,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
289,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
164,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
325,
330
],
[
330,
331
],
[
330,
332
],
[
325,
333
],
[
333,
334
],
[
334,
335
],
[
334,
336
],
[
333,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
325,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
345,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
325,
354
],
[
354,
355
],
[
354,
356
],
[
325,
357
],
[
357,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
360,
362
],
[
358,
363
],
[
363,
364
],
[
363,
365
],
[
357,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
368,
372
],
[
372,
373
],
[
372,
374
],
[
367,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
378,
381
],
[
378,
382
],
[
382,
383
],
[
366,
384
],
[
384,
385
],
[
384,
386
],
[
366,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
389,
391
],
[
366,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
325,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
396,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
400,
405
],
[
405,
406
],
[
405,
407
],
[
400,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
410,
412
],
[
408,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
415,
419
],
[
419,
420
],
[
419,
421
],
[
414,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
426,
427
],
[
425,
428
],
[
425,
429
],
[
429,
430
],
[
413,
431
],
[
431,
432
],
[
431,
433
],
[
413,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
413,
441
],
[
441,
442
],
[
441,
443
],
[
443,
444
],
[
325,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
164,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
451,
456
],
[
456,
457
],
[
456,
458
],
[
451,
459
],
[
459,
460
],
[
460,
461
],
[
460,
462
],
[
459,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
451,
467
],
[
467,
468
],
[
468,
469
],
[
468,
470
],
[
467,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
474,
475
],
[
471,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
451,
480
],
[
480,
481
],
[
480,
482
],
[
451,
483
],
[
483,
484
],
[
484,
485
],
[
485,
486
],
[
485,
487
],
[
483,
488
],
[
488,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
492,
493
],
[
492,
494
],
[
491,
495
],
[
495,
496
],
[
495,
497
],
[
488,
498
],
[
498,
499
],
[
498,
500
],
[
500,
501
],
[
500,
502
],
[
488,
503
],
[
503,
504
],
[
503,
505
],
[
505,
506
],
[
451,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
164,
511
],
[
511,
512
],
[
511,
513
],
[
513,
514
],
[
514,
515
],
[
518,
516
],
[
528,
517
],
[
525,
518
],
[
518,
519
],
[
519,
520
],
[
519,
521
],
[
518,
522
],
[
522,
523
],
[
522,
524
],
[
525,
525
],
[
525,
526
],
[
525,
527
],
[
528,
528
],
[
528,
529
],
[
528,
530
],
[
518,
531
],
[
531,
532
],
[
531,
533
],
[
533,
534
],
[
511,
535
],
[
535,
536
],
[
855,
537
],
[
537,
538
],
[
537,
539
],
[
539,
540
],
[
539,
541
],
[
537,
542
],
[
542,
543
],
[
542,
544
],
[
544,
545
],
[
545,
546
],
[
545,
547
],
[
544,
548
],
[
548,
549
],
[
548,
550
],
[
550,
551
],
[
550,
552
],
[
544,
553
],
[
553,
554
],
[
553,
555
],
[
555,
556
],
[
544,
557
],
[
557,
558
],
[
558,
559
],
[
558,
560
],
[
557,
561
],
[
561,
562
],
[
562,
563
],
[
562,
564
],
[
564,
565
],
[
565,
566
],
[
565,
567
],
[
564,
568
],
[
561,
569
],
[
569,
570
],
[
570,
571
],
[
571,
572
],
[
571,
573
],
[
570,
574
],
[
569,
575
],
[
575,
576
],
[
575,
577
],
[
569,
578
],
[
578,
579
],
[
578,
580
],
[
580,
581
],
[
580,
582
],
[
544,
583
],
[
583,
584
],
[
542,
585
],
[
585,
586
],
[
542,
587
],
[
587,
588
],
[
537,
589
],
[
589,
590
],
[
589,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
591,
595
],
[
595,
596
],
[
595,
597
],
[
597,
598
],
[
597,
599
],
[
591,
600
],
[
600,
601
],
[
600,
602
],
[
602,
603
],
[
591,
604
],
[
604,
605
],
[
605,
606
],
[
605,
607
],
[
604,
608
],
[
608,
609
],
[
609,
610
],
[
609,
611
],
[
611,
612
],
[
612,
613
],
[
612,
614
],
[
611,
615
],
[
608,
616
],
[
616,
617
],
[
617,
618
],
[
618,
619
],
[
618,
620
],
[
617,
621
],
[
616,
622
],
[
622,
623
],
[
622,
624
],
[
616,
625
],
[
625,
626
],
[
625,
627
],
[
627,
628
],
[
627,
629
],
[
591,
630
],
[
630,
631
],
[
589,
632
],
[
632,
633
],
[
589,
634
],
[
634,
635
],
[
537,
636
],
[
636,
637
],
[
636,
638
],
[
638,
639
],
[
639,
640
],
[
640,
641
],
[
641,
642
],
[
641,
643
],
[
640,
644
],
[
640,
645
],
[
645,
646
],
[
645,
647
],
[
645,
648
],
[
648,
649
],
[
648,
650
],
[
636,
651
],
[
651,
652
],
[
636,
653
],
[
653,
654
],
[
537,
655
],
[
655,
656
],
[
655,
657
],
[
657,
658
],
[
658,
659
],
[
659,
660
],
[
660,
661
],
[
660,
662
],
[
659,
663
],
[
663,
664
],
[
663,
665
],
[
663,
666
],
[
655,
667
],
[
667,
668
],
[
655,
669
],
[
669,
670
],
[
537,
671
],
[
671,
672
],
[
671,
673
],
[
673,
674
],
[
674,
675
],
[
675,
676
],
[
675,
677
],
[
674,
678
],
[
678,
679
],
[
673,
680
],
[
680,
681
],
[
681,
682
],
[
681,
683
],
[
680,
684
],
[
684,
685
],
[
673,
686
],
[
686,
687
],
[
687,
688
],
[
688,
689
],
[
688,
690
],
[
687,
691
],
[
686,
692
],
[
692,
693
],
[
693,
694
],
[
694,
695
],
[
694,
696
],
[
696,
697
],
[
697,
698
],
[
697,
699
],
[
696,
700
],
[
694,
701
],
[
701,
702
],
[
701,
703
],
[
694,
704
],
[
693,
705
],
[
673,
706
],
[
706,
707
],
[
707,
708
],
[
708,
709
],
[
708,
710
],
[
710,
711
],
[
710,
712
],
[
712,
713
],
[
713,
714
],
[
713,
715
],
[
712,
716
],
[
710,
717
],
[
717,
718
],
[
717,
719
],
[
710,
720
],
[
707,
721
],
[
671,
722
],
[
722,
723
],
[
671,
724
],
[
724,
725
],
[
671,
726
],
[
726,
727
],
[
537,
728
],
[
728,
729
],
[
728,
730
],
[
730,
731
],
[
731,
732
],
[
732,
733
],
[
732,
734
],
[
731,
735
],
[
735,
736
],
[
730,
737
],
[
737,
738
],
[
738,
739
],
[
738,
740
],
[
737,
741
],
[
741,
742
],
[
730,
743
],
[
743,
744
],
[
744,
745
],
[
745,
746
],
[
745,
747
],
[
744,
748
],
[
743,
749
],
[
749,
750
],
[
750,
751
],
[
750,
752
],
[
752,
753
],
[
752,
754
],
[
750,
755
],
[
755,
756
],
[
755,
757
],
[
730,
758
],
[
758,
759
],
[
759,
760
],
[
759,
761
],
[
761,
762
],
[
761,
763
],
[
763,
764
],
[
763,
765
],
[
761,
766
],
[
766,
767
],
[
766,
768
],
[
728,
769
],
[
769,
770
],
[
728,
771
],
[
771,
772
],
[
537,
773
],
[
773,
774
],
[
773,
775
],
[
775,
776
],
[
776,
777
],
[
776,
778
],
[
778,
779
],
[
779,
780
],
[
778,
781
],
[
778,
782
],
[
782,
783
],
[
782,
784
],
[
775,
785
],
[
785,
786
],
[
785,
787
],
[
775,
788
],
[
788,
789
],
[
789,
790
],
[
790,
791
],
[
790,
792
],
[
788,
793
],
[
793,
794
],
[
793,
795
],
[
788,
796
],
[
796,
797
],
[
797,
798
],
[
788,
799
],
[
799,
800
],
[
800,
801
],
[
800,
802
],
[
802,
803
],
[
803,
804
],
[
803,
805
],
[
805,
806
],
[
805,
807
],
[
802,
808
],
[
808,
809
],
[
808,
810
],
[
775,
811
],
[
811,
812
],
[
773,
813
],
[
813,
814
],
[
773,
815
],
[
815,
816
],
[
537,
817
],
[
817,
818
],
[
817,
819
],
[
819,
820
],
[
820,
821
],
[
821,
822
],
[
821,
823
],
[
820,
824
],
[
824,
825
],
[
819,
826
],
[
826,
827
],
[
826,
828
],
[
819,
829
],
[
829,
830
],
[
830,
831
],
[
831,
832
],
[
831,
833
],
[
829,
834
],
[
834,
835
],
[
834,
836
],
[
829,
837
],
[
837,
838
],
[
838,
839
],
[
829,
840
],
[
840,
841
],
[
841,
842
],
[
841,
843
],
[
843,
844
],
[
843,
845
],
[
845,
846
],
[
845,
847
],
[
819,
848
],
[
848,
849
],
[
817,
850
],
[
850,
851
],
[
817,
852
],
[
852,
853
],
[
0,
854
],
[
854,
855
],
[
854,
856
]
]
| [
"// Utilities\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tstatic long N;\n\tstatic long x, z, y, minus, xx;\n\tstatic int len;\n\tstatic int r;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.lscan();\n\t\tz = 26; x = 26; len = 1;\n\t\twhile (z < N) {\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}\n\t\tif (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }\n\t\tx = 1; N -= 1;\n\t\tfor (int i = 1; i < len; i++) {\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}\n\t\tout.println();\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tstatic long N;\n\tstatic long x, z, y, minus, xx;\n\tstatic int len;\n\tstatic int r;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.lscan();\n\t\tz = 26; x = 26; len = 1;\n\t\twhile (z < N) {\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}\n\t\tif (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }\n\t\tx = 1; N -= 1;\n\t\tfor (int i = 1; i < len; i++) {\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}\n\t\tout.println();\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}",
"Main",
"static long N;",
"N",
"static long x",
"x",
"z",
"z",
"y",
"y",
"minus",
"minus",
"xx;",
"xx",
"static int len;",
"len",
"static int r;",
"r",
"static INPUT in = new INPUT(System.in);",
"in",
"new INPUT(System.in)",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"public static void main(String[] args) throws IOException {\n\t\tN = in.lscan();\n\t\tz = 26; x = 26; len = 1;\n\t\twhile (z < N) {\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}\n\t\tif (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }\n\t\tx = 1; N -= 1;\n\t\tfor (int i = 1; i < len; i++) {\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}\n\t\tout.println();\n\t\tout.close();\n\t}",
"main",
"{\n\t\tN = in.lscan();\n\t\tz = 26; x = 26; len = 1;\n\t\twhile (z < N) {\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}\n\t\tif (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }\n\t\tx = 1; N -= 1;\n\t\tfor (int i = 1; i < len; i++) {\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}\n\t\tout.println();\n\t\tout.close();\n\t}",
"N = in.lscan()",
"N",
"in.lscan()",
"in.lscan",
"in",
"z = 26",
"z",
"26",
"x = 26",
"x",
"26",
"len = 1",
"len",
"1",
"while (z < N) {\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}",
"z < N",
"z",
"N",
"{\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}",
"x *= 26",
"x",
"26",
"z += x",
"z",
"x",
"len++",
"len",
"if (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }",
"len == 1",
"len",
"1",
"{ out.println((char)(N-1+'a')); out.close(); System.exit(0); }",
"out.println((char)(N-1+'a'))",
"out.println",
"out",
"(char)(N-1+'a')",
"N-1",
"N",
"1",
"'a'",
"out.close()",
"out.close",
"out",
"System.exit(0)",
"System.exit",
"System",
"0",
"x = 1",
"x",
"1",
"N -= 1",
"N",
"1",
"for (int i = 1; i < len; i++) {\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}",
"{\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}",
"x *= 26",
"x",
"26",
"N -= x",
"N",
"x",
"for (int i = 0; i < len; i++) {\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}",
"{\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}",
"xx = 0",
"xx",
"0",
"r = 0",
"r",
"0",
"y = x",
"y",
"x",
"minus = 0",
"minus",
"0",
"while (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}",
"y <= N",
"y",
"N",
"{\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}",
"minus = y",
"minus",
"y",
"r++",
"r",
"y += x",
"y",
"x",
"N -= minus",
"N",
"minus",
"x /= 26",
"x",
"26",
"out.print((char)(r+'a'))",
"out.print",
"out",
"(char)(r+'a')",
"r",
"'a'",
"out.println()",
"out.println",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"private static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}",
"INPUT",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar",
"curChar",
"numChars;",
"numChars",
"public INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}",
"INPUT",
"{\n\t\t\tthis.stream = stream;\n\t\t}",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"public INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}",
"INPUT",
"{\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}",
"this.stream = new FileInputStream (file)",
"this.stream",
"this",
"this.stream",
"new FileInputStream (file)",
"String file",
"file",
"public int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}",
"cscan",
"{\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}",
"if (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}",
"curChar >= numChars",
"curChar",
"numChars",
"{\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}",
"curChar = 0",
"curChar",
"0",
"numChars = stream.read (buf)",
"numChars",
"stream.read (buf)",
"stream.read",
"stream",
"buf",
"if (numChars == -1)\n\t\t\t\treturn numChars;",
"numChars == -1",
"numChars",
"-1",
"1",
"return numChars;",
"numChars",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}",
"iscan",
"{\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}",
"int c = cscan ()",
"c",
"cscan ()",
"cscan",
"sgn = 1;",
"sgn",
"1",
"while (space (c))\n\t\t\t\tc = cscan ();",
"space (c)",
"space",
"c",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"if (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}",
"sgn = -1",
"sgn",
"-1",
"1",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"int res = 0;",
"res",
"0",
"do {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));",
"!space (c)",
"space (c)",
"space",
"c",
"{\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}",
"res = (res << 1) + (res << 3)",
"res",
"(res << 1) + (res << 3)",
"(res << 1)",
"res",
"1",
"(res << 3)",
"res",
"3",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}",
"sscan",
"{\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}",
"int c = cscan ();",
"c",
"cscan ()",
"cscan",
"while (space (c))\n\t\t\t\tc = cscan ();",
"space (c)",
"space",
"c",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"StringBuilder res = new StringBuilder ();",
"res",
"new StringBuilder ()",
"do {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));",
"!space (c)",
"space (c)",
"space",
"c",
"{\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}",
"res.appendCodePoint (c)",
"res.appendCodePoint",
"res",
"c",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"return res.toString ();",
"res.toString ()",
"res.toString",
"res",
"public double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}",
"dscan",
"{\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}",
"int c = cscan ()",
"c",
"cscan ()",
"cscan",
"sgn = 1;",
"sgn",
"1",
"while (space (c))\n\t\t\t\tc = cscan ();",
"space (c)",
"space",
"c",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"if (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}",
"sgn = -1",
"sgn",
"-1",
"1",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"double res = 0;",
"res",
"0",
"while (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}",
"!space (c) && c != '.'",
"!space (c)",
"space (c)",
"space",
"c",
"c != '.'",
"c",
"'.'",
"{\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}",
"if (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * UTILITIES.fast_pow (10, iscan ());",
"res * UTILITIES.fast_pow (10, iscan ())",
"res",
"UTILITIES.fast_pow (10, iscan ())",
"UTILITIES.fast_pow",
"UTILITIES",
"10",
"iscan ()",
"iscan",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"if (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}",
"c == '.'",
"c",
"'.'",
"{\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"double m = 1;",
"m",
"1",
"while (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}",
"!space (c)",
"space (c)",
"space",
"c",
"{\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}",
"if (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * UTILITIES.fast_pow (10, iscan ());",
"res * UTILITIES.fast_pow (10, iscan ())",
"res",
"UTILITIES.fast_pow (10, iscan ())",
"UTILITIES.fast_pow",
"UTILITIES",
"10",
"iscan ()",
"iscan",
"m /= 10",
"m",
"10",
"res += (c - '0') * m",
"res",
"(c - '0') * m",
"(c - '0')",
"c",
"'0'",
"m",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}",
"lscan",
"{\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}",
"int c = cscan ()",
"c",
"cscan ()",
"cscan",
"sgn = 1;",
"sgn",
"1",
"while (space (c))\n\t\t\t\tc = cscan ();",
"space (c)",
"space",
"c",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"if (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}",
"c == '-'",
"c",
"'-'",
"{\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}",
"sgn = -1",
"sgn",
"-1",
"1",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"long res = 0;",
"res",
"0",
"do {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));",
"!space (c)",
"space (c)",
"space",
"c",
"{\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}",
"res = (res << 1) + (res << 3)",
"res",
"(res << 1) + (res << 3)",
"(res << 1)",
"res",
"1",
"(res << 3)",
"res",
"3",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = cscan ()",
"c",
"cscan ()",
"cscan",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}",
"space",
"{\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\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 static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}",
"UTILITIES",
"static final double EPS = 10e-6;",
"EPS",
"10e-6",
"public static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}",
"lower_bound",
"{\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}",
"int low = 0",
"low",
"0",
"high = arr.length",
"high",
"arr.length",
"arr",
"arr.length",
"mid = -1;",
"mid",
"-1",
"1",
"while (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}",
"low < high",
"low",
"high",
"{\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}",
"mid = (low + high) / 2",
"mid",
"(low + high) / 2",
"(low + high)",
"low",
"high",
"2",
"if (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;",
"arr[mid] >= x",
"arr[mid]",
"arr",
"mid",
"x",
"high = mid",
"high",
"mid",
"low = mid + 1",
"low",
"mid + 1",
"mid",
"1",
"return low;",
"low",
"int[] arr",
"arr",
"int x",
"x",
"public static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}",
"upper_bound",
"{\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}",
"int low = 0",
"low",
"0",
"high = arr.length",
"high",
"arr.length",
"arr",
"arr.length",
"mid = -1;",
"mid",
"-1",
"1",
"while (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}",
"low < high",
"low",
"high",
"{\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}",
"mid = (low + high) / 2",
"mid",
"(low + high) / 2",
"(low + high)",
"low",
"high",
"2",
"if (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;",
"arr[mid] > x",
"arr[mid]",
"arr",
"mid",
"x",
"high = mid",
"high",
"mid",
"low = mid + 1",
"low",
"mid + 1",
"mid",
"1",
"return low;",
"low",
"int[] arr",
"arr",
"int x",
"x",
"public static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}",
"gcd",
"{\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\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",
"public static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}",
"lcm",
"{\n\t\t\treturn a * b / gcd (a, b);\n\t\t}",
"return a * b / gcd (a, b);",
"a * b / gcd (a, b)",
"a * b",
"a",
"b",
"gcd (a, b)",
"gcd",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}",
"fast_pow_mod",
"{\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}",
"if (x == 0) return 1;",
"x == 0",
"x",
"0",
"return 1;",
"1",
"if (x == 1) return b;",
"x == 1",
"x",
"1",
"return b;",
"b",
"if (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;",
"x % 2 == 0",
"x % 2",
"x",
"2",
"0",
"return fast_pow_mod (b * b % mod, x / 2, mod) % mod;",
"fast_pow_mod (b * b % mod, x / 2, mod) % mod",
"fast_pow_mod (b * b % mod, x / 2, mod)",
"fast_pow_mod",
"b * b % mod",
"b * b",
"b",
"b",
"mod",
"x / 2",
"x",
"2",
"mod",
"mod",
"return b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;",
"b * fast_pow_mod (b * b % mod, x / 2, mod) % mod",
"b * fast_pow_mod (b * b % mod, x / 2, mod)",
"b",
"fast_pow_mod (b * b % mod, x / 2, mod)",
"fast_pow_mod",
"b * b % mod",
"b * b",
"b",
"b",
"mod",
"x / 2",
"x",
"2",
"mod",
"mod",
"long b",
"b",
"long x",
"x",
"int mod",
"mod",
"public static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}",
"fast_pow",
"{\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}",
"if (x == 0) return 1;",
"x == 0",
"x",
"0",
"return 1;",
"1",
"if (x == 1) return b;",
"x == 1",
"x",
"1",
"return b;",
"b",
"if (x % 2 == 0) return fast_pow (b * b, x / 2);",
"x % 2 == 0",
"x % 2",
"x",
"2",
"0",
"return fast_pow (b * b, x / 2);",
"fast_pow (b * b, x / 2)",
"fast_pow",
"b * b",
"b",
"b",
"x / 2",
"x",
"2",
"return b * fast_pow (b * b, x / 2);",
"b * fast_pow (b * b, x / 2)",
"b",
"fast_pow (b * b, x / 2)",
"fast_pow",
"b * b",
"b",
"b",
"x / 2",
"x",
"2",
"int b",
"b",
"int x",
"x",
"public static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}",
"choose",
"{\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}",
"k = Math.min (k, n - k)",
"k",
"Math.min (k, n - k)",
"Math.min",
"Math",
"k",
"n - k",
"n",
"k",
"long val = 1;",
"val",
"1",
"for (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < k",
"i",
"k",
"++i",
"++i",
"i",
"val = val * (n - i) / (i + 1);",
"val = val * (n - i) / (i + 1)",
"val",
"val * (n - i) / (i + 1)",
"val * (n - i)",
"val",
"(n - i)",
"n",
"i",
"(i + 1)",
"i",
"1",
"return val;",
"val",
"long n",
"n",
"long k",
"k",
"public static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}",
"permute",
"{\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}",
"if (n < k) return 0;",
"n < k",
"n",
"k",
"return 0;",
"0",
"long val = 1;",
"val",
"1",
"for (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < k",
"i",
"k",
"++i",
"++i",
"i",
"val = (val * (n - i));",
"val = (val * (n - i))",
"val",
"(val * (n - i))",
"val",
"(n - i)",
"n",
"i",
"return val;",
"val",
"int n",
"n",
"int k",
"k",
"public class Main {\n\tstatic long N;\n\tstatic long x, z, y, minus, xx;\n\tstatic int len;\n\tstatic int r;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.lscan();\n\t\tz = 26; x = 26; len = 1;\n\t\twhile (z < N) {\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}\n\t\tif (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }\n\t\tx = 1; N -= 1;\n\t\tfor (int i = 1; i < len; i++) {\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}\n\t\tout.println();\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}",
"public class Main {\n\tstatic long N;\n\tstatic long x, z, y, minus, xx;\n\tstatic int len;\n\tstatic int r;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.lscan();\n\t\tz = 26; x = 26; len = 1;\n\t\twhile (z < N) {\n\t\t\tx *= 26;\n\t\t\tz += x;\n\t\t\tlen++;\n\t\t}\n\t\tif (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }\n\t\tx = 1; N -= 1;\n\t\tfor (int i = 1; i < len; i++) {\n\t\t\tx *= 26;\n\t\t\tN -= x;\n\t\t}\n\t\tfor (int i = 0; i < len; i++) {\n\t\t\txx = 0; r = 0;\n\t\t\ty = x; minus = 0;\n\t\t\twhile (y <= N) {\n\t\t\t\tminus = y;\n\t\t\t\tr++;\n\t\t\t\ty += x;\n\t\t\t}\n\t\t\tN -= minus;\n\t\t\tx /= 26;\n\t\t\t//out.println(N + \" \" + x + \" \" + r);\n\t\t\tout.print((char)(r+'a'));\n\t\t}\n\t\tout.println();\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}",
"Main"
]
| // Utilities
import java.io.*;
import java.util.*;
public class Main {
static long N;
static long x, z, y, minus, xx;
static int len;
static int r;
public static void main(String[] args) throws IOException {
N = in.lscan();
z = 26; x = 26; len = 1;
while (z < N) {
x *= 26;
z += x;
len++;
}
if (len == 1) { out.println((char)(N-1+'a')); out.close(); System.exit(0); }
x = 1; N -= 1;
for (int i = 1; i < len; i++) {
x *= 26;
N -= x;
}
for (int i = 0; i < len; i++) {
xx = 0; r = 0;
y = x; minus = 0;
while (y <= N) {
minus = y;
r++;
y += x;
}
N -= minus;
x /= 26;
//out.println(N + " " + x + " " + r);
out.print((char)(r+'a'));
}
out.println();
out.close();
}
static INPUT in = new INPUT(System.in);
static PrintWriter out = new PrintWriter(System.out);
private static class INPUT {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar, numChars;
public INPUT (InputStream stream) {
this.stream = stream;
}
public INPUT (String file) throws IOException {
this.stream = new FileInputStream (file);
}
public int cscan () throws IOException {
if (curChar >= numChars) {
curChar = 0;
numChars = stream.read (buf);
}
if (numChars == -1)
return numChars;
return buf[curChar++];
}
public int iscan () throws IOException {
int c = cscan (), sgn = 1;
while (space (c))
c = cscan ();
if (c == '-') {
sgn = -1;
c = cscan ();
}
int res = 0;
do {
res = (res << 1) + (res << 3);
res += c - '0';
c = cscan ();
}
while (!space (c));
return res * sgn;
}
public String sscan () throws IOException {
int c = cscan ();
while (space (c))
c = cscan ();
StringBuilder res = new StringBuilder ();
do {
res.appendCodePoint (c);
c = cscan ();
}
while (!space (c));
return res.toString ();
}
public double dscan () throws IOException {
int c = cscan (), sgn = 1;
while (space (c))
c = cscan ();
if (c == '-') {
sgn = -1;
c = cscan ();
}
double res = 0;
while (!space (c) && c != '.') {
if (c == 'e' || c == 'E')
return res * UTILITIES.fast_pow (10, iscan ());
res *= 10;
res += c - '0';
c = cscan ();
}
if (c == '.') {
c = cscan ();
double m = 1;
while (!space (c)) {
if (c == 'e' || c == 'E')
return res * UTILITIES.fast_pow (10, iscan ());
m /= 10;
res += (c - '0') * m;
c = cscan ();
}
}
return res * sgn;
}
public long lscan () throws IOException {
int c = cscan (), sgn = 1;
while (space (c))
c = cscan ();
if (c == '-') {
sgn = -1;
c = cscan ();
}
long res = 0;
do {
res = (res << 1) + (res << 3);
res += c - '0';
c = cscan ();
}
while (!space (c));
return res * sgn;
}
public boolean space (int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
}
public static class UTILITIES {
static final double EPS = 10e-6;
public static int lower_bound (int[] arr, int x) {
int low = 0, high = arr.length, mid = -1;
while (low < high) {
mid = (low + high) / 2;
if (arr[mid] >= x)
high = mid;
else
low = mid + 1;
}
return low;
}
public static int upper_bound (int[] arr, int x) {
int low = 0, high = arr.length, mid = -1;
while (low < high) {
mid = (low + high) / 2;
if (arr[mid] > x)
high = mid;
else
low = mid + 1;
}
return low;
}
public static int gcd (int a, int b) {
return b == 0 ? a : gcd (b, a % b);
}
public static int lcm (int a, int b) {
return a * b / gcd (a, b);
}
public static long fast_pow_mod (long b, long x, int mod) {
if (x == 0) return 1;
if (x == 1) return b;
if (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;
return b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;
}
public static int fast_pow (int b, int x) {
if (x == 0) return 1;
if (x == 1) return b;
if (x % 2 == 0) return fast_pow (b * b, x / 2);
return b * fast_pow (b * b, x / 2);
}
public static long choose (long n, long k) {
k = Math.min (k, n - k);
long val = 1;
for (int i = 0; i < k; ++i)
val = val * (n - i) / (i + 1);
return val;
}
public static long permute (int n, int k) {
if (n < k) return 0;
long val = 1;
for (int i = 0; i < k; ++i)
val = (val * (n - i));
return val;
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
30,
41,
13,
20,
4,
18,
20,
4,
18,
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,
12,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
12,
13,
30,
41,
13,
2,
13,
17,
0,
13,
8,
2,
13,
17,
17,
13,
41,
13,
4,
18,
4,
18,
13,
2,
13,
17,
14,
2,
13,
13,
30,
29,
13,
30,
29,
2,
4,
13,
2,
2,
13,
13,
17,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
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,
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
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
22,
29
],
[
29,
30
],
[
30,
31
],
[
15,
32
],
[
32,
33
],
[
13,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
34,
38
],
[
38,
39
],
[
34,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
40,
53
],
[
53,
54
],
[
40,
55
],
[
55,
56
],
[
34,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
59,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
34,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
81,
86
],
[
73,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
73,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
97,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
106,
114
],
[
71,
115
],
[
115,
116
],
[
13,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
117,
124
],
[
124,
125
],
[
124,
126
],
[
117,
128
],
[
128,
129
],
[
128,
130
],
[
117,
131
],
[
131,
132
],
[
131,
133
],
[
117,
134
],
[
134,
135
],
[
134,
136
],
[
117,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
140,
144
],
[
144,
145
],
[
145,
146
],
[
140,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
151,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
147,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
170,
171
],
[
139,
172
],
[
172,
173
],
[
117,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
177,
185
],
[
185,
186
],
[
186,
187
],
[
117,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
196,
198
],
[
188,
199
],
[
199,
200
],
[
117,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
211,
213
],
[
204,
214
],
[
214,
215
],
[
203,
216
],
[
216,
217
],
[
217,
218
],
[
117,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
222,
226
],
[
226,
227
],
[
221,
228
],
[
228,
229
],
[
228,
230
],
[
221,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
221,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
235,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
240,
243
],
[
239,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
221,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
117,
252
],
[
252,
253
],
[
252,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
255,
259
],
[
259,
260
],
[
254,
261
],
[
261,
262
],
[
261,
263
],
[
254,
264
],
[
264,
265
],
[
264,
266
],
[
254,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
254,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
254,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
288,
290
],
[
283,
291
],
[
291,
292
],
[
292,
293
],
[
254,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
299,
300
],
[
299,
301
],
[
298,
302
],
[
302,
303
],
[
302,
304
],
[
297,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
305,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
311,
313
],
[
297,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
315,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
314,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
326,
330
],
[
314,
331
],
[
331,
332
],
[
332,
333
],
[
296,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
117,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
340,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
349,
350
],
[
349,
351
],
[
346,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
354,
356
],
[
345,
357
],
[
357,
358
],
[
340,
359
],
[
359,
360
],
[
117,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
365,
368
],
[
368,
369
],
[
117,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
372,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
377,
382
],
[
382,
383
],
[
382,
384
],
[
377,
385
],
[
385,
386
],
[
386,
387
],
[
377,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
389,
393
],
[
393,
394
],
[
372,
395
],
[
395,
396
],
[
370,
397
],
[
397,
398
],
[
117,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
401,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
406,
411
],
[
411,
412
],
[
411,
413
],
[
406,
414
],
[
414,
415
],
[
415,
416
],
[
406,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
418,
422
],
[
422,
423
],
[
401,
424
],
[
424,
425
],
[
399,
426
],
[
426,
427
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\nclass Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n long n = sc.nextLong();\n writer.println(toAlphabet(n));\n }\n\n private String toAlphabet(long n) {\n long x = n % 26;\n x = (x == 0) ? 26 : x;\n String s = String.valueOf((char) (x + 64)).toLowerCase();\n if (x == n) {\n return s;\n } else {\n return toAlphabet((n - x) / 26) + s;\n }\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static 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 public FastScanner() {\n }\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 (final 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 boolean isPrintableChar(final 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 final 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 final 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 public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\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.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"class Main {\n\n static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n long n = sc.nextLong();\n writer.println(toAlphabet(n));\n }\n\n private String toAlphabet(long n) {\n long x = n % 26;\n x = (x == 0) ? 26 : x;\n String s = String.valueOf((char) (x + 64)).toLowerCase();\n if (x == n) {\n return s;\n } else {\n return toAlphabet((n - x) / 26) + s;\n }\n }\n }\n\n public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }\n\n // FastScanner\n static 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 public FastScanner() {\n }\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 (final 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 boolean isPrintableChar(final 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 final 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 final 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 public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n}",
"Main",
"public static void main(final String[] args) {\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"main",
"{\n final FastScanner sc = new FastScanner();\n try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }\n }",
"final FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"try (final PrintWriter w = new PrintWriter(System.out)) {\n new Solver(sc, w).run();\n w.flush();\n }",
"{\n new Solver(sc, w).run();\n w.flush();\n }",
"final PrintWriter w = new PrintWriter(System.out)",
"final PrintWriter w = new PrintWriter(System.out)",
"new PrintWriter(System.out)",
"new Solver(sc, w).run()",
"new Solver(sc, w).run",
"new Solver(sc, w)",
"w.flush()",
"w.flush",
"w",
"final String[] args",
"args",
"static class Solver {\n final FastScanner sc;\n final PrintWriter writer;\n\n Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }\n\n void run() {\n long n = sc.nextLong();\n writer.println(toAlphabet(n));\n }\n\n private String toAlphabet(long n) {\n long x = n % 26;\n x = (x == 0) ? 26 : x;\n String s = String.valueOf((char) (x + 64)).toLowerCase();\n if (x == n) {\n return s;\n } else {\n return toAlphabet((n - x) / 26) + s;\n }\n }\n }",
"Solver",
"final FastScanner sc;",
"sc",
"final PrintWriter writer;",
"writer",
"Solver(final FastScanner sc, final PrintWriter writer) {\n this.sc = sc;\n this.writer = writer;\n }",
"Solver",
"{\n this.sc = sc;\n this.writer = writer;\n }",
"this.sc = sc",
"this.sc",
"this",
"this.sc",
"sc",
"this.writer = writer",
"this.writer",
"this",
"this.writer",
"writer",
"final FastScanner sc",
"sc",
"final PrintWriter writer",
"writer",
"void run() {\n long n = sc.nextLong();\n writer.println(toAlphabet(n));\n }",
"run",
"{\n long n = sc.nextLong();\n writer.println(toAlphabet(n));\n }",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"writer.println(toAlphabet(n))",
"writer.println",
"writer",
"toAlphabet(n)",
"toAlphabet",
"n",
"private String toAlphabet(long n) {\n long x = n % 26;\n x = (x == 0) ? 26 : x;\n String s = String.valueOf((char) (x + 64)).toLowerCase();\n if (x == n) {\n return s;\n } else {\n return toAlphabet((n - x) / 26) + s;\n }\n }",
"toAlphabet",
"{\n long x = n % 26;\n x = (x == 0) ? 26 : x;\n String s = String.valueOf((char) (x + 64)).toLowerCase();\n if (x == n) {\n return s;\n } else {\n return toAlphabet((n - x) / 26) + s;\n }\n }",
"long x = n % 26;",
"x",
"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 + 64)).toLowerCase();",
"s",
"String.valueOf((char) (x + 64)).toLowerCase()",
"String.valueOf((char) (x + 64)).toLowerCase",
"String.valueOf((char) (x + 64))",
"String.valueOf",
"String",
"(char) (x + 64)",
"x",
"64",
"if (x == n) {\n return s;\n } else {\n return toAlphabet((n - x) / 26) + s;\n }",
"x == n",
"x",
"n",
"{\n return s;\n }",
"return s;",
"s",
"{\n return toAlphabet((n - x) / 26) + s;\n }",
"return toAlphabet((n - x) / 26) + s;",
"toAlphabet((n - x) / 26) + s",
"toAlphabet((n - x) / 26)",
"toAlphabet",
"(n - x) / 26",
"(n - x)",
"n",
"x",
"26",
"s",
"long n",
"n",
"static 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 public FastScanner() {\n }\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 (final 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 boolean isPrintableChar(final 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 final 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 final 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 public int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\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",
"public FastScanner() {\n }",
"FastScanner",
"{\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 (final 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 (final 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 (final 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 (final 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 (final IOException e) {\n e.printStackTrace();\n }",
"catch (final IOException e) {\n e.printStackTrace();\n }",
"final 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 boolean isPrintableChar(final 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",
"final 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 final 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 final 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()",
"final 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 final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"nextInt",
"{\n final long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n throw new NumberFormatException();\n return (int) nl;\n }",
"final 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 int[] nextIntArray(final int n) {\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"nextIntArray",
"{\n final int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }",
"final int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n 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",
"final int n",
"n",
"public long[] nextLongArray(final int n) {\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"nextLongArray",
"{\n final long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }",
"final long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n a[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextLong();",
"a[i] = nextLong()",
"a[i]",
"a",
"i",
"nextLong()",
"nextLong",
"return a;",
"a",
"final int n",
"n"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
class Main {
static class Solver {
final FastScanner sc;
final PrintWriter writer;
Solver(final FastScanner sc, final PrintWriter writer) {
this.sc = sc;
this.writer = writer;
}
void run() {
long n = sc.nextLong();
writer.println(toAlphabet(n));
}
private String toAlphabet(long n) {
long x = n % 26;
x = (x == 0) ? 26 : x;
String s = String.valueOf((char) (x + 64)).toLowerCase();
if (x == n) {
return s;
} else {
return toAlphabet((n - x) / 26) + s;
}
}
}
public static void main(final String[] args) {
final FastScanner sc = new FastScanner();
try (final PrintWriter w = new PrintWriter(System.out)) {
new Solver(sc, w).run();
w.flush();
}
}
// FastScanner
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
public FastScanner() {
}
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (final IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte())
return buffer[ptr++];
else
return -1;
}
private boolean isPrintableChar(final 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();
final 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() {
final 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 int[] nextIntArray(final int n) {
final int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(final int n) {
final long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nextLong();
return a;
}
}
}
|
[
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,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
17,
17,
40,
13,
0,
13,
2,
2,
13,
13,
17,
42,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
13,
41,
13,
2,
13,
13,
4,
18,
18,
13,
13,
2,
13,
17,
0,
13,
2,
13,
13,
40,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
83,
5
],
[
83,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
23,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
31,
39
],
[
39,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
44,
44
],
[
44,
45
],
[
44,
46
],
[
44,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
52,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
52,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
52,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
52,
78
],
[
78,
79
],
[
6,
80
],
[
80,
81
],
[
0,
82
],
[
82,
83
],
[
82,
84
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong n = s.nextLong();\n\t\t\n\t\tint ctr = 0;\n\t\tlong num = 0;\n\t\t\n\t\twhile(n>num*26+26) {\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}\n\t\tn = n-num-1;\n\t\twhile(ctr>=0) {\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}\n\t\t\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\tScanner s = new Scanner(System.in);\n\t\tlong n = s.nextLong();\n\t\t\n\t\tint ctr = 0;\n\t\tlong num = 0;\n\t\t\n\t\twhile(n>num*26+26) {\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}\n\t\tn = n-num-1;\n\t\twhile(ctr>=0) {\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}\n\t\t\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong n = s.nextLong();\n\t\t\n\t\tint ctr = 0;\n\t\tlong num = 0;\n\t\t\n\t\twhile(n>num*26+26) {\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}\n\t\tn = n-num-1;\n\t\twhile(ctr>=0) {\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}\n\t\t\n\t\t\n\t}",
"main",
"{\n\t\tScanner s = new Scanner(System.in);\n\t\tlong n = s.nextLong();\n\t\t\n\t\tint ctr = 0;\n\t\tlong num = 0;\n\t\t\n\t\twhile(n>num*26+26) {\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}\n\t\tn = n-num-1;\n\t\twhile(ctr>=0) {\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}\n\t\t\n\t\t\n\t}",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"int ctr = 0;",
"ctr",
"0",
"long num = 0;",
"num",
"0",
"while(n>num*26+26) {\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}",
"n>num*26+26",
"n",
"num*26+26",
"num*26",
"num",
"26",
"26",
"{\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}",
"num = num*26+26",
"num",
"num*26+26",
"num*26",
"num",
"26",
"26",
"ctr++",
"ctr",
"n = n-num-1",
"n",
"n-num-1",
"n-num-1",
"n",
"num",
"1",
"while(ctr>=0) {\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}",
"ctr>=0",
"ctr",
"0",
"{\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}",
"long ans = (long)(Math.pow(26, ctr));",
"ans",
"(long)(Math.pow(26, ctr))",
"Math.pow",
"Math",
"26",
"ctr",
"long r = (n/ans);",
"r",
"(n/ans)",
"n",
"ans",
"System.out.print((char)(r+97))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(r+97)",
"r",
"97",
"n = n%ans",
"n",
"n%ans",
"n",
"ans",
"ctr--",
"ctr",
"String[] args",
"args",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong n = s.nextLong();\n\t\t\n\t\tint ctr = 0;\n\t\tlong num = 0;\n\t\t\n\t\twhile(n>num*26+26) {\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}\n\t\tn = n-num-1;\n\t\twhile(ctr>=0) {\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}\n\t\t\n\t\t\n\t}\n\n}",
"public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(System.in);\n\t\tlong n = s.nextLong();\n\t\t\n\t\tint ctr = 0;\n\t\tlong num = 0;\n\t\t\n\t\twhile(n>num*26+26) {\n\t\t\tnum = num*26+26;\n\t\t\tctr++;\n\t\t}\n\t\tn = n-num-1;\n\t\twhile(ctr>=0) {\n\t\t\tlong ans = (long)(Math.pow(26, ctr));\n\t\t\tlong r = (n/ans);\n\t\t\tSystem.out.print((char)(r+97));\n\t\t\tn = n%ans;\n\t\t\tctr--;\n\t\t}\n\t\t\n\t\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long n = s.nextLong();
int ctr = 0;
long num = 0;
while(n>num*26+26) {
num = num*26+26;
ctr++;
}
n = n-num-1;
while(ctr>=0) {
long ans = (long)(Math.pow(26, ctr));
long r = (n/ans);
System.out.print((char)(r+97));
n = n%ans;
ctr--;
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
14,
2,
13,
17,
0,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
2,
13,
17,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
14,
13,
4,
18,
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
],
[
78,
5
],
[
78,
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
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
30,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
35,
49
],
[
49,
50
],
[
49,
51
],
[
35,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.*;\npublic class Main {\n \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 boolean flag = false;\n if(n == 1) \n flag = true;\n while(--n >= 1) {\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }\n if(flag)\n sb.append('a');\n System.out.println(sb.reverse().toString());\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 StringBuilder sb = new StringBuilder();\n boolean flag = false;\n if(n == 1) \n flag = true;\n while(--n >= 1) {\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }\n if(flag)\n sb.append('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 boolean flag = false;\n if(n == 1) \n flag = true;\n while(--n >= 1) {\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }\n if(flag)\n sb.append('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 boolean flag = false;\n if(n == 1) \n flag = true;\n while(--n >= 1) {\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }\n if(flag)\n sb.append('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()",
"boolean flag = false;",
"flag",
"false",
"if(n == 1) \n flag = true;",
"n == 1",
"n",
"1",
"flag = true",
"flag",
"true",
"while(--n >= 1) {\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }",
"--n >= 1",
"--n",
"n",
"1",
"{\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }",
"long res = n % 26;",
"res",
"n % 26",
"n",
"26",
"sb.append((char)((res) % 26 + 'a'))",
"sb.append",
"sb",
"(char)((res) % 26 + 'a')",
"(res) % 26",
"(res)",
"26",
"'a'",
"n /= 26",
"n",
"26",
"if(n == 1) \n flag = true;",
"n == 1",
"n",
"1",
"flag = true",
"flag",
"true",
"if(flag)\n sb.append('a');",
"flag",
"sb.append('a')",
"sb.append",
"sb",
"'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 \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 boolean flag = false;\n if(n == 1) \n flag = true;\n while(--n >= 1) {\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }\n if(flag)\n sb.append('a');\n System.out.println(sb.reverse().toString());\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 StringBuilder sb = new StringBuilder();\n boolean flag = false;\n if(n == 1) \n flag = true;\n while(--n >= 1) {\n long res = n % 26;\n sb.append((char)((res) % 26 + 'a'));\n n /= 26 ;\n if(n == 1) \n flag = true;\n }\n if(flag)\n sb.append('a');\n System.out.println(sb.reverse().toString());\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();
boolean flag = false;
if(n == 1)
flag = true;
while(--n >= 1) {
long res = n % 26;
sb.append((char)((res) % 26 + 'a'));
n /= 26 ;
if(n == 1)
flag = true;
}
if(flag)
sb.append('a');
System.out.println(sb.reverse().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,
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,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
30,
0,
13,
2,
13,
17,
4,
18,
13,
13,
14,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
13,
13,
28,
13,
13,
30,
30,
4,
18,
13,
13,
4,
18,
13,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
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,
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
],
[
212,
26
],
[
212,
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
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
29,
46
],
[
46,
47
],
[
46,
48
],
[
29,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
29,
54
],
[
54,
55
],
[
55,
56
],
[
27,
57
],
[
57,
58
],
[
212,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
65,
71
],
[
71,
72
],
[
71,
73
],
[
65,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
78,
84
],
[
84,
85
],
[
84,
86
],
[
78,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
78,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
78,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
105,
109
],
[
109,
110
],
[
110,
111
],
[
78,
112
],
[
112,
113
],
[
112,
114
],
[
65,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
65,
119
],
[
119,
120
],
[
119,
121
],
[
119,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
65,
128
],
[
128,
129
],
[
129,
130
],
[
63,
131
],
[
131,
132
],
[
63,
133
],
[
133,
134
],
[
59,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
135,
147
],
[
147,
148
],
[
212,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
149,
153
],
[
153,
154
],
[
149,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
161,
163
],
[
155,
164
],
[
164,
165
],
[
149,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
169,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
179,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
168,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
149,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
197,
200
],
[
200,
201
],
[
149,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
209,
210
],
[
0,
211
],
[
211,
212
],
[
211,
213
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.*;\nimport java.awt.Point;\n\npublic class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n long N;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n N = in.nextLong();\n ArrayList<Character> al = new ArrayList<>();\n while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }\n\n Collections.reverse(al);\n for (Character c : al) {\n out.print(c);\n }\n out.println();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public 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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\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.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.awt.Point;",
"Point",
"java.awt",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n long N;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n N = in.nextLong();\n ArrayList<Character> al = new ArrayList<>();\n while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }\n\n Collections.reverse(al);\n for (Character c : al) {\n out.print(c);\n }\n out.println();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public 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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main",
"public 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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Solver solver = new Solver();\n solver.solve(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",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Solver solver = new Solver();",
"solver",
"new Solver()",
"solver.solve(in, out)",
"solver.solve",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Solver {\n long N;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n N = in.nextLong();\n ArrayList<Character> al = new ArrayList<>();\n while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }\n\n Collections.reverse(al);\n for (Character c : al) {\n out.print(c);\n }\n out.println();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }",
"Solver",
"long N;",
"N",
"// write your code\n void solve(InputReader in, PrintWriter out) {\n N = in.nextLong();\n ArrayList<Character> al = new ArrayList<>();\n while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }\n\n Collections.reverse(al);\n for (Character c : al) {\n out.print(c);\n }\n out.println();\n }",
"solve",
"{\n N = in.nextLong();\n ArrayList<Character> al = new ArrayList<>();\n while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }\n\n Collections.reverse(al);\n for (Character c : al) {\n out.print(c);\n }\n out.println();\n }",
"N = in.nextLong()",
"N",
"in.nextLong()",
"in.nextLong",
"in",
"ArrayList<Character> al = new ArrayList<>();",
"al",
"new ArrayList<>()",
"while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }",
"N > 0",
"N",
"0",
"{\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }",
"long r = N % 26;",
"r",
"N % 26",
"N",
"26",
"char c = 'a';",
"c",
"'a'",
"if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }",
"r == 0",
"r",
"0",
"{\n c = 'z';\n }",
"c = 'z'",
"c",
"'z'",
"{\n c += (char) (r - 1);\n }",
"c += (char) (r - 1)",
"c",
"(char) (r - 1)",
"r",
"1",
"al.add(c)",
"al.add",
"al",
"c",
"if (r == 0) {\n N--;\n }",
"r == 0",
"r",
"0",
"{\n N--;\n }",
"N--",
"N",
"N /= 26",
"N",
"26",
"Collections.reverse(al)",
"Collections.reverse",
"Collections",
"al",
"for (Character c : al) {\n out.print(c);\n }",
"Character c",
"al",
"{\n out.print(c);\n }",
"{\n out.print(c);\n }",
"out.print(c)",
"out.print",
"out",
"c",
"out.println()",
"out.println",
"out",
"InputReader in",
"in",
"PrintWriter out",
"out",
"void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }",
"debug",
"{\n System.err.println(Arrays.deepToString(os));\n }",
"System.err.println(Arrays.deepToString(os))",
"System.err.println",
"System.err",
"System",
"System.err",
"Arrays.deepToString(os)",
"Arrays.deepToString",
"Arrays",
"os",
"Object... os",
"os",
"static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }",
"InputReader",
"BufferedReader reader;",
"reader",
"StringTokenizer tokenizer;",
"tokenizer",
"InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"InputReader",
"{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }",
"reader = new BufferedReader(new InputStreamReader(stream), 32768)",
"reader",
"new BufferedReader(new InputStreamReader(stream), 32768)",
"tokenizer = null",
"tokenizer",
"null",
"InputStream stream",
"stream",
"String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"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",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n long N;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n N = in.nextLong();\n ArrayList<Character> al = new ArrayList<>();\n while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }\n\n Collections.reverse(al);\n for (Character c : al) {\n out.print(c);\n }\n out.println();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public 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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"public class Main {\n // static int INF = (1 << 30) - 1;\n // static long L_INF = (1L << 62) - 1;\n // static long MOD = (long) 1e9 + 7;\n\n static class Solver {\n long N;\n // int[] A;\n\n // write your code\n void solve(InputReader in, PrintWriter out) {\n N = in.nextLong();\n ArrayList<Character> al = new ArrayList<>();\n while (N > 0) {\n long r = N % 26;\n char c = 'a';\n if (r == 0) {\n c = 'z';\n } else {\n c += (char) (r - 1);\n }\n al.add(c);\n if (r == 0) {\n N--;\n }\n N /= 26;\n }\n\n Collections.reverse(al);\n for (Character c : al) {\n out.print(c);\n }\n out.println();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n }\n\n public 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 Solver solver = new Solver();\n solver.solve(in, out);\n out.close();\n }\n\n static class InputReader {\n BufferedReader reader;\n StringTokenizer tokenizer;\n\n InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.*;
import java.awt.Point;
public class Main {
// static int INF = (1 << 30) - 1;
// static long L_INF = (1L << 62) - 1;
// static long MOD = (long) 1e9 + 7;
static class Solver {
long N;
// int[] A;
// write your code
void solve(InputReader in, PrintWriter out) {
N = in.nextLong();
ArrayList<Character> al = new ArrayList<>();
while (N > 0) {
long r = N % 26;
char c = 'a';
if (r == 0) {
c = 'z';
} else {
c += (char) (r - 1);
}
al.add(c);
if (r == 0) {
N--;
}
N /= 26;
}
Collections.reverse(al);
for (Character c : al) {
out.print(c);
}
out.println();
}
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
}
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Solver solver = new Solver();
solver.solve(in, out);
out.close();
}
static class InputReader {
BufferedReader reader;
StringTokenizer tokenizer;
InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
}
}
|
[
7,
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,
40,
13,
4,
18,
13,
17,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
13,
4,
18,
13,
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,
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,
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,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
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,
36,
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,
18,
36,
29,
13,
23,
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,
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,
2,
2,
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
],
[
452,
8
],
[
452,
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
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
11,
51
],
[
51,
52
],
[
52,
53
],
[
9,
54
],
[
54,
55
],
[
452,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
64
],
[
64,
65
],
[
56,
66
],
[
66,
67
],
[
56,
68
],
[
68,
69
],
[
56,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
70,
78
],
[
78,
79
],
[
56,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
83,
88
],
[
88,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
94,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
82,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
56,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
125,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
125,
139
],
[
139,
140
],
[
139,
141
],
[
125,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
125,
155
],
[
155,
156
],
[
155,
157
],
[
125,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
158,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
169,
171
],
[
164,
172
],
[
172,
173
],
[
163,
174
],
[
174,
175
],
[
174,
176
],
[
163,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
179,
181
],
[
163,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
125,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
56,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
192,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
192,
206
],
[
206,
207
],
[
206,
208
],
[
192,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
213,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
192,
222
],
[
222,
223
],
[
222,
224
],
[
192,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
225,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
231,
239
],
[
239,
240
],
[
230,
241
],
[
241,
242
],
[
241,
243
],
[
230,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
246,
248
],
[
230,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
192,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
56,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
259,
264
],
[
264,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
264,
269
],
[
269,
270
],
[
269,
271
],
[
264,
272
],
[
272,
273
],
[
273,
274
],
[
264,
275
],
[
276,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
282,
283
],
[
259,
284
],
[
284,
285
],
[
257,
286
],
[
286,
287
],
[
56,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
297,
299
],
[
295,
300
],
[
300,
301
],
[
300,
302
],
[
295,
303
],
[
303,
304
],
[
304,
305
],
[
295,
306
],
[
307,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
308,
312
],
[
312,
313
],
[
313,
314
],
[
290,
315
],
[
315,
316
],
[
288,
317
],
[
317,
318
],
[
56,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
321,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
330,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
321,
335
],
[
335,
336
],
[
335,
337
],
[
321,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
340,
342
],
[
338,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
344,
347
],
[
343,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
321,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
56,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
358,
363
],
[
363,
364
],
[
364,
365
],
[
364,
366
],
[
363,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
358,
371
],
[
371,
372
],
[
371,
373
],
[
358,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
374,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
380,
383
],
[
379,
384
],
[
384,
385
],
[
384,
386
],
[
386,
387
],
[
358,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
56,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
396,
398
],
[
395,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
400,
403
],
[
394,
404
],
[
404,
405
],
[
408,
406
],
[
418,
407
],
[
415,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
408,
412
],
[
412,
413
],
[
412,
414
],
[
415,
415
],
[
415,
416
],
[
415,
417
],
[
418,
418
],
[
418,
419
],
[
418,
420
],
[
408,
421
],
[
421,
422
],
[
421,
423
],
[
423,
424
],
[
392,
425
],
[
425,
426
],
[
56,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
432,
432
],
[
432,
433
],
[
433,
434
],
[
433,
435
],
[
432,
436
],
[
436,
437
],
[
436,
438
],
[
432,
439
],
[
439,
440
],
[
439,
441
],
[
441,
442
],
[
427,
443
],
[
443,
444
],
[
56,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
447,
449
],
[
449,
450
],
[
0,
451
],
[
451,
452
],
[
451,
453
]
]
| [
"\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n long n = in.nextLong();\n StringBuilder result = new StringBuilder();\n while (n > 0) {\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }\n w.println(result.toString());\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(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 private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n long n = in.nextLong();\n StringBuilder result = new StringBuilder();\n while (n > 0) {\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }\n w.println(result.toString());\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(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 private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n long n = in.nextLong();\n StringBuilder result = new StringBuilder();\n while (n > 0) {\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }\n w.println(result.toString());\n w.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n long n = in.nextLong();\n StringBuilder result = new StringBuilder();\n while (n > 0) {\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }\n w.println(result.toString());\n w.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"PrintWriter w = new PrintWriter(System.out);",
"w",
"new PrintWriter(System.out)",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"StringBuilder result = new StringBuilder();",
"result",
"new StringBuilder()",
"while (n > 0) {\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }",
"n--",
"n",
"result.insert(0, (char) ('a' + n % 26))",
"result.insert",
"result",
"0",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"w.println(result.toString())",
"w.println",
"w",
"result.toString()",
"result.toString",
"result",
"w.close()",
"w.close",
"w",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(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 private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"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 snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"snext",
"{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1)\n throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = 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 snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0)\n return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextInt",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"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 = snext();\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 = snext();\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 = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = snext();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = snext();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = snext()",
"c",
"snext()",
"snext",
"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 = snext();\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 = snext();\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 = snext()",
"c",
"snext()",
"snext",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }",
"nextIntArray",
"{\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.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] = this.nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = this.nextInt();\n }",
"{\n a[i] = this.nextInt();\n }",
"a[i] = this.nextInt()",
"a[i]",
"a",
"i",
"this.nextInt()",
"this.nextInt",
"this",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }",
"nextLongArray",
"{\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.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] = this.nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n a[i] = this.nextLong();\n }",
"{\n a[i] = this.nextLong();\n }",
"a[i] = this.nextLong()",
"a[i]",
"a",
"i",
"this.nextLong()",
"this.nextLong",
"this",
"return a;",
"a",
"int n",
"n",
"public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"readString",
"{\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c)) {\n c = snext();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = snext();\n }",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));\n return res.toString();\n }",
"int c = snext();",
"c",
"snext()",
"snext",
"while (isSpaceChar(c))\n c = snext();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(c));",
"!isEndOfLine(c)",
"isEndOfLine(c)",
"isEndOfLine",
"c",
"{\n res.appendCodePoint(c);\n c = snext();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = snext()",
"c",
"snext()",
"snext",
"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",
"private 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 interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n long n = in.nextLong();\n StringBuilder result = new StringBuilder();\n while (n > 0) {\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }\n w.println(result.toString());\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(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 private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n PrintWriter w = new PrintWriter(System.out);\n long n = in.nextLong();\n StringBuilder result = new StringBuilder();\n while (n > 0) {\n n--;\n result.insert(0, (char) ('a' + n % 26));\n n /= 26;\n }\n w.println(result.toString());\n w.close();\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n private SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int snext() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = snext();\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 = snext();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextInt();\n }\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++) {\n a[i] = this.nextLong();\n }\n return a;\n }\n\n public String readString() {\n int c = snext();\n while (isSpaceChar(c)) {\n c = snext();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = snext();\n while (isSpaceChar(c))\n c = snext();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = snext();\n } while (!isEndOfLine(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 private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n }\n }\n}",
"Main"
]
|
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
InputReader in = new InputReader(System.in);
PrintWriter w = new PrintWriter(System.out);
long n = in.nextLong();
StringBuilder result = new StringBuilder();
while (n > 0) {
n--;
result.insert(0, (char) ('a' + n % 26));
n /= 26;
}
w.println(result.toString());
w.close();
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
private SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int snext() {
if (snumChars == -1)
throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
int res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = snext();
}
long res = 0;
do {
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = snext();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int a[] = new int[n];
for (int i = 0; i < n; i++) {
a[i] = this.nextInt();
}
return a;
}
public long[] nextLongArray(int n) {
long a[] = new long[n];
for (int i = 0; i < n; i++) {
a[i] = this.nextLong();
}
return a;
}
public String readString() {
int c = snext();
while (isSpaceChar(c)) {
c = snext();
}
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isSpaceChar(c));
return res.toString();
}
public String nextLine() {
int c = snext();
while (isSpaceChar(c))
c = snext();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = snext();
} while (!isEndOfLine(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;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
17,
41,
13,
20,
4,
18,
13,
2,
17,
2,
13,
13,
41,
13,
2,
13,
13,
42,
2,
17,
13,
30,
4,
18,
13,
2,
17,
2,
2,
13,
17,
13,
0,
13,
2,
2,
13,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
8,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
42,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final long N = sc.nextLong() - 1;\n final int NUM = 26;\n \n StringBuilder str = new StringBuilder();\n str.append((char) ('a' + N % NUM));\n long n = N / NUM;\n \n while (0 < n) {\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }\n \n System.out.println(str.reverse());\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 \n final long N = sc.nextLong() - 1;\n final int NUM = 26;\n \n StringBuilder str = new StringBuilder();\n str.append((char) ('a' + N % NUM));\n long n = N / NUM;\n \n while (0 < n) {\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }\n \n System.out.println(str.reverse());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final long N = sc.nextLong() - 1;\n final int NUM = 26;\n \n StringBuilder str = new StringBuilder();\n str.append((char) ('a' + N % NUM));\n long n = N / NUM;\n \n while (0 < n) {\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }\n \n System.out.println(str.reverse());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n final long N = sc.nextLong() - 1;\n final int NUM = 26;\n \n StringBuilder str = new StringBuilder();\n str.append((char) ('a' + N % NUM));\n long n = N / NUM;\n \n while (0 < n) {\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }\n \n System.out.println(str.reverse());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final long N = sc.nextLong() - 1;",
"N",
"sc.nextLong() - 1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"1",
"final int NUM = 26;",
"NUM",
"26",
"StringBuilder str = new StringBuilder();",
"str",
"new StringBuilder()",
"str.append((char) ('a' + N % NUM))",
"str.append",
"str",
"(char) ('a' + N % NUM)",
"'a'",
"N % NUM",
"N",
"NUM",
"long n = N / NUM;",
"n",
"N / NUM",
"N",
"NUM",
"while (0 < n) {\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }",
"0 < n",
"0",
"n",
"{\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }",
"str.append((char) ('a' + (n - 1) % NUM))",
"str.append",
"str",
"(char) ('a' + (n - 1) % NUM)",
"'a'",
"(n - 1) % NUM",
"(n - 1)",
"n",
"1",
"NUM",
"n = (n - 1) / NUM",
"n",
"(n - 1) / NUM",
"(n - 1)",
"n",
"1",
"NUM",
"System.out.println(str.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.reverse()",
"str.reverse",
"str",
"String[] args",
"args",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final long N = sc.nextLong() - 1;\n final int NUM = 26;\n \n StringBuilder str = new StringBuilder();\n str.append((char) ('a' + N % NUM));\n long n = N / NUM;\n \n while (0 < n) {\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }\n \n System.out.println(str.reverse());\n }\n}",
"public class Main {\n \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n final long N = sc.nextLong() - 1;\n final int NUM = 26;\n \n StringBuilder str = new StringBuilder();\n str.append((char) ('a' + N % NUM));\n long n = N / NUM;\n \n while (0 < n) {\n str.append((char) ('a' + (n - 1) % NUM));\n n = (n - 1) / NUM;\n }\n \n System.out.println(str.reverse());\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
final long N = sc.nextLong() - 1;
final int NUM = 26;
StringBuilder str = new StringBuilder();
str.append((char) ('a' + N % NUM));
long n = N / NUM;
while (0 < n) {
str.append((char) ('a' + (n - 1) % NUM));
n = (n - 1) / NUM;
}
System.out.println(str.reverse());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
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,
17,
18,
13,
2,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
18,
13,
13,
30,
0,
13,
18,
13,
13,
40,
13,
41,
13,
17,
40,
13,
42,
2,
13,
17,
30,
0,
13,
2,
2,
17,
2,
13,
17,
13,
0,
13,
17,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
112,
8
],
[
112,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
11,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
30,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
11,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
11,
61
],
[
61,
62
],
[
61,
63
],
[
11,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
70,
76
],
[
76,
77
],
[
11,
78
],
[
78,
79
],
[
78,
80
],
[
11,
81
],
[
81,
82
],
[
11,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
90,
96
],
[
87,
97
],
[
97,
98
],
[
97,
99
],
[
87,
100
],
[
100,
101
],
[
11,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
11,
106
],
[
106,
107
],
[
107,
108
],
[
9,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long[] pow = new long[11];\n pow[0] = 26;\n for(int i = 1; i < 11; i++)\n \t pow[i] = 26*pow[i-1];\n long n = Long.parseLong(st.nextToken());\n int i = 0;\n while(n > pow[i]) {\n \t n -= pow[i];\n \t i++;\n }\n String ans = \"\";\n n--;\n while(i >= 0) {\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }\n out.println(ans);\n out.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long[] pow = new long[11];\n pow[0] = 26;\n for(int i = 1; i < 11; i++)\n \t pow[i] = 26*pow[i-1];\n long n = Long.parseLong(st.nextToken());\n int i = 0;\n while(n > pow[i]) {\n \t n -= pow[i];\n \t i++;\n }\n String ans = \"\";\n n--;\n while(i >= 0) {\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }\n out.println(ans);\n out.close();\n }\n}",
"Main",
"public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long[] pow = new long[11];\n pow[0] = 26;\n for(int i = 1; i < 11; i++)\n \t pow[i] = 26*pow[i-1];\n long n = Long.parseLong(st.nextToken());\n int i = 0;\n while(n > pow[i]) {\n \t n -= pow[i];\n \t i++;\n }\n String ans = \"\";\n n--;\n while(i >= 0) {\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }\n out.println(ans);\n out.close();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long[] pow = new long[11];\n pow[0] = 26;\n for(int i = 1; i < 11; i++)\n \t pow[i] = 26*pow[i-1];\n long n = Long.parseLong(st.nextToken());\n int i = 0;\n while(n > pow[i]) {\n \t n -= pow[i];\n \t i++;\n }\n String ans = \"\";\n n--;\n while(i >= 0) {\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }\n out.println(ans);\n out.close();\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())",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"long[] pow = new long[11];",
"pow",
"new long[11]",
"11",
"pow[0] = 26",
"pow[0]",
"pow",
"0",
"26",
"for(int i = 1; i < 11; i++)\n \t pow[i] = 26*pow[i-1];",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 11",
"i",
"11",
"i++",
"i++",
"i",
"pow[i] = 26*pow[i-1];",
"pow[i] = 26*pow[i-1]",
"pow[i]",
"pow",
"i",
"26*pow[i-1]",
"26",
"pow[i-1]",
"pow",
"i-1",
"i",
"1",
"long n = Long.parseLong(st.nextToken());",
"n",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"int i = 0;",
"i",
"0",
"while(n > pow[i]) {\n \t n -= pow[i];\n \t i++;\n }",
"n > pow[i]",
"n",
"pow[i]",
"pow",
"i",
"{\n \t n -= pow[i];\n \t i++;\n }",
"n -= pow[i]",
"n",
"pow[i]",
"pow",
"i",
"i++",
"i",
"String ans = \"\";",
"ans",
"\"\"",
"n--",
"n",
"while(i >= 0) {\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }",
"i >= 0",
"i",
"0",
"{\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }",
"ans = (char)(97 + n%26) + ans",
"ans",
"(char)(97 + n%26) + ans",
"(char)(97 + n%26)",
"97",
"n%26",
"n",
"26",
"ans",
"n /= 26",
"n",
"26",
"i--",
"i",
"out.println(ans)",
"out.println",
"out",
"ans",
"out.close()",
"out.close",
"out",
"String[] main",
"main",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long[] pow = new long[11];\n pow[0] = 26;\n for(int i = 1; i < 11; i++)\n \t pow[i] = 26*pow[i-1];\n long n = Long.parseLong(st.nextToken());\n int i = 0;\n while(n > pow[i]) {\n \t n -= pow[i];\n \t i++;\n }\n String ans = \"\";\n n--;\n while(i >= 0) {\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }\n out.println(ans);\n out.close();\n }\n}",
"public class Main{\n public static void main(String[] main) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(br.readLine());\n PrintWriter out = new PrintWriter(System.out);\n long[] pow = new long[11];\n pow[0] = 26;\n for(int i = 1; i < 11; i++)\n \t pow[i] = 26*pow[i-1];\n long n = Long.parseLong(st.nextToken());\n int i = 0;\n while(n > pow[i]) {\n \t n -= pow[i];\n \t i++;\n }\n String ans = \"\";\n n--;\n while(i >= 0) {\n \t ans = (char)(97 + n%26) + ans;\n \t n /= 26;\n \t i--;\n }\n out.println(ans);\n out.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] main) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer(br.readLine());
PrintWriter out = new PrintWriter(System.out);
long[] pow = new long[11];
pow[0] = 26;
for(int i = 1; i < 11; i++)
pow[i] = 26*pow[i-1];
long n = Long.parseLong(st.nextToken());
int i = 0;
while(n > pow[i]) {
n -= pow[i];
i++;
}
String ans = "";
n--;
while(i >= 0) {
ans = (char)(97 + n%26) + ans;
n /= 26;
i--;
}
out.println(ans);
out.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
2,
13,
17,
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
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
32,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
50,
51
],
[
50,
52
],
[
45,
53
],
[
32,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.*;\n \npublic class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n\n for(;N>0;){\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n\n for(;N>0;){\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n\n for(;N>0;){\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }\n System.out.println(ans);\n }",
"main",
"{\n \n final Scanner sc = new Scanner(System.in);\n\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n\n for(;N>0;){\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }\n System.out.println(ans);\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String abc = \"abcdefghijklmnopqrstuvwxyz\";",
"abc",
"\"abcdefghijklmnopqrstuvwxyz\"",
"Long alf = 26l;",
"alf",
"26l",
"Long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"for(;N>0;){\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }",
";",
"N>0",
"N",
"0",
"{\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }",
"{\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }",
"Long Num = N-1;",
"Num",
"N-1",
"N",
"1",
"int tStr = (int)(Num%alf);",
"tStr",
"(int)(Num%alf)",
"Num",
"alf",
"ans = abc.substring(tStr,tStr+1)+ans",
"ans",
"abc.substring(tStr,tStr+1)+ans",
"abc.substring(tStr,tStr+1)",
"abc.substring",
"abc",
"tStr",
"tStr+1",
"tStr",
"1",
"ans",
"N = Num/alf",
"N",
"Num/alf",
"Num",
"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 String abc = \"abcdefghijklmnopqrstuvwxyz\";\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n\n for(;N>0;){\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }\n System.out.println(ans);\n }\n}",
"public class Main{\n public static void main(final String[] args){\n \n final Scanner sc = new Scanner(System.in);\n\n String abc = \"abcdefghijklmnopqrstuvwxyz\";\n Long alf = 26l;\n Long N = sc.nextLong();\n String ans = \"\";\n\n for(;N>0;){\n Long Num = N-1;\n int tStr = (int)(Num%alf);\n ans = abc.substring(tStr,tStr+1)+ans;\n N = Num/alf;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(final String[] args){
final Scanner sc = new Scanner(System.in);
String abc = "abcdefghijklmnopqrstuvwxyz";
Long alf = 26l;
Long N = sc.nextLong();
String ans = "";
for(;N>0;){
Long Num = N-1;
int tStr = (int)(Num%alf);
ans = abc.substring(tStr,tStr+1)+ans;
N = Num/alf;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
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
],
[
79,
5
],
[
79,
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
],
[
6,
20
],
[
20,
21
],
[
79,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
38,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
54,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
24,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
22,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n long n=sc.nextLong();\n printString(n);\n \n \n \n \n }\n \n \n \n private static void printString(long columnNumber) \n { \n // To store result (Excel column name) \n StringBuilder columnName = new StringBuilder(); \n \n while (columnNumber > 0) { \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n } \n \n // Reverse the string and print result \n System.out.println(columnName.reverse()); \n } \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n long n=sc.nextLong();\n printString(n);\n \n \n \n \n }\n \n \n \n private static void printString(long columnNumber) \n { \n // To store result (Excel column name) \n StringBuilder columnName = new StringBuilder(); \n \n while (columnNumber > 0) { \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n } \n \n // Reverse the string and print result \n System.out.println(columnName.reverse()); \n } \n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n long n=sc.nextLong();\n printString(n);\n \n \n \n \n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n \n long n=sc.nextLong();\n printString(n);\n \n \n \n \n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"printString(n)",
"printString",
"n",
"String[] args",
"args",
"private static void printString(long columnNumber) \n { \n // To store result (Excel column name) \n StringBuilder columnName = new StringBuilder(); \n \n while (columnNumber > 0) { \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n } \n \n // Reverse the string and print result \n System.out.println(columnName.reverse()); \n }",
"printString",
"{ \n // To store result (Excel column name) \n StringBuilder columnName = new StringBuilder(); \n \n while (columnNumber > 0) { \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n } \n \n // Reverse the string and print result \n System.out.println(columnName.reverse()); \n }",
"StringBuilder columnName = new StringBuilder();",
"columnName",
"new StringBuilder()",
"while (columnNumber > 0) { \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n }",
"columnNumber > 0",
"columnNumber",
"0",
"{ \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n }",
"long rem = columnNumber % 26;",
"rem",
"columnNumber % 26",
"columnNumber",
"26",
"if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n }",
"rem == 0",
"rem",
"0",
"{ \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n }",
"columnName.append(\"z\")",
"columnName.append",
"columnName",
"\"z\"",
"columnNumber = (columnNumber / 26) - 1",
"columnNumber",
"(columnNumber / 26) - 1",
"(columnNumber / 26)",
"columnNumber",
"26",
"1",
"{ \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n }",
"columnName.append((char)((rem - 1) + 'a'))",
"columnName.append",
"columnName",
"(char)((rem - 1) + 'a')",
"(rem - 1)",
"rem",
"1",
"'a'",
"columnNumber = columnNumber / 26",
"columnNumber",
"columnNumber / 26",
"columnNumber",
"26",
"System.out.println(columnName.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"columnName.reverse()",
"columnName.reverse",
"columnName",
"long columnNumber",
"columnNumber",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n long n=sc.nextLong();\n printString(n);\n \n \n \n \n }\n \n \n \n private static void printString(long columnNumber) \n { \n // To store result (Excel column name) \n StringBuilder columnName = new StringBuilder(); \n \n while (columnNumber > 0) { \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n } \n \n // Reverse the string and print result \n System.out.println(columnName.reverse()); \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 printString(n);\n \n \n \n \n }\n \n \n \n private static void printString(long columnNumber) \n { \n // To store result (Excel column name) \n StringBuilder columnName = new StringBuilder(); \n \n while (columnNumber > 0) { \n // Find remainder \n long rem = columnNumber % 26; \n \n // If remainder is 0, then a \n // 'Z' must be there in output \n if (rem == 0) { \n columnName.append(\"z\"); \n columnNumber = (columnNumber / 26) - 1; \n } \n else // If remainder is non-zero \n { \n columnName.append((char)((rem - 1) + 'a')); \n columnNumber = columnNumber / 26; \n } \n } \n \n // Reverse the string and print result \n System.out.println(columnName.reverse()); \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();
printString(n);
}
private static void printString(long columnNumber)
{
// To store result (Excel column name)
StringBuilder columnName = new StringBuilder();
while (columnNumber > 0) {
// Find remainder
long rem = columnNumber % 26;
// If remainder is 0, then a
// 'Z' must be there in output
if (rem == 0) {
columnName.append("z");
columnNumber = (columnNumber / 26) - 1;
}
else // If remainder is non-zero
{
columnName.append((char)((rem - 1) + 'a'));
columnNumber = columnNumber / 26;
}
}
// Reverse the string and print result
System.out.println(columnName.reverse());
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
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,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
63,
5
],
[
63,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
27,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
8,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
53,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long n = scanner.nextLong();\n \n List<Character> list = new ArrayList<Character>();\n int i = 0;\n \n while (n != 0) {\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n \n Collections.reverse(list);\n \n for(char c : list){\n System.out.print(c);\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long n = scanner.nextLong();\n \n List<Character> list = new ArrayList<Character>();\n int i = 0;\n \n while (n != 0) {\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n \n Collections.reverse(list);\n \n for(char c : list){\n System.out.print(c);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long n = scanner.nextLong();\n \n List<Character> list = new ArrayList<Character>();\n int i = 0;\n \n while (n != 0) {\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n \n Collections.reverse(list);\n \n for(char c : list){\n System.out.print(c);\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n long n = scanner.nextLong();\n \n List<Character> list = new ArrayList<Character>();\n int i = 0;\n \n while (n != 0) {\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n \n Collections.reverse(list);\n \n for(char c : list){\n System.out.print(c);\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long n = scanner.nextLong();",
"n",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"List<Character> list = new ArrayList<Character>();",
"list",
"new ArrayList<Character>()",
"int i = 0;",
"i",
"0",
"while (n != 0) {\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }",
"n != 0",
"n",
"0",
"{\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }",
"list.add((char) ((n - 1) % 26 + 'a'))",
"list.add",
"list",
"(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",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(char c : list){\n System.out.print(c);\n }",
"char c",
"list",
"{\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",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long n = scanner.nextLong();\n \n List<Character> list = new ArrayList<Character>();\n int i = 0;\n \n while (n != 0) {\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n \n Collections.reverse(list);\n \n for(char c : list){\n System.out.print(c);\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long n = scanner.nextLong();\n \n List<Character> list = new ArrayList<Character>();\n int i = 0;\n \n while (n != 0) {\n list.add((char) ((n - 1) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n \n Collections.reverse(list);\n \n for(char c : list){\n System.out.print(c);\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long n = scanner.nextLong();
List<Character> list = new ArrayList<Character>();
int i = 0;
while (n != 0) {
list.add((char) ((n - 1) % 26 + 'a'));
n = (n - 1) / 26;
}
Collections.reverse(list);
for(char c : list){
System.out.print(c);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
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,
20,
41,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
13,
17,
17,
30,
41,
13,
18,
13,
2,
13,
17,
4,
18,
13,
17,
13,
14,
2,
13,
17,
30,
41,
13,
18,
13,
2,
13,
17,
4,
18,
13,
17,
13,
4,
18,
13,
4,
18,
13,
23,
13,
23,
13,
13,
6,
13,
12,
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,
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,
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
],
[
411,
14
],
[
411,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
17,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
27,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
15,
35
],
[
35,
36
],
[
0,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
41,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
49,
52
],
[
49,
53
],
[
49,
54
],
[
49,
55
],
[
49,
56
],
[
49,
57
],
[
49,
58
],
[
49,
59
],
[
49,
60
],
[
49,
61
],
[
49,
62
],
[
49,
63
],
[
49,
64
],
[
49,
65
],
[
49,
66
],
[
49,
67
],
[
49,
68
],
[
49,
69
],
[
49,
70
],
[
49,
71
],
[
49,
72
],
[
49,
73
],
[
49,
74
],
[
49,
75
],
[
41,
76
],
[
76,
77
],
[
76,
78
],
[
41,
79
],
[
79,
80
],
[
79,
81
],
[
41,
82
],
[
82,
83
],
[
82,
84
],
[
41,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
89,
95
],
[
95,
96
],
[
95,
97
],
[
89,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
106,
107
],
[
107,
108
],
[
106,
109
],
[
106,
110
],
[
98,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
116,
118
],
[
111,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
119,
123
],
[
41,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
133,
135
],
[
128,
136
],
[
136,
137
],
[
137,
138
],
[
136,
139
],
[
136,
140
],
[
41,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
144,
145
],
[
145,
146
],
[
39,
147
],
[
147,
148
],
[
39,
149
],
[
149,
150
],
[
37,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
154,
158
],
[
158,
159
],
[
0,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
160,
167
],
[
167,
168
],
[
167,
169
],
[
160,
171
],
[
171,
172
],
[
171,
173
],
[
160,
174
],
[
174,
175
],
[
174,
176
],
[
160,
177
],
[
177,
178
],
[
177,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
184,
185
],
[
185,
186
],
[
180,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
191,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
201,
204
],
[
187,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
210,
211
],
[
179,
212
],
[
212,
213
],
[
160,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
217,
220
],
[
220,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
217,
225
],
[
225,
226
],
[
226,
227
],
[
160,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
236,
237
],
[
236,
238
],
[
228,
239
],
[
239,
240
],
[
160,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
245,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
251,
253
],
[
244,
254
],
[
254,
255
],
[
243,
256
],
[
256,
257
],
[
257,
258
],
[
160,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
262,
266
],
[
266,
267
],
[
261,
268
],
[
268,
269
],
[
268,
270
],
[
261,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
261,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
275,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
280,
283
],
[
279,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
261,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
160,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
297,
298
],
[
295,
299
],
[
299,
300
],
[
294,
301
],
[
301,
302
],
[
301,
303
],
[
294,
304
],
[
304,
305
],
[
304,
306
],
[
294,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
294,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
315,
319
],
[
319,
320
],
[
319,
321
],
[
321,
322
],
[
294,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
328,
330
],
[
323,
331
],
[
331,
332
],
[
332,
333
],
[
294,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
342,
343
],
[
342,
344
],
[
337,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
345,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
351,
353
],
[
337,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
355,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
354,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
366,
370
],
[
354,
371
],
[
371,
372
],
[
372,
373
],
[
336,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
160,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
383,
384
],
[
380,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
389,
390
],
[
389,
391
],
[
386,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
394,
396
],
[
385,
397
],
[
397,
398
],
[
380,
399
],
[
399,
400
],
[
160,
401
],
[
401,
402
],
[
401,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
405,
408
],
[
408,
409
],
[
0,
410
],
[
410,
411
],
[
410,
412
]
]
| [
"\n\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\npublic class Main {\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n Strategy strategy = new MyStrategy();\n strategy.solve(out, sc);\n out.flush();\n }\n}\n\nclass MyStrategy implements Strategy {\n @Override\n public void solve(PrintWriter out, FastScanner sc) {\n long N = sc.nextLong();\n char[] alf = {'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 StringBuilder sb = new StringBuilder();\n long a = N;\n int b = 0;\n while (a >= 26) {\n b = (int)(a % 26);\n a /= 26;\n// out.println(a + \" \" + b);\n if (b == 0) {\n a -= 1;\n sb.insert(0, 'z');\n } else {\n char s = alf[b-1];\n sb.insert(0, s);\n }\n }\n if (a > 0) {\n char s = alf[(int)(a-1)];\n sb.insert(0, s);\n }\n out.println(sb.toString());\n }\n}\n\ninterface Strategy {\n void solve(PrintWriter out, FastScanner sc);\n}\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 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 private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) 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 public long nextLong() {\n if (!hasNext()) 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 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 public double nextDouble() { return Double.parseDouble(next());}\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 public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n Strategy strategy = new MyStrategy();\n strategy.solve(out, sc);\n out.flush();\n }\n}",
"Main",
"public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n Strategy strategy = new MyStrategy();\n strategy.solve(out, sc);\n out.flush();\n }",
"main",
"{\n PrintWriter out = new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n Strategy strategy = new MyStrategy();\n strategy.solve(out, sc);\n out.flush();\n }",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"Strategy strategy = new MyStrategy();",
"strategy",
"new MyStrategy()",
"strategy.solve(out, sc)",
"strategy.solve",
"strategy",
"out",
"sc",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"class MyStrategy implements Strategy {\n @Override\n public void solve(PrintWriter out, FastScanner sc) {\n long N = sc.nextLong();\n char[] alf = {'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 StringBuilder sb = new StringBuilder();\n long a = N;\n int b = 0;\n while (a >= 26) {\n b = (int)(a % 26);\n a /= 26;\n// out.println(a + \" \" + b);\n if (b == 0) {\n a -= 1;\n sb.insert(0, 'z');\n } else {\n char s = alf[b-1];\n sb.insert(0, s);\n }\n }\n if (a > 0) {\n char s = alf[(int)(a-1)];\n sb.insert(0, s);\n }\n out.println(sb.toString());\n }\n}",
"MyStrategy",
"@Override\n public void solve(PrintWriter out, FastScanner sc) {\n long N = sc.nextLong();\n char[] alf = {'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 StringBuilder sb = new StringBuilder();\n long a = N;\n int b = 0;\n while (a >= 26) {\n b = (int)(a % 26);\n a /= 26;\n// out.println(a + \" \" + b);\n if (b == 0) {\n a -= 1;\n sb.insert(0, 'z');\n } else {\n char s = alf[b-1];\n sb.insert(0, s);\n }\n }\n if (a > 0) {\n char s = alf[(int)(a-1)];\n sb.insert(0, s);\n }\n out.println(sb.toString());\n }",
"solve",
"{\n long N = sc.nextLong();\n char[] alf = {'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 StringBuilder sb = new StringBuilder();\n long a = N;\n int b = 0;\n while (a >= 26) {\n b = (int)(a % 26);\n a /= 26;\n// out.println(a + \" \" + b);\n if (b == 0) {\n a -= 1;\n sb.insert(0, 'z');\n } else {\n char s = alf[b-1];\n sb.insert(0, s);\n }\n }\n if (a > 0) {\n char s = alf[(int)(a-1)];\n sb.insert(0, s);\n }\n out.println(sb.toString());\n }",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"char[] alf = {'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'};",
"alf",
"{'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'",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"long a = N;",
"a",
"N",
"int b = 0;",
"b",
"0",
"while (a >= 26) {\n b = (int)(a % 26);\n a /= 26;\n// out.println(a + \" \" + b);\n if (b == 0) {\n a -= 1;\n sb.insert(0, 'z');\n } else {\n char s = alf[b-1];\n sb.insert(0, s);\n }\n }",
"a >= 26",
"a",
"26",
"{\n b = (int)(a % 26);\n a /= 26;\n// out.println(a + \" \" + b);\n if (b == 0) {\n a -= 1;\n sb.insert(0, 'z');\n } else {\n char s = alf[b-1];\n sb.insert(0, s);\n }\n }",
"b = (int)(a % 26)",
"b",
"(int)(a % 26)",
"a",
"26",
"a /= 26",
"a",
"26",
"if (b == 0) {\n a -= 1;\n sb.insert(0, 'z');\n } else {\n char s = alf[b-1];\n sb.insert(0, s);\n }",
"b == 0",
"b",
"0",
"{\n a -= 1;\n sb.insert(0, 'z');\n }",
"a -= 1",
"a",
"1",
"sb.insert(0, 'z')",
"sb.insert",
"sb",
"0",
"'z'",
"{\n char s = alf[b-1];\n sb.insert(0, s);\n }",
"char s = alf[b-1];",
"s",
"alf[b-1]",
"alf",
"b-1",
"b",
"1",
"sb.insert(0, s)",
"sb.insert",
"sb",
"0",
"s",
"if (a > 0) {\n char s = alf[(int)(a-1)];\n sb.insert(0, s);\n }",
"a > 0",
"a",
"0",
"{\n char s = alf[(int)(a-1)];\n sb.insert(0, s);\n }",
"char s = alf[(int)(a-1)];",
"s",
"alf[(int)(a-1)]",
"alf",
"(int)(a-1)",
"a",
"1",
"sb.insert(0, s)",
"sb.insert",
"sb",
"0",
"s",
"out.println(sb.toString())",
"out.println",
"out",
"sb.toString()",
"sb.toString",
"sb",
"PrintWriter out",
"out",
"FastScanner sc",
"sc",
"Strategy",
"interface Strategy {\n void solve(PrintWriter out, FastScanner sc);\n}",
"Strategy",
"void solve(PrintWriter out, FastScanner sc);",
"solve",
"PrintWriter out",
"out",
"FastScanner sc",
"sc",
"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 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 private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) 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 public long nextLong() {\n if (!hasNext()) 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 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 public double nextDouble() { return Double.parseDouble(next());}\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() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"hasNext",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"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",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n if (!hasNext()) 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()) 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()) 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()) 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()) 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()) 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) 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 double nextDouble() { 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) {\n PrintWriter out = new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n Strategy strategy = new MyStrategy();\n strategy.solve(out, sc);\n out.flush();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n FastScanner sc = new FastScanner();\n Strategy strategy = new MyStrategy();\n strategy.solve(out, sc);\n out.flush();\n }\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) {
PrintWriter out = new PrintWriter(System.out);
FastScanner sc = new FastScanner();
Strategy strategy = new MyStrategy();
strategy.solve(out, sc);
out.flush();
}
}
class MyStrategy implements Strategy {
@Override
public void solve(PrintWriter out, FastScanner sc) {
long N = sc.nextLong();
char[] alf = {'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'};
StringBuilder sb = new StringBuilder();
long a = N;
int b = 0;
while (a >= 26) {
b = (int)(a % 26);
a /= 26;
// out.println(a + " " + b);
if (b == 0) {
a -= 1;
sb.insert(0, 'z');
} else {
char s = alf[b-1];
sb.insert(0, s);
}
}
if (a > 0) {
char s = alf[(int)(a-1)];
sb.insert(0, s);
}
out.println(sb.toString());
}
}
interface Strategy {
void solve(PrintWriter out, FastScanner sc);
}
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());}
}
|
[
7,
15,
13,
17,
15,
13,
17,
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,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
20,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
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,
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,
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,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
294,
8
],
[
294,
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
],
[
26,
27
],
[
25,
28
],
[
28,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
28,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
11,
42
],
[
42,
43
],
[
43,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
9,
49
],
[
49,
50
],
[
9,
51
],
[
51,
52
],
[
9,
53
],
[
53,
54
],
[
294,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
61,
63
],
[
57,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
69,
71
],
[
64,
72
],
[
72,
73
],
[
73,
74
],
[
64,
75
],
[
76,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
57,
80
],
[
80,
81
],
[
81,
82
],
[
55,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
85,
93
],
[
93,
94
],
[
85,
95
],
[
95,
96
],
[
85,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
97,
105
],
[
105,
106
],
[
85,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
110,
115
],
[
115,
116
],
[
109,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
125,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
121,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
109,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
85,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
157,
155
],
[
167,
156
],
[
164,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
161,
163
],
[
164,
164
],
[
164,
165
],
[
164,
166
],
[
167,
167
],
[
167,
168
],
[
167,
169
],
[
157,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
150,
174
],
[
174,
175
],
[
85,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
181,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
185,
187
],
[
181,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
176,
192
],
[
192,
193
],
[
85,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
85,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
207,
210
],
[
210,
211
],
[
85,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
219,
220
],
[
85,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
223,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
223,
236
],
[
236,
237
],
[
236,
238
],
[
223,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
239,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
245,
248
],
[
244,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
223,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
85,
257
],
[
257,
258
],
[
257,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
259,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
259,
272
],
[
272,
273
],
[
272,
274
],
[
259,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
275,
280
],
[
280,
281
],
[
281,
282
],
[
282,
283
],
[
281,
284
],
[
280,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
259,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
0,
293
],
[
293,
294
],
[
293,
295
]
]
| [
"import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long N = in.nextLong();\n StringBuilder res = new StringBuilder();\n while (N > 0) {\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }\n res.reverse();\n out.println(res);\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }\n}\n\n\nclass FastScanner{\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream)\n {\n this.stream = stream;\n }\n\n int read()\n {\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 boolean isSpaceChar(int c)\n {\n return c==' '||c=='\\n'||c=='\\r'||c=='\\t'||c==-1;\n }\n\n boolean isEndline(int c)\n {\n return c=='\\n'||c=='\\r'||c==-1;\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String next(){\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 String nextLine(){\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do{\n res.appendCodePoint(c);\n c = read();\n }while(!isEndline(c));\n return res.toString();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long N = in.nextLong();\n StringBuilder res = new StringBuilder();\n while (N > 0) {\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }\n res.reverse();\n out.println(res);\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }\n}",
"Main",
"public Main(FastScanner in, PrintWriter out, int test) {\n long N = in.nextLong();\n StringBuilder res = new StringBuilder();\n while (N > 0) {\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }\n res.reverse();\n out.println(res);\n }",
"Main",
"{\n long N = in.nextLong();\n StringBuilder res = new StringBuilder();\n while (N > 0) {\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }\n res.reverse();\n out.println(res);\n }",
"long N = in.nextLong();",
"N",
"in.nextLong()",
"in.nextLong",
"in",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"while (N > 0) {\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }",
"N > 0",
"N",
"0",
"{\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }",
"res.append((char)((N - 1) % 26 + 'a'))",
"res.append",
"res",
"(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",
"res.reverse()",
"res.reverse",
"res",
"out.println(res)",
"out.println",
"out",
"res",
"FastScanner in",
"in",
"PrintWriter out",
"out",
"int test",
"test",
"public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }",
"main",
"{\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"FastScanner in = new FastScanner(System.in);",
"in",
"new FastScanner(System.in)",
"for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }",
"int t = 1;",
"int t = 1;",
"t",
"1",
"t <= 1",
"t",
"1",
"t++",
"t++",
"t",
"{\n Main sol = new Main(in, out, t);\n }",
"{\n Main sol = new Main(in, out, t);\n }",
"Main sol = new Main(in, out, t);",
"sol",
"new Main(in, out, t)",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"class FastScanner{\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream)\n {\n this.stream = stream;\n }\n\n int read()\n {\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 boolean isSpaceChar(int c)\n {\n return c==' '||c=='\\n'||c=='\\r'||c=='\\t'||c==-1;\n }\n\n boolean isEndline(int c)\n {\n return c=='\\n'||c=='\\r'||c==-1;\n }\n\n int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n long nextLong()\n {\n return Long.parseLong(next());\n }\n\n double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n String next(){\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 String nextLine(){\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do{\n res.appendCodePoint(c);\n c = read();\n }while(!isEndline(c));\n return res.toString();\n }\n}",
"FastScanner",
"private InputStream stream;",
"stream",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar;",
"curChar",
"private int numChars;",
"numChars",
"public FastScanner(InputStream stream)\n {\n this.stream = stream;\n }",
"FastScanner",
"{\n this.stream = stream;\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"int read()\n {\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",
"boolean isSpaceChar(int c)\n {\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",
"boolean isEndline(int c)\n {\n return c=='\\n'||c=='\\r'||c==-1;\n }",
"isEndline",
"{\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",
"int nextInt()\n {\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 {\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 {\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 next(){\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 }",
"next",
"{\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",
"String nextLine(){\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do{\n res.appendCodePoint(c);\n c = read();\n }while(!isEndline(c));\n return res.toString();\n }",
"nextLine",
"{\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do{\n res.appendCodePoint(c);\n c = read();\n }while(!isEndline(c));\n return res.toString();\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isEndline(c))\n c = read();",
"isEndline(c)",
"isEndline",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do{\n res.appendCodePoint(c);\n c = read();\n }while(!isEndline(c));",
"!isEndline(c)",
"isEndline(c)",
"isEndline",
"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 class Main {\n\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long N = in.nextLong();\n StringBuilder res = new StringBuilder();\n while (N > 0) {\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }\n res.reverse();\n out.println(res);\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }\n}",
"public class Main {\n\n\n public Main(FastScanner in, PrintWriter out, int test) {\n long N = in.nextLong();\n StringBuilder res = new StringBuilder();\n while (N > 0) {\n res.append((char)((N - 1) % 26 + 'a'));\n N = (N - 1) / 26;\n }\n res.reverse();\n out.println(res);\n }\n\n public static void main(String[] args) {\n PrintWriter out = new PrintWriter(System.out);\n // Scanner in = new Scanner(\n // new BufferedReader(new InputStreamReader(System.in)));\n FastScanner in = new FastScanner(System.in);\n\n // int T = in.nextInt();\n for (int t = 1; t <= 1; t++) {\n Main sol = new Main(in, out, t);\n }\n\n out.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
public Main(FastScanner in, PrintWriter out, int test) {
long N = in.nextLong();
StringBuilder res = new StringBuilder();
while (N > 0) {
res.append((char)((N - 1) % 26 + 'a'));
N = (N - 1) / 26;
}
res.reverse();
out.println(res);
}
public static void main(String[] args) {
PrintWriter out = new PrintWriter(System.out);
// Scanner in = new Scanner(
// new BufferedReader(new InputStreamReader(System.in)));
FastScanner in = new FastScanner(System.in);
// int T = in.nextInt();
for (int t = 1; t <= 1; t++) {
Main sol = new Main(in, out, t);
}
out.close();
}
}
class FastScanner{
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public FastScanner(InputStream stream)
{
this.stream = stream;
}
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++];
}
boolean isSpaceChar(int c)
{
return c==' '||c=='\n'||c=='\r'||c=='\t'||c==-1;
}
boolean isEndline(int c)
{
return c=='\n'||c=='\r'||c==-1;
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
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();
}
String nextLine(){
int c = read();
while (isEndline(c))
c = read();
StringBuilder res = new StringBuilder();
do{
res.appendCodePoint(c);
c = read();
}while(!isEndline(c));
return res.toString();
}
}
|
[
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,
0,
13,
17,
41,
13,
2,
13,
17,
4,
18,
13,
2,
17,
13,
0,
13,
2,
13,
17,
4,
18,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
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,
4,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
13,
41,
13,
20,
4,
18,
13,
13,
0,
13,
4,
13,
42,
40,
4,
18,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
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,
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,
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,
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,
4,
13,
42,
4,
18,
13,
13,
30,
0,
13,
4,
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,
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,
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
],
[
549,
8
],
[
549,
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
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
11,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
9,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
62,
71
],
[
71,
72
],
[
62,
73
],
[
73,
74
],
[
62,
75
],
[
75,
76
],
[
62,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
79,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
62,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
98,
100
],
[
94,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
92,
107
],
[
107,
108
],
[
62,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
116
],
[
116,
117
],
[
116,
118
],
[
111,
119
],
[
119,
120
],
[
111,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
122,
127
],
[
127,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
130,
134
],
[
129,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
135,
140
],
[
111,
141
],
[
141,
142
],
[
62,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
145,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
151,
154
],
[
150,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
145,
160
],
[
160,
161
],
[
160,
162
],
[
145,
163
],
[
163,
164
],
[
164,
165
],
[
163,
166
],
[
145,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
145,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
171,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
177,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
145,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
62,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
192,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
192,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
192,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
210,
212
],
[
192,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
192,
219
],
[
219,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
221,
226
],
[
220,
227
],
[
227,
228
],
[
227,
229
],
[
219,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
233,
239
],
[
192,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
243,
244
],
[
192,
245
],
[
245,
246
],
[
62,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
254,
259
],
[
259,
260
],
[
259,
261
],
[
254,
262
],
[
262,
263
],
[
263,
264
],
[
254,
265
],
[
266,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
271,
272
],
[
249,
273
],
[
273,
274
],
[
247,
275
],
[
275,
276
],
[
62,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
279,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
279,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
279,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
297,
299
],
[
279,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
279,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
309,
310
],
[
309,
311
],
[
311,
312
],
[
308,
313
],
[
307,
314
],
[
314,
315
],
[
314,
316
],
[
306,
317
],
[
317,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
321,
325
],
[
320,
326
],
[
279,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
330,
331
],
[
279,
332
],
[
332,
333
],
[
62,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
341,
346
],
[
346,
347
],
[
346,
348
],
[
341,
349
],
[
349,
350
],
[
350,
351
],
[
341,
352
],
[
353,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
354,
358
],
[
358,
359
],
[
336,
360
],
[
360,
361
],
[
334,
362
],
[
362,
363
],
[
62,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
366,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
372,
375
],
[
371,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
366,
381
],
[
381,
382
],
[
62,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
385,
389
],
[
389,
390
],
[
389,
391
],
[
385,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
385,
396
],
[
396,
397
],
[
397,
398
],
[
397,
399
],
[
396,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
385,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
406,
408
],
[
385,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
385,
415
],
[
415,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
418,
420
],
[
420,
421
],
[
417,
422
],
[
416,
423
],
[
423,
424
],
[
423,
425
],
[
415,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
431,
433
],
[
430,
434
],
[
429,
435
],
[
385,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
446,
447
],
[
443,
448
],
[
442,
449
],
[
449,
450
],
[
449,
451
],
[
441,
452
],
[
452,
453
],
[
453,
454
],
[
453,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
455,
459
],
[
459,
460
],
[
459,
461
],
[
385,
462
],
[
462,
463
],
[
462,
464
],
[
464,
465
],
[
465,
466
],
[
385,
467
],
[
467,
468
],
[
62,
469
],
[
469,
470
],
[
469,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
471,
476
],
[
476,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
476,
481
],
[
481,
482
],
[
481,
483
],
[
476,
484
],
[
484,
485
],
[
485,
486
],
[
476,
487
],
[
488,
488
],
[
488,
489
],
[
489,
490
],
[
490,
491
],
[
490,
492
],
[
489,
493
],
[
493,
494
],
[
471,
495
],
[
495,
496
],
[
469,
497
],
[
497,
498
],
[
62,
499
],
[
499,
500
],
[
499,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
505,
506
],
[
504,
507
],
[
504,
508
],
[
508,
509
],
[
508,
510
],
[
504,
511
],
[
501,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
515,
516
],
[
512,
517
],
[
517,
518
],
[
518,
519
],
[
518,
520
],
[
517,
521
],
[
521,
522
],
[
62,
523
],
[
523,
524
],
[
523,
525
],
[
525,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
526,
530
],
[
530,
531
],
[
525,
532
],
[
532,
533
],
[
533,
534
],
[
533,
535
],
[
535,
536
],
[
62,
537
],
[
537,
538
],
[
537,
539
],
[
539,
540
],
[
540,
541
],
[
541,
542
],
[
541,
543
],
[
540,
544
],
[
539,
545
],
[
545,
546
],
[
546,
547
],
[
0,
548
],
[
548,
549
],
[
548,
550
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n\n public static void main(String [] args) throws IOException{\n FastScanner sc=new FastScanner();\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder(\"\");\n while(n>0){\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }\n sb.reverse();\n System.out.println(sb.toString().trim());\n\n }\n\n}\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nclass FastScanner{\t\n private int BUFFER_SIZE = 1 << 16;\n \n private DataInputStream din;\n \n private byte[] buffer;\n \n private int bufferPointer, bytesRead;\n \n public FastScanner() {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public FastScanner( String file_name) throws IOException {\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 byte[] buf = new byte[64];\n int cnt = 0, c;\n while ((c = read()) != -1) {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n \n public String next() throws IOException{\n\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n \n StringBuilder builder = new StringBuilder();\n builder.append((char)c);\n c = read();\n while(!Character.isWhitespace(c)){\n builder.append((char)c);\n c = read();\n }\n \n return builder.toString();\n }\n\n public int nextInt() throws IOException {\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 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 int[] nextIntArray( int n) throws IOException {\n int arr[] = new int[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long nextLong() throws IOException {\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 } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n \n public long[] nextLongArray( int n) throws IOException {\n long arr[] = new long[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public char nextChar() throws IOException{\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n return (char) c;\t\n }\n \n public double nextDouble() throws IOException {\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 } while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n \n public double[] nextDoubleArray( int n) throws IOException {\n double arr[] = new double[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextDouble();\n }\n return arr;\n }\n\n private void fillBuffer() throws IOException {\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 if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n\n}\n ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n\n public static void main(String [] args) throws IOException{\n FastScanner sc=new FastScanner();\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder(\"\");\n while(n>0){\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }\n sb.reverse();\n System.out.println(sb.toString().trim());\n\n }\n\n}",
"Main",
"public static void main(String [] args) throws IOException{\n FastScanner sc=new FastScanner();\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder(\"\");\n while(n>0){\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }\n sb.reverse();\n System.out.println(sb.toString().trim());\n\n }",
"main",
"{\n FastScanner sc=new FastScanner();\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder(\"\");\n while(n>0){\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }\n sb.reverse();\n System.out.println(sb.toString().trim());\n\n }",
"FastScanner sc=new FastScanner();",
"sc",
"new FastScanner()",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb=new StringBuilder(\"\");",
"sb",
"new StringBuilder(\"\")",
"while(n>0){\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }",
"n>0",
"n",
"0",
"{\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }",
"n-=1",
"n",
"1",
"long rm=n%26;",
"rm",
"n%26",
"n",
"26",
"sb.append((char)('a'+rm))",
"sb.append",
"sb",
"(char)('a'+rm)",
"'a'",
"rm",
"n=n/26",
"n",
"n/26",
"n",
"26",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(sb.toString().trim())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString().trim()",
"sb.toString().trim",
"sb.toString()",
"sb.toString",
"sb",
"String [] args",
"args",
"class FastScanner{\t\n private int BUFFER_SIZE = 1 << 16;\n \n private DataInputStream din;\n \n private byte[] buffer;\n \n private int bufferPointer, bytesRead;\n \n public FastScanner() {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }\n\n public FastScanner( String file_name) throws IOException {\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 byte[] buf = new byte[64];\n int cnt = 0, c;\n while ((c = read()) != -1) {\n if (c == '\\n')\n break;\n buf[cnt++] = (byte) c;\n }\n return new String(buf, 0, cnt);\n }\n \n public String next() throws IOException{\n\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n \n StringBuilder builder = new StringBuilder();\n builder.append((char)c);\n c = read();\n while(!Character.isWhitespace(c)){\n builder.append((char)c);\n c = read();\n }\n \n return builder.toString();\n }\n\n public int nextInt() throws IOException {\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 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 int[] nextIntArray( int n) throws IOException {\n int arr[] = new int[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long nextLong() throws IOException {\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 } while ((c = read()) >= '0' && c <= '9');\n if (neg)\n return -ret;\n return ret;\n }\n \n public long[] nextLongArray( int n) throws IOException {\n long arr[] = new long[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public char nextChar() throws IOException{\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n return (char) c;\t\n }\n \n public double nextDouble() throws IOException {\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 } while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }\n\n if (neg)\n return -ret;\n return ret;\n }\n \n public double[] nextDoubleArray( int n) throws IOException {\n double arr[] = new double[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextDouble();\n }\n return arr;\n }\n\n private void fillBuffer() throws IOException {\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 if (bufferPointer == bytesRead)\n fillBuffer();\n return buffer[bufferPointer++];\n }\n\n public void close() throws IOException {\n if (din == null)\n return;\n din.close();\n }\n\n}",
"FastScanner",
"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 FastScanner() {\n din = new DataInputStream(System.in);\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"FastScanner",
"{\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 FastScanner( String file_name) throws IOException {\n din = new DataInputStream(new FileInputStream(file_name));\n buffer = new byte[BUFFER_SIZE];\n bufferPointer = bytesRead = 0;\n }",
"FastScanner",
"{\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 byte[] buf = new byte[64];\n int cnt = 0, c;\n while ((c = read()) != -1) {\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];\n int cnt = 0, c;\n while ((c = read()) != -1) {\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 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 String next() throws IOException{\n\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n \n StringBuilder builder = new StringBuilder();\n builder.append((char)c);\n c = read();\n while(!Character.isWhitespace(c)){\n builder.append((char)c);\n c = read();\n }\n \n return builder.toString();\n }",
"next",
"{\n\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n \n StringBuilder builder = new StringBuilder();\n builder.append((char)c);\n c = read();\n while(!Character.isWhitespace(c)){\n builder.append((char)c);\n c = read();\n }\n \n return builder.toString();\n }",
"byte c = read();",
"c",
"read()",
"read",
"while(Character.isWhitespace(c)){\n c = read();\n }",
"Character.isWhitespace(c)",
"Character.isWhitespace",
"Character",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"builder.append((char)c)",
"builder.append",
"builder",
"(char)c",
"c = read()",
"c",
"read()",
"read",
"while(!Character.isWhitespace(c)){\n builder.append((char)c);\n c = read();\n }",
"!Character.isWhitespace(c)",
"Character.isWhitespace(c)",
"Character.isWhitespace",
"Character",
"c",
"{\n builder.append((char)c);\n c = read();\n }",
"builder.append((char)c)",
"builder.append",
"builder",
"(char)c",
"c = read()",
"c",
"read()",
"read",
"return builder.toString();",
"builder.toString()",
"builder.toString",
"builder",
"public int nextInt() throws IOException {\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 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 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 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 int[] nextIntArray( int n) throws IOException {\n int arr[] = new int[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextInt();\n }\n return arr;\n }",
"nextIntArray",
"{\n int arr[] = new int[n];\n for(int i = 0; i < n; i++){\n arr[i] = 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] = nextInt();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = nextInt();\n }",
"{\n arr[i] = nextInt();\n }",
"arr[i] = nextInt()",
"arr[i]",
"arr",
"i",
"nextInt()",
"nextInt",
"return arr;",
"arr",
"int n",
"n",
"public long nextLong() throws IOException {\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 } 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 } 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 } 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[] nextLongArray( int n) throws IOException {\n long arr[] = new long[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextLong();\n }\n return arr;\n }",
"nextLongArray",
"{\n long arr[] = new long[n];\n for(int i = 0; i < n; i++){\n arr[i] = 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] = nextLong();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = nextLong();\n }",
"{\n arr[i] = nextLong();\n }",
"arr[i] = nextLong()",
"arr[i]",
"arr",
"i",
"nextLong()",
"nextLong",
"return arr;",
"arr",
"int n",
"n",
"public char nextChar() throws IOException{\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n return (char) c;\t\n }",
"nextChar",
"{\n byte c = read();\n while(Character.isWhitespace(c)){\n c = read();\n }\n return (char) c;\t\n }",
"byte c = read();",
"c",
"read()",
"read",
"while(Character.isWhitespace(c)){\n c = read();\n }",
"Character.isWhitespace(c)",
"Character.isWhitespace",
"Character",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"return (char) c;",
"(char) c",
"public double nextDouble() throws IOException {\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 } while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\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 } while ((c = read()) >= '0' && c <= '9');\n\n if (c == '.') {\n while ((c = read()) >= '0' && c <= '9') {\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 } 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 while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n while ((c = read()) >= '0' && c <= '9') {\n ret += (c - '0') / (div *= 10);\n }\n }",
"while ((c = read()) >= '0' && c <= '9') {\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",
"public double[] nextDoubleArray( int n) throws IOException {\n double arr[] = new double[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextDouble();\n }\n return arr;\n }",
"nextDoubleArray",
"{\n double arr[] = new double[n];\n for(int i = 0; i < n; i++){\n arr[i] = nextDouble();\n }\n return arr;\n }",
"double arr[] = new double[n];",
"arr",
"new double[n]",
"n",
"for(int i = 0; i < n; i++){\n arr[i] = nextDouble();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n arr[i] = nextDouble();\n }",
"{\n arr[i] = nextDouble();\n }",
"arr[i] = nextDouble()",
"arr[i]",
"arr",
"i",
"nextDouble()",
"nextDouble",
"return arr;",
"arr",
"int n",
"n",
"private void fillBuffer() throws IOException {\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 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 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\n public static void main(String [] args) throws IOException{\n FastScanner sc=new FastScanner();\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder(\"\");\n while(n>0){\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }\n sb.reverse();\n System.out.println(sb.toString().trim());\n\n }\n\n}",
"public class Main{\n\n public static void main(String [] args) throws IOException{\n FastScanner sc=new FastScanner();\n long n=sc.nextLong();\n StringBuilder sb=new StringBuilder(\"\");\n while(n>0){\n n-=1;\n long rm=n%26;\n sb.append((char)('a'+rm));\n n=n/26;\n }\n sb.reverse();\n System.out.println(sb.toString().trim());\n\n }\n\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
public static void main(String [] args) throws IOException{
FastScanner sc=new FastScanner();
long n=sc.nextLong();
StringBuilder sb=new StringBuilder("");
while(n>0){
n-=1;
long rm=n%26;
sb.append((char)('a'+rm));
n=n/26;
}
sb.reverse();
System.out.println(sb.toString().trim());
}
}
class FastScanner{
private int BUFFER_SIZE = 1 << 16;
private DataInputStream din;
private byte[] buffer;
private int bufferPointer, bytesRead;
public FastScanner() {
din = new DataInputStream(System.in);
buffer = new byte[BUFFER_SIZE];
bufferPointer = bytesRead = 0;
}
public FastScanner( 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];
int cnt = 0, c;
while ((c = read()) != -1) {
if (c == '\n')
break;
buf[cnt++] = (byte) c;
}
return new String(buf, 0, cnt);
}
public String next() throws IOException{
byte c = read();
while(Character.isWhitespace(c)){
c = read();
}
StringBuilder builder = new StringBuilder();
builder.append((char)c);
c = read();
while(!Character.isWhitespace(c)){
builder.append((char)c);
c = read();
}
return builder.toString();
}
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 int[] nextIntArray( int n) throws IOException {
int arr[] = new int[n];
for(int i = 0; i < n; i++){
arr[i] = nextInt();
}
return arr;
}
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 long[] nextLongArray( int n) throws IOException {
long arr[] = new long[n];
for(int i = 0; i < n; i++){
arr[i] = nextLong();
}
return arr;
}
public char nextChar() throws IOException{
byte c = read();
while(Character.isWhitespace(c)){
c = read();
}
return (char) c;
}
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;
}
public double[] nextDoubleArray( int n) throws IOException {
double arr[] = new double[n];
for(int i = 0; i < n; i++){
arr[i] = nextDouble();
}
return arr;
}
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,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
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,
4,
18,
13,
17,
0,
13,
2,
2,
13,
17,
17,
30,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
13,
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
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
25,
26
],
[
26,
27
],
[
16,
28
],
[
28,
29
],
[
28,
30
],
[
16,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
35,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
45,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
41,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
57,
69
],
[
69,
70
],
[
69,
71
],
[
16,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
14,
80
],
[
80,
81
]
]
| [
"import java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main {\n \n private static BufferedReader br;\n \n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tbr= new BufferedReader(new InputStreamReader(System.in));\n\t\tlong num = Long.parseLong(br.readLine());\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t while(num > 0){\n\t int rem = (int)(num%26L);\n\t if(rem == 0){\n\t str.append('z');\n\t num = num/26 -1;\n\t }else{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }\n\t }\n\t \n\t System.out.println(str.reverse());\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n \n private static BufferedReader br;\n \n\tpublic static void main (String[] args) throws java.lang.Exception {\n\t\tbr= new BufferedReader(new InputStreamReader(System.in));\n\t\tlong num = Long.parseLong(br.readLine());\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t while(num > 0){\n\t int rem = (int)(num%26L);\n\t if(rem == 0){\n\t str.append('z');\n\t num = num/26 -1;\n\t }else{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }\n\t }\n\t \n\t System.out.println(str.reverse());\n\t}\n}",
"Main",
"private static BufferedReader br;",
"br",
"public static void main (String[] args) throws java.lang.Exception {\n\t\tbr= new BufferedReader(new InputStreamReader(System.in));\n\t\tlong num = Long.parseLong(br.readLine());\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t while(num > 0){\n\t int rem = (int)(num%26L);\n\t if(rem == 0){\n\t str.append('z');\n\t num = num/26 -1;\n\t }else{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }\n\t }\n\t \n\t System.out.println(str.reverse());\n\t}",
"main",
"{\n\t\tbr= new BufferedReader(new InputStreamReader(System.in));\n\t\tlong num = Long.parseLong(br.readLine());\n\t\t\n\t\tStringBuilder str = new StringBuilder();\n\t\t\n\t while(num > 0){\n\t int rem = (int)(num%26L);\n\t if(rem == 0){\n\t str.append('z');\n\t num = num/26 -1;\n\t }else{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }\n\t }\n\t \n\t System.out.println(str.reverse());\n\t}",
"br= new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"long num = Long.parseLong(br.readLine());",
"num",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"StringBuilder str = new StringBuilder();",
"str",
"new StringBuilder()",
"while(num > 0){\n\t int rem = (int)(num%26L);\n\t if(rem == 0){\n\t str.append('z');\n\t num = num/26 -1;\n\t }else{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }\n\t }",
"num > 0",
"num",
"0",
"{\n\t int rem = (int)(num%26L);\n\t if(rem == 0){\n\t str.append('z');\n\t num = num/26 -1;\n\t }else{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }\n\t }",
"int rem = (int)(num%26L);",
"rem",
"(int)(num%26L)",
"num",
"26L",
"if(rem == 0){\n\t str.append('z');\n\t num = num/26 -1;\n\t }else{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }",
"rem == 0",
"rem",
"0",
"{\n\t str.append('z');\n\t num = num/26 -1;\n\t }",
"str.append('z')",
"str.append",
"str",
"'z'",
"num = num/26 -1",
"num",
"num/26 -1",
"num/26",
"num",
"26",
"1",
"{\n\t char x = (char)(rem - 1 + 'a');\n\t str.append(x);\n\t num /= 26;\n\t }",
"char x = (char)(rem - 1 + 'a');",
"x",
"(char)(rem - 1 + 'a')",
"rem - 1",
"rem",
"1",
"'a'",
"str.append(x)",
"str.append",
"str",
"x",
"num /= 26",
"num",
"26",
"System.out.println(str.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"str.reverse()",
"str.reverse",
"str",
"String[] args",
"args"
]
| import java.util.*;
import java.lang.*;
import java.io.*;
class Main {
private static BufferedReader br;
public static void main (String[] args) throws java.lang.Exception {
br= new BufferedReader(new InputStreamReader(System.in));
long num = Long.parseLong(br.readLine());
StringBuilder str = new StringBuilder();
while(num > 0){
int rem = (int)(num%26L);
if(rem == 0){
str.append('z');
num = num/26 -1;
}else{
char x = (char)(rem - 1 + 'a');
str.append(x);
num /= 26;
}
}
System.out.println(str.reverse());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
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,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
17,
13,
41,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
3,
30,
0,
13,
13,
0,
13,
2,
13,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
17,
2,
13,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
2,
13,
13,
30,
4,
18,
13,
4,
18,
13,
2,
13,
17,
3,
30,
0,
13,
13,
0,
13,
2,
13,
13,
4,
18,
13,
4,
18,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
185,
11
],
[
185,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
20,
24
],
[
20,
25
],
[
20,
26
],
[
20,
27
],
[
20,
28
],
[
20,
29
],
[
20,
30
],
[
20,
31
],
[
20,
32
],
[
20,
33
],
[
20,
34
],
[
20,
35
],
[
20,
36
],
[
20,
37
],
[
20,
38
],
[
20,
39
],
[
20,
40
],
[
20,
41
],
[
20,
42
],
[
20,
43
],
[
20,
44
],
[
20,
45
],
[
20,
46
],
[
20,
47
],
[
20,
48
],
[
14,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
14,
54
],
[
54,
55
],
[
54,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
57,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
72,
75
],
[
72,
76
],
[
69,
77
],
[
77,
78
],
[
77,
79
],
[
69,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
80,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
69,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
14,
98
],
[
98,
99
],
[
98,
100
],
[
14,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
106,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
101,
112
],
[
113,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
113,
123
],
[
123,
124
],
[
123,
125
],
[
113,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
126,
131
],
[
131,
132
],
[
131,
133
],
[
126,
134
],
[
134,
135
],
[
135,
136
],
[
126,
137
],
[
138,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
139,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
150,
151
],
[
149,
152
],
[
152,
153
],
[
152,
154
],
[
145,
155
],
[
139,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
113,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
162,
164
],
[
14,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
171,
173
],
[
14,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
174,
179
],
[
179,
180
],
[
180,
181
],
[
12,
182
],
[
182,
183
],
[
0,
184
],
[
184,
185
],
[
184,
186
]
]
| [
"import java.util.Arrays;\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 List<String> alp = Arrays.asList(\"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 n = sc.nextLong();\n int a = 0;\n for (int i = 1; i <= 26; i++) {\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }\n StringBuilder sb = new StringBuilder();\n\n for (int i = 1; i < a; i++) {\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }\n sb.append(alp.get((int) (n - 1)));\n System.out.println(sb.toString());\n }\n}",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<String> alp = Arrays.asList(\"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 n = sc.nextLong();\n int a = 0;\n for (int i = 1; i <= 26; i++) {\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }\n StringBuilder sb = new StringBuilder();\n\n for (int i = 1; i < a; i++) {\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }\n sb.append(alp.get((int) (n - 1)));\n System.out.println(sb.toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<String> alp = Arrays.asList(\"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 n = sc.nextLong();\n int a = 0;\n for (int i = 1; i <= 26; i++) {\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }\n StringBuilder sb = new StringBuilder();\n\n for (int i = 1; i < a; i++) {\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }\n sb.append(alp.get((int) (n - 1)));\n System.out.println(sb.toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n List<String> alp = Arrays.asList(\"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 n = sc.nextLong();\n int a = 0;\n for (int i = 1; i <= 26; i++) {\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }\n StringBuilder sb = new StringBuilder();\n\n for (int i = 1; i < a; i++) {\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }\n sb.append(alp.get((int) (n - 1)));\n System.out.println(sb.toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<String> alp = Arrays.asList(\"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\");",
"alp",
"Arrays.asList(\"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\")",
"Arrays.asList",
"Arrays",
"\"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 n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int a = 0;",
"a",
"0",
"for (int i = 1; i <= 26; i++) {\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }",
"{\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }",
"long pow = (long) Math.pow(26, i);",
"pow",
"(long) Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"long sub = 0;",
"sub",
"0",
"if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }",
"n <= pow",
"n",
"pow",
"{\n a = i;\n break;\n }",
"a = i",
"a",
"i",
"break;",
"{\n sub += pow;\n }",
"sub += pow",
"sub",
"pow",
"n = n - sub",
"n",
"n - sub",
"n",
"sub",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 1; i < a; i++) {\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < a",
"i",
"a",
"i++",
"i++",
"i",
"{\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }",
"{\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }",
"long pow = (long) Math.pow(26, a - i);",
"pow",
"(long) Math.pow(26, a - i)",
"Math.pow",
"Math",
"26",
"a - i",
"a",
"i",
"long sub = 0;",
"sub",
"0",
"for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }",
"int j = 1;",
"int j = 1;",
"j",
"1",
"j <= 26",
"j",
"26",
"j++",
"j++",
"j",
"{\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }",
"{\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }",
"if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }",
"n <= pow * j",
"n",
"pow * j",
"pow",
"j",
"{\n sb.append(alp.get(j - 1));\n break;\n }",
"sb.append(alp.get(j - 1))",
"sb.append",
"sb",
"alp.get(j - 1)",
"alp.get",
"alp",
"j - 1",
"j",
"1",
"break;",
"{\n sub += pow;\n }",
"sub += pow",
"sub",
"pow",
"n = n - sub",
"n",
"n - sub",
"n",
"sub",
"sb.append(alp.get((int) (n - 1)))",
"sb.append",
"sb",
"alp.get((int) (n - 1))",
"alp.get",
"alp",
"(int) (n - 1)",
"n",
"1",
"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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<String> alp = Arrays.asList(\"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 n = sc.nextLong();\n int a = 0;\n for (int i = 1; i <= 26; i++) {\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }\n StringBuilder sb = new StringBuilder();\n\n for (int i = 1; i < a; i++) {\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }\n sb.append(alp.get((int) (n - 1)));\n System.out.println(sb.toString());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n List<String> alp = Arrays.asList(\"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 n = sc.nextLong();\n int a = 0;\n for (int i = 1; i <= 26; i++) {\n\n long pow = (long) Math.pow(26, i);\n long sub = 0;\n if (n <= pow) {\n a = i;\n break;\n } else {\n sub += pow;\n }\n n = n - sub;\n }\n StringBuilder sb = new StringBuilder();\n\n for (int i = 1; i < a; i++) {\n long pow = (long) Math.pow(26, a - i);\n long sub = 0;\n for (int j = 1; j <= 26; j++) {\n if (n <= pow * j) {\n sb.append(alp.get(j - 1));\n break;\n } else {\n sub += pow;\n }\n }\n n = n - sub;\n }\n sb.append(alp.get((int) (n - 1)));\n System.out.println(sb.toString());\n }\n}",
"Main"
]
| import java.util.Arrays;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<String> alp = Arrays.asList("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 n = sc.nextLong();
int a = 0;
for (int i = 1; i <= 26; i++) {
long pow = (long) Math.pow(26, i);
long sub = 0;
if (n <= pow) {
a = i;
break;
} else {
sub += pow;
}
n = n - sub;
}
StringBuilder sb = new StringBuilder();
for (int i = 1; i < a; i++) {
long pow = (long) Math.pow(26, a - i);
long sub = 0;
for (int j = 1; j <= 26; j++) {
if (n <= pow * j) {
sb.append(alp.get(j - 1));
break;
} else {
sub += pow;
}
}
n = n - sub;
}
sb.append(alp.get((int) (n - 1)));
System.out.println(sb.toString());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
2,
2,
13,
17,
13,
2,
13,
2,
13,
4,
18,
13,
17,
13,
30,
0,
13,
2,
13,
13,
3,
30,
0,
13,
2,
13,
4,
18,
13,
17,
13,
40,
13,
41,
13,
20,
40,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
0,
13,
2,
13,
17,
41,
13,
2,
13,
17,
4,
18,
13,
13,
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
],
[
119,
5
],
[
119,
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
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
10,
22
],
[
22,
23
],
[
22,
24
],
[
10,
25
],
[
25,
26
],
[
25,
27
],
[
10,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
31,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
47,
53
],
[
31,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
54,
64
],
[
64,
65
],
[
10,
66
],
[
66,
67
],
[
66,
68
],
[
10,
69
],
[
69,
70
],
[
10,
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
],
[
86,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
83,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
83,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
10,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
10,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
110,
115
],
[
6,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}\n\n\n\t}\n\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}\n\n\n\t}\n\n\n}",
"Main",
"public static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}\n\n\n\t}",
"main",
"{\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}\n\n\n\t}",
"try(Scanner scan = new Scanner(System.in)){\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}",
"{\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}",
"Scanner scan = new Scanner(System.in)",
"Scanner scan = new Scanner(System.in)",
"new Scanner(System.in)",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long max = 0;",
"max",
"0",
"long count = 1;",
"count",
"1",
"long num = 0;",
"num",
"0",
"while(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"true",
"{\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}",
"if(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}",
"max+1<=N&&N<=max+(long)Math.pow(26,count)",
"max+1<=N",
"max+1",
"max",
"1",
"N",
"N<=max+(long)Math.pow(26,count)",
"N",
"max+(long)Math.pow(26,count)",
"max",
"(long)Math.pow(26,count)",
"Math.pow",
"Math",
"26",
"count",
"{\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"num = N-max",
"num",
"N-max",
"N",
"max",
"break;",
"{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}",
"max = max+(long)Math.pow(26,count)",
"max",
"max+(long)Math.pow(26,count)",
"max",
"(long)Math.pow(26,count)",
"Math.pow",
"Math",
"26",
"count",
"count++",
"count",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"num--",
"num",
"for(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<count",
"i",
"count",
"i++",
"i++",
"i",
"{\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}",
"{\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}",
"long x = num%26;",
"x",
"num%26",
"num",
"26",
"num = num/26",
"num",
"num/26",
"num",
"26",
"char c = (char)(x+97);",
"c",
"(char)(x+97)",
"x",
"97",
"sb.append(c)",
"sb.append",
"sb",
"c",
"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\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}\n\n\n\t}\n\n\n}",
"public class Main {\n\tpublic static void main(String[]args) {\n\t\ttry(Scanner scan = new Scanner(System.in)){\n\t\t\t//1000000000000001 = 10^15+1\n\n\t\t\tlong N = scan.nextLong();\n\n\t\t\tlong max = 0;\n\t\t\tlong count = 1;\n\n\t\t\tlong num = 0;\n\n\t\t\twhile(true) {\n\t\t\t\tif(max+1<=N&&N<=max+(long)Math.pow(26,count)) {\n\t\t\t\t\tnum = N-max;\n\t\t\t\t\tbreak;\n\t\t\t\t}else{\n\t\t\t\t\tmax = max+(long)Math.pow(26,count);\n\t\t\t\t\tcount++;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//System.out.println(num);\n\t\t\t//System.out.println(count);\n\n\t\t\tStringBuffer sb = new StringBuffer();\n\t\t\tnum--;\n\n\n\t\t\tfor(int i = 0;i<count;i++) {\n\t\t\t\tlong x = num%26;\n\t\t\t\tnum = num/26;\n\t\t\t\tchar c = (char)(x+97);\n\t\t\t\t//System.out.println(x);\n\t\t\t\tsb.append(c);\n\t\t\t}\n\n\t\t\tString S = sb.reverse().toString();\n\n\t\t\t//System.out.println();\n\t\t\tSystem.out.println(S);\n\n\t\t}\n\n\n\t}\n\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[]args) {
try(Scanner scan = new Scanner(System.in)){
//1000000000000001 = 10^15+1
long N = scan.nextLong();
long max = 0;
long count = 1;
long num = 0;
while(true) {
if(max+1<=N&&N<=max+(long)Math.pow(26,count)) {
num = N-max;
break;
}else{
max = max+(long)Math.pow(26,count);
count++;
}
}
//System.out.println(num);
//System.out.println(count);
StringBuffer sb = new StringBuffer();
num--;
for(int i = 0;i<count;i++) {
long x = num%26;
num = num/26;
char c = (char)(x+97);
//System.out.println(x);
sb.append(c);
}
String S = sb.reverse().toString();
//System.out.println();
System.out.println(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,
20,
17,
42,
2,
13,
13,
30,
0,
13,
2,
13,
4,
18,
13,
17,
13,
0,
18,
13,
13,
13,
40,
13,
41,
13,
17,
0,
13,
2,
2,
13,
18,
13,
2,
13,
17,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
2,
13,
17,
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
],
[
112,
5
],
[
112,
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,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
36,
40
],
[
31,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
31,
46
],
[
46,
47
],
[
8,
48
],
[
48,
49
],
[
48,
50
],
[
8,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
8,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
76,
77
],
[
65,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
79,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
8,
96
],
[
96,
97
],
[
96,
98
],
[
8,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
99,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
6,
109
],
[
109,
110
],
[
0,
111
],
[
111,
112
],
[
111,
113
]
]
| [
"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 long num = 0;\n int cnt = 1;\n long[] array26 = new long[10000000];\n while (num < N){\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }\n\n long digit_num = 0;\n digit_num = N - array26[cnt - 2] - 1;\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < cnt - 1; i++){\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }\n StringBuffer reverseString = new StringBuffer(sb.toString());\n System.out.println(reverseString.reverse().toString());\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 long num = 0;\n int cnt = 1;\n long[] array26 = new long[10000000];\n while (num < N){\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }\n\n long digit_num = 0;\n digit_num = N - array26[cnt - 2] - 1;\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < cnt - 1; i++){\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }\n StringBuffer reverseString = new StringBuffer(sb.toString());\n System.out.println(reverseString.reverse().toString());\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 cnt = 1;\n long[] array26 = new long[10000000];\n while (num < N){\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }\n\n long digit_num = 0;\n digit_num = N - array26[cnt - 2] - 1;\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < cnt - 1; i++){\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }\n StringBuffer reverseString = new StringBuffer(sb.toString());\n System.out.println(reverseString.reverse().toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long num = 0;\n int cnt = 1;\n long[] array26 = new long[10000000];\n while (num < N){\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }\n\n long digit_num = 0;\n digit_num = N - array26[cnt - 2] - 1;\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < cnt - 1; i++){\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }\n StringBuffer reverseString = new StringBuffer(sb.toString());\n System.out.println(reverseString.reverse().toString());\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 cnt = 1;",
"cnt",
"1",
"long[] array26 = new long[10000000];",
"array26",
"new long[10000000]",
"10000000",
"while (num < N){\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }",
"num < N",
"num",
"N",
"{\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }",
"num = num + (long) Math.pow(26, cnt)",
"num",
"num + (long) Math.pow(26, cnt)",
"num",
"(long) Math.pow(26, cnt)",
"Math.pow",
"Math",
"26",
"cnt",
"array26[cnt] = num",
"array26[cnt]",
"array26",
"cnt",
"num",
"cnt++",
"cnt",
"long digit_num = 0;",
"digit_num",
"0",
"digit_num = N - array26[cnt - 2] - 1",
"digit_num",
"N - array26[cnt - 2] - 1",
"N - array26[cnt - 2] - 1",
"N",
"array26[cnt - 2]",
"array26",
"cnt - 2",
"cnt",
"2",
"1",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < cnt - 1; i++){\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < cnt - 1",
"i",
"cnt - 1",
"cnt",
"1",
"i++",
"i++",
"i",
"{\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }",
"{\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }",
"sb.append(String.valueOf((char) (digit_num % 26 + 97)))",
"sb.append",
"sb",
"String.valueOf((char) (digit_num % 26 + 97))",
"String.valueOf",
"String",
"(char) (digit_num % 26 + 97)",
"digit_num % 26",
"digit_num",
"26",
"97",
"digit_num = digit_num / 26",
"digit_num",
"digit_num / 26",
"digit_num",
"26",
"StringBuffer reverseString = new StringBuffer(sb.toString());",
"reverseString",
"new StringBuffer(sb.toString())",
"System.out.println(reverseString.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"reverseString.reverse().toString()",
"reverseString.reverse().toString",
"reverseString.reverse()",
"reverseString.reverse",
"reverseString",
"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 cnt = 1;\n long[] array26 = new long[10000000];\n while (num < N){\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }\n\n long digit_num = 0;\n digit_num = N - array26[cnt - 2] - 1;\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < cnt - 1; i++){\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }\n StringBuffer reverseString = new StringBuffer(sb.toString());\n System.out.println(reverseString.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 long num = 0;\n int cnt = 1;\n long[] array26 = new long[10000000];\n while (num < N){\n num = num + (long) Math.pow(26, cnt);\n array26[cnt] = num;\n cnt++;\n }\n\n long digit_num = 0;\n digit_num = N - array26[cnt - 2] - 1;\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < cnt - 1; i++){\n sb.append(String.valueOf((char) (digit_num % 26 + 97)));\n digit_num = digit_num / 26;\n }\n StringBuffer reverseString = new StringBuffer(sb.toString());\n System.out.println(reverseString.reverse().toString());\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 num = 0;
int cnt = 1;
long[] array26 = new long[10000000];
while (num < N){
num = num + (long) Math.pow(26, cnt);
array26[cnt] = num;
cnt++;
}
long digit_num = 0;
digit_num = N - array26[cnt - 2] - 1;
StringBuilder sb = new StringBuilder();
for (int i = 0; i < cnt - 1; i++){
sb.append(String.valueOf((char) (digit_num % 26 + 97)));
digit_num = digit_num / 26;
}
StringBuffer reverseString = new StringBuffer(sb.toString());
System.out.println(reverseString.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,
0,
13,
2,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
17,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
70,
5
],
[
70,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
24,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
24,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
6,
67
],
[
67,
68
],
[
0,
69
],
[
69,
70
],
[
69,
71
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Long N = sc.nextLong();\n \n String name = \"\";\n \n while(N>0){\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\n }\n System.out.println(name);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Long N = sc.nextLong();\n \n String name = \"\";\n \n while(N>0){\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\n }\n System.out.println(name);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Long N = sc.nextLong();\n \n String name = \"\";\n \n while(N>0){\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\n }\n System.out.println(name);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n Long N = sc.nextLong();\n \n String name = \"\";\n \n while(N>0){\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\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 name = \"\";",
"name",
"\"\"",
"while(N>0){\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\n }",
"N>0",
"N",
"0",
"{\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\n }",
"N = N-1",
"N",
"N-1",
"N",
"1",
"String x = String.valueOf(Character.toChars((int)(N%26)+97));",
"x",
"String.valueOf(Character.toChars((int)(N%26)+97))",
"String.valueOf",
"String",
"Character.toChars((int)(N%26)+97)",
"Character.toChars",
"Character",
"(int)(N%26)+97",
"(int)(N%26)",
"N",
"26",
"97",
"name = x.concat(name)",
"name",
"x.concat(name)",
"x.concat",
"x",
"name",
"if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }",
"N >=26",
"N",
"26",
"{\n N = (Long)N/26;\n }",
"N = (Long)N/26",
"N",
"(Long)N/26",
"(Long)N",
"26",
"{\n break;\n }",
"break;",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Long N = sc.nextLong();\n \n String name = \"\";\n \n while(N>0){\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\n }\n System.out.println(name);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n Long N = sc.nextLong();\n \n String name = \"\";\n \n while(N>0){\n N = N-1;\n String x = String.valueOf(Character.toChars((int)(N%26)+97));\n name = x.concat(name);\n if(N >=26){\n N = (Long)N/26;\n } else {\n break;\n }\n }\n System.out.println(name);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
Long N = sc.nextLong();
String name = "";
while(N>0){
N = N-1;
String x = String.valueOf(Character.toChars((int)(N%26)+97));
name = x.concat(name);
if(N >=26){
N = (Long)N/26;
} else {
break;
}
}
System.out.println(name);
}
} |
[
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,
2,
13,
13,
17,
30,
40,
13,
0,
13,
13,
0,
13,
17,
41,
13,
20,
0,
13,
17,
40,
13,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
2,
17,
2,
13,
13,
0,
13,
13,
0,
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
],
[
87,
8
],
[
87,
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
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
32,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
49,
62
],
[
63,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
63,
72
],
[
72,
73
],
[
72,
74
],
[
63,
75
],
[
75,
76
],
[
75,
77
],
[
11,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
9,
84
],
[
84,
85
],
[
0,
86
],
[
86,
87
],
[
86,
88
]
]
| [
"import java.util.*;\nimport java.io.PrintWriter;\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\tlong ts=26;\n\t\tint count=0;\n\t\twhile(n-ts>0){\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}\n\t\tStringBuilder ans=new StringBuilder();\n\t\tts/=26;\n\t\tn--;\n\t\tfor(int i=0; i<count+1; i++){\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"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\tlong ts=26;\n\t\tint count=0;\n\t\twhile(n-ts>0){\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}\n\t\tStringBuilder ans=new StringBuilder();\n\t\tts/=26;\n\t\tn--;\n\t\tfor(int i=0; i<count+1; i++){\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}\n\t\tSystem.out.println(ans);\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\tlong ts=26;\n\t\tint count=0;\n\t\twhile(n-ts>0){\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}\n\t\tStringBuilder ans=new StringBuilder();\n\t\tts/=26;\n\t\tn--;\n\t\tfor(int i=0; i<count+1; i++){\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tlong ts=26;\n\t\tint count=0;\n\t\twhile(n-ts>0){\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}\n\t\tStringBuilder ans=new StringBuilder();\n\t\tts/=26;\n\t\tn--;\n\t\tfor(int i=0; i<count+1; i++){\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long ts=26;",
"ts",
"26",
"int count=0;",
"count",
"0",
"while(n-ts>0){\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}",
"n-ts>0",
"n-ts",
"n",
"ts",
"0",
"{\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}",
"count++",
"count",
"n-=ts",
"n",
"ts",
"ts*=26",
"ts",
"26",
"StringBuilder ans=new StringBuilder();",
"ans",
"new StringBuilder()",
"ts/=26",
"ts",
"26",
"n--",
"n",
"for(int i=0; i<count+1; i++){\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<count+1",
"i",
"count+1",
"count",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}",
"{\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}",
"ans.append((char)('a'+n/ts))",
"ans.append",
"ans",
"(char)('a'+n/ts)",
"'a'",
"n/ts",
"n",
"ts",
"n%=ts",
"n",
"ts",
"ts/=26",
"ts",
"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\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tlong ts=26;\n\t\tint count=0;\n\t\twhile(n-ts>0){\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}\n\t\tStringBuilder ans=new StringBuilder();\n\t\tts/=26;\n\t\tn--;\n\t\tfor(int i=0; i<count+1; i++){\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}\n\t\tSystem.out.println(ans);\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\tlong ts=26;\n\t\tint count=0;\n\t\twhile(n-ts>0){\n\t\t\tcount++;\n\t\t\tn-=ts;\n\t\t\tts*=26;\n\t\t}\n\t\tStringBuilder ans=new StringBuilder();\n\t\tts/=26;\n\t\tn--;\n\t\tfor(int i=0; i<count+1; i++){\n\t\t\tans.append((char)('a'+n/ts));\n\t\t\tn%=ts;\n\t\t\tts/=26;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.PrintWriter;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long n=sc.nextLong();
long ts=26;
int count=0;
while(n-ts>0){
count++;
n-=ts;
ts*=26;
}
StringBuilder ans=new StringBuilder();
ts/=26;
n--;
for(int i=0; i<count+1; i++){
ans.append((char)('a'+n/ts));
n%=ts;
ts/=26;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
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,
42,
2,
13,
17,
30,
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,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
95,
5
],
[
95,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
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
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
56,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
56,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
56,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tString[] 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\"};\n\n\t\tString ans = \"\";\n\n\t\twhile(n>0) {\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\n\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tString[] 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\"};\n\n\t\tString ans = \"\";\n\n\t\twhile(n>0) {\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\n\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tString[] 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\"};\n\n\t\tString ans = \"\";\n\n\t\twhile(n>0) {\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\n\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tString[] 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\"};\n\n\t\tString ans = \"\";\n\n\t\twhile(n>0) {\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}\n\t\tSystem.out.println(ans);\n\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",
"sc.close()",
"sc.close",
"sc",
"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\"};",
"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\"}",
"\"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 ans = \"\";",
"ans",
"\"\"",
"while(n>0) {\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}",
"long m = n%26L;",
"m",
"n%26L",
"n",
"26L",
"if(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}",
"m==0",
"m",
"0",
"{\n\t\t\t\tm = 26L;\n\t\t\t}",
"m = 26L",
"m",
"26L",
"ans = list[(int) (m-1)]+ans",
"ans",
"list[(int) (m-1)]+ans",
"list[(int) (m-1)]",
"list",
"(int) (m-1)",
"m",
"1",
"ans",
"n = (n-m)/26L",
"n",
"(n-m)/26L",
"(n-m)",
"n",
"m",
"26L",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tString[] 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\"};\n\n\t\tString ans = \"\";\n\n\t\twhile(n>0) {\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\n\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tString[] 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\"};\n\n\t\tString ans = \"\";\n\n\t\twhile(n>0) {\n\t\t\tlong m = n%26L;\n\t\t\tif(m==0) {\n\t\t\t\tm = 26L;\n\t\t\t}\n\t\t\tans = list[(int) (m-1)]+ans;\n\t\t\tn = (n-m)/26L;\n\t\t}\n\t\tSystem.out.println(ans);\n\n\n\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
sc.close();
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"};
String ans = "";
while(n>0) {
long m = n%26L;
if(m==0) {
m = 26L;
}
ans = list[(int) (m-1)]+ans;
n = (n-m)/26L;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
17,
40,
13,
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
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
17,
21
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
29,
41
],
[
41,
42
],
[
11,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
47,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
43,
55
],
[
55,
56
],
[
56,
57
],
[
43,
58
],
[
59,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\nimport java.io.PrintWriter;\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()-1;\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\twhile(n>=0){\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong()-1;\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\twhile(n>=0){\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tSystem.out.print(list.get(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()-1;\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\twhile(n>=0){\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong()-1;\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\twhile(n>=0){\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t}\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",
"ArrayList<Character> list=new ArrayList<>();",
"list",
"new ArrayList<>()",
"while(n>=0){\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}",
"n>=0",
"n",
"0",
"{\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}",
"list.add((char)('a'+n%26))",
"list.add",
"list",
"(char)('a'+n%26)",
"'a'",
"n%26",
"n",
"26",
"n/=26",
"n",
"26",
"n--",
"n",
"for(int i=list.size()-1; i>=0; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t}",
"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\t\t\tSystem.out.print(list.get(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(list.get(i));\n\t\t}",
"System.out.print(list.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"list.get(i)",
"list.get",
"list",
"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()-1;\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\twhile(n>=0){\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tSystem.out.print(list.get(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()-1;\n\t\tArrayList<Character> list=new ArrayList<>();\n\t\twhile(n>=0){\n\t\t\tlist.add((char)('a'+n%26));\n\t\t\tn/=26;\n\t\t\tn--;\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tSystem.out.print(list.get(i));\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.PrintWriter;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
long n=sc.nextLong()-1;
ArrayList<Character> list=new ArrayList<>();
while(n>=0){
list.add((char)('a'+n%26));
n/=26;
n--;
}
for(int i=list.size()-1; i>=0; i--){
System.out.print(list.get(i));
}
}
}
|
[
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,
17,
42,
2,
13,
17,
30,
0,
13,
17,
41,
13,
2,
13,
17,
0,
13,
2,
18,
13,
13,
13,
0,
13,
17,
4,
18,
18,
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
],
[
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
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
53,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
53,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar[] 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'};\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n//\t\tn -= 1;\n\t\tString s = \"\";\n\t\tdo {\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}while(n>0);\n\t\tSystem.out.println(s);\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar[] 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'};\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n//\t\tn -= 1;\n\t\tString s = \"\";\n\t\tdo {\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}while(n>0);\n\t\tSystem.out.println(s);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar[] 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'};\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n//\t\tn -= 1;\n\t\tString s = \"\";\n\t\tdo {\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}while(n>0);\n\t\tSystem.out.println(s);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar[] 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'};\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n//\t\tn -= 1;\n\t\tString s = \"\";\n\t\tdo {\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}while(n>0);\n\t\tSystem.out.println(s);\n\t}",
"char[] 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'};",
"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'}",
"'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",
"String s = \"\";",
"s",
"\"\"",
"do {\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}while(n>0);",
"n>0",
"n",
"0",
"{\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}",
"n -= 1",
"n",
"1",
"int z = (int)((n)%26);",
"z",
"(int)((n)%26)",
"(n)",
"26",
"s = alphabet[z] + s",
"s",
"alphabet[z] + s",
"alphabet[z]",
"alphabet",
"z",
"s",
"n /= 26",
"n",
"26",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar[] 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'};\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n//\t\tn -= 1;\n\t\tString s = \"\";\n\t\tdo {\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}while(n>0);\n\t\tSystem.out.println(s);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tchar[] 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'};\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n//\t\tn -= 1;\n\t\tString s = \"\";\n\t\tdo {\n\t\t\tn -= 1;\n\t\t\tint z = (int)((n)%26);\n\t\t\ts = alphabet[z] + s;\n\t\t\tn /= 26;\n\t\t}while(n>0);\n\t\tSystem.out.println(s);\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
char[] 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();
// n -= 1;
String s = "";
do {
n -= 1;
int z = (int)((n)%26);
s = alphabet[z] + s;
n /= 26;
}while(n>0);
System.out.println(s);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
18,
13,
13,
2,
17,
13,
14,
2,
13,
17,
30,
3,
0,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
13,
30,
9,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
103,
5
],
[
103,
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
],
[
8,
21
],
[
21,
22
],
[
21,
23
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
25,
30
],
[
30,
31
],
[
30,
32
],
[
25,
33
],
[
33,
34
],
[
34,
35
],
[
25,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
37,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
37,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
37,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
37,
66
],
[
66,
67
],
[
66,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
74,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
69,
80
],
[
81,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
81,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
6,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n long x;\n long y;\n char[] out = new char[11]; // 1000000000000001 <= 26^10とちょっとくらい?なので11桁\n\n for (int i = 0; i < 11; i++) {\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }\n\n for (int i = 10; i >= 0; i--) {\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n long x;\n long y;\n char[] out = new char[11]; // 1000000000000001 <= 26^10とちょっとくらい?なので11桁\n\n for (int i = 0; i < 11; i++) {\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }\n\n for (int i = 10; i >= 0; i--) {\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n long x;\n long y;\n char[] out = new char[11]; // 1000000000000001 <= 26^10とちょっとくらい?なので11桁\n\n for (int i = 0; i < 11; i++) {\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }\n\n for (int i = 10; i >= 0; i--) {\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n long x;\n long y;\n char[] out = new char[11]; // 1000000000000001 <= 26^10とちょっとくらい?なので11桁\n\n for (int i = 0; i < 11; i++) {\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }\n\n for (int i = 10; i >= 0; i--) {\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long x;",
"x",
"long y;",
"y",
"char[] out = new char[11];",
"out",
"new char[11]",
"11",
"for (int i = 0; i < 11; i++) {\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 11",
"i",
"11",
"i++",
"i++",
"i",
"{\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }",
"{\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }",
"N = N - 1",
"N",
"N - 1",
"N",
"1",
"x = N / 26",
"x",
"N / 26",
"N",
"26",
"y = N % 26",
"y",
"N % 26",
"N",
"26",
"out[i] = (char) ('a' + y)",
"out[i]",
"out",
"i",
"(char) ('a' + y)",
"'a'",
"y",
"if (x == 0) {\n break;\n }",
"x == 0",
"x",
"0",
"{\n break;\n }",
"break;",
"N = x",
"N",
"x",
"for (int i = 10; i >= 0; i--) {\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }",
"int i = 10;",
"int i = 10;",
"i",
"10",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }",
"{\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }",
"if (out[i] == Character.MIN_VALUE) {\n continue;\n }",
"out[i] == Character.MIN_VALUE",
"out[i]",
"out",
"i",
"Character.MIN_VALUE",
"Character",
"Character.MIN_VALUE",
"{\n continue;\n }",
"continue;",
"System.out.print(out[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"out[i]",
"out",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n long x;\n long y;\n char[] out = new char[11]; // 1000000000000001 <= 26^10とちょっとくらい?なので11桁\n\n for (int i = 0; i < 11; i++) {\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }\n\n for (int i = 10; i >= 0; i--) {\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long N = sc.nextLong();\n long x;\n long y;\n char[] out = new char[11]; // 1000000000000001 <= 26^10とちょっとくらい?なので11桁\n\n for (int i = 0; i < 11; i++) {\n N = N - 1; // \n x = N / 26;\n y = N % 26;\n out[i] = (char) ('a' + y);\n if (x == 0) {\n break;\n }\n N = x;\n }\n\n for (int i = 10; i >= 0; i--) {\n if (out[i] == Character.MIN_VALUE) {\n continue;\n }\n System.out.print(out[i]);\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
long x;
long y;
char[] out = new char[11]; // 1000000000000001 <= 26^10とちょっとくらい?なので11桁
for (int i = 0; i < 11; i++) {
N = N - 1; //
x = N / 26;
y = N % 26;
out[i] = (char) ('a' + y);
if (x == 0) {
break;
}
N = x;
}
for (int i = 10; i >= 0; i--) {
if (out[i] == Character.MIN_VALUE) {
continue;
}
System.out.print(out[i]);
}
}
} |
[
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,
20,
29,
13,
14,
2,
13,
17,
30,
41,
13,
20,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
13,
29,
13,
41,
13,
20,
14,
2,
2,
13,
17,
17,
30,
41,
13,
4,
13,
2,
2,
13,
17,
17,
4,
18,
13,
13,
30,
41,
13,
4,
13,
2,
13,
17,
4,
18,
13,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
125,
5
],
[
125,
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
],
[
125,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
29,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
44,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
44,
59
],
[
59,
60
],
[
29,
61
],
[
61,
62
],
[
61,
63
],
[
29,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
70,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
64,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
84,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
29,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
29,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
29,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
29,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
29,
120
],
[
120,
121
],
[
27,
122
],
[
122,
123
],
[
0,
124
],
[
124,
125
],
[
124,
126
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong n=scn.nextLong();\n\t System.out.println( res(n));\n\n\t}\n\tpublic static StringBuilder res(long n){\n\t\tif(n<=0){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}\n\t\tif(n<=26){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}\n\t\t StringBuilder ans=new StringBuilder();\n\t\t if(n%26==0){\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }else{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }\n\t\t \n\t\t long val=n%26;\n\t\t if(val==0){\n\t\t \tval=26;\n\t\t }\n\t\t char ch=(char)((val-1)+'a');\n\t\t ans.append(ch);\n\t\t return ans;\n\t\t\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong n=scn.nextLong();\n\t System.out.println( res(n));\n\n\t}\n\tpublic static StringBuilder res(long n){\n\t\tif(n<=0){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}\n\t\tif(n<=26){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}\n\t\t StringBuilder ans=new StringBuilder();\n\t\t if(n%26==0){\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }else{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }\n\t\t \n\t\t long val=n%26;\n\t\t if(val==0){\n\t\t \tval=26;\n\t\t }\n\t\t char ch=(char)((val-1)+'a');\n\t\t ans.append(ch);\n\t\t return ans;\n\t\t\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong n=scn.nextLong();\n\t System.out.println( res(n));\n\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong n=scn.nextLong();\n\t System.out.println( res(n));\n\n\t}",
"Scanner scn=new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long n=scn.nextLong();",
"n",
"scn.nextLong()",
"scn.nextLong",
"scn",
"System.out.println( res(n))",
"System.out.println",
"System.out",
"System",
"System.out",
"res(n)",
"res",
"n",
"String[] args",
"args",
"public static StringBuilder res(long n){\n\t\tif(n<=0){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}\n\t\tif(n<=26){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}\n\t\t StringBuilder ans=new StringBuilder();\n\t\t if(n%26==0){\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }else{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }\n\t\t \n\t\t long val=n%26;\n\t\t if(val==0){\n\t\t \tval=26;\n\t\t }\n\t\t char ch=(char)((val-1)+'a');\n\t\t ans.append(ch);\n\t\t return ans;\n\t\t\n\t}",
"res",
"{\n\t\tif(n<=0){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}\n\t\tif(n<=26){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}\n\t\t StringBuilder ans=new StringBuilder();\n\t\t if(n%26==0){\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }else{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }\n\t\t \n\t\t long val=n%26;\n\t\t if(val==0){\n\t\t \tval=26;\n\t\t }\n\t\t char ch=(char)((val-1)+'a');\n\t\t ans.append(ch);\n\t\t return ans;\n\t\t\n\t}",
"if(n<=0){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}",
"n<=0",
"n",
"0",
"{\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"return sb;",
"sb",
"if(n<=26){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}",
"n<=26",
"n",
"26",
"{\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}",
"StringBuilder sb=new StringBuilder();",
"sb",
"new StringBuilder()",
"char ch = (char)((n-1)+'a');",
"ch",
"(char)((n-1)+'a')",
"(n-1)",
"n",
"1",
"'a'",
"sb.append(ch)",
"sb.append",
"sb",
"ch",
"return sb;",
"sb",
"StringBuilder ans=new StringBuilder();",
"ans",
"new StringBuilder()",
"if(n%26==0){\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }else{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }",
"n%26==0",
"n%26",
"n",
"26",
"0",
"{\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }",
"StringBuilder a= res(n/26-1);",
"a",
"res(n/26-1)",
"res",
"n/26-1",
"n/26",
"n",
"26",
"1",
"ans.append(a)",
"ans.append",
"ans",
"a",
"{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }",
"StringBuilder a= res(n/26);",
"a",
"res(n/26)",
"res",
"n/26",
"n",
"26",
"ans.append(a)",
"ans.append",
"ans",
"a",
"long val=n%26;",
"val",
"n%26",
"n",
"26",
"if(val==0){\n\t\t \tval=26;\n\t\t }",
"val==0",
"val",
"0",
"{\n\t\t \tval=26;\n\t\t }",
"val=26",
"val",
"26",
"char ch=(char)((val-1)+'a');",
"ch",
"(char)((val-1)+'a')",
"(val-1)",
"val",
"1",
"'a'",
"ans.append(ch)",
"ans.append",
"ans",
"ch",
"return ans;",
"ans",
"long n",
"n",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong n=scn.nextLong();\n\t System.out.println( res(n));\n\n\t}\n\tpublic static StringBuilder res(long n){\n\t\tif(n<=0){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}\n\t\tif(n<=26){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}\n\t\t StringBuilder ans=new StringBuilder();\n\t\t if(n%26==0){\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }else{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }\n\t\t \n\t\t long val=n%26;\n\t\t if(val==0){\n\t\t \tval=26;\n\t\t }\n\t\t char ch=(char)((val-1)+'a');\n\t\t ans.append(ch);\n\t\t return ans;\n\t\t\n\t}\n\n}",
"public class Main{\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner scn=new Scanner(System.in);\n\t\tlong n=scn.nextLong();\n\t System.out.println( res(n));\n\n\t}\n\tpublic static StringBuilder res(long n){\n\t\tif(n<=0){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\treturn sb;\n\t\t}\n\t\tif(n<=26){\n\t\t\tStringBuilder sb=new StringBuilder();\n\t\t\tchar ch = (char)((n-1)+'a');\n\t\t\tsb.append(ch);\n\t\t\treturn sb;\n\t\t}\n\t\t StringBuilder ans=new StringBuilder();\n\t\t if(n%26==0){\n\t\tStringBuilder a= res(n/26-1);\n\t\t ans.append(a);\n\t\t }else{\n\t\t\t StringBuilder a= res(n/26);\n\t\t\t ans.append(a);\n\t\t }\n\t\t \n\t\t long val=n%26;\n\t\t if(val==0){\n\t\t \tval=26;\n\t\t }\n\t\t char ch=(char)((val-1)+'a');\n\t\t ans.append(ch);\n\t\t return ans;\n\t\t\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn=new Scanner(System.in);
long n=scn.nextLong();
System.out.println( res(n));
}
public static StringBuilder res(long n){
if(n<=0){
StringBuilder sb=new StringBuilder();
return sb;
}
if(n<=26){
StringBuilder sb=new StringBuilder();
char ch = (char)((n-1)+'a');
sb.append(ch);
return sb;
}
StringBuilder ans=new StringBuilder();
if(n%26==0){
StringBuilder a= res(n/26-1);
ans.append(a);
}else{
StringBuilder a= res(n/26);
ans.append(a);
}
long val=n%26;
if(val==0){
val=26;
}
char ch=(char)((val-1)+'a');
ans.append(ch);
return ans;
}
} |
[
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,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
41,
13,
20,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
2,
2,
2,
13,
17,
17,
2,
13,
17,
2,
13,
17,
29,
17,
30,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
13,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
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
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
216,
20
],
[
216,
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,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
39,
52
],
[
52,
53
],
[
52,
54
],
[
23,
55
],
[
55,
56
],
[
55,
57
],
[
23,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
23,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
68,
69
],
[
21,
70
],
[
70,
71
],
[
216,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
75,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
83,
89
],
[
89,
90
],
[
89,
91
],
[
82,
92
],
[
92,
93
],
[
92,
94
],
[
81,
95
],
[
95,
96
],
[
81,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
98,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
98,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
115,
121
],
[
121,
122
],
[
97,
123
],
[
123,
124
],
[
72,
125
],
[
125,
126
],
[
216,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
127,
131
],
[
131,
132
],
[
127,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
127,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
142,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
152,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
141,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
127,
167
],
[
167,
168
],
[
167,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
174,
175
],
[
127,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
183,
184
],
[
127,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
189,
192
],
[
192,
193
],
[
127,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
200,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
196,
213
],
[
213,
214
],
[
0,
215
],
[
215,
216
],
[
215,
217
]
]
| [
"\n\nimport javax.swing.*;\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n long n = s.nextLong();\n String s1=\"\";\n while(n>0)\n {\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }\n StringBuilder s2 = new StringBuilder();\n s2.append(s1);\n System.out.println(s2.reverse());\n\n }\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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}",
"import javax.swing.*;",
"swing.*",
"javax",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n long n = s.nextLong();\n String s1=\"\";\n while(n>0)\n {\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }\n StringBuilder s2 = new StringBuilder();\n s2.append(s1);\n System.out.println(s2.reverse());\n\n }\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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}",
"Main",
"public static void main(String[] args) {\n FastReader s = new FastReader();\n long n = s.nextLong();\n String s1=\"\";\n while(n>0)\n {\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }\n StringBuilder s2 = new StringBuilder();\n s2.append(s1);\n System.out.println(s2.reverse());\n\n }",
"main",
"{\n FastReader s = new FastReader();\n long n = s.nextLong();\n String s1=\"\";\n while(n>0)\n {\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }\n StringBuilder s2 = new StringBuilder();\n s2.append(s1);\n System.out.println(s2.reverse());\n\n }",
"FastReader s = new FastReader();",
"s",
"new FastReader()",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"String s1=\"\";",
"s1",
"\"\"",
"while(n>0)\n {\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }",
"n>0",
"n",
"0",
"{\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }",
"n--",
"n",
"s1 += Character.toString((char)((n % 26) + 'a'))",
"s1",
"Character.toString((char)((n % 26) + 'a'))",
"Character.toString",
"Character",
"(char)((n % 26) + 'a')",
"(n % 26)",
"n",
"26",
"'a'",
"n /= 26",
"n",
"26",
"StringBuilder s2 = new StringBuilder();",
"s2",
"new StringBuilder()",
"s2.append(s1)",
"s2.append",
"s2",
"s1",
"System.out.println(s2.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"s2.reverse()",
"s2.reverse",
"s2",
"String[] args",
"args",
"private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }",
"isPrime",
"{\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }",
"if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"n == 2",
"n",
"2",
"return true;",
"true",
"if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"(n % 2 == 0 && n > 2) || n < 2",
"(n % 2 == 0 && n > 2)",
"n % 2 == 0",
"n % 2",
"n",
"2",
"0",
"n > 2",
"n",
"2",
"n < 2",
"n",
"2",
"return false;",
"false",
"{\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }",
"for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }",
"int i = 3;",
"int i = 3;",
"i",
"3",
"i <= (int) Math.sqrt(n)",
"i",
"(int) Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"i += 2",
"i += 2",
"i",
"2",
"{\n if (n % i == 0)\n return false;\n }",
"{\n if (n % i == 0)\n return false;\n }",
"if (n % i == 0)\n return false;",
"n % i == 0",
"n % i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"int n",
"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 }",
"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 public static void main(String[] args) {\n FastReader s = new FastReader();\n long n = s.nextLong();\n String s1=\"\";\n while(n>0)\n {\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }\n StringBuilder s2 = new StringBuilder();\n s2.append(s1);\n System.out.println(s2.reverse());\n\n }\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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}",
"public class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n long n = s.nextLong();\n String s1=\"\";\n while(n>0)\n {\n n--;\n s1 += Character.toString((char)((n % 26) + 'a'));\n n /= 26;\n }\n StringBuilder s2 = new StringBuilder();\n s2.append(s1);\n System.out.println(s2.reverse());\n\n }\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\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}",
"Main"
]
|
import javax.swing.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastReader s = new FastReader();
long n = s.nextLong();
String s1="";
while(n>0)
{
n--;
s1 += Character.toString((char)((n % 26) + 'a'));
n /= 26;
}
StringBuilder s2 = new StringBuilder();
s2.append(s1);
System.out.println(s2.reverse());
}
private static boolean isPrime(int n) {
if (n == 2)
return true;
else if ((n % 2 == 0 && n > 2) || n < 2)
return false;
else {
for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {
if (n % i == 0)
return false;
}
return true;
}
}
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;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
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,
4,
18,
13,
17,
0,
13,
17,
30,
41,
13,
17,
0,
13,
2,
13,
17,
4,
18,
13,
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
],
[
77,
5
],
[
77,
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
],
[
21,
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
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
48,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
30,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
6,
74
],
[
74,
75
],
[
0,
76
],
[
76,
77
],
[
76,
78
]
]
| [
"\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long n = Long.parseLong(scan.next());\n scan.close();\n\n StringBuilder sb = new StringBuilder();\n\n while (n > 0) {\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }\n\n System.out.println(sb.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 scan = new Scanner(System.in);\n long n = Long.parseLong(scan.next());\n scan.close();\n\n StringBuilder sb = new StringBuilder();\n\n while (n > 0) {\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }\n\n System.out.println(sb.reverse().toString());\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long n = Long.parseLong(scan.next());\n scan.close();\n\n StringBuilder sb = new StringBuilder();\n\n while (n > 0) {\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }\n\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long n = Long.parseLong(scan.next());\n scan.close();\n\n StringBuilder sb = new StringBuilder();\n\n while (n > 0) {\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }\n\n System.out.println(sb.reverse().toString());\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = Long.parseLong(scan.next());",
"n",
"Long.parseLong(scan.next())",
"Long.parseLong",
"Long",
"scan.next()",
"scan.next",
"scan",
"scan.close()",
"scan.close",
"scan",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }",
"long l = n % 26;",
"l",
"n % 26",
"n",
"26",
"if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }",
"l == 0",
"l",
"0",
"{\n sb.append('z');\n n -= 1;\n }",
"sb.append('z')",
"sb.append",
"sb",
"'z'",
"n -= 1",
"n",
"1",
"{\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }",
"char c = 'a';",
"c",
"'a'",
"c += l - 1",
"c",
"l - 1",
"l",
"1",
"sb.append(c)",
"sb.append",
"sb",
"c",
"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 void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long n = Long.parseLong(scan.next());\n scan.close();\n\n StringBuilder sb = new StringBuilder();\n\n while (n > 0) {\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }\n\n System.out.println(sb.reverse().toString());\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n long n = Long.parseLong(scan.next());\n scan.close();\n\n StringBuilder sb = new StringBuilder();\n\n while (n > 0) {\n long l = n % 26;\n if (l == 0) {\n sb.append('z');\n n -= 1;\n } else {\n char c = 'a';\n c += l - 1;\n sb.append(c);\n }\n\n n /= 26;\n }\n\n System.out.println(sb.reverse().toString());\n }\n\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
long n = Long.parseLong(scan.next());
scan.close();
StringBuilder sb = new StringBuilder();
while (n > 0) {
long l = n % 26;
if (l == 0) {
sb.append('z');
n -= 1;
} else {
char c = 'a';
c += l - 1;
sb.append(c);
}
n /= 26;
}
System.out.println(sb.reverse().toString());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
2,
13,
13,
17,
4,
18,
13,
17,
2,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
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
],
[
24,
25
],
[
8,
26
],
[
26,
27
],
[
26,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
33,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
33,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n long resN = Long.parseLong(sc.next());\n long modN = 0;\n\n sc.close();\n StringBuilder sb = new StringBuilder();\n\n while (resN > 0) {\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }\n System.out.println(sb.toString());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n long resN = Long.parseLong(sc.next());\n long modN = 0;\n\n sc.close();\n StringBuilder sb = new StringBuilder();\n\n while (resN > 0) {\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }\n System.out.println(sb.toString());\n }\n}",
"Main",
"public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n long resN = Long.parseLong(sc.next());\n long modN = 0;\n\n sc.close();\n StringBuilder sb = new StringBuilder();\n\n while (resN > 0) {\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }\n System.out.println(sb.toString());\n }",
"main",
"{\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n long resN = Long.parseLong(sc.next());\n long modN = 0;\n\n sc.close();\n StringBuilder sb = new StringBuilder();\n\n while (resN > 0) {\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }\n System.out.println(sb.toString());\n }",
"final Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long resN = Long.parseLong(sc.next());",
"resN",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"long modN = 0;",
"modN",
"0",
"sc.close()",
"sc.close",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (resN > 0) {\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }",
"resN > 0",
"resN",
"0",
"{\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }",
"modN = resN % 26",
"modN",
"resN % 26",
"resN",
"26",
"if (modN == 0) {\n modN = 26;\n }",
"modN == 0",
"modN",
"0",
"{\n modN = 26;\n }",
"modN = 26",
"modN",
"26",
"resN = (resN - modN) / 26",
"resN",
"(resN - modN) / 26",
"(resN - modN)",
"resN",
"modN",
"26",
"sb.insert(0, (char) (96 + modN))",
"sb.insert",
"sb",
"0",
"(char) (96 + modN)",
"96",
"modN",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"final String[] args",
"args",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n long resN = Long.parseLong(sc.next());\n long modN = 0;\n\n sc.close();\n StringBuilder sb = new StringBuilder();\n\n while (resN > 0) {\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }\n System.out.println(sb.toString());\n }\n}",
"public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n // 整数の入力\n // final int a = sc.nextInt();\n // 文字列の入力\n // final String s1 = sc.next();\n long resN = Long.parseLong(sc.next());\n long modN = 0;\n\n sc.close();\n StringBuilder sb = new StringBuilder();\n\n while (resN > 0) {\n modN = resN % 26;\n if (modN == 0) {\n modN = 26;\n }\n resN = (resN - modN) / 26;\n\n sb.insert(0, (char) (96 + modN));\n }\n System.out.println(sb.toString());\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(final String[] args) {
final Scanner sc = new Scanner(System.in);
// 整数の入力
// final int a = sc.nextInt();
// 文字列の入力
// final String s1 = sc.next();
long resN = Long.parseLong(sc.next());
long modN = 0;
sc.close();
StringBuilder sb = new StringBuilder();
while (resN > 0) {
modN = resN % 26;
if (modN == 0) {
modN = 26;
}
resN = (resN - modN) / 26;
sb.insert(0, (char) (96 + modN));
}
System.out.println(sb.toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
4,
18,
13,
2,
17,
2,
13,
17,
42,
17,
30,
0,
13,
17,
14,
2,
13,
17,
3,
40,
13,
41,
13,
2,
17,
2,
13,
17,
0,
13,
2,
13,
13,
14,
2,
13,
17,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
84,
8
],
[
84,
9
],
[
9,
10
],
[
9,
11
],
[
84,
12
],
[
12,
13
],
[
12,
14
],
[
84,
15
],
[
15,
16
],
[
15,
17
],
[
84,
18
],
[
18,
19
],
[
18,
20
],
[
84,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
30,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
24,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
47,
56
],
[
56,
57
],
[
47,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
47,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
47,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
24,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
22,
81
],
[
81,
82
],
[
0,
83
],
[
83,
84
],
[
83,
85
]
]
| [
"import java.util.*;\nimport java.math.*;\n\npublic class Main {\n static final int MOD = 1_000_000_007; // 10^9+7\n // static final int MAX = 2_147_483_646; // intの最大値\n static final int INF = 1_000_000_000; // 10^9\n static final int MAX = 10_000_000;\n static long[] fact = new long[100];\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong()-1;\n \n String ans = String.valueOf((char)('a'+n%26));\n\n while(true){\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }\n System.out.println(ans);\n }\n}\n\n",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main {\n static final int MOD = 1_000_000_007; // 10^9+7\n // static final int MAX = 2_147_483_646; // intの最大値\n static final int INF = 1_000_000_000; // 10^9\n static final int MAX = 10_000_000;\n static long[] fact = new long[100];\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong()-1;\n \n String ans = String.valueOf((char)('a'+n%26));\n\n while(true){\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }\n System.out.println(ans);\n }\n}",
"Main",
"static final int MOD = 1_000_000_007; // 10^9+7",
"MOD",
"1_000_000_007",
"// static final int MAX = 2_147_483_646; // intの最大値\n static final int INF = 1_000_000_000; // 10^9",
"INF",
"1_000_000_000",
"static final int MAX = 10_000_000;",
"MAX",
"10_000_000",
"static long[] fact = new long[100];",
"fact",
"new long[100]",
"100",
"public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong()-1;\n \n String ans = String.valueOf((char)('a'+n%26));\n\n while(true){\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong()-1;\n \n String ans = String.valueOf((char)('a'+n%26));\n\n while(true){\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }\n System.out.println(ans);\n }",
"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",
"String ans = String.valueOf((char)('a'+n%26));",
"ans",
"String.valueOf((char)('a'+n%26))",
"String.valueOf",
"String",
"(char)('a'+n%26)",
"'a'",
"n%26",
"n",
"26",
"while(true){\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }",
"true",
"{\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }",
"n/=26",
"n",
"26",
"if(n==0)break;",
"n==0",
"n",
"0",
"break;",
"n--",
"n",
"char ansc = (char)('a'+n%26);",
"ansc",
"(char)('a'+n%26)",
"'a'",
"n%26",
"n",
"26",
"ans = ansc + ans",
"ans",
"ansc + ans",
"ansc",
"ans",
"if(n==0)break;",
"n==0",
"n",
"0",
"break;",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String args[]",
"args",
"public class Main {\n static final int MOD = 1_000_000_007; // 10^9+7\n // static final int MAX = 2_147_483_646; // intの最大値\n static final int INF = 1_000_000_000; // 10^9\n static final int MAX = 10_000_000;\n static long[] fact = new long[100];\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong()-1;\n \n String ans = String.valueOf((char)('a'+n%26));\n\n while(true){\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n static final int MOD = 1_000_000_007; // 10^9+7\n // static final int MAX = 2_147_483_646; // intの最大値\n static final int INF = 1_000_000_000; // 10^9\n static final int MAX = 10_000_000;\n static long[] fact = new long[100];\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong()-1;\n \n String ans = String.valueOf((char)('a'+n%26));\n\n while(true){\n n/=26;\n if(n==0)break;\n n--;\n char ansc = (char)('a'+n%26);\n ans = ansc + ans;\n //System.out.println(ans);\n if(n==0)break;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
import java.math.*;
public class Main {
static final int MOD = 1_000_000_007; // 10^9+7
// static final int MAX = 2_147_483_646; // intの最大値
static final int INF = 1_000_000_000; // 10^9
static final int MAX = 10_000_000;
static long[] fact = new long[100];
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong()-1;
String ans = String.valueOf((char)('a'+n%26));
while(true){
n/=26;
if(n==0)break;
n--;
char ansc = (char)('a'+n%26);
ans = ansc + ans;
//System.out.println(ans);
if(n==0)break;
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
4,
13,
4,
18,
13,
4,
18,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
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
],
[
59,
5
],
[
59,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
15,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
8,
28
],
[
28,
29
],
[
29,
30
],
[
6,
31
],
[
31,
32
],
[
59,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
35,
42
],
[
42,
43
],
[
35,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
33,
56
],
[
56,
57
],
[
0,
58
],
[
58,
59
],
[
58,
60
]
]
| [
"import java.io.*;\npublic class Main{\n public static void main(String args[]) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n out.println(go(Long.parseLong(br.readLine().trim())));\n out.flush();\n }\n public static String go(long n){\n if(n==0) return \"\";\n --n;\n return go(n/26)+((char)('a'+(n%26)));\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String args[]) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n out.println(go(Long.parseLong(br.readLine().trim())));\n out.flush();\n }\n public static String go(long n){\n if(n==0) return \"\";\n --n;\n return go(n/26)+((char)('a'+(n%26)));\n }\n}",
"Main",
"public static void main(String args[]) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n out.println(go(Long.parseLong(br.readLine().trim())));\n out.flush();\n }",
"main",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n out.println(go(Long.parseLong(br.readLine().trim())));\n out.flush();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));",
"out",
"new PrintWriter(new OutputStreamWriter(System.out))",
"out.println(go(Long.parseLong(br.readLine().trim())))",
"out.println",
"out",
"go(Long.parseLong(br.readLine().trim()))",
"go",
"Long.parseLong(br.readLine().trim())",
"Long.parseLong",
"Long",
"br.readLine().trim()",
"br.readLine().trim",
"br.readLine()",
"br.readLine",
"br",
"out.flush()",
"out.flush",
"out",
"String args[]",
"args",
"public static String go(long n){\n if(n==0) return \"\";\n --n;\n return go(n/26)+((char)('a'+(n%26)));\n }",
"go",
"{\n if(n==0) return \"\";\n --n;\n return go(n/26)+((char)('a'+(n%26)));\n }",
"if(n==0) return \"\";",
"n==0",
"n",
"0",
"return \"\";",
"\"\"",
"--n",
"n",
"return go(n/26)+((char)('a'+(n%26)));",
"go(n/26)+((char)('a'+(n%26)))",
"go(n/26)",
"go",
"n/26",
"n",
"26",
"((char)('a'+(n%26)))",
"'a'",
"(n%26)",
"n",
"26",
"long n",
"n",
"public class Main{\n public static void main(String args[]) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n out.println(go(Long.parseLong(br.readLine().trim())));\n out.flush();\n }\n public static String go(long n){\n if(n==0) return \"\";\n --n;\n return go(n/26)+((char)('a'+(n%26)));\n }\n}",
"public class Main{\n public static void main(String args[]) throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n out.println(go(Long.parseLong(br.readLine().trim())));\n out.flush();\n }\n public static String go(long n){\n if(n==0) return \"\";\n --n;\n return go(n/26)+((char)('a'+(n%26)));\n }\n}",
"Main"
]
| import java.io.*;
public class Main{
public static void main(String args[]) throws Exception{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));
out.println(go(Long.parseLong(br.readLine().trim())));
out.flush();
}
public static String go(long n){
if(n==0) return "";
--n;
return go(n/26)+((char)('a'+(n%26)));
}
} |
[
7,
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,
40,
13,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
13,
4,
18,
4,
18,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
97,
17
],
[
97,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
20,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
20,
31
],
[
31,
32
],
[
31,
33
],
[
20,
34
],
[
34,
35
],
[
34,
36
],
[
20,
37
],
[
37,
38
],
[
37,
39
],
[
20,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
40,
45
],
[
20,
46
],
[
46,
47
],
[
47,
48
],
[
18,
49
],
[
49,
50
],
[
97,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
61,
63
],
[
55,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
68,
79
],
[
79,
80
],
[
79,
81
],
[
55,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
53,
90
],
[
90,
91
],
[
53,
92
],
[
92,
93
],
[
53,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n long N = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while (N > 0)\n {\n N--;\n sb.append((char) ((N % 26) + 'a'));\n N /= 26;\n }\n out.println(sb.reverse().toString());\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.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n long N = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while (N > 0)\n {\n N--;\n sb.append((char) ((N % 26) + 'a'));\n N /= 26;\n }\n out.println(sb.reverse().toString());\n }\n\n }\n}",
"Main",
"public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\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",
"Scanner in = new Scanner(inputStream);",
"in",
"new Scanner(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Task solver = new Task();",
"solver",
"new Task()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n long N = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while (N > 0)\n {\n N--;\n sb.append((char) ((N % 26) + 'a'));\n N /= 26;\n }\n out.println(sb.reverse().toString());\n }\n\n }",
"Task",
"public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n long N = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while (N > 0)\n {\n N--;\n sb.append((char) ((N % 26) + 'a'));\n N /= 26;\n }\n out.println(sb.reverse().toString());\n }",
"solve",
"{\n long N = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while (N > 0)\n {\n N--;\n sb.append((char) ((N % 26) + 'a'));\n N /= 26;\n }\n out.println(sb.reverse().toString());\n }",
"long N = in.nextLong();",
"N",
"in.nextLong()",
"in.nextLong",
"in",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (N > 0)\n {\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",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n long N = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while (N > 0)\n {\n N--;\n sb.append((char) ((N % 26) + 'a'));\n N /= 26;\n }\n out.println(sb.reverse().toString());\n }\n\n }\n}",
"public class Main\n{\n public static void main(String[] args)\n {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class Task\n {\n public void solve(int testNumber, Scanner in, PrintWriter out)\n {\n long N = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while (N > 0)\n {\n N--;\n sb.append((char) ((N % 26) + 'a'));\n N /= 26;\n }\n out.println(sb.reverse().toString());\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;
/**
* 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;
Scanner in = new Scanner(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Task solver = new Task();
solver.solve(1, in, out);
out.close();
}
static class Task
{
public void solve(int testNumber, Scanner in, PrintWriter out)
{
long N = in.nextLong();
StringBuilder sb = new StringBuilder();
while (N > 0)
{
N--;
sb.append((char) ((N % 26) + 'a'));
N /= 26;
}
out.println(sb.reverse().toString());
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
2,
2,
17,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
40,
13,
30,
0,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
4,
13,
12,
13,
30,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
17,
23,
13,
23,
13,
12,
13,
30,
14,
40,
4,
18,
13,
13,
29,
4,
18,
13,
13,
2,
4,
18,
13,
13,
17,
17,
14,
2,
4,
18,
13,
13,
17,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
4,
13,
38,
5,
13,
30,
4,
18,
13,
4,
18,
13,
17,
30,
4,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
4,
18,
13,
13,
4,
18,
13,
17,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
38,
5,
13,
30,
30,
14,
2,
40,
13,
4,
18,
4,
18,
13,
17,
17,
30,
0,
13,
20,
0,
13,
20,
0,
13,
20,
0,
13,
20,
12,
13,
30,
14,
2,
2,
13,
13,
2,
13,
13,
37,
20,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
2,
13,
13,
37,
20,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
0,
13,
2,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
29,
13,
23,
13,
23,
13,
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,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
13,
13,
13,
23,
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,
18,
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,
18,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
13,
13,
18,
13,
13,
29,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
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,
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,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13,
12,
13,
30,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
2,
0,
13,
4,
13,
40,
17,
40,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
42,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
2,
13,
17,
30,
29,
8,
13,
40,
13,
13,
0,
13,
4,
13,
12,
13,
30,
29,
40,
2,
2,
13,
17,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
42,
2,
2,
0,
13,
4,
13,
40,
17,
4,
13,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
29,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
4,
13,
23,
13,
12,
13,
30,
4,
18,
13,
2,
13,
17,
23,
13,
12,
13,
30,
28,
13,
13,
30,
4,
13,
13,
4,
13,
23,
13,
12,
13,
30,
28,
13,
13,
30,
4,
13,
13,
4,
13,
23,
13,
12,
13,
30,
4,
18,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
1057,
11
],
[
1057,
12
],
[
12,
13
],
[
12,
14
],
[
1057,
15
],
[
15,
16
],
[
15,
17
],
[
1057,
18
],
[
18,
19
],
[
18,
20
],
[
1057,
21
],
[
21,
22
],
[
1057,
23
],
[
23,
24
],
[
1057,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
46,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
40,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
62,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
62,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
27,
78
],
[
78,
79
],
[
79,
80
],
[
27,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
84,
85
],
[
85,
86
],
[
1057,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
1057,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
109,
113
],
[
108,
114
],
[
101,
115
],
[
115,
116
],
[
101,
117
],
[
117,
118
],
[
1057,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
122,
128
],
[
121,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
134,
138
],
[
133,
139
],
[
121,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
141,
146
],
[
140,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
119,
151
],
[
151,
152
],
[
119,
153
],
[
153,
154
],
[
1057,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
160,
161
],
[
161,
162
],
[
157,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
163,
170
],
[
170,
171
],
[
171,
172
],
[
157,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
176,
180
],
[
180,
181
],
[
181,
182
],
[
180,
183
],
[
173,
184
],
[
184,
185
],
[
185,
186
],
[
184,
187
],
[
187,
188
],
[
188,
189
],
[
184,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
195,
199
],
[
184,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
1057,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
204,
210
],
[
210,
211
],
[
1057,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
217,
219
],
[
214,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
222,
224
],
[
214,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
225,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
232,
233
],
[
231,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
236,
239
],
[
234,
240
],
[
230,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
241,
245
],
[
245,
246
],
[
245,
247
],
[
214,
248
],
[
248,
249
],
[
248,
250
],
[
214,
251
],
[
251,
252
],
[
251,
253
],
[
1057,
254
],
[
254,
255
],
[
254,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
258,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
254,
267
],
[
267,
268
],
[
254,
269
],
[
269,
270
],
[
254,
271
],
[
271,
272
],
[
1057,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
281,
283
],
[
276,
284
],
[
284,
285
],
[
273,
286
],
[
286,
287
],
[
273,
288
],
[
288,
289
],
[
273,
290
],
[
290,
291
],
[
1057,
292
],
[
292,
293
],
[
292,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
298,
300
],
[
298,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
302,
305
],
[
294,
306
],
[
306,
307
],
[
307,
308
],
[
306,
309
],
[
294,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
310,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
318,
319
],
[
310,
320
],
[
320,
321
],
[
321,
322
],
[
310,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
329,
330
],
[
328,
331
],
[
292,
332
],
[
332,
333
],
[
1057,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
336,
340
],
[
340,
341
],
[
340,
342
],
[
340,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
344,
347
],
[
336,
348
],
[
348,
349
],
[
349,
350
],
[
348,
351
],
[
336,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
352,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
352,
362
],
[
362,
363
],
[
363,
364
],
[
352,
365
],
[
365,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
366,
370
],
[
370,
371
],
[
371,
372
],
[
370,
373
],
[
334,
374
],
[
374,
375
],
[
1057,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
384,
386
],
[
378,
387
],
[
387,
388
],
[
388,
389
],
[
388,
390
],
[
387,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
394,
395
],
[
394,
396
],
[
393,
397
],
[
392,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
401,
403
],
[
400,
404
],
[
391,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
407,
411
],
[
391,
412
],
[
412,
413
],
[
412,
414
],
[
378,
415
],
[
415,
416
],
[
376,
417
],
[
417,
418
],
[
376,
419
],
[
419,
420
],
[
376,
421
],
[
421,
422
],
[
1057,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
426,
430
],
[
430,
431
],
[
425,
432
],
[
432,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
435,
437
],
[
433,
438
],
[
423,
439
],
[
439,
440
],
[
423,
441
],
[
441,
442
],
[
1057,
443
],
[
443,
444
],
[
443,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
446,
450
],
[
450,
451
],
[
445,
452
],
[
452,
453
],
[
453,
454
],
[
453,
455
],
[
455,
456
],
[
455,
457
],
[
453,
458
],
[
443,
459
],
[
459,
460
],
[
443,
461
],
[
461,
462
],
[
1057,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
470
],
[
470,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
470,
475
],
[
475,
476
],
[
475,
477
],
[
470,
478
],
[
478,
479
],
[
479,
480
],
[
470,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
483,
485
],
[
482,
486
],
[
486,
487
],
[
487,
488
],
[
465,
489
],
[
489,
490
],
[
463,
491
],
[
491,
492
],
[
1057,
493
],
[
493,
494
],
[
493,
495
],
[
495,
496
],
[
496,
497
],
[
496,
498
],
[
495,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
500,
505
],
[
505,
506
],
[
505,
507
],
[
500,
508
],
[
508,
509
],
[
509,
510
],
[
500,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
512,
516
],
[
516,
517
],
[
517,
518
],
[
495,
519
],
[
519,
520
],
[
493,
521
],
[
521,
522
],
[
1057,
523
],
[
523,
524
],
[
523,
525
],
[
525,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
528,
530
],
[
525,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
533,
535
],
[
531,
536
],
[
536,
537
],
[
536,
538
],
[
538,
539
],
[
538,
540
],
[
531,
541
],
[
541,
542
],
[
542,
543
],
[
531,
544
],
[
545,
545
],
[
545,
546
],
[
546,
547
],
[
546,
548
],
[
548,
549
],
[
548,
550
],
[
548,
551
],
[
551,
552
],
[
551,
553
],
[
525,
554
],
[
554,
555
],
[
523,
556
],
[
556,
557
],
[
1057,
558
],
[
558,
559
],
[
558,
560
],
[
560,
561
],
[
561,
562
],
[
561,
563
],
[
563,
564
],
[
563,
565
],
[
560,
566
],
[
566,
567
],
[
567,
568
],
[
568,
569
],
[
568,
570
],
[
566,
571
],
[
571,
572
],
[
571,
573
],
[
573,
574
],
[
573,
575
],
[
566,
576
],
[
576,
577
],
[
577,
578
],
[
566,
579
],
[
580,
580
],
[
580,
581
],
[
581,
582
],
[
581,
583
],
[
583,
584
],
[
583,
585
],
[
583,
586
],
[
586,
587
],
[
586,
588
],
[
560,
589
],
[
589,
590
],
[
558,
591
],
[
591,
592
],
[
1057,
593
],
[
593,
594
],
[
593,
595
],
[
595,
596
],
[
596,
597
],
[
596,
598
],
[
598,
599
],
[
598,
600
],
[
595,
601
],
[
601,
602
],
[
602,
603
],
[
603,
604
],
[
603,
605
],
[
601,
606
],
[
606,
607
],
[
606,
608
],
[
608,
609
],
[
608,
610
],
[
601,
611
],
[
611,
612
],
[
612,
613
],
[
601,
614
],
[
615,
615
],
[
615,
616
],
[
616,
617
],
[
616,
618
],
[
618,
619
],
[
618,
620
],
[
618,
621
],
[
621,
622
],
[
621,
623
],
[
595,
624
],
[
624,
625
],
[
593,
626
],
[
626,
627
],
[
1057,
628
],
[
628,
629
],
[
628,
630
],
[
630,
631
],
[
631,
632
],
[
631,
633
],
[
633,
634
],
[
633,
635
],
[
630,
636
],
[
636,
637
],
[
637,
638
],
[
638,
639
],
[
638,
640
],
[
636,
641
],
[
641,
642
],
[
641,
643
],
[
643,
644
],
[
643,
645
],
[
636,
646
],
[
646,
647
],
[
647,
648
],
[
636,
649
],
[
650,
650
],
[
650,
651
],
[
651,
652
],
[
651,
653
],
[
653,
654
],
[
653,
655
],
[
653,
656
],
[
656,
657
],
[
656,
658
],
[
630,
659
],
[
659,
660
],
[
628,
661
],
[
661,
662
],
[
1057,
663
],
[
663,
664
],
[
663,
665
],
[
665,
666
],
[
663,
667
],
[
667,
668
],
[
667,
669
],
[
663,
671
],
[
671,
672
],
[
671,
673
],
[
663,
674
],
[
674,
675
],
[
674,
676
],
[
663,
677
],
[
677,
678
],
[
677,
679
],
[
679,
680
],
[
680,
681
],
[
681,
682
],
[
681,
683
],
[
680,
684
],
[
677,
685
],
[
685,
686
],
[
663,
687
],
[
687,
688
],
[
687,
689
],
[
689,
690
],
[
690,
691
],
[
691,
692
],
[
691,
693
],
[
693,
694
],
[
690,
695
],
[
695,
696
],
[
689,
697
],
[
697,
698
],
[
698,
699
],
[
698,
700
],
[
697,
701
],
[
701,
702
],
[
702,
703
],
[
702,
704
],
[
701,
705
],
[
705,
706
],
[
706,
707
],
[
706,
708
],
[
708,
709
],
[
709,
710
],
[
705,
711
],
[
711,
712
],
[
712,
713
],
[
712,
714
],
[
714,
715
],
[
715,
716
],
[
714,
717
],
[
689,
718
],
[
718,
719
],
[
719,
720
],
[
719,
721
],
[
718,
722
],
[
722,
723
],
[
723,
724
],
[
689,
725
],
[
725,
726
],
[
726,
727
],
[
726,
728
],
[
728,
729
],
[
663,
730
],
[
730,
731
],
[
730,
732
],
[
732,
733
],
[
733,
734
],
[
733,
735
],
[
735,
736
],
[
732,
737
],
[
737,
738
],
[
737,
739
],
[
732,
740
],
[
740,
741
],
[
741,
742
],
[
742,
743
],
[
742,
744
],
[
740,
745
],
[
745,
746
],
[
746,
747
],
[
747,
748
],
[
746,
749
],
[
745,
750
],
[
750,
751
],
[
750,
752
],
[
752,
753
],
[
732,
754
],
[
754,
755
],
[
755,
756
],
[
756,
757
],
[
663,
758
],
[
758,
759
],
[
758,
760
],
[
760,
761
],
[
761,
762
],
[
761,
763
],
[
760,
764
],
[
764,
765
],
[
760,
766
],
[
766,
767
],
[
766,
768
],
[
760,
769
],
[
769,
770
],
[
770,
771
],
[
771,
772
],
[
772,
773
],
[
772,
774
],
[
774,
775
],
[
771,
776
],
[
776,
777
],
[
770,
778
],
[
778,
779
],
[
779,
780
],
[
780,
781
],
[
781,
782
],
[
781,
783
],
[
780,
784
],
[
784,
785
],
[
784,
786
],
[
779,
787
],
[
787,
788
],
[
787,
789
],
[
760,
790
],
[
790,
791
],
[
791,
792
],
[
791,
793
],
[
790,
794
],
[
794,
795
],
[
795,
796
],
[
795,
797
],
[
794,
798
],
[
798,
799
],
[
798,
800
],
[
800,
801
],
[
760,
802
],
[
802,
803
],
[
802,
804
],
[
804,
805
],
[
805,
806
],
[
806,
807
],
[
807,
808
],
[
807,
809
],
[
806,
810
],
[
810,
811
],
[
810,
812
],
[
805,
813
],
[
813,
814
],
[
814,
815
],
[
814,
816
],
[
816,
817
],
[
817,
818
],
[
817,
819
],
[
816,
820
],
[
820,
821
],
[
820,
822
],
[
805,
823
],
[
823,
824
],
[
824,
825
],
[
825,
826
],
[
825,
827
],
[
827,
828
],
[
825,
829
],
[
804,
830
],
[
830,
831
],
[
830,
832
],
[
832,
833
],
[
663,
834
],
[
834,
835
],
[
834,
836
],
[
836,
837
],
[
837,
838
],
[
837,
839
],
[
836,
840
],
[
840,
841
],
[
836,
842
],
[
842,
843
],
[
842,
844
],
[
836,
845
],
[
845,
846
],
[
846,
847
],
[
847,
848
],
[
848,
849
],
[
848,
850
],
[
850,
851
],
[
847,
852
],
[
852,
853
],
[
846,
854
],
[
854,
855
],
[
855,
856
],
[
856,
857
],
[
857,
858
],
[
857,
859
],
[
856,
860
],
[
860,
861
],
[
860,
862
],
[
855,
863
],
[
863,
864
],
[
863,
865
],
[
836,
866
],
[
866,
867
],
[
867,
868
],
[
867,
869
],
[
866,
870
],
[
870,
871
],
[
871,
872
],
[
871,
873
],
[
870,
874
],
[
874,
875
],
[
874,
876
],
[
876,
877
],
[
836,
878
],
[
878,
879
],
[
878,
880
],
[
880,
881
],
[
881,
882
],
[
882,
883
],
[
883,
884
],
[
883,
885
],
[
882,
886
],
[
886,
887
],
[
886,
888
],
[
881,
889
],
[
889,
890
],
[
890,
891
],
[
890,
892
],
[
892,
893
],
[
893,
894
],
[
893,
895
],
[
892,
896
],
[
896,
897
],
[
896,
898
],
[
881,
899
],
[
899,
900
],
[
900,
901
],
[
901,
902
],
[
901,
903
],
[
903,
904
],
[
901,
905
],
[
880,
906
],
[
906,
907
],
[
906,
908
],
[
908,
909
],
[
663,
910
],
[
910,
911
],
[
910,
912
],
[
912,
913
],
[
913,
914
],
[
914,
915
],
[
915,
916
],
[
916,
917
],
[
916,
918
],
[
915,
919
],
[
919,
920
],
[
919,
921
],
[
910,
922
],
[
922,
923
],
[
663,
924
],
[
924,
925
],
[
924,
926
],
[
926,
927
],
[
927,
928
],
[
926,
929
],
[
929,
930
],
[
930,
931
],
[
931,
932
],
[
932,
933
],
[
932,
934
],
[
934,
935
],
[
931,
936
],
[
936,
937
],
[
930,
938
],
[
938,
939
],
[
938,
940
],
[
926,
941
],
[
941,
942
],
[
663,
943
],
[
943,
944
],
[
943,
945
],
[
945,
946
],
[
946,
947
],
[
947,
948
],
[
948,
949
],
[
947,
950
],
[
950,
951
],
[
663,
952
],
[
952,
953
],
[
952,
954
],
[
954,
955
],
[
955,
956
],
[
956,
957
],
[
957,
958
],
[
956,
959
],
[
959,
960
],
[
663,
961
],
[
961,
962
],
[
961,
963
],
[
963,
964
],
[
964,
965
],
[
965,
966
],
[
1057,
967
],
[
967,
968
],
[
967,
969
],
[
969,
970
],
[
967,
971
],
[
971,
972
],
[
971,
973
],
[
973,
974
],
[
974,
975
],
[
974,
976
],
[
971,
977
],
[
977,
978
],
[
967,
979
],
[
979,
980
],
[
979,
981
],
[
981,
982
],
[
982,
983
],
[
967,
984
],
[
984,
985
],
[
984,
986
],
[
986,
987
],
[
987,
988
],
[
988,
989
],
[
987,
990
],
[
984,
991
],
[
991,
992
],
[
967,
993
],
[
993,
994
],
[
993,
995
],
[
995,
996
],
[
996,
997
],
[
997,
998
],
[
967,
999
],
[
999,
1000
],
[
999,
1001
],
[
1001,
1002
],
[
1002,
1003
],
[
1003,
1004
],
[
1002,
1005
],
[
1001,
1006
],
[
1006,
1007
],
[
999,
1008
],
[
1008,
1009
],
[
967,
1010
],
[
1010,
1011
],
[
1010,
1012
],
[
1012,
1013
],
[
1013,
1014
],
[
1014,
1015
],
[
1013,
1016
],
[
1016,
1017
],
[
1016,
1018
],
[
1010,
1019
],
[
1019,
1020
],
[
967,
1021
],
[
1021,
1022
],
[
1021,
1023
],
[
1023,
1024
],
[
1024,
1025
],
[
1024,
1026
],
[
1024,
1027
],
[
1027,
1028
],
[
1028,
1029
],
[
1028,
1030
],
[
1023,
1031
],
[
1031,
1032
],
[
1021,
1033
],
[
1033,
1034
],
[
967,
1035
],
[
1035,
1036
],
[
1035,
1037
],
[
1037,
1038
],
[
1038,
1039
],
[
1038,
1040
],
[
1038,
1041
],
[
1041,
1042
],
[
1042,
1043
],
[
1042,
1044
],
[
1037,
1045
],
[
1045,
1046
],
[
1035,
1047
],
[
1047,
1048
],
[
967,
1049
],
[
1049,
1050
],
[
1049,
1051
],
[
1051,
1052
],
[
1052,
1053
],
[
1053,
1054
],
[
1057,
1055
],
[
0,
1056
],
[
1056,
1057
],
[
1056,
1058
]
]
| [
"\nimport java.io.*;\nimport java.util.*;\nimport static java.lang.Math.*;\n\npublic class Main implements Runnable {\n\n private boolean console=false;\n private long MOD = 1000_000_007L;\n private int MAX = 1000_001;\n\n private void solve1(){\n\n long n = in.nl();\n\n// int idx=0;\n// long name = 0;\n// while (true){\n// name += (long)pow(26L,++idx);\n// if(name>=n){\n// name -= (long)pow(26L,idx);\n// break;\n// }\n// }\n//\n// n-=name;\n//\n//// out.print(n+\" \"+name);\n//\n// if(n==1){\n// for(int i=0;i<idx;++i){\n// out.print('a');\n// }\n// return;\n// }\n\n StringBuilder ans = new StringBuilder();\n while (n>0){\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }\n\n ans.reverse();\n out.print(ans.toString());\n\n\n }\n\n private void solve() {\n int testCases = 1;\n// testCases = in.ni();\n while (testCases-->0){\n solve1();\n }\n }\n\n private void add(TreeMap<Integer, Integer> map, int key){\n map.put(key,map.getOrDefault(key,0)+1);\n }\n\n private void remove(TreeMap<Integer,Integer> map,int key){\n if(!map.containsKey(key))\n return;\n map.put(key,map.getOrDefault(key,0)-1);\n if(map.get(key)==0)\n map.remove(key);\n }\n\n @Override\n public void run() {\n long time = System.currentTimeMillis();\n try {\n init();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }\n }\n\n /* -------------------- Templates and Input Classes -------------------------------*/\n\n private FastInput in;\n private FastOutput out;\n public static void main(String[] args) throws Exception {\n new Main().run();\n// new Thread(null, new Main(), \"Main\", 1 << 27).start();\n }\n private void init() throws FileNotFoundException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n try {\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n } catch (Exception ignored) {\n }\n out = new FastOutput(outputStream);\n in = new FastInput(inputStream);\n }\n private void maualAssert(int a,int b,int c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void maualAssert(long a,long b,long c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void sort(int[] arr) {\n List<Integer> list = new ArrayList<>();\n for (int object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private void sort(long[] arr) {\n List<Long> list = new ArrayList<>();\n for (long object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private long ModPow(long x, long y, long MOD) {\n long res = 1L;\n x = x % MOD;\n while (y >= 1L) {\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }\n return res;\n }\n private int gcd(int a, int b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private long gcd(long a, long b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private int[] arrInt(int n){\n int[] arr=new int[n];for(int i=0;i<n;++i)arr[i]=in.ni();\n return arr;\n }\n private long[] arrLong(int n){\n long[] arr=new long[n];for(int i=0;i<n;++i)arr[i]=in.nl();\n return arr;\n }\n\n private int arrMax(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMax(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private int arrMin(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMin(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n class FastInput { InputStream obj;\n public FastInput(InputStream obj) {\n this.obj = obj;\n }\n private byte inbuffer[] = new byte[1024];\n private int lenbuffer = 0, ptrbuffer = 0;\n private int readByte() { if (lenbuffer == -1) throw new InputMismatchException();\n if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }\n if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }\n String ns() { int b = skip();StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }return sb.toString();}\n int ni() {\n int num = 0, b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }}\n long nl() { long num = 0;int b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); } }\n private boolean isSpaceChar(int c) {\n return (!(c >= 33 && c <= 126));\n }\n int skip() { int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }\n float nf() {return Float.parseFloat(ns());}\n double nd() {return Double.parseDouble(ns());}\n char nc() {return (char) skip();}\n }\n\n class FastOutput{\n\n private final PrintWriter writer;\n\n public FastOutput(OutputStream outputStream) {\n writer = new PrintWriter(outputStream);\n }\n public PrintWriter getWriter(){\n return writer;\n }\n public void print(Object obj){\n writer.print(obj);\n }\n public void printLn(){\n writer.println();\n }\n public void printLn(Object obj){\n writer.print(obj);\n printLn();\n }\n public void printSp(Object obj){\n writer.print(obj+\" \");\n }\n public void printArr(int[] arr){\n for(int i:arr)\n printSp(i);\n printLn();\n }\n public void printArr(long[] arr){\n for(long i:arr)\n printSp(i);\n printLn();\n }\n public void flush(){\n writer.flush();\n }\n }\n}\n",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"import static java.lang.Math.*;",
"public class Main implements Runnable {\n\n private boolean console=false;\n private long MOD = 1000_000_007L;\n private int MAX = 1000_001;\n\n private void solve1(){\n\n long n = in.nl();\n\n// int idx=0;\n// long name = 0;\n// while (true){\n// name += (long)pow(26L,++idx);\n// if(name>=n){\n// name -= (long)pow(26L,idx);\n// break;\n// }\n// }\n//\n// n-=name;\n//\n//// out.print(n+\" \"+name);\n//\n// if(n==1){\n// for(int i=0;i<idx;++i){\n// out.print('a');\n// }\n// return;\n// }\n\n StringBuilder ans = new StringBuilder();\n while (n>0){\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }\n\n ans.reverse();\n out.print(ans.toString());\n\n\n }\n\n private void solve() {\n int testCases = 1;\n// testCases = in.ni();\n while (testCases-->0){\n solve1();\n }\n }\n\n private void add(TreeMap<Integer, Integer> map, int key){\n map.put(key,map.getOrDefault(key,0)+1);\n }\n\n private void remove(TreeMap<Integer,Integer> map,int key){\n if(!map.containsKey(key))\n return;\n map.put(key,map.getOrDefault(key,0)-1);\n if(map.get(key)==0)\n map.remove(key);\n }\n\n @Override\n public void run() {\n long time = System.currentTimeMillis();\n try {\n init();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }\n }\n\n /* -------------------- Templates and Input Classes -------------------------------*/\n\n private FastInput in;\n private FastOutput out;\n public static void main(String[] args) throws Exception {\n new Main().run();\n// new Thread(null, new Main(), \"Main\", 1 << 27).start();\n }\n private void init() throws FileNotFoundException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n try {\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n } catch (Exception ignored) {\n }\n out = new FastOutput(outputStream);\n in = new FastInput(inputStream);\n }\n private void maualAssert(int a,int b,int c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void maualAssert(long a,long b,long c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void sort(int[] arr) {\n List<Integer> list = new ArrayList<>();\n for (int object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private void sort(long[] arr) {\n List<Long> list = new ArrayList<>();\n for (long object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private long ModPow(long x, long y, long MOD) {\n long res = 1L;\n x = x % MOD;\n while (y >= 1L) {\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }\n return res;\n }\n private int gcd(int a, int b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private long gcd(long a, long b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private int[] arrInt(int n){\n int[] arr=new int[n];for(int i=0;i<n;++i)arr[i]=in.ni();\n return arr;\n }\n private long[] arrLong(int n){\n long[] arr=new long[n];for(int i=0;i<n;++i)arr[i]=in.nl();\n return arr;\n }\n\n private int arrMax(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMax(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private int arrMin(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMin(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n class FastInput { InputStream obj;\n public FastInput(InputStream obj) {\n this.obj = obj;\n }\n private byte inbuffer[] = new byte[1024];\n private int lenbuffer = 0, ptrbuffer = 0;\n private int readByte() { if (lenbuffer == -1) throw new InputMismatchException();\n if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }\n if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }\n String ns() { int b = skip();StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }return sb.toString();}\n int ni() {\n int num = 0, b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }}\n long nl() { long num = 0;int b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); } }\n private boolean isSpaceChar(int c) {\n return (!(c >= 33 && c <= 126));\n }\n int skip() { int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }\n float nf() {return Float.parseFloat(ns());}\n double nd() {return Double.parseDouble(ns());}\n char nc() {return (char) skip();}\n }\n\n class FastOutput{\n\n private final PrintWriter writer;\n\n public FastOutput(OutputStream outputStream) {\n writer = new PrintWriter(outputStream);\n }\n public PrintWriter getWriter(){\n return writer;\n }\n public void print(Object obj){\n writer.print(obj);\n }\n public void printLn(){\n writer.println();\n }\n public void printLn(Object obj){\n writer.print(obj);\n printLn();\n }\n public void printSp(Object obj){\n writer.print(obj+\" \");\n }\n public void printArr(int[] arr){\n for(int i:arr)\n printSp(i);\n printLn();\n }\n public void printArr(long[] arr){\n for(long i:arr)\n printSp(i);\n printLn();\n }\n public void flush(){\n writer.flush();\n }\n }\n}",
"Main",
"private boolean console=false;",
"console",
"false",
"private long MOD = 1000_000_007L;",
"MOD",
"1000_000_007L",
"private int MAX = 1000_001;",
"MAX",
"1000_001",
"private FastInput in;",
"in",
"private FastOutput out;",
"out",
"private void solve1(){\n\n long n = in.nl();\n\n// int idx=0;\n// long name = 0;\n// while (true){\n// name += (long)pow(26L,++idx);\n// if(name>=n){\n// name -= (long)pow(26L,idx);\n// break;\n// }\n// }\n//\n// n-=name;\n//\n//// out.print(n+\" \"+name);\n//\n// if(n==1){\n// for(int i=0;i<idx;++i){\n// out.print('a');\n// }\n// return;\n// }\n\n StringBuilder ans = new StringBuilder();\n while (n>0){\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }\n\n ans.reverse();\n out.print(ans.toString());\n\n\n }",
"solve1",
"{\n\n long n = in.nl();\n\n// int idx=0;\n// long name = 0;\n// while (true){\n// name += (long)pow(26L,++idx);\n// if(name>=n){\n// name -= (long)pow(26L,idx);\n// break;\n// }\n// }\n//\n// n-=name;\n//\n//// out.print(n+\" \"+name);\n//\n// if(n==1){\n// for(int i=0;i<idx;++i){\n// out.print('a');\n// }\n// return;\n// }\n\n StringBuilder ans = new StringBuilder();\n while (n>0){\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }\n\n ans.reverse();\n out.print(ans.toString());\n\n\n }",
"long n = in.nl();",
"n",
"in.nl()",
"in.nl",
"in",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"while (n>0){\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }",
"n>0",
"n",
"0",
"{\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }",
"long t = n%26L;",
"t",
"n%26L",
"n",
"26L",
"if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));",
"t==0",
"t",
"0",
"ans.append('z')",
"ans.append",
"ans",
"'z'",
"ans.append((char)('a'+t-1))",
"ans.append",
"ans",
"(char)('a'+t-1)",
"'a'+t",
"'a'",
"t",
"1",
"if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }",
"n%26L==0",
"n%26L",
"n",
"26L",
"0",
"{\n n /= 26L;\n n--;\n }",
"n /= 26L",
"n",
"26L",
"n--",
"n",
"{\n n/=26;\n }",
"n/=26",
"n",
"26",
"ans.reverse()",
"ans.reverse",
"ans",
"out.print(ans.toString())",
"out.print",
"out",
"ans.toString()",
"ans.toString",
"ans",
"private void solve() {\n int testCases = 1;\n// testCases = in.ni();\n while (testCases-->0){\n solve1();\n }\n }",
"solve",
"{\n int testCases = 1;\n// testCases = in.ni();\n while (testCases-->0){\n solve1();\n }\n }",
"int testCases = 1;",
"testCases",
"1",
"while (testCases-->0){\n solve1();\n }",
"testCases-->0",
"testCases--",
"testCases",
"0",
"{\n solve1();\n }",
"solve1()",
"solve1",
"private void add(TreeMap<Integer, Integer> map, int key){\n map.put(key,map.getOrDefault(key,0)+1);\n }",
"add",
"{\n map.put(key,map.getOrDefault(key,0)+1);\n }",
"map.put(key,map.getOrDefault(key,0)+1)",
"map.put",
"map",
"key",
"map.getOrDefault(key,0)+1",
"map.getOrDefault(key,0)",
"map.getOrDefault",
"map",
"key",
"0",
"1",
"TreeMap<Integer, Integer> map",
"map",
"int key",
"key",
"private void remove(TreeMap<Integer,Integer> map,int key){\n if(!map.containsKey(key))\n return;\n map.put(key,map.getOrDefault(key,0)-1);\n if(map.get(key)==0)\n map.remove(key);\n }",
"remove",
"{\n if(!map.containsKey(key))\n return;\n map.put(key,map.getOrDefault(key,0)-1);\n if(map.get(key)==0)\n map.remove(key);\n }",
"if(!map.containsKey(key))\n return;",
"!map.containsKey(key)",
"map.containsKey(key)",
"map.containsKey",
"map",
"key",
"return;",
"map.put(key,map.getOrDefault(key,0)-1)",
"map.put",
"map",
"key",
"map.getOrDefault(key,0)-1",
"map.getOrDefault(key,0)",
"map.getOrDefault",
"map",
"key",
"0",
"1",
"if(map.get(key)==0)\n map.remove(key);",
"map.get(key)==0",
"map.get(key)",
"map.get",
"map",
"key",
"0",
"map.remove(key)",
"map.remove",
"map",
"key",
"TreeMap<Integer,Integer> map",
"map",
"int key",
"key",
"@Override\n public void run() {\n long time = System.currentTimeMillis();\n try {\n init();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }\n }",
"run",
"{\n long time = System.currentTimeMillis();\n try {\n init();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }\n }",
"long time = System.currentTimeMillis();",
"time",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"try {\n init();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"catch (FileNotFoundException e) {\n e.printStackTrace();\n }",
"FileNotFoundException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n init();\n }",
"init()",
"init",
"try {\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }",
"catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }",
"Exception e",
"{\n e.printStackTrace(); System.exit(1);\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"System.exit(1)",
"System.exit",
"System",
"1",
"{\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"System.err.println(System.currentTimeMillis()-time)",
"System.err.println",
"System.err",
"System",
"System.err",
"System.currentTimeMillis()-time",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"time",
"System.exit(0)",
"System.exit",
"System",
"0",
"public static void main(String[] args) throws Exception {\n new Main().run();\n// new Thread(null, new Main(), \"Main\", 1 << 27).start();\n }",
"main",
"{\n new Main().run();\n// new Thread(null, new Main(), \"Main\", 1 << 27).start();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private void init() throws FileNotFoundException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n try {\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n } catch (Exception ignored) {\n }\n out = new FastOutput(outputStream);\n in = new FastInput(inputStream);\n }",
"init",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n try {\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n } catch (Exception ignored) {\n }\n out = new FastOutput(outputStream);\n in = new FastInput(inputStream);\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"try {\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n } catch (Exception ignored) {\n }",
"catch (Exception ignored) {\n }",
"Exception ignored",
"{\n }",
"{\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n }",
"if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }",
"!console && System.getProperty(\"user.name\").equals(\"puneet\")",
"!console",
"console",
"System.getProperty(\"user.name\").equals(\"puneet\")",
"System.getProperty(\"user.name\").equals",
"System.getProperty(\"user.name\")",
"System.getProperty",
"System",
"\"user.name\"",
"\"puneet\"",
"{\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }",
"outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\")",
"outputStream",
"new FileOutputStream(\"/home/puneet/Desktop/output.txt\")",
"inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\")",
"inputStream",
"new FileInputStream(\"/home/puneet/Desktop/input.txt\")",
"out = new FastOutput(outputStream)",
"out",
"new FastOutput(outputStream)",
"in = new FastInput(inputStream)",
"in",
"new FastInput(inputStream)",
"private void maualAssert(int a,int b,int c){\n if(a<b || a>c) throw new RuntimeException();\n }",
"maualAssert",
"{\n if(a<b || a>c) throw new RuntimeException();\n }",
"if(a<b || a>c) throw new RuntimeException();",
"a<b || a>c",
"a<b",
"a",
"b",
"a>c",
"a",
"c",
"throw new RuntimeException();",
"new RuntimeException()",
"int a",
"a",
"int b",
"b",
"int c",
"c",
"private void maualAssert(long a,long b,long c){\n if(a<b || a>c) throw new RuntimeException();\n }",
"maualAssert",
"{\n if(a<b || a>c) throw new RuntimeException();\n }",
"if(a<b || a>c) throw new RuntimeException();",
"a<b || a>c",
"a<b",
"a",
"b",
"a>c",
"a",
"c",
"throw new RuntimeException();",
"new RuntimeException()",
"long a",
"a",
"long b",
"b",
"long c",
"c",
"private void sort(int[] arr) {\n List<Integer> list = new ArrayList<>();\n for (int object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }",
"sort",
"{\n List<Integer> list = new ArrayList<>();\n for (int object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (int object : arr) list.add(object);",
"int object",
"arr",
"list.add(object);",
"list.add(object)",
"list.add",
"list",
"object",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"++i",
"++i",
"i",
"arr[i] = list.get(i);",
"arr[i] = list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"int[] arr",
"arr",
"private void sort(long[] arr) {\n List<Long> list = new ArrayList<>();\n for (long object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }",
"sort",
"{\n List<Long> list = new ArrayList<>();\n for (long object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }",
"List<Long> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"for (long object : arr) list.add(object);",
"long object",
"arr",
"list.add(object);",
"list.add(object)",
"list.add",
"list",
"object",
"Collections.sort(list)",
"Collections.sort",
"Collections",
"list",
"for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"++i",
"++i",
"i",
"arr[i] = list.get(i);",
"arr[i] = list.get(i)",
"arr[i]",
"arr",
"i",
"list.get(i)",
"list.get",
"list",
"i",
"long[] arr",
"arr",
"private long ModPow(long x, long y, long MOD) {\n long res = 1L;\n x = x % MOD;\n while (y >= 1L) {\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }\n return res;\n }",
"ModPow",
"{\n long res = 1L;\n x = x % MOD;\n while (y >= 1L) {\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }\n return res;\n }",
"long res = 1L;",
"res",
"1L",
"x = x % MOD",
"x",
"x % MOD",
"x",
"MOD",
"while (y >= 1L) {\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }",
"y >= 1L",
"y",
"1L",
"{\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }",
"if ((y & 1L) > 0) res = (res * x) % MOD;",
"(y & 1L) > 0",
"(y & 1L)",
"y",
"1L",
"0",
"res = (res * x) % MOD",
"res",
"(res * x) % MOD",
"(res * x)",
"res",
"x",
"MOD",
"x = (x * x) % MOD",
"x",
"(x * x) % MOD",
"(x * x)",
"x",
"x",
"MOD",
"y >>= 1L",
"y",
"1L",
"return res;",
"res",
"long x",
"x",
"long y",
"y",
"long MOD",
"MOD",
"private int gcd(int a, int b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }",
"gcd",
"{\n if (a == 0) return b;\n return gcd(b % a, a);\n }",
"if (a == 0) return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"int a",
"a",
"int b",
"b",
"private long gcd(long a, long b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }",
"gcd",
"{\n if (a == 0) return b;\n return gcd(b % a, a);\n }",
"if (a == 0) return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"long a",
"a",
"long b",
"b",
"private int[] arrInt(int n){\n int[] arr=new int[n];for(int i=0;i<n;++i)arr[i]=in.ni();\n return arr;\n }",
"arrInt",
"{\n int[] arr=new int[n];for(int i=0;i<n;++i)arr[i]=in.ni();\n return arr;\n }",
"int[] arr=new int[n];",
"arr",
"new int[n]",
"n",
"for(int i=0;i<n;++i)arr[i]=in.ni();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"arr[i]=in.ni();",
"arr[i]=in.ni()",
"arr[i]",
"arr",
"i",
"in.ni()",
"in.ni",
"in",
"return arr;",
"arr",
"int n",
"n",
"private long[] arrLong(int n){\n long[] arr=new long[n];for(int i=0;i<n;++i)arr[i]=in.nl();\n return arr;\n }",
"arrLong",
"{\n long[] arr=new long[n];for(int i=0;i<n;++i)arr[i]=in.nl();\n return arr;\n }",
"long[] arr=new long[n];",
"arr",
"new long[n]",
"n",
"for(int i=0;i<n;++i)arr[i]=in.nl();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"++i",
"++i",
"i",
"arr[i]=in.nl();",
"arr[i]=in.nl()",
"arr[i]",
"arr",
"i",
"in.nl()",
"in.nl",
"in",
"return arr;",
"arr",
"int n",
"n",
"private int arrMax(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"arrMax",
"{\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"int ans = arr[0];",
"ans",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"++i",
"++i",
"i",
"{\n ans = max(ans,arr[i]);\n }",
"{\n ans = max(ans,arr[i]);\n }",
"ans = max(ans,arr[i])",
"ans",
"max(ans,arr[i])",
"max",
"ans",
"arr[i]",
"arr",
"i",
"return ans;",
"ans",
"int[] arr",
"arr",
"private long arrMax(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"arrMax",
"{\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"long ans = arr[0];",
"ans",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"++i",
"++i",
"i",
"{\n ans = max(ans,arr[i]);\n }",
"{\n ans = max(ans,arr[i]);\n }",
"ans = max(ans,arr[i])",
"ans",
"max(ans,arr[i])",
"max",
"ans",
"arr[i]",
"arr",
"i",
"return ans;",
"ans",
"long[] arr",
"arr",
"private int arrMin(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"arrMin",
"{\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"int ans = arr[0];",
"ans",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"++i",
"++i",
"i",
"{\n ans = max(ans,arr[i]);\n }",
"{\n ans = max(ans,arr[i]);\n }",
"ans = max(ans,arr[i])",
"ans",
"max(ans,arr[i])",
"max",
"ans",
"arr[i]",
"arr",
"i",
"return ans;",
"ans",
"int[] arr",
"arr",
"private long arrMin(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"arrMin",
"{\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }",
"long ans = arr[0];",
"ans",
"arr[0]",
"arr",
"0",
"for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"++i",
"++i",
"i",
"{\n ans = max(ans,arr[i]);\n }",
"{\n ans = max(ans,arr[i]);\n }",
"ans = max(ans,arr[i])",
"ans",
"max(ans,arr[i])",
"max",
"ans",
"arr[i]",
"arr",
"i",
"return ans;",
"ans",
"long[] arr",
"arr",
"class FastInput { InputStream obj;\n public FastInput(InputStream obj) {\n this.obj = obj;\n }\n private byte inbuffer[] = new byte[1024];\n private int lenbuffer = 0, ptrbuffer = 0;\n private int readByte() { if (lenbuffer == -1) throw new InputMismatchException();\n if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }\n if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }\n String ns() { int b = skip();StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }return sb.toString();}\n int ni() {\n int num = 0, b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }}\n long nl() { long num = 0;int b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); } }\n private boolean isSpaceChar(int c) {\n return (!(c >= 33 && c <= 126));\n }\n int skip() { int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }\n float nf() {return Float.parseFloat(ns());}\n double nd() {return Double.parseDouble(ns());}\n char nc() {return (char) skip();}\n }",
"FastInput",
"InputStream obj;",
"obj",
"private byte inbuffer[] = new byte[1024];",
"inbuffer",
"new byte[1024]",
"1024",
"private int lenbuffer = 0",
"lenbuffer",
"0",
"ptrbuffer = 0;",
"ptrbuffer",
"0",
"public FastInput(InputStream obj) {\n this.obj = obj;\n }",
"FastInput",
"{\n this.obj = obj;\n }",
"this.obj = obj",
"this.obj",
"this",
"this.obj",
"obj",
"InputStream obj",
"obj",
"private int readByte() { if (lenbuffer == -1) throw new InputMismatchException();\n if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }\n if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }",
"readByte",
"{ if (lenbuffer == -1) throw new InputMismatchException();\n if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }\n if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }",
"if (lenbuffer == -1) throw new InputMismatchException();",
"lenbuffer == -1",
"lenbuffer",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }",
"ptrbuffer >= lenbuffer",
"ptrbuffer",
"lenbuffer",
"{ ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }",
"ptrbuffer = 0",
"ptrbuffer",
"0",
"try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); }",
"catch (IOException e) { throw new InputMismatchException(); }",
"IOException e",
"{ throw new InputMismatchException(); }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{ lenbuffer = obj.read(inbuffer);\n }",
"lenbuffer = obj.read(inbuffer)",
"lenbuffer",
"obj.read(inbuffer)",
"obj.read",
"obj",
"inbuffer",
"if (lenbuffer <= 0) return -1;",
"lenbuffer <= 0",
"lenbuffer",
"0",
"return -1;",
"-1",
"1",
"return inbuffer[ptrbuffer++];",
"inbuffer[ptrbuffer++]",
"inbuffer",
"ptrbuffer++",
"ptrbuffer",
"String ns() { int b = skip();StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }return sb.toString();}",
"ns",
"{ int b = skip();StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }return sb.toString();}",
"int b = skip();",
"b",
"skip()",
"skip",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{ sb.appendCodePoint(b);b = readByte(); }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"int ni() {\n int num = 0, b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }}",
"ni",
"{\n int num = 0, b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }}",
"int num = 0",
"num",
"0",
"b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if (b == '-') { minus = true;b = readByte(); }",
"b == '-'",
"b",
"'-'",
"{ minus = true;b = readByte(); }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }",
"true",
"{ if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }",
"if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{ num = num * 10 + (b - '0'); }",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num; }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"long nl() { long num = 0;int b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); } }",
"nl",
"{ long num = 0;int b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); } }",
"long num = 0;",
"num",
"0",
"int b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;",
"(b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"!((b >= '0' && b <= '9') || b == '-')",
"((b >= '0' && b <= '9') || b == '-')",
"(b >= '0' && b <= '9')",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"b == '-'",
"b",
"'-'",
"if (b == '-') { minus = true;b = readByte(); }",
"b == '-'",
"b",
"'-'",
"{ minus = true;b = readByte(); }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }",
"true",
"{ if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }",
"if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{ num = num * 10L + (b - '0'); }",
"num = num * 10L + (b - '0')",
"num",
"num * 10L + (b - '0')",
"num * 10L",
"num",
"10L",
"(b - '0')",
"b",
"'0'",
"{\n return minus ? -num : num; }",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private boolean isSpaceChar(int c) {\n return (!(c >= 33 && c <= 126));\n }",
"isSpaceChar",
"{\n return (!(c >= 33 && c <= 126));\n }",
"return (!(c >= 33 && c <= 126));",
"(!(c >= 33 && c <= 126))",
"(c >= 33 && c <= 126)",
"c >= 33",
"c",
"33",
"c <= 126",
"c",
"126",
"int c",
"c",
"int skip() { int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }",
"skip",
"{ int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }",
"int b;",
"b",
"while ((b = readByte()) != -1 && isSpaceChar(b)) ;",
"(b = readByte()) != -1 && isSpaceChar(b)",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"return b;",
"b",
"float nf() {return Float.parseFloat(ns());}",
"nf",
"{return Float.parseFloat(ns());}",
"return Float.parseFloat(ns());",
"Float.parseFloat(ns())",
"Float.parseFloat",
"Float",
"ns()",
"ns",
"double nd() {return Double.parseDouble(ns());}",
"nd",
"{return Double.parseDouble(ns());}",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"char nc() {return (char) skip();}",
"nc",
"{return (char) skip();}",
"return (char) skip();",
"(char) skip()",
"skip",
"class FastOutput{\n\n private final PrintWriter writer;\n\n public FastOutput(OutputStream outputStream) {\n writer = new PrintWriter(outputStream);\n }\n public PrintWriter getWriter(){\n return writer;\n }\n public void print(Object obj){\n writer.print(obj);\n }\n public void printLn(){\n writer.println();\n }\n public void printLn(Object obj){\n writer.print(obj);\n printLn();\n }\n public void printSp(Object obj){\n writer.print(obj+\" \");\n }\n public void printArr(int[] arr){\n for(int i:arr)\n printSp(i);\n printLn();\n }\n public void printArr(long[] arr){\n for(long i:arr)\n printSp(i);\n printLn();\n }\n public void flush(){\n writer.flush();\n }\n }",
"FastOutput",
"private final PrintWriter writer;",
"writer",
"public FastOutput(OutputStream outputStream) {\n writer = new PrintWriter(outputStream);\n }",
"FastOutput",
"{\n writer = new PrintWriter(outputStream);\n }",
"writer = new PrintWriter(outputStream)",
"writer",
"new PrintWriter(outputStream)",
"OutputStream outputStream",
"outputStream",
"public PrintWriter getWriter(){\n return writer;\n }",
"getWriter",
"{\n return writer;\n }",
"return writer;",
"writer",
"public void print(Object obj){\n writer.print(obj);\n }",
"print",
"{\n writer.print(obj);\n }",
"writer.print(obj)",
"writer.print",
"writer",
"obj",
"Object obj",
"obj",
"public void printLn(){\n writer.println();\n }",
"printLn",
"{\n writer.println();\n }",
"writer.println()",
"writer.println",
"writer",
"public void printLn(Object obj){\n writer.print(obj);\n printLn();\n }",
"printLn",
"{\n writer.print(obj);\n printLn();\n }",
"writer.print(obj)",
"writer.print",
"writer",
"obj",
"printLn()",
"printLn",
"Object obj",
"obj",
"public void printSp(Object obj){\n writer.print(obj+\" \");\n }",
"printSp",
"{\n writer.print(obj+\" \");\n }",
"writer.print(obj+\" \")",
"writer.print",
"writer",
"obj+\" \"",
"obj",
"\" \"",
"Object obj",
"obj",
"public void printArr(int[] arr){\n for(int i:arr)\n printSp(i);\n printLn();\n }",
"printArr",
"{\n for(int i:arr)\n printSp(i);\n printLn();\n }",
"for(int i:arr)\n printSp(i);",
"int i",
"arr",
"printSp(i);",
"printSp(i)",
"printSp",
"i",
"printLn()",
"printLn",
"int[] arr",
"arr",
"public void printArr(long[] arr){\n for(long i:arr)\n printSp(i);\n printLn();\n }",
"printArr",
"{\n for(long i:arr)\n printSp(i);\n printLn();\n }",
"for(long i:arr)\n printSp(i);",
"long i",
"arr",
"printSp(i);",
"printSp(i)",
"printSp",
"i",
"printLn()",
"printLn",
"long[] arr",
"arr",
"public void flush(){\n writer.flush();\n }",
"flush",
"{\n writer.flush();\n }",
"writer.flush()",
"writer.flush",
"writer",
"Runnable",
"public class Main implements Runnable {\n\n private boolean console=false;\n private long MOD = 1000_000_007L;\n private int MAX = 1000_001;\n\n private void solve1(){\n\n long n = in.nl();\n\n// int idx=0;\n// long name = 0;\n// while (true){\n// name += (long)pow(26L,++idx);\n// if(name>=n){\n// name -= (long)pow(26L,idx);\n// break;\n// }\n// }\n//\n// n-=name;\n//\n//// out.print(n+\" \"+name);\n//\n// if(n==1){\n// for(int i=0;i<idx;++i){\n// out.print('a');\n// }\n// return;\n// }\n\n StringBuilder ans = new StringBuilder();\n while (n>0){\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }\n\n ans.reverse();\n out.print(ans.toString());\n\n\n }\n\n private void solve() {\n int testCases = 1;\n// testCases = in.ni();\n while (testCases-->0){\n solve1();\n }\n }\n\n private void add(TreeMap<Integer, Integer> map, int key){\n map.put(key,map.getOrDefault(key,0)+1);\n }\n\n private void remove(TreeMap<Integer,Integer> map,int key){\n if(!map.containsKey(key))\n return;\n map.put(key,map.getOrDefault(key,0)-1);\n if(map.get(key)==0)\n map.remove(key);\n }\n\n @Override\n public void run() {\n long time = System.currentTimeMillis();\n try {\n init();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }\n }\n\n /* -------------------- Templates and Input Classes -------------------------------*/\n\n private FastInput in;\n private FastOutput out;\n public static void main(String[] args) throws Exception {\n new Main().run();\n// new Thread(null, new Main(), \"Main\", 1 << 27).start();\n }\n private void init() throws FileNotFoundException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n try {\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n } catch (Exception ignored) {\n }\n out = new FastOutput(outputStream);\n in = new FastInput(inputStream);\n }\n private void maualAssert(int a,int b,int c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void maualAssert(long a,long b,long c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void sort(int[] arr) {\n List<Integer> list = new ArrayList<>();\n for (int object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private void sort(long[] arr) {\n List<Long> list = new ArrayList<>();\n for (long object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private long ModPow(long x, long y, long MOD) {\n long res = 1L;\n x = x % MOD;\n while (y >= 1L) {\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }\n return res;\n }\n private int gcd(int a, int b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private long gcd(long a, long b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private int[] arrInt(int n){\n int[] arr=new int[n];for(int i=0;i<n;++i)arr[i]=in.ni();\n return arr;\n }\n private long[] arrLong(int n){\n long[] arr=new long[n];for(int i=0;i<n;++i)arr[i]=in.nl();\n return arr;\n }\n\n private int arrMax(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMax(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private int arrMin(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMin(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n class FastInput { InputStream obj;\n public FastInput(InputStream obj) {\n this.obj = obj;\n }\n private byte inbuffer[] = new byte[1024];\n private int lenbuffer = 0, ptrbuffer = 0;\n private int readByte() { if (lenbuffer == -1) throw new InputMismatchException();\n if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }\n if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }\n String ns() { int b = skip();StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }return sb.toString();}\n int ni() {\n int num = 0, b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }}\n long nl() { long num = 0;int b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); } }\n private boolean isSpaceChar(int c) {\n return (!(c >= 33 && c <= 126));\n }\n int skip() { int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }\n float nf() {return Float.parseFloat(ns());}\n double nd() {return Double.parseDouble(ns());}\n char nc() {return (char) skip();}\n }\n\n class FastOutput{\n\n private final PrintWriter writer;\n\n public FastOutput(OutputStream outputStream) {\n writer = new PrintWriter(outputStream);\n }\n public PrintWriter getWriter(){\n return writer;\n }\n public void print(Object obj){\n writer.print(obj);\n }\n public void printLn(){\n writer.println();\n }\n public void printLn(Object obj){\n writer.print(obj);\n printLn();\n }\n public void printSp(Object obj){\n writer.print(obj+\" \");\n }\n public void printArr(int[] arr){\n for(int i:arr)\n printSp(i);\n printLn();\n }\n public void printArr(long[] arr){\n for(long i:arr)\n printSp(i);\n printLn();\n }\n public void flush(){\n writer.flush();\n }\n }\n}",
"public class Main implements Runnable {\n\n private boolean console=false;\n private long MOD = 1000_000_007L;\n private int MAX = 1000_001;\n\n private void solve1(){\n\n long n = in.nl();\n\n// int idx=0;\n// long name = 0;\n// while (true){\n// name += (long)pow(26L,++idx);\n// if(name>=n){\n// name -= (long)pow(26L,idx);\n// break;\n// }\n// }\n//\n// n-=name;\n//\n//// out.print(n+\" \"+name);\n//\n// if(n==1){\n// for(int i=0;i<idx;++i){\n// out.print('a');\n// }\n// return;\n// }\n\n StringBuilder ans = new StringBuilder();\n while (n>0){\n\n long t = n%26L;\n\n// out.printLn(n);\n\n if(t==0)\n ans.append('z');\n else\n ans.append((char)('a'+t-1));\n\n if(n%26L==0) {\n n /= 26L;\n n--;\n }else {\n n/=26;\n }\n\n }\n\n ans.reverse();\n out.print(ans.toString());\n\n\n }\n\n private void solve() {\n int testCases = 1;\n// testCases = in.ni();\n while (testCases-->0){\n solve1();\n }\n }\n\n private void add(TreeMap<Integer, Integer> map, int key){\n map.put(key,map.getOrDefault(key,0)+1);\n }\n\n private void remove(TreeMap<Integer,Integer> map,int key){\n if(!map.containsKey(key))\n return;\n map.put(key,map.getOrDefault(key,0)-1);\n if(map.get(key)==0)\n map.remove(key);\n }\n\n @Override\n public void run() {\n long time = System.currentTimeMillis();\n try {\n init();\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n try {\n solve();\n out.flush();\n System.err.println(System.currentTimeMillis()-time);\n System.exit(0);\n }catch (Exception e){\n e.printStackTrace(); System.exit(1);\n }\n }\n\n /* -------------------- Templates and Input Classes -------------------------------*/\n\n private FastInput in;\n private FastOutput out;\n public static void main(String[] args) throws Exception {\n new Main().run();\n// new Thread(null, new Main(), \"Main\", 1 << 27).start();\n }\n private void init() throws FileNotFoundException {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n try {\n if (!console && System.getProperty(\"user.name\").equals(\"puneet\")) {\n outputStream = new FileOutputStream(\"/home/puneet/Desktop/output.txt\");\n inputStream = new FileInputStream(\"/home/puneet/Desktop/input.txt\");\n }\n } catch (Exception ignored) {\n }\n out = new FastOutput(outputStream);\n in = new FastInput(inputStream);\n }\n private void maualAssert(int a,int b,int c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void maualAssert(long a,long b,long c){\n if(a<b || a>c) throw new RuntimeException();\n }\n private void sort(int[] arr) {\n List<Integer> list = new ArrayList<>();\n for (int object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private void sort(long[] arr) {\n List<Long> list = new ArrayList<>();\n for (long object : arr) list.add(object);\n Collections.sort(list);\n for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);\n }\n private long ModPow(long x, long y, long MOD) {\n long res = 1L;\n x = x % MOD;\n while (y >= 1L) {\n if ((y & 1L) > 0) res = (res * x) % MOD;\n x = (x * x) % MOD;\n y >>= 1L;\n }\n return res;\n }\n private int gcd(int a, int b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private long gcd(long a, long b) {\n if (a == 0) return b;\n return gcd(b % a, a);\n }\n private int[] arrInt(int n){\n int[] arr=new int[n];for(int i=0;i<n;++i)arr[i]=in.ni();\n return arr;\n }\n private long[] arrLong(int n){\n long[] arr=new long[n];for(int i=0;i<n;++i)arr[i]=in.nl();\n return arr;\n }\n\n private int arrMax(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMax(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private int arrMin(int[] arr){\n int ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n private long arrMin(long[] arr){\n long ans = arr[0];\n for(int i=1;i<arr.length;++i){\n ans = max(ans,arr[i]);\n }\n return ans;\n }\n\n class FastInput { InputStream obj;\n public FastInput(InputStream obj) {\n this.obj = obj;\n }\n private byte inbuffer[] = new byte[1024];\n private int lenbuffer = 0, ptrbuffer = 0;\n private int readByte() { if (lenbuffer == -1) throw new InputMismatchException();\n if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;\n try { lenbuffer = obj.read(inbuffer);\n } catch (IOException e) { throw new InputMismatchException(); } }\n if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }\n String ns() { int b = skip();StringBuilder sb = new StringBuilder();\n while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')\n { sb.appendCodePoint(b);b = readByte(); }return sb.toString();}\n int ni() {\n int num = 0, b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); }}\n long nl() { long num = 0;int b;boolean minus = false;\n while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;\n if (b == '-') { minus = true;b = readByte(); }\n while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {\n return minus ? -num : num; }b = readByte(); } }\n private boolean isSpaceChar(int c) {\n return (!(c >= 33 && c <= 126));\n }\n int skip() { int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }\n float nf() {return Float.parseFloat(ns());}\n double nd() {return Double.parseDouble(ns());}\n char nc() {return (char) skip();}\n }\n\n class FastOutput{\n\n private final PrintWriter writer;\n\n public FastOutput(OutputStream outputStream) {\n writer = new PrintWriter(outputStream);\n }\n public PrintWriter getWriter(){\n return writer;\n }\n public void print(Object obj){\n writer.print(obj);\n }\n public void printLn(){\n writer.println();\n }\n public void printLn(Object obj){\n writer.print(obj);\n printLn();\n }\n public void printSp(Object obj){\n writer.print(obj+\" \");\n }\n public void printArr(int[] arr){\n for(int i:arr)\n printSp(i);\n printLn();\n }\n public void printArr(long[] arr){\n for(long i:arr)\n printSp(i);\n printLn();\n }\n public void flush(){\n writer.flush();\n }\n }\n}",
"Main"
]
|
import java.io.*;
import java.util.*;
import static java.lang.Math.*;
public class Main implements Runnable {
private boolean console=false;
private long MOD = 1000_000_007L;
private int MAX = 1000_001;
private void solve1(){
long n = in.nl();
// int idx=0;
// long name = 0;
// while (true){
// name += (long)pow(26L,++idx);
// if(name>=n){
// name -= (long)pow(26L,idx);
// break;
// }
// }
//
// n-=name;
//
//// out.print(n+" "+name);
//
// if(n==1){
// for(int i=0;i<idx;++i){
// out.print('a');
// }
// return;
// }
StringBuilder ans = new StringBuilder();
while (n>0){
long t = n%26L;
// out.printLn(n);
if(t==0)
ans.append('z');
else
ans.append((char)('a'+t-1));
if(n%26L==0) {
n /= 26L;
n--;
}else {
n/=26;
}
}
ans.reverse();
out.print(ans.toString());
}
private void solve() {
int testCases = 1;
// testCases = in.ni();
while (testCases-->0){
solve1();
}
}
private void add(TreeMap<Integer, Integer> map, int key){
map.put(key,map.getOrDefault(key,0)+1);
}
private void remove(TreeMap<Integer,Integer> map,int key){
if(!map.containsKey(key))
return;
map.put(key,map.getOrDefault(key,0)-1);
if(map.get(key)==0)
map.remove(key);
}
@Override
public void run() {
long time = System.currentTimeMillis();
try {
init();
} catch (FileNotFoundException e) {
e.printStackTrace();
}
try {
solve();
out.flush();
System.err.println(System.currentTimeMillis()-time);
System.exit(0);
}catch (Exception e){
e.printStackTrace(); System.exit(1);
}
}
/* -------------------- Templates and Input Classes -------------------------------*/
private FastInput in;
private FastOutput out;
public static void main(String[] args) throws Exception {
new Main().run();
// new Thread(null, new Main(), "Main", 1 << 27).start();
}
private void init() throws FileNotFoundException {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
try {
if (!console && System.getProperty("user.name").equals("puneet")) {
outputStream = new FileOutputStream("/home/puneet/Desktop/output.txt");
inputStream = new FileInputStream("/home/puneet/Desktop/input.txt");
}
} catch (Exception ignored) {
}
out = new FastOutput(outputStream);
in = new FastInput(inputStream);
}
private void maualAssert(int a,int b,int c){
if(a<b || a>c) throw new RuntimeException();
}
private void maualAssert(long a,long b,long c){
if(a<b || a>c) throw new RuntimeException();
}
private void sort(int[] arr) {
List<Integer> list = new ArrayList<>();
for (int object : arr) list.add(object);
Collections.sort(list);
for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);
}
private void sort(long[] arr) {
List<Long> list = new ArrayList<>();
for (long object : arr) list.add(object);
Collections.sort(list);
for (int i = 0; i < list.size(); ++i) arr[i] = list.get(i);
}
private long ModPow(long x, long y, long MOD) {
long res = 1L;
x = x % MOD;
while (y >= 1L) {
if ((y & 1L) > 0) res = (res * x) % MOD;
x = (x * x) % MOD;
y >>= 1L;
}
return res;
}
private int gcd(int a, int b) {
if (a == 0) return b;
return gcd(b % a, a);
}
private long gcd(long a, long b) {
if (a == 0) return b;
return gcd(b % a, a);
}
private int[] arrInt(int n){
int[] arr=new int[n];for(int i=0;i<n;++i)arr[i]=in.ni();
return arr;
}
private long[] arrLong(int n){
long[] arr=new long[n];for(int i=0;i<n;++i)arr[i]=in.nl();
return arr;
}
private int arrMax(int[] arr){
int ans = arr[0];
for(int i=1;i<arr.length;++i){
ans = max(ans,arr[i]);
}
return ans;
}
private long arrMax(long[] arr){
long ans = arr[0];
for(int i=1;i<arr.length;++i){
ans = max(ans,arr[i]);
}
return ans;
}
private int arrMin(int[] arr){
int ans = arr[0];
for(int i=1;i<arr.length;++i){
ans = max(ans,arr[i]);
}
return ans;
}
private long arrMin(long[] arr){
long ans = arr[0];
for(int i=1;i<arr.length;++i){
ans = max(ans,arr[i]);
}
return ans;
}
class FastInput { InputStream obj;
public FastInput(InputStream obj) {
this.obj = obj;
}
private byte inbuffer[] = new byte[1024];
private int lenbuffer = 0, ptrbuffer = 0;
private int readByte() { if (lenbuffer == -1) throw new InputMismatchException();
if (ptrbuffer >= lenbuffer) { ptrbuffer = 0;
try { lenbuffer = obj.read(inbuffer);
} catch (IOException e) { throw new InputMismatchException(); } }
if (lenbuffer <= 0) return -1;return inbuffer[ptrbuffer++]; }
String ns() { int b = skip();StringBuilder sb = new StringBuilder();
while (!(isSpaceChar(b))) // when nextLine, (isSpaceChar(b) && b!=' ')
{ sb.appendCodePoint(b);b = readByte(); }return sb.toString();}
int ni() {
int num = 0, b;boolean minus = false;
while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;
if (b == '-') { minus = true;b = readByte(); }
while (true) { if (b >= '0' && b <= '9') { num = num * 10 + (b - '0'); } else {
return minus ? -num : num; }b = readByte(); }}
long nl() { long num = 0;int b;boolean minus = false;
while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-')) ;
if (b == '-') { minus = true;b = readByte(); }
while (true) { if (b >= '0' && b <= '9') { num = num * 10L + (b - '0'); } else {
return minus ? -num : num; }b = readByte(); } }
private boolean isSpaceChar(int c) {
return (!(c >= 33 && c <= 126));
}
int skip() { int b;while ((b = readByte()) != -1 && isSpaceChar(b)) ;return b; }
float nf() {return Float.parseFloat(ns());}
double nd() {return Double.parseDouble(ns());}
char nc() {return (char) skip();}
}
class FastOutput{
private final PrintWriter writer;
public FastOutput(OutputStream outputStream) {
writer = new PrintWriter(outputStream);
}
public PrintWriter getWriter(){
return writer;
}
public void print(Object obj){
writer.print(obj);
}
public void printLn(){
writer.println();
}
public void printLn(Object obj){
writer.print(obj);
printLn();
}
public void printSp(Object obj){
writer.print(obj+" ");
}
public void printArr(int[] arr){
for(int i:arr)
printSp(i);
printLn();
}
public void printArr(long[] arr){
for(long i:arr)
printSp(i);
printLn();
}
public void flush(){
writer.flush();
}
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
4,
18,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
17,
13,
14,
2,
13,
17,
30,
3,
40,
13,
41,
13,
17,
11,
1,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
2,
13,
17,
17,
0,
13,
2,
18,
13,
13,
13,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
4,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
13,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
13,
22
],
[
22,
23
],
[
22,
24
],
[
13,
25
],
[
25,
26
],
[
25,
27
],
[
13,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
33,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
30,
44
],
[
44,
45
],
[
13,
46
],
[
46,
47
],
[
46,
48
],
[
13,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
55,
56
],
[
49,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
58,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
58,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
13,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
11,
86
],
[
86,
87
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n\n static char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n long tmp = n;\n int keta = 1;\n while (true) {\n tmp -= Math.pow(26, keta);\n if (tmp <= 0) {\n break;\n }\n keta++;\n }\n\n String name = \"\";\n for (; keta > 0; keta--) {\n int idx = (int)((n - 1) % 26);\n name = alphabet[idx] + name;\n n = (n - 1) / 26;\n }\n\n System.out.println(name);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n static char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n long tmp = n;\n int keta = 1;\n while (true) {\n tmp -= Math.pow(26, keta);\n if (tmp <= 0) {\n break;\n }\n keta++;\n }\n\n String name = \"\";\n for (; keta > 0; keta--) {\n int idx = (int)((n - 1) % 26);\n name = alphabet[idx] + name;\n n = (n - 1) / 26;\n }\n\n System.out.println(name);\n }\n}",
"Main",
"static char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();",
"alphabet",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray()",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray",
"\"abcdefghijklmnopqrstuvwxyz\"",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n long tmp = n;\n int keta = 1;\n while (true) {\n tmp -= Math.pow(26, keta);\n if (tmp <= 0) {\n break;\n }\n keta++;\n }\n\n String name = \"\";\n for (; keta > 0; keta--) {\n int idx = (int)((n - 1) % 26);\n name = alphabet[idx] + name;\n n = (n - 1) / 26;\n }\n\n System.out.println(name);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\n\n long tmp = n;\n int keta = 1;\n while (true) {\n tmp -= Math.pow(26, keta);\n if (tmp <= 0) {\n break;\n }\n keta++;\n }\n\n String name = \"\";\n for (; keta > 0; keta--) {\n int idx = (int)((n - 1) % 26);\n name = alphabet[idx] + name;\n n = (n - 1) / 26;\n }\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",
"long tmp = n;",
"tmp",
"n",
"int keta = 1;",
"keta",
"1",
"while (true) {\n tmp -= Math.pow(26, keta);\n if (tmp <= 0) {\n break;\n }\n keta++;\n }",
"true",
"{\n tmp -= Math.pow(26, keta);\n if (tmp <= 0) {\n break;\n }\n keta++;\n }",
"tmp -= Math.pow(26, keta)",
"tmp",
"Math.pow(26, keta)",
"Math.pow",
"Math",
"26",
"keta",
"if (tmp <= 0) {\n break;\n }",
"tmp <= 0",
"tmp",
"0",
"{\n break;\n }",
"break;",
"keta++",
"keta",
"String name = \"\";",
"name",
"\"\"",
"for (; keta > 0; keta--) {\n int idx = (int)((n - 1) % 26);\n name = alphabet[idx] + name;\n n = (n - 1) / 26;\n }",
";",
"keta > 0",
"keta",
"0",
"keta--",
"keta--",
"keta",
"{\n int idx = (int)((n - 1) % 26);\n name = alphabet[idx] + name;\n n = (n - 1) / 26;\n }",
"{\n int idx = (int)((n - 1) % 26);\n name = alphabet[idx] + name;\n n = (n - 1) / 26;\n }",
"int idx = (int)((n - 1) % 26);",
"idx",
"(int)((n - 1) % 26)",
"(n - 1)",
"n",
"1",
"26",
"name = alphabet[idx] + name",
"name",
"alphabet[idx] + name",
"alphabet[idx]",
"alphabet",
"idx",
"name",
"n = (n - 1) / 26",
"n",
"(n - 1) / 26",
"(n - 1)",
"n",
"1",
"26",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
static char[] alphabet = "abcdefghijklmnopqrstuvwxyz".toCharArray();
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
long tmp = n;
int keta = 1;
while (true) {
tmp -= Math.pow(26, keta);
if (tmp <= 0) {
break;
}
keta++;
}
String name = "";
for (; keta > 0; keta--) {
int idx = (int)((n - 1) % 26);
name = alphabet[idx] + name;
n = (n - 1) / 26;
}
System.out.println(name);
}
}
|
[
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,
13,
30,
0,
13,
4,
18,
13,
17,
13,
40,
13,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
40,
17,
13,
1,
40,
13,
30,
30,
11,
1,
41,
13,
17,
2,
40,
17,
13,
1,
40,
13,
30,
30,
14,
2,
2,
4,
18,
13,
17,
13,
13,
13,
30,
14,
2,
13,
17,
30,
0,
18,
13,
2,
2,
13,
17,
13,
17,
40,
18,
13,
2,
2,
2,
13,
17,
13,
17,
3,
0,
18,
13,
2,
2,
13,
17,
13,
13,
0,
13,
2,
4,
18,
13,
17,
13,
13,
3,
41,
13,
20,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
40,
17,
13,
1,
40,
13,
30,
30,
41,
13,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
40,
18,
13,
2,
13,
17,
4,
18,
13,
2,
2,
17,
17,
13,
4,
18,
18,
13,
13,
4,
18,
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
],
[
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
],
[
30,
33
],
[
30,
34
],
[
27,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
37,
39
],
[
40,
41
],
[
40,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
43,
54
],
[
54,
55
],
[
55,
56
],
[
43,
57
],
[
58,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
59,
68
],
[
68,
69
],
[
69,
70
],
[
59,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
76,
80
],
[
75,
81
],
[
74,
82
],
[
73,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
93,
93
],
[
93,
94
],
[
93,
95
],
[
93,
96
],
[
89,
97
],
[
88,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
103,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
102,
106
],
[
103,
107
],
[
88,
108
],
[
83,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
113,
113
],
[
113,
114
],
[
113,
115
],
[
113,
116
],
[
109,
117
],
[
83,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
121,
125
],
[
120,
126
],
[
83,
127
],
[
8,
128
],
[
128,
129
],
[
128,
130
],
[
8,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
131,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
131,
144
],
[
144,
145
],
[
145,
146
],
[
131,
147
],
[
148,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
151,
153
],
[
148,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
154,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
158,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
148,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
171,
175
],
[
8,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
176,
181
],
[
181,
182
],
[
182,
183
],
[
6,
184
],
[
184,
185
],
[
0,
186
],
[
186,
187
],
[
186,
188
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tlong num = 0;\n\t\tint index = 1;\n\t\twhile (num < N) {\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}\n\t\tint[] alp = new int[index-1];\n\t\tfor (int i = index-2; -1 < i; i--) {\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = alp.length-1; -1< i; i--) {\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}\n\t\tSystem.out.println(sb.reverse());\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tlong num = 0;\n\t\tint index = 1;\n\t\twhile (num < N) {\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}\n\t\tint[] alp = new int[index-1];\n\t\tfor (int i = index-2; -1 < i; i--) {\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = alp.length-1; -1< i; i--) {\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}\n\t\tSystem.out.println(sb.reverse());\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\tlong num = 0;\n\t\tint index = 1;\n\t\twhile (num < N) {\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}\n\t\tint[] alp = new int[index-1];\n\t\tfor (int i = index-2; -1 < i; i--) {\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = alp.length-1; -1< i; i--) {\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}\n\t\tSystem.out.println(sb.reverse());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tlong num = 0;\n\t\tint index = 1;\n\t\twhile (num < N) {\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}\n\t\tint[] alp = new int[index-1];\n\t\tfor (int i = index-2; -1 < i; i--) {\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = alp.length-1; -1< i; i--) {\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}\n\t\tSystem.out.println(sb.reverse());\n\t}",
"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 index = 1;",
"index",
"1",
"while (num < N) {\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}",
"num < N",
"num",
"N",
"{\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}",
"num += Math.pow(26, index)",
"num",
"Math.pow(26, index)",
"Math.pow",
"Math",
"26",
"index",
"index++",
"index",
"int[] alp = new int[index-1];",
"alp",
"new int[index-1]",
"index-1",
"index",
"1",
"for (int i = index-2; -1 < i; i--) {\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"int i = index-2;",
"int i = index-2;",
"i",
"index-2",
"index",
"2",
"-1 < i",
"-1",
"1",
"i",
"i--",
"i--",
"i",
"{\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"{\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}",
"for (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"int j = 26;",
"int j = 26;",
"j",
"26",
"-1 < j",
"-1",
"1",
"j",
"j--",
"j--",
"j",
"{\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"{\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}",
"if (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"Math.pow(26, i)*j <= N",
"Math.pow(26, i)*j",
"Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"j",
"N",
"{\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"if (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"j == 0",
"j",
"0",
"{\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}",
"alp[index-2-i] = 26",
"alp[index-2-i]",
"alp",
"index-2-i",
"index-2-i",
"index",
"2",
"i",
"26",
"alp[index-2-i-1]--",
"alp[index-2-i-1]",
"alp",
"index-2-i-1",
"i",
"index-2-i-1",
"index",
"2",
"i",
"1",
"break;",
"alp[index-2-i] = j",
"alp[index-2-i]",
"alp",
"index-2-i",
"index-2-i",
"index",
"2",
"i",
"j",
"N -= Math.pow(26, i)*j",
"N",
"Math.pow(26, i)*j",
"Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"j",
"break;",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = alp.length-1; -1< i; i--) {\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}",
"int i = alp.length-1;",
"int i = alp.length-1;",
"i",
"alp.length-1",
"alp.length",
"alp",
"alp.length",
"1",
"-1< i",
"-1",
"1",
"i",
"i--",
"i--",
"i",
"{\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}",
"{\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}",
"int a = alp[i];",
"a",
"alp[i]",
"alp",
"i",
"if (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}",
"a == 0",
"a",
"0",
"{\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}",
"a = 26",
"a",
"26",
"alp[i-1]--",
"alp[i-1]",
"alp",
"i-1",
"i",
"1",
"sb.append((char) ('a'-1+a))",
"sb.append",
"sb",
"(char) ('a'-1+a)",
"'a'-1",
"'a'",
"1",
"a",
"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\t\tlong N = sc.nextLong();\n\t\tlong num = 0;\n\t\tint index = 1;\n\t\twhile (num < N) {\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}\n\t\tint[] alp = new int[index-1];\n\t\tfor (int i = index-2; -1 < i; i--) {\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = alp.length-1; -1< i; i--) {\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}\n\t\tSystem.out.println(sb.reverse());\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tlong num = 0;\n\t\tint index = 1;\n\t\twhile (num < N) {\n\t\t\tnum += Math.pow(26, index);\n\t\t\tindex++;\n\t\t}\n\t\tint[] alp = new int[index-1];\n\t\tfor (int i = index-2; -1 < i; i--) {\n\t\t\tfor (int j = 26; -1 < j; j--) {\n\t\t\t\tif (Math.pow(26, i)*j <= N) {\n\t\t\t\t\tif (j == 0) {\n\t\t\t\t\t\talp[index-2-i] = 26;\n\t\t\t\t\t\talp[index-2-i-1]--;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\talp[index-2-i] = j;\n\t\t\t\t\tN -= Math.pow(26, i)*j;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = alp.length-1; -1< i; i--) {\n\t\t\tint a = alp[i];\n\t\t\tif (a == 0) {\n\t\t\t\ta = 26;\n\t\t\t\talp[i-1]--;\n\t\t\t}\n\t\t\tsb.append((char) ('a'-1+a));\n\t\t}\n\t\tSystem.out.println(sb.reverse());\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();
long num = 0;
int index = 1;
while (num < N) {
num += Math.pow(26, index);
index++;
}
int[] alp = new int[index-1];
for (int i = index-2; -1 < i; i--) {
for (int j = 26; -1 < j; j--) {
if (Math.pow(26, i)*j <= N) {
if (j == 0) {
alp[index-2-i] = 26;
alp[index-2-i-1]--;
break;
}
alp[index-2-i] = j;
N -= Math.pow(26, i)*j;
break;
}
}
}
StringBuilder sb = new StringBuilder();
for (int i = alp.length-1; -1< i; i--) {
int a = alp[i];
if (a == 0) {
a = 26;
alp[i-1]--;
}
sb.append((char) ('a'-1+a));
}
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,
2,
13,
17,
30,
41,
13,
2,
17,
2,
2,
13,
17,
17,
41,
13,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
40,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
62,
5
],
[
62,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
24,
34
],
[
34,
35
],
[
34,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
24,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
44,
46
],
[
24,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
8,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
6,
59
],
[
59,
60
],
[
0,
61
],
[
61,
62
],
[
61,
63
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong number = scanner.nextLong();\n\t\tString result = new String();\n\t\t\n\t\twhile(number > 0) {\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}\n\t\tSystem.out.print(result);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong number = scanner.nextLong();\n\t\tString result = new String();\n\t\t\n\t\twhile(number > 0) {\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}\n\t\tSystem.out.print(result);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong number = scanner.nextLong();\n\t\tString result = new String();\n\t\t\n\t\twhile(number > 0) {\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}\n\t\tSystem.out.print(result);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong number = scanner.nextLong();\n\t\tString result = new String();\n\t\t\n\t\twhile(number > 0) {\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}\n\t\tSystem.out.print(result);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long number = scanner.nextLong();",
"number",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"String result = new String();",
"result",
"new String()",
"while(number > 0) {\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}",
"number > 0",
"number",
"0",
"{\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}",
"int nums = (int) ('a' + (number - 1) % 26);",
"nums",
"(int) ('a' + (number - 1) % 26)",
"'a'",
"(number - 1) % 26",
"(number - 1)",
"number",
"1",
"26",
"char temporal = (char) nums;",
"temporal",
"(char) nums",
"result = temporal + result",
"result",
"temporal + result",
"temporal",
"result",
"number = number / 26",
"number",
"number / 26",
"number",
"26",
"if(temporal == 'z')\n\t\t\t\tnumber--;",
"temporal == 'z'",
"temporal",
"'z'",
"number--",
"number",
"System.out.print(result)",
"System.out.print",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong number = scanner.nextLong();\n\t\tString result = new String();\n\t\t\n\t\twhile(number > 0) {\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}\n\t\tSystem.out.print(result);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tlong number = scanner.nextLong();\n\t\tString result = new String();\n\t\t\n\t\twhile(number > 0) {\n\t\t\tint nums = (int) ('a' + (number - 1) % 26);\n\t\t\tchar temporal = (char) nums;\n\t\t\tresult = temporal + result;\n\t\t\tnumber = number / 26;\n\t\t\tif(temporal == 'z')\n\t\t\t\tnumber--;\n\t\t}\n\t\tSystem.out.print(result);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long number = scanner.nextLong();
String result = new String();
while(number > 0) {
int nums = (int) ('a' + (number - 1) % 26);
char temporal = (char) nums;
result = temporal + result;
number = number / 26;
if(temporal == 'z')
number--;
}
System.out.print(result);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
17,
11,
1,
41,
13,
4,
18,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
46,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
69,
70
],
[
69,
71
],
[
6,
72
],
[
72,
73
]
]
| [
"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\t\tsc.close();\n\t\tint tmp;\n\t\tString ans = \"\";\n\t\twhile (N > 0){\n\t\t\tN-=1;\n\t\t\ttmp = (int) (N % 26);\n\t\t\tans += (char)(tmp + 'a');\n\t\t\tN /= 26;\n\t\t}\n\t\tfor(int i=ans.length();i>0;--i){\n\t\t\tSystem.out.print(ans.charAt(i-1));\n\t\t}\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\t\tsc.close();\n\t\tint tmp;\n\t\tString ans = \"\";\n\t\twhile (N > 0){\n\t\t\tN-=1;\n\t\t\ttmp = (int) (N % 26);\n\t\t\tans += (char)(tmp + 'a');\n\t\t\tN /= 26;\n\t\t}\n\t\tfor(int i=ans.length();i>0;--i){\n\t\t\tSystem.out.print(ans.charAt(i-1));\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\tsc.close();\n\t\tint tmp;\n\t\tString ans = \"\";\n\t\twhile (N > 0){\n\t\t\tN-=1;\n\t\t\ttmp = (int) (N % 26);\n\t\t\tans += (char)(tmp + 'a');\n\t\t\tN /= 26;\n\t\t}\n\t\tfor(int i=ans.length();i>0;--i){\n\t\t\tSystem.out.print(ans.charAt(i-1));\n\t\t}\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tsc.close();\n\t\tint tmp;\n\t\tString ans = \"\";\n\t\twhile (N > 0){\n\t\t\tN-=1;\n\t\t\ttmp = (int) (N % 26);\n\t\t\tans += (char)(tmp + 'a');\n\t\t\tN /= 26;\n\t\t}\n\t\tfor(int i=ans.length();i>0;--i){\n\t\t\tSystem.out.print(ans.charAt(i-1));\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",
"sc.close()",
"sc.close",
"sc",
"int tmp;",
"tmp",
"String ans = \"\";",
"ans",
"\"\"",
"while (N > 0){\n\t\t\tN-=1;\n\t\t\ttmp = (int) (N % 26);\n\t\t\tans += (char)(tmp + 'a');\n\t\t\tN /= 26;\n\t\t}",
"N > 0",
"N",
"0",
"{\n\t\t\tN-=1;\n\t\t\ttmp = (int) (N % 26);\n\t\t\tans += (char)(tmp + 'a');\n\t\t\tN /= 26;\n\t\t}",
"N-=1",
"N",
"1",
"tmp = (int) (N % 26)",
"tmp",
"(int) (N % 26)",
"N",
"26",
"ans += (char)(tmp + 'a')",
"ans",
"(char)(tmp + 'a')",
"tmp",
"'a'",
"N /= 26",
"N",
"26",
"for(int i=ans.length();i>0;--i){\n\t\t\tSystem.out.print(ans.charAt(i-1));\n\t\t}",
"int i=ans.length();",
"int i=ans.length();",
"i",
"ans.length()",
"ans.length",
"ans",
"i>0",
"i",
"0",
"--i",
"--i",
"i",
"{\n\t\t\tSystem.out.print(ans.charAt(i-1));\n\t\t}",
"{\n\t\t\tSystem.out.print(ans.charAt(i-1));\n\t\t}",
"System.out.print(ans.charAt(i-1))",
"System.out.print",
"System.out",
"System",
"System.out",
"ans.charAt(i-1)",
"ans.charAt",
"ans",
"i-1",
"i",
"1",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
sc.close();
int tmp;
String ans = "";
while (N > 0){
N-=1;
tmp = (int) (N % 26);
ans += (char)(tmp + 'a');
N /= 26;
}
for(int i=ans.length();i>0;--i){
System.out.print(ans.charAt(i-1));
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
17,
0,
13,
20,
0,
13,
20,
4,
13,
41,
13,
4,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
30,
0,
13,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
17,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
17,
4,
18,
13,
17,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
13,
20,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
4,
18,
13,
12,
13,
30,
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
],
[
163,
11
],
[
163,
12
],
[
12,
13
],
[
163,
14
],
[
14,
15
],
[
163,
16
],
[
16,
17
],
[
163,
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
],
[
20,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
20,
36
],
[
36,
37
],
[
36,
38
],
[
20,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
57,
59
],
[
49,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
43,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
71,
75
],
[
20,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
20,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
85,
87
],
[
81,
88
],
[
88,
89
],
[
88,
90
],
[
20,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
91,
95
],
[
20,
96
],
[
96,
97
],
[
97,
98
],
[
96,
99
],
[
99,
100
],
[
100,
101
],
[
20,
102
],
[
102,
103
],
[
103,
104
],
[
20,
105
],
[
105,
106
],
[
106,
107
],
[
18,
108
],
[
108,
109
],
[
163,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
163,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
124,
125
],
[
163,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
133,
134
],
[
134,
135
],
[
163,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
140,
143
],
[
143,
144
],
[
144,
145
],
[
163,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
163,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
0,
162
],
[
162,
163
],
[
162,
164
]
]
| [
"//package atcoder.beginner_171;\n\nimport java.io.*;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main (String[] args) throws Exception {\n\n String s = \"27\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); long N=nlo();\n\n StringBuffer sb=new StringBuffer();\n while (N>26) {\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }\n\n char c=(char)(N%26);\n if (c>0) c+=96; else c='z';\n sb.insert(0, c);\n\n bw.write(sb.toString());\n bw.newLine();\n bw.flush();\n\n }\n\n static BufferedReader br;\n static BufferedWriter bw;\n static StringTokenizer st;\n static void rl() throws Exception{\n st = new StringTokenizer(br.readLine());\n }\n static long nlo(){\n return Long.parseLong(st.nextToken());\n }\n static int nin(){\n return Integer.parseInt(st.nextToken());\n }\n /*private static void te(){\n }*/\n static double ndo(){\n return Double.parseDouble(st.nextToken());\n }\n static char[] nca(){\n return st.nextToken().toCharArray();\n }\n static String nstr(){\n return st.nextToken();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\n public static void main (String[] args) throws Exception {\n\n String s = \"27\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); long N=nlo();\n\n StringBuffer sb=new StringBuffer();\n while (N>26) {\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }\n\n char c=(char)(N%26);\n if (c>0) c+=96; else c='z';\n sb.insert(0, c);\n\n bw.write(sb.toString());\n bw.newLine();\n bw.flush();\n\n }\n\n static BufferedReader br;\n static BufferedWriter bw;\n static StringTokenizer st;\n static void rl() throws Exception{\n st = new StringTokenizer(br.readLine());\n }\n static long nlo(){\n return Long.parseLong(st.nextToken());\n }\n static int nin(){\n return Integer.parseInt(st.nextToken());\n }\n /*private static void te(){\n }*/\n static double ndo(){\n return Double.parseDouble(st.nextToken());\n }\n static char[] nca(){\n return st.nextToken().toCharArray();\n }\n static String nstr(){\n return st.nextToken();\n }\n}",
"Main",
"static BufferedReader br;",
"br",
"static BufferedWriter bw;",
"bw",
"static StringTokenizer st;",
"st",
"public static void main (String[] args) throws Exception {\n\n String s = \"27\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); long N=nlo();\n\n StringBuffer sb=new StringBuffer();\n while (N>26) {\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }\n\n char c=(char)(N%26);\n if (c>0) c+=96; else c='z';\n sb.insert(0, c);\n\n bw.write(sb.toString());\n bw.newLine();\n bw.flush();\n\n }",
"main",
"{\n\n String s = \"27\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); long N=nlo();\n\n StringBuffer sb=new StringBuffer();\n while (N>26) {\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }\n\n char c=(char)(N%26);\n if (c>0) c+=96; else c='z';\n sb.insert(0, c);\n\n bw.write(sb.toString());\n bw.newLine();\n bw.flush();\n\n }",
"String s = \"27\";",
"s",
"\"27\"",
"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))",
"rl()",
"rl",
"long N=nlo();",
"N",
"nlo()",
"nlo",
"StringBuffer sb=new StringBuffer();",
"sb",
"new StringBuffer()",
"while (N>26) {\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }",
"N>26",
"N",
"26",
"{\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }",
"char c=(char)(N%26);",
"c",
"(char)(N%26)",
"N",
"26",
"if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }",
"c>0",
"c",
"0",
"{\n c+=96;\n N/=26;\n }",
"c+=96",
"c",
"96",
"N/=26",
"N",
"26",
"{\n c='z';\n N=(N-26)/26;\n }",
"c='z'",
"c",
"'z'",
"N=(N-26)/26",
"N",
"(N-26)/26",
"(N-26)",
"N",
"26",
"26",
"sb.insert(0, c)",
"sb.insert",
"sb",
"0",
"c",
"char c=(char)(N%26);",
"c",
"(char)(N%26)",
"N",
"26",
"if (c>0) c+=96; else c='z';",
"c>0",
"c",
"0",
"c+=96",
"c",
"96",
"c='z'",
"c",
"'z'",
"sb.insert(0, c)",
"sb.insert",
"sb",
"0",
"c",
"bw.write(sb.toString())",
"bw.write",
"bw",
"sb.toString()",
"sb.toString",
"sb",
"bw.newLine()",
"bw.newLine",
"bw",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"static void rl() throws Exception{\n st = new StringTokenizer(br.readLine());\n }",
"rl",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"static long nlo(){\n return Long.parseLong(st.nextToken());\n }",
"nlo",
"{\n return Long.parseLong(st.nextToken());\n }",
"return Long.parseLong(st.nextToken());",
"Long.parseLong(st.nextToken())",
"Long.parseLong",
"Long",
"st.nextToken()",
"st.nextToken",
"st",
"static int nin(){\n return Integer.parseInt(st.nextToken());\n }",
"nin",
"{\n return Integer.parseInt(st.nextToken());\n }",
"return Integer.parseInt(st.nextToken());",
"Integer.parseInt(st.nextToken())",
"Integer.parseInt",
"Integer",
"st.nextToken()",
"st.nextToken",
"st",
"/*private static void te(){\n }*/\n static double ndo(){\n return Double.parseDouble(st.nextToken());\n }",
"ndo",
"{\n return Double.parseDouble(st.nextToken());\n }",
"return Double.parseDouble(st.nextToken());",
"Double.parseDouble(st.nextToken())",
"Double.parseDouble",
"Double",
"st.nextToken()",
"st.nextToken",
"st",
"static char[] nca(){\n return st.nextToken().toCharArray();\n }",
"nca",
"{\n return st.nextToken().toCharArray();\n }",
"return st.nextToken().toCharArray();",
"st.nextToken().toCharArray()",
"st.nextToken().toCharArray",
"st.nextToken()",
"st.nextToken",
"st",
"static String nstr(){\n return st.nextToken();\n }",
"nstr",
"{\n return st.nextToken();\n }",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n\n public static void main (String[] args) throws Exception {\n\n String s = \"27\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); long N=nlo();\n\n StringBuffer sb=new StringBuffer();\n while (N>26) {\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }\n\n char c=(char)(N%26);\n if (c>0) c+=96; else c='z';\n sb.insert(0, c);\n\n bw.write(sb.toString());\n bw.newLine();\n bw.flush();\n\n }\n\n static BufferedReader br;\n static BufferedWriter bw;\n static StringTokenizer st;\n static void rl() throws Exception{\n st = new StringTokenizer(br.readLine());\n }\n static long nlo(){\n return Long.parseLong(st.nextToken());\n }\n static int nin(){\n return Integer.parseInt(st.nextToken());\n }\n /*private static void te(){\n }*/\n static double ndo(){\n return Double.parseDouble(st.nextToken());\n }\n static char[] nca(){\n return st.nextToken().toCharArray();\n }\n static String nstr(){\n return st.nextToken();\n }\n}",
"public class Main {\n\n public static void main (String[] args) throws Exception {\n\n String s = \"27\";\n\n// br = new BufferedReader(new StringReader(s));\n br = new BufferedReader(new InputStreamReader(System.in));\n bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\n rl(); long N=nlo();\n\n StringBuffer sb=new StringBuffer();\n while (N>26) {\n char c=(char)(N%26);\n if (c>0) {\n c+=96;\n N/=26;\n } else {\n c='z';\n N=(N-26)/26;\n }\n sb.insert(0, c);\n }\n\n char c=(char)(N%26);\n if (c>0) c+=96; else c='z';\n sb.insert(0, c);\n\n bw.write(sb.toString());\n bw.newLine();\n bw.flush();\n\n }\n\n static BufferedReader br;\n static BufferedWriter bw;\n static StringTokenizer st;\n static void rl() throws Exception{\n st = new StringTokenizer(br.readLine());\n }\n static long nlo(){\n return Long.parseLong(st.nextToken());\n }\n static int nin(){\n return Integer.parseInt(st.nextToken());\n }\n /*private static void te(){\n }*/\n static double ndo(){\n return Double.parseDouble(st.nextToken());\n }\n static char[] nca(){\n return st.nextToken().toCharArray();\n }\n static String nstr(){\n return st.nextToken();\n }\n}",
"Main"
]
| //package atcoder.beginner_171;
import java.io.*;
import java.util.Arrays;
import java.util.StringTokenizer;
public class Main {
public static void main (String[] args) throws Exception {
String s = "27";
// br = new BufferedReader(new StringReader(s));
br = new BufferedReader(new InputStreamReader(System.in));
bw = new BufferedWriter(new OutputStreamWriter(System.out));
rl(); long N=nlo();
StringBuffer sb=new StringBuffer();
while (N>26) {
char c=(char)(N%26);
if (c>0) {
c+=96;
N/=26;
} else {
c='z';
N=(N-26)/26;
}
sb.insert(0, c);
}
char c=(char)(N%26);
if (c>0) c+=96; else c='z';
sb.insert(0, c);
bw.write(sb.toString());
bw.newLine();
bw.flush();
}
static BufferedReader br;
static BufferedWriter bw;
static StringTokenizer st;
static void rl() throws Exception{
st = new StringTokenizer(br.readLine());
}
static long nlo(){
return Long.parseLong(st.nextToken());
}
static int nin(){
return Integer.parseInt(st.nextToken());
}
/*private static void te(){
}*/
static double ndo(){
return Double.parseDouble(st.nextToken());
}
static char[] nca(){
return st.nextToken().toCharArray();
}
static String nstr(){
return st.nextToken();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
17,
0,
18,
13,
13,
17,
42,
2,
13,
18,
13,
13,
30,
40,
13,
0,
18,
13,
13,
2,
2,
18,
13,
2,
13,
17,
17,
17,
0,
13,
2,
2,
13,
18,
13,
2,
13,
17,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
17,
2,
13,
17,
0,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
35,
36
],
[
36,
37
],
[
35,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
43,
49
],
[
42,
50
],
[
8,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
54,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
71,
73
],
[
66,
74
],
[
74,
75
],
[
75,
76
],
[
66,
77
],
[
78,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
88,
90
],
[
8,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
95,
97
],
[
91,
98
],
[
98,
99
],
[
98,
100
],
[
91,
101
],
[
101,
102
],
[
102,
103
],
[
91,
104
],
[
105,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
106,
111
],
[
111,
112
],
[
111,
113
],
[
8,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
6,
119
],
[
119,
120
]
]
| [
"import java.util.Scanner;\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\t\t// 文字列の長さを求める\n\t\tlong[] max = new long[12];\n\t\tint l = 1;\n\t\tmax[l] = 26;\n\t\twhile(N > max[l]) {\n\t\t\tl++;\n\t\t\tmax[l] = (max[l - 1] + 1) * 26;\n\t\t}\n\n\n\t\t// l桁の範囲で、元の数字をa~zを0~25の26進数として変換する\n\t\tN = N - max[l - 1] - 1;\n\t\tchar[] c = new char[l];\n\t\tfor (int i = 0; i < l; i++) {\n\t\t\tc[i] = (char)('a' + (N % 26));\n\t\t\tN /= 26;\n\t\t}\n\t\tfor (int i = l - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\n\t\t// 文字列の長さを求める\n\t\tlong[] max = new long[12];\n\t\tint l = 1;\n\t\tmax[l] = 26;\n\t\twhile(N > max[l]) {\n\t\t\tl++;\n\t\t\tmax[l] = (max[l - 1] + 1) * 26;\n\t\t}\n\n\n\t\t// l桁の範囲で、元の数字をa~zを0~25の26進数として変換する\n\t\tN = N - max[l - 1] - 1;\n\t\tchar[] c = new char[l];\n\t\tfor (int i = 0; i < l; i++) {\n\t\t\tc[i] = (char)('a' + (N % 26));\n\t\t\tN /= 26;\n\t\t}\n\t\tfor (int i = l - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\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\t\t// 文字列の長さを求める\n\t\tlong[] max = new long[12];\n\t\tint l = 1;\n\t\tmax[l] = 26;\n\t\twhile(N > max[l]) {\n\t\t\tl++;\n\t\t\tmax[l] = (max[l - 1] + 1) * 26;\n\t\t}\n\n\n\t\t// l桁の範囲で、元の数字をa~zを0~25の26進数として変換する\n\t\tN = N - max[l - 1] - 1;\n\t\tchar[] c = new char[l];\n\t\tfor (int i = 0; i < l; i++) {\n\t\t\tc[i] = (char)('a' + (N % 26));\n\t\t\tN /= 26;\n\t\t}\n\t\tfor (int i = l - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\n\t\t// 文字列の長さを求める\n\t\tlong[] max = new long[12];\n\t\tint l = 1;\n\t\tmax[l] = 26;\n\t\twhile(N > max[l]) {\n\t\t\tl++;\n\t\t\tmax[l] = (max[l - 1] + 1) * 26;\n\t\t}\n\n\n\t\t// l桁の範囲で、元の数字をa~zを0~25の26進数として変換する\n\t\tN = N - max[l - 1] - 1;\n\t\tchar[] c = new char[l];\n\t\tfor (int i = 0; i < l; i++) {\n\t\t\tc[i] = (char)('a' + (N % 26));\n\t\t\tN /= 26;\n\t\t}\n\t\tfor (int i = l - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long[] max = new long[12];",
"max",
"new long[12]",
"12",
"int l = 1;",
"l",
"1",
"max[l] = 26",
"max[l]",
"max",
"l",
"26",
"while(N > max[l]) {\n\t\t\tl++;\n\t\t\tmax[l] = (max[l - 1] + 1) * 26;\n\t\t}",
"N > max[l]",
"N",
"max[l]",
"max",
"l",
"{\n\t\t\tl++;\n\t\t\tmax[l] = (max[l - 1] + 1) * 26;\n\t\t}",
"l++",
"l",
"max[l] = (max[l - 1] + 1) * 26",
"max[l]",
"max",
"l",
"(max[l - 1] + 1) * 26",
"(max[l - 1] + 1)",
"max[l - 1]",
"max",
"l - 1",
"l",
"1",
"1",
"26",
"N = N - max[l - 1] - 1",
"N",
"N - max[l - 1] - 1",
"N - max[l - 1] - 1",
"N",
"max[l - 1]",
"max",
"l - 1",
"l",
"1",
"1",
"char[] c = new char[l];",
"c",
"new char[l]",
"l",
"for (int i = 0; i < l; i++) {\n\t\t\tc[i] = (char)('a' + (N % 26));\n\t\t\tN /= 26;\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < l",
"i",
"l",
"i++",
"i++",
"i",
"{\n\t\t\tc[i] = (char)('a' + (N % 26));\n\t\t\tN /= 26;\n\t\t}",
"{\n\t\t\tc[i] = (char)('a' + (N % 26));\n\t\t\tN /= 26;\n\t\t}",
"c[i] = (char)('a' + (N % 26))",
"c[i]",
"c",
"i",
"(char)('a' + (N % 26))",
"'a'",
"(N % 26)",
"N",
"26",
"N /= 26",
"N",
"26",
"for (int i = l - 1; i >= 0; i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"int i = l - 1;",
"int i = l - 1;",
"i",
"l - 1",
"l",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"System.out.print(c[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"c[i]",
"c",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
// 文字列の長さを求める
long[] max = new long[12];
int l = 1;
max[l] = 26;
while(N > max[l]) {
l++;
max[l] = (max[l - 1] + 1) * 26;
}
// l桁の範囲で、元の数字をa~zを0~25の26進数として変換する
N = N - max[l - 1] - 1;
char[] c = new char[l];
for (int i = 0; i < l; i++) {
c[i] = (char)('a' + (N % 26));
N /= 26;
}
for (int i = l - 1; i >= 0; i--) {
System.out.print(c[i]);
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
4,
18,
13,
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
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = \"\";\n\n\t\tlong n = scanner.nextLong();\n\t\twhile (n-- > 0){\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(s);\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 scanner = new Scanner(System.in);\n\t\tString s = \"\";\n\n\t\tlong n = scanner.nextLong();\n\t\twhile (n-- > 0){\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = \"\";\n\n\t\tlong n = scanner.nextLong();\n\t\twhile (n-- > 0){\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(s);\n\t}",
"main",
"{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = \"\";\n\n\t\tlong n = scanner.nextLong();\n\t\twhile (n-- > 0){\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(s);\n\t}",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String s = \"\";",
"s",
"\"\"",
"long n = scanner.nextLong();",
"n",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"while (n-- > 0){\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}",
"n-- > 0",
"n--",
"n",
"0",
"{\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}",
"s = (char)('a' + (n%26)) + s",
"s",
"(char)('a' + (n%26)) + s",
"(char)('a' + (n%26))",
"'a'",
"(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 class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = \"\";\n\n\t\tlong n = scanner.nextLong();\n\t\twhile (n-- > 0){\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(s);\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tString s = \"\";\n\n\t\tlong n = scanner.nextLong();\n\t\twhile (n-- > 0){\n\t\t\ts = (char)('a' + (n%26)) + s;\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(s);\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 s = "";
long n = scanner.nextLong();
while (n-- > 0){
s = (char)('a' + (n%26)) + s;
n /= 26;
}
System.out.println(s);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
13,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
0,
13,
2,
2,
13,
13,
17,
41,
13,
2,
17,
13,
41,
13,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
13,
41,
13,
20,
28,
13,
13,
30,
30,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
95,
14
],
[
95,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
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
],
[
31,
33
],
[
19,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
38,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
38,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
19,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
19,
72
],
[
72,
73
],
[
72,
74
],
[
19,
75
],
[
75,
76
],
[
75,
77
],
[
75,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
19,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
90,
91
],
[
15,
92
],
[
92,
93
],
[
0,
94
],
[
94,
95
],
[
94,
96
]
]
| [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport 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\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\n\t\t}\n\t}\n\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\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\n\t\t}\n\t}",
"main",
"{\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\n\t\t}\n\t}",
"try(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\n\t\t}",
"{\n\t\t\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\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",
"List<String> initials = new ArrayList<>();",
"initials",
"new ArrayList<>()",
"long current = n;",
"current",
"n",
"while(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}",
"current > 0",
"current",
"0",
"{\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}",
"current--",
"current",
"long residual = current % 26;",
"residual",
"current % 26",
"current",
"26",
"current = (current - residual) / 26",
"current",
"(current - residual) / 26",
"(current - residual)",
"current",
"residual",
"26",
"char initial = (char) ('a' + residual);",
"initial",
"(char) ('a' + residual)",
"'a'",
"residual",
"String initStr = String.valueOf(initial);",
"initStr",
"String.valueOf(initial)",
"String.valueOf",
"String",
"initial",
"initials.add(initStr)",
"initials.add",
"initials",
"initStr",
"Collections.reverse(initials)",
"Collections.reverse",
"Collections",
"initials",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}",
"String s",
"initials",
"{\n\t\t\t\tsb.append(s);\n\t\t\t}",
"{\n\t\t\t\tsb.append(s);\n\t\t\t}",
"sb.append(s)",
"sb.append",
"sb",
"s",
"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\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\n\t\t}\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\ttry(Scanner sc = new Scanner(System.in)) {\n\t\t\t\n\t\t\tlong n = sc.nextLong();\n\t\t\t\n\t\t\tList<String> initials = new ArrayList<>();\n\t\t\t\n\t\t\tlong current = n;\n\t\t\t\n\t\t\twhile(current > 0) {\n\t\t\t\t\n\t\t\t\tcurrent--;\n\t\t\t\t\n\t\t\t\tlong residual = current % 26;\n\t\t\t\tcurrent = (current - residual) / 26;\n\t\t\t\t\n\t\t\t\tchar initial = (char) ('a' + residual);\t\t\t\t\n\t\t\t\tString initStr = String.valueOf(initial);\n\t\t\t\t\n\t\t\t\tinitials.add(initStr);\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tCollections.reverse(initials);\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\tfor(String s : initials) {\n\t\t\t\tsb.append(s);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sb.toString());\n\t\t}\n\t}\n\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){
try(Scanner sc = new Scanner(System.in)) {
long n = sc.nextLong();
List<String> initials = new ArrayList<>();
long current = n;
while(current > 0) {
current--;
long residual = current % 26;
current = (current - residual) / 26;
char initial = (char) ('a' + residual);
String initStr = String.valueOf(initial);
initials.add(initStr);
}
Collections.reverse(initials);
StringBuilder sb = new StringBuilder();
for(String s : initials) {
sb.append(s);
}
System.out.println(sb.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,
40,
13,
0,
13,
2,
2,
17,
2,
13,
17,
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
],
[
50,
5
],
[
50,
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
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
29,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
46
],
[
6,
47
],
[
47,
48
],
[
0,
49
],
[
49,
50
],
[
49,
51
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong N = scan.nextLong();\n\t\tString answer = \"\";\n\n\t\twhile (N > 0) {\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}\n\n\t\tSystem.out.println(answer);\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 answer = \"\";\n\n\t\twhile (N > 0) {\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}\n\n\t\tSystem.out.println(answer);\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 answer = \"\";\n\n\t\twhile (N > 0) {\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}\n\n\t\tSystem.out.println(answer);\n\t}",
"main",
"{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong N = scan.nextLong();\n\t\tString answer = \"\";\n\n\t\twhile (N > 0) {\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}\n\n\t\tSystem.out.println(answer);\n\t}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String answer = \"\";",
"answer",
"\"\"",
"while (N > 0) {\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}",
"N > 0",
"N",
"0",
"{\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}",
"N--",
"N",
"answer = (char) ('a' + (N % 26)) + answer",
"answer",
"(char) ('a' + (N % 26)) + answer",
"(char) ('a' + (N % 26))",
"'a'",
"(N % 26)",
"N",
"26",
"answer",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"System.out.println(answer)",
"System.out.println",
"System.out",
"System",
"System.out",
"answer",
"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 answer = \"\";\n\n\t\twhile (N > 0) {\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}\n\n\t\tSystem.out.println(answer);\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 answer = \"\";\n\n\t\twhile (N > 0) {\n\t\t\tN--;\n\t\t\tanswer = (char) ('a' + (N % 26)) + answer;\n\t\t\tN = N / 26;\n\t\t}\n\n\t\tSystem.out.println(answer);\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 answer = "";
while (N > 0) {
N--;
answer = (char) ('a' + (N % 26)) + answer;
N = N / 26;
}
System.out.println(answer);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
18,
18,
13,
13,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
17,
2,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
2,
2,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
34,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
48,
58
],
[
58,
59
],
[
59,
60
],
[
48,
61
],
[
62,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
72,
76
],
[
72,
77
],
[
8,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
6,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
]
| [
"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\t\n\t\tlong n = java.lang.Long.parseLong(sc.next());\n\t\tsc.close();\n\t\tString ans = \"\";\n\n\t\twhile( n > 0) {\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < ans.length(); i++) {\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong n = java.lang.Long.parseLong(sc.next());\n\t\tsc.close();\n\t\tString ans = \"\";\n\n\t\twhile( n > 0) {\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < ans.length(); i++) {\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong n = java.lang.Long.parseLong(sc.next());\n\t\tsc.close();\n\t\tString ans = \"\";\n\n\t\twhile( n > 0) {\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < ans.length(); i++) {\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong n = java.lang.Long.parseLong(sc.next());\n\t\tsc.close();\n\t\tString ans = \"\";\n\n\t\twhile( n > 0) {\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < ans.length(); i++) {\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = java.lang.Long.parseLong(sc.next());",
"n",
"java.lang.Long.parseLong(sc.next())",
"java.lang.Long.parseLong",
"java.lang.Long",
"java.lang",
"java",
"java.lang",
"java.lang.Long",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"while( n > 0) {\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}",
"n -= 1",
"n",
"1",
"ans += (char)('a' + n % 26)",
"ans",
"(char)('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"for(int i = 0; i < ans.length(); i++) {\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ans.length()",
"i",
"ans.length()",
"ans.length",
"ans",
"i++",
"i++",
"i",
"{\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}",
"{\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}",
"System.out.print(ans.charAt(ans.length() - 1 - i))",
"System.out.print",
"System.out",
"System",
"System.out",
"ans.charAt(ans.length() - 1 - i)",
"ans.charAt",
"ans",
"ans.length() - 1 - i",
"ans.length() - 1 - i",
"ans.length()",
"ans.length",
"ans",
"1",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong n = java.lang.Long.parseLong(sc.next());\n\t\tsc.close();\n\t\tString ans = \"\";\n\n\t\twhile( n > 0) {\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < ans.length(); i++) {\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tlong n = java.lang.Long.parseLong(sc.next());\n\t\tsc.close();\n\t\tString ans = \"\";\n\n\t\twhile( n > 0) {\n\t\t\tn -= 1;\n\t\t\tans += (char)('a' + n % 26);\n\t\t\tn /= 26;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < ans.length(); i++) {\n\t\t\tSystem.out.print(ans.charAt(ans.length() - 1 - i));\n\t\t}\n\t\tSystem.out.println();\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 = java.lang.Long.parseLong(sc.next());
sc.close();
String ans = "";
while( n > 0) {
n -= 1;
ans += (char)('a' + n % 26);
n /= 26;
}
for(int i = 0; i < ans.length(); i++) {
System.out.print(ans.charAt(ans.length() - 1 - i));
}
System.out.println();
}
} |
[
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,
20,
4,
18,
13,
17,
4,
18,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
17,
4,
18,
13,
2,
4,
18,
13,
2,
4,
18,
13,
17,
13,
14,
2,
4,
18,
13,
2,
4,
18,
13,
17,
17,
30,
3,
41,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
4,
18,
13,
13,
30,
0,
13,
2,
13,
17,
0,
13,
4,
18,
13,
13,
3,
41,
13,
20,
13,
41,
13,
17,
40,
13,
42,
2,
13,
17,
30,
0,
18,
13,
13,
2,
13,
17,
0,
13,
17,
40,
13,
11,
1,
0,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
17,
18,
13,
13,
4,
18,
18,
13,
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
],
[
174,
11
],
[
174,
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
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
37,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
53,
57
],
[
49,
58
],
[
42,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
64,
68
],
[
60,
69
],
[
59,
70
],
[
70,
71
],
[
14,
72
],
[
72,
73
],
[
72,
74
],
[
14,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
79,
83
],
[
75,
84
],
[
84,
85
],
[
84,
86
],
[
75,
87
],
[
87,
88
],
[
88,
89
],
[
75,
90
],
[
91,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
92,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
99,
111
],
[
14,
112
],
[
112,
113
],
[
112,
114
],
[
14,
116
],
[
116,
117
],
[
116,
118
],
[
14,
119
],
[
119,
120
],
[
14,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
121,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
130,
132
],
[
125,
133
],
[
133,
134
],
[
133,
135
],
[
125,
136
],
[
136,
137
],
[
14,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
138,
145
],
[
145,
146
],
[
145,
147
],
[
138,
148
],
[
148,
149
],
[
149,
150
],
[
138,
151
],
[
152,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
157,
159
],
[
152,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
160,
165
],
[
14,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
12,
171
],
[
171,
172
],
[
0,
173
],
[
173,
174
],
[
173,
175
]
]
| [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> b = new ArrayList<>();\n\t\tb.add(0L);\n\t\tb.add(26L);\n\t\tlong base = 26;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = b.size() - 1; i >= 0; i--) {\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] c = new int[a];\n\t\tint i = 0;\n\t\tn--;\n\t\twhile (n > 0) {\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}\n\n\t\tfor (i = a - 1; i >= 0; i--) {\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> b = new ArrayList<>();\n\t\tb.add(0L);\n\t\tb.add(26L);\n\t\tlong base = 26;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = b.size() - 1; i >= 0; i--) {\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] c = new int[a];\n\t\tint i = 0;\n\t\tn--;\n\t\twhile (n > 0) {\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}\n\n\t\tfor (i = a - 1; i >= 0; i--) {\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> b = new ArrayList<>();\n\t\tb.add(0L);\n\t\tb.add(26L);\n\t\tlong base = 26;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = b.size() - 1; i >= 0; i--) {\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] c = new int[a];\n\t\tint i = 0;\n\t\tn--;\n\t\twhile (n > 0) {\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}\n\n\t\tfor (i = a - 1; i >= 0; i--) {\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> b = new ArrayList<>();\n\t\tb.add(0L);\n\t\tb.add(26L);\n\t\tlong base = 26;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = b.size() - 1; i >= 0; i--) {\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] c = new int[a];\n\t\tint i = 0;\n\t\tn--;\n\t\twhile (n > 0) {\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}\n\n\t\tfor (i = a - 1; i >= 0; i--) {\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"List<Long> b = new ArrayList<>();",
"b",
"new ArrayList<>()",
"b.add(0L)",
"b.add",
"b",
"0L",
"b.add(26L)",
"b.add",
"b",
"26L",
"long base = 26;",
"base",
"26",
"while (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"base *= 26",
"base",
"26",
"b.add(b.get(b.size() - 1) + base)",
"b.add",
"b",
"b.get(b.size() - 1) + base",
"b.get(b.size() - 1)",
"b.get",
"b",
"b.size() - 1",
"b.size()",
"b.size",
"b",
"1",
"base",
"if (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}",
"b.get(b.size() - 1) > 1000000000000001L",
"b.get(b.size() - 1)",
"b.get",
"b",
"b.size() - 1",
"b.size()",
"b.size",
"b",
"1",
"1000000000000001L",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"int a = 0;",
"a",
"0",
"for (int i = b.size() - 1; i >= 0; i--) {\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = b.size() - 1;",
"int i = b.size() - 1;",
"i",
"b.size() - 1",
"b.size()",
"b.size",
"b",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}",
"n > b.get(i)",
"n",
"b.get(i)",
"b.get",
"b",
"i",
"{\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}",
"a = i + 1",
"a",
"i + 1",
"i",
"1",
"n -= b.get(i)",
"n",
"b.get(i)",
"b.get",
"b",
"i",
"break;",
"int[] c = new int[a];",
"c",
"new int[a]",
"a",
"int i = 0;",
"i",
"0",
"n--",
"n",
"while (n > 0) {\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}",
"c[i] = (int) (n % 26)",
"c[i]",
"c",
"i",
"(int) (n % 26)",
"n",
"26",
"n /= 26",
"n",
"26",
"i++",
"i",
"for (i = a - 1; i >= 0; i--) {\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}",
"i = a - 1;",
"i = a - 1",
"i",
"a - 1",
"a",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}",
"{\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}",
"char d = (char) ('a' + c[i]);",
"d",
"(char) ('a' + c[i])",
"'a'",
"c[i]",
"c",
"i",
"System.out.print(d)",
"System.out.print",
"System.out",
"System",
"System.out",
"d",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> b = new ArrayList<>();\n\t\tb.add(0L);\n\t\tb.add(26L);\n\t\tlong base = 26;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = b.size() - 1; i >= 0; i--) {\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] c = new int[a];\n\t\tint i = 0;\n\t\tn--;\n\t\twhile (n > 0) {\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}\n\n\t\tfor (i = a - 1; i >= 0; i--) {\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tList<Long> b = new ArrayList<>();\n\t\tb.add(0L);\n\t\tb.add(26L);\n\t\tlong base = 26;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(b.get(b.size() - 1) + base);\n\t\t\tif (b.get(b.size() - 1) > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = b.size() - 1; i >= 0; i--) {\n\t\t\tif (n > b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tn -= b.get(i);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint[] c = new int[a];\n\t\tint i = 0;\n\t\tn--;\n\t\twhile (n > 0) {\n\t\t\tc[i] = (int) (n % 26);\n\t\t\tn /= 26;\n\t\t\ti++;\n\t\t}\n\n\t\tfor (i = a - 1; i >= 0; i--) {\n\t\t\tchar d = (char) ('a' + c[i]);\n\t\t\tSystem.out.print(d);\n\t\t}\n\t\tSystem.out.println();\n\t}\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
sc.close();
List<Long> b = new ArrayList<>();
b.add(0L);
b.add(26L);
long base = 26;
while (true) {
base *= 26;
b.add(b.get(b.size() - 1) + base);
if (b.get(b.size() - 1) > 1000000000000001L) {
break;
}
}
int a = 0;
for (int i = b.size() - 1; i >= 0; i--) {
if (n > b.get(i)) {
a = i + 1;
n -= b.get(i);
break;
}
}
int[] c = new int[a];
int i = 0;
n--;
while (n > 0) {
c[i] = (int) (n % 26);
n /= 26;
i++;
}
for (i = a - 1; i >= 0; i--) {
char d = (char) ('a' + c[i]);
System.out.print(d);
}
System.out.println();
}
}
|
[
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,
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
]
| [
[
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
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
30,
42
],
[
42,
43
],
[
42,
44
],
[
11,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
9,
55
],
[
55,
56
]
]
| [
"import java.math.BigInteger;\nimport java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn -= 1;\n\t\t\tsb.append((char) ('a' + n % 26));\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn -= 1;\n\t\t\tsb.append((char) ('a' + n % 26));\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\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\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn -= 1;\n\t\t\tsb.append((char) ('a' + n % 26));\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn -= 1;\n\t\t\tsb.append((char) ('a' + n % 26));\n\t\t\tn /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n\t\t\tn -= 1;\n\t\t\tsb.append((char) ('a' + n % 26));\n\t\t\tn /= 26;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tn -= 1;\n\t\t\tsb.append((char) ('a' + n % 26));\n\t\t\tn /= 26;\n\t\t}",
"n -= 1",
"n",
"1",
"sb.append((char) ('a' + n % 26))",
"sb.append",
"sb",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"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"
]
| import java.math.BigInteger;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
sc.close();
StringBuilder sb = new StringBuilder();
while (n > 0) {
n -= 1;
sb.append((char) ('a' + n % 26));
n /= 26;
}
System.out.println(sb.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,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
13,
30,
3,
30,
0,
13,
17,
0,
13,
13,
40,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
0,
13,
13,
0,
13,
13,
40,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
13,
41,
13,
2,
13,
17,
0,
13,
13,
0,
13,
2,
13,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
153,
5
],
[
153,
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
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
34
],
[
34,
35
],
[
35,
36
],
[
26,
37
],
[
38,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
49,
51
],
[
45,
52
],
[
52,
53
],
[
8,
54
],
[
54,
55
],
[
54,
56
],
[
8,
57
],
[
57,
58
],
[
57,
59
],
[
8,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
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
],
[
8,
81
],
[
81,
82
],
[
81,
83
],
[
8,
84
],
[
84,
85
],
[
8,
86
],
[
86,
87
],
[
86,
88
],
[
8,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
89,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
89,
99
],
[
99,
100
],
[
100,
101
],
[
89,
102
],
[
103,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
8,
107
],
[
107,
108
],
[
107,
109
],
[
8,
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
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
122,
133
],
[
133,
134
],
[
133,
135
],
[
122,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
138,
140
],
[
122,
141
],
[
141,
142
],
[
141,
143
],
[
8,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
144,
149
],
[
6,
150
],
[
150,
151
],
[
0,
152
],
[
152,
153
],
[
152,
154
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n \n int count = 0;\n long ts = 1;\n long tssum = 0;\n for (int i = 2; i < 100; i++) {\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }\n \n // System.out.println(count);\n \n long tmp2 = 1;\n long tmpsum = 0;\n for (int i = 0; i < count-1; i++) {\n tmp2 *=26;\n tmpsum += tmp2;\n }\n n -= tmpsum;\n n--;\n \n // System.out.println(n);\n \n long twosix = 1;\n for (int i = 0; i < count-1; i++) {\n twosix *= 26;\n }\n \n String str = \"\";\n for (int i = 0; i < count; i++) {\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }\n \n System.out.println(str);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n \n int count = 0;\n long ts = 1;\n long tssum = 0;\n for (int i = 2; i < 100; i++) {\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }\n \n // System.out.println(count);\n \n long tmp2 = 1;\n long tmpsum = 0;\n for (int i = 0; i < count-1; i++) {\n tmp2 *=26;\n tmpsum += tmp2;\n }\n n -= tmpsum;\n n--;\n \n // System.out.println(n);\n \n long twosix = 1;\n for (int i = 0; i < count-1; i++) {\n twosix *= 26;\n }\n \n String str = \"\";\n for (int i = 0; i < count; i++) {\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }\n \n System.out.println(str);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n \n int count = 0;\n long ts = 1;\n long tssum = 0;\n for (int i = 2; i < 100; i++) {\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }\n \n // System.out.println(count);\n \n long tmp2 = 1;\n long tmpsum = 0;\n for (int i = 0; i < count-1; i++) {\n tmp2 *=26;\n tmpsum += tmp2;\n }\n n -= tmpsum;\n n--;\n \n // System.out.println(n);\n \n long twosix = 1;\n for (int i = 0; i < count-1; i++) {\n twosix *= 26;\n }\n \n String str = \"\";\n for (int i = 0; i < count; i++) {\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }\n \n System.out.println(str);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n \n int count = 0;\n long ts = 1;\n long tssum = 0;\n for (int i = 2; i < 100; i++) {\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }\n \n // System.out.println(count);\n \n long tmp2 = 1;\n long tmpsum = 0;\n for (int i = 0; i < count-1; i++) {\n tmp2 *=26;\n tmpsum += tmp2;\n }\n n -= tmpsum;\n n--;\n \n // System.out.println(n);\n \n long twosix = 1;\n for (int i = 0; i < count-1; i++) {\n twosix *= 26;\n }\n \n String str = \"\";\n for (int i = 0; i < count; i++) {\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }\n \n System.out.println(str);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int count = 0;",
"count",
"0",
"long ts = 1;",
"ts",
"1",
"long tssum = 0;",
"tssum",
"0",
"for (int i = 2; i < 100; i++) {\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }",
"int i = 2;",
"int i = 2;",
"i",
"2",
"i < 100",
"i",
"100",
"i++",
"i++",
"i",
"{\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }",
"{\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }",
"if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }",
"n <= tssum",
"n",
"tssum",
"{\n break;\n }",
"break;",
"{\n ts *= 26;\n tssum += ts;\n count++;\n }",
"ts *= 26",
"ts",
"26",
"tssum += ts",
"tssum",
"ts",
"count++",
"count",
"long tmp2 = 1;",
"tmp2",
"1",
"long tmpsum = 0;",
"tmpsum",
"0",
"for (int i = 0; i < count-1; i++) {\n tmp2 *=26;\n tmpsum += tmp2;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count-1",
"i",
"count-1",
"count",
"1",
"i++",
"i++",
"i",
"{\n tmp2 *=26;\n tmpsum += tmp2;\n }",
"{\n tmp2 *=26;\n tmpsum += tmp2;\n }",
"tmp2 *=26",
"tmp2",
"26",
"tmpsum += tmp2",
"tmpsum",
"tmp2",
"n -= tmpsum",
"n",
"tmpsum",
"n--",
"n",
"long twosix = 1;",
"twosix",
"1",
"for (int i = 0; i < count-1; i++) {\n twosix *= 26;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count-1",
"i",
"count-1",
"count",
"1",
"i++",
"i++",
"i",
"{\n twosix *= 26;\n }",
"{\n twosix *= 26;\n }",
"twosix *= 26",
"twosix",
"26",
"String str = \"\";",
"str",
"\"\"",
"for (int i = 0; i < count; i++) {\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < count",
"i",
"count",
"i++",
"i++",
"i",
"{\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }",
"{\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }",
"long tmp3 = n / twosix;",
"tmp3",
"n / twosix",
"n",
"twosix",
"char c = (char)(tmp3 + 'a');",
"c",
"(char)(tmp3 + 'a')",
"tmp3",
"'a'",
"str += c",
"str",
"c",
"n -= twosix * tmp3",
"n",
"twosix * tmp3",
"twosix",
"tmp3",
"twosix /= 26",
"twosix",
"26",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n \n int count = 0;\n long ts = 1;\n long tssum = 0;\n for (int i = 2; i < 100; i++) {\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }\n \n // System.out.println(count);\n \n long tmp2 = 1;\n long tmpsum = 0;\n for (int i = 0; i < count-1; i++) {\n tmp2 *=26;\n tmpsum += tmp2;\n }\n n -= tmpsum;\n n--;\n \n // System.out.println(n);\n \n long twosix = 1;\n for (int i = 0; i < count-1; i++) {\n twosix *= 26;\n }\n \n String str = \"\";\n for (int i = 0; i < count; i++) {\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }\n \n System.out.println(str);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n \n int count = 0;\n long ts = 1;\n long tssum = 0;\n for (int i = 2; i < 100; i++) {\n if (n <= tssum) {\n break;\n } else {\n ts *= 26;\n tssum += ts;\n count++;\n }\n }\n \n // System.out.println(count);\n \n long tmp2 = 1;\n long tmpsum = 0;\n for (int i = 0; i < count-1; i++) {\n tmp2 *=26;\n tmpsum += tmp2;\n }\n n -= tmpsum;\n n--;\n \n // System.out.println(n);\n \n long twosix = 1;\n for (int i = 0; i < count-1; i++) {\n twosix *= 26;\n }\n \n String str = \"\";\n for (int i = 0; i < count; i++) {\n long tmp3 = n / twosix;\n // System.out.println(tmp3);\n char c = (char)(tmp3 + 'a');\n str += c;\n // System.out.println(c);\n \n n -= twosix * tmp3;\n twosix /= 26;\n // System.out.println(n);\n }\n \n System.out.println(str);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
// Your code here!
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
int count = 0;
long ts = 1;
long tssum = 0;
for (int i = 2; i < 100; i++) {
if (n <= tssum) {
break;
} else {
ts *= 26;
tssum += ts;
count++;
}
}
// System.out.println(count);
long tmp2 = 1;
long tmpsum = 0;
for (int i = 0; i < count-1; i++) {
tmp2 *=26;
tmpsum += tmp2;
}
n -= tmpsum;
n--;
// System.out.println(n);
long twosix = 1;
for (int i = 0; i < count-1; i++) {
twosix *= 26;
}
String str = "";
for (int i = 0; i < count; i++) {
long tmp3 = n / twosix;
// System.out.println(tmp3);
char c = (char)(tmp3 + 'a');
str += c;
// System.out.println(c);
n -= twosix * tmp3;
twosix /= 26;
// System.out.println(n);
}
System.out.println(str);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
2,
2,
13,
17,
13,
12,
13,
30,
41,
13,
2,
4,
18,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
3,
0,
13,
17,
42,
40,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
2,
13,
17,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
92,
5
],
[
92,
6
],
[
6,
7
],
[
6,
8
],
[
92,
9
],
[
9,
10
],
[
9,
11
],
[
92,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
92,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
92,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
92,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
34,
38
],
[
31,
39
],
[
39,
40
],
[
39,
41
],
[
31,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
46,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
46,
61
],
[
61,
62
],
[
61,
63
],
[
31,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
64,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
73,
74
],
[
69,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
80,
82
],
[
92,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
0,
91
],
[
91,
92
],
[
91,
93
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tlong inf = LMAX / 2 - MAX;\n\n\tvoid doIt() {\n\t\tlong N = sc.nextLong() - 1;\n\t\tLinkedList<Integer> stack = new LinkedList<>();\n\t\twhile(N >= 0) {\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}\n\t\twhile(!stack.isEmpty()) {\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tlong inf = LMAX / 2 - MAX;\n\n\tvoid doIt() {\n\t\tlong N = sc.nextLong() - 1;\n\t\tLinkedList<Integer> stack = new LinkedList<>();\n\t\twhile(N >= 0) {\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}\n\t\twhile(!stack.isEmpty()) {\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n}",
"Main",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"final int MOD = 998244353;",
"MOD",
"998244353",
"final int MAX = Integer.MAX_VALUE;",
"MAX",
"Integer.MAX_VALUE",
"Integer",
"Integer.MAX_VALUE",
"final long LMAX = Long.MAX_VALUE;",
"LMAX",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"long inf = LMAX / 2 - MAX;",
"inf",
"LMAX / 2 - MAX",
"LMAX / 2",
"LMAX",
"2",
"MAX",
"void doIt() {\n\t\tlong N = sc.nextLong() - 1;\n\t\tLinkedList<Integer> stack = new LinkedList<>();\n\t\twhile(N >= 0) {\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}\n\t\twhile(!stack.isEmpty()) {\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}\n\t}",
"doIt",
"{\n\t\tlong N = sc.nextLong() - 1;\n\t\tLinkedList<Integer> stack = new LinkedList<>();\n\t\twhile(N >= 0) {\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}\n\t\twhile(!stack.isEmpty()) {\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}\n\t}",
"long N = sc.nextLong() - 1;",
"N",
"sc.nextLong() - 1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"1",
"LinkedList<Integer> stack = new LinkedList<>();",
"stack",
"new LinkedList<>()",
"while(N >= 0) {\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}",
"N >= 0",
"N",
"0",
"{\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}",
"stack.push((int)(N % 26))",
"stack.push",
"stack",
"(int)(N % 26)",
"N",
"26",
"N -= 26",
"N",
"26",
"if(N < 0) break;",
"N < 0",
"N",
"0",
"break;",
"N /= 26",
"N",
"26",
"while(!stack.isEmpty()) {\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}",
"!stack.isEmpty()",
"stack.isEmpty()",
"stack.isEmpty",
"stack",
"{\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}",
"int c = stack.pollFirst();",
"c",
"stack.pollFirst()",
"stack.pollFirst",
"stack",
"System.out.print((char)(c + 'a'))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(c + 'a')",
"c",
"'a'",
"public static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}",
"main",
"{\n\t\tnew Main().doIt();\n\t}",
"new Main().doIt()",
"new Main().doIt",
"new Main()",
"String[] args",
"args",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tlong inf = LMAX / 2 - MAX;\n\n\tvoid doIt() {\n\t\tlong N = sc.nextLong() - 1;\n\t\tLinkedList<Integer> stack = new LinkedList<>();\n\t\twhile(N >= 0) {\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}\n\t\twhile(!stack.isEmpty()) {\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n}",
"public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = 998244353;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tlong inf = LMAX / 2 - MAX;\n\n\tvoid doIt() {\n\t\tlong N = sc.nextLong() - 1;\n\t\tLinkedList<Integer> stack = new LinkedList<>();\n\t\twhile(N >= 0) {\n\t\t\tstack.push((int)(N % 26));\n\t\t\tN -= 26;\n\t\t\tif(N < 0) break;\n\t\t\tN /= 26;\n\t\t}\n\t\twhile(!stack.isEmpty()) {\n\t\t\tint c = stack.pollFirst();\n\t\t\tSystem.out.print((char)(c + 'a'));\n\t\t}\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
Scanner sc = new Scanner(System.in);
final int MOD = 998244353;
final int MAX = Integer.MAX_VALUE;
final long LMAX = Long.MAX_VALUE;
long inf = LMAX / 2 - MAX;
void doIt() {
long N = sc.nextLong() - 1;
LinkedList<Integer> stack = new LinkedList<>();
while(N >= 0) {
stack.push((int)(N % 26));
N -= 26;
if(N < 0) break;
N /= 26;
}
while(!stack.isEmpty()) {
int c = stack.pollFirst();
System.out.print((char)(c + 'a'));
}
}
public static void main(String[] args) {
new Main().doIt();
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
41,
13,
18,
13,
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,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
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
],
[
86,
5
],
[
86,
6
],
[
6,
7
],
[
6,
8
],
[
86,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
11,
13
],
[
86,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
18,
21
],
[
18,
22
],
[
14,
23
],
[
23,
24
],
[
14,
25
],
[
25,
26
],
[
86,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
27,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
86,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
42,
54
],
[
54,
55
],
[
54,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
70,
72
],
[
67,
73
],
[
61,
74
],
[
74,
75
],
[
74,
76
],
[
42,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
77,
82
],
[
40,
83
],
[
83,
84
],
[
0,
85
],
[
85,
86
],
[
85,
87
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tstatic long mod = 1000000007;\n\tstatic long INF = Long.MAX_VALUE;\n\n\tstatic long chmin(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long chmax(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t// AtCoder_C\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t // Scannerクラスのインスタンスをクローズ\n\t\tsc.close();\n\n\t\tString ans = \"\";\n\n\t\twhile (N>0) {\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.print(ans);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tstatic long mod = 1000000007;\n\tstatic long INF = Long.MAX_VALUE;\n\n\tstatic long chmin(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long chmax(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t// AtCoder_C\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t // Scannerクラスのインスタンスをクローズ\n\t\tsc.close();\n\n\t\tString ans = \"\";\n\n\t\twhile (N>0) {\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.print(ans);\n\t}\n}",
"Main",
"static long mod = 1000000007;",
"mod",
"1000000007",
"static long INF = Long.MAX_VALUE;",
"INF",
"Long.MAX_VALUE",
"Long",
"Long.MAX_VALUE",
"static long chmin(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}",
"chmin",
"{\n\t\treturn Math.min(a, b);\n\t}",
"return Math.min(a, b);",
"Math.min(a, b)",
"Math.min",
"Math",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long chmax(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}",
"chmax",
"{\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",
"public static void main(String[] args) {\n\t\t// AtCoder_C\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t // Scannerクラスのインスタンスをクローズ\n\t\tsc.close();\n\n\t\tString ans = \"\";\n\n\t\twhile (N>0) {\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.print(ans);\n\t}",
"main",
"{\n\t\t// AtCoder_C\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t // Scannerクラスのインスタンスをクローズ\n\t\tsc.close();\n\n\t\tString ans = \"\";\n\n\t\twhile (N>0) {\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.print(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"while (N>0) {\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}",
"N>0",
"N",
"0",
"{\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}",
"N -= 1",
"N",
"1",
"ans = (char)('a'+(N%26)) + ans",
"ans",
"(char)('a'+(N%26)) + ans",
"(char)('a'+(N%26))",
"'a'",
"(N%26)",
"N",
"26",
"ans",
"N /= 26",
"N",
"26",
"System.out.print(ans)",
"System.out.print",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n\tstatic long mod = 1000000007;\n\tstatic long INF = Long.MAX_VALUE;\n\n\tstatic long chmin(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long chmax(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t// AtCoder_C\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t // Scannerクラスのインスタンスをクローズ\n\t\tsc.close();\n\n\t\tString ans = \"\";\n\n\t\twhile (N>0) {\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.print(ans);\n\t}\n}",
"public class Main {\n\n\tstatic long mod = 1000000007;\n\tstatic long INF = Long.MAX_VALUE;\n\n\tstatic long chmin(long a, long b) {\n\t\treturn Math.min(a, b);\n\t}\n\n\tstatic long chmax(long a, long b) {\n\t\treturn Math.max(a, b);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t// AtCoder_C\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t // Scannerクラスのインスタンスをクローズ\n\t\tsc.close();\n\n\t\tString ans = \"\";\n\n\t\twhile (N>0) {\n\t\t\tN -= 1;\n\t\t\tans = (char)('a'+(N%26)) + ans;\n\t\t\tN /= 26;\n\t\t}\n\n\t\tSystem.out.print(ans);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
static long mod = 1000000007;
static long INF = Long.MAX_VALUE;
static long chmin(long a, long b) {
return Math.min(a, b);
}
static long chmax(long a, long b) {
return Math.max(a, b);
}
public static void main(String[] args) {
// AtCoder_C
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
// Scannerクラスのインスタンスをクローズ
sc.close();
String ans = "";
while (N>0) {
N -= 1;
ans = (char)('a'+(N%26)) + ans;
N /= 26;
}
System.out.print(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
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,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
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,
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,
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,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
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,
11,
1,
41,
13,
17,
41,
13,
18,
13,
13,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
2,
13,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
29,
13,
23,
13,
23,
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,
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,
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
],
[
452,
8
],
[
452,
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
],
[
25,
28
],
[
24,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
29,
35
],
[
35,
36
],
[
35,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
42,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
29,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
63,
64
],
[
64,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
9,
69
],
[
69,
70
],
[
452,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
71,
79
],
[
79,
80
],
[
71,
81
],
[
81,
82
],
[
71,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
83,
91
],
[
91,
92
],
[
71,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
96,
101
],
[
101,
102
],
[
95,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
111,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
107,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
128,
129
],
[
129,
130
],
[
95,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
71,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
138,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
143,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
138,
152
],
[
152,
153
],
[
152,
154
],
[
138,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
138,
168
],
[
168,
169
],
[
168,
170
],
[
138,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
173,
175
],
[
171,
176
],
[
176,
177
],
[
177,
178
],
[
177,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
182,
184
],
[
176,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
138,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
71,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
195,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
195,
209
],
[
209,
210
],
[
209,
211
],
[
195,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
216,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
195,
225
],
[
225,
226
],
[
225,
227
],
[
195,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
233,
234
],
[
234,
235
],
[
234,
236
],
[
233,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
239,
241
],
[
233,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
195,
246
],
[
246,
247
],
[
247,
248
],
[
247,
249
],
[
71,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
257
],
[
257,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
257,
262
],
[
262,
263
],
[
262,
264
],
[
257,
265
],
[
265,
266
],
[
266,
267
],
[
257,
268
],
[
269,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
252,
276
],
[
276,
277
],
[
250,
278
],
[
278,
279
],
[
71,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
285,
287
],
[
284,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
283,
293
],
[
293,
294
],
[
293,
295
],
[
283,
296
],
[
296,
297
],
[
297,
298
],
[
283,
299
],
[
300,
300
],
[
300,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
304,
307
],
[
307,
308
],
[
307,
309
],
[
303,
310
],
[
300,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
313,
315
],
[
300,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
316,
320
],
[
320,
321
],
[
320,
322
],
[
300,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
323,
327
],
[
282,
328
],
[
328,
329
],
[
280,
330
],
[
330,
331
],
[
280,
332
],
[
332,
333
],
[
71,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
336,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
336,
350
],
[
350,
351
],
[
350,
352
],
[
336,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
353,
358
],
[
358,
359
],
[
359,
360
],
[
360,
361
],
[
359,
362
],
[
358,
363
],
[
363,
364
],
[
363,
365
],
[
365,
366
],
[
336,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
71,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
373,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
378,
382
],
[
382,
383
],
[
382,
384
],
[
384,
385
],
[
373,
386
],
[
386,
387
],
[
386,
388
],
[
373,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
391,
393
],
[
389,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
395,
398
],
[
394,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
373,
403
],
[
403,
404
],
[
404,
405
],
[
405,
406
],
[
71,
407
],
[
407,
408
],
[
407,
409
],
[
409,
410
],
[
410,
411
],
[
414,
412
],
[
424,
413
],
[
421,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
418,
419
],
[
418,
420
],
[
421,
421
],
[
421,
422
],
[
421,
423
],
[
424,
424
],
[
424,
425
],
[
424,
426
],
[
414,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
407,
431
],
[
431,
432
],
[
71,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
438,
438
],
[
438,
439
],
[
439,
440
],
[
439,
441
],
[
438,
442
],
[
442,
443
],
[
442,
444
],
[
438,
445
],
[
445,
446
],
[
445,
447
],
[
447,
448
],
[
433,
449
],
[
449,
450
],
[
0,
451
],
[
451,
452
],
[
451,
453
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-- > 0)\n {\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }\n pw.close();\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(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 static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\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 public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-- > 0)\n {\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }\n pw.close();\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(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 static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\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 public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"Main",
"public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-- > 0)\n {\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }\n pw.close();\n }",
"main",
"{\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-- > 0)\n {\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }\n pw.close();\n }",
"InputReader sc = new InputReader(System.in);",
"sc",
"new InputReader(System.in)",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"Random gen = new Random();",
"gen",
"new Random()",
"int test = 1;",
"test",
"1",
"while(test-- > 0)\n {\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }",
"test-- > 0",
"test--",
"test",
"0",
"{\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }",
"n>0",
"n",
"0",
"{\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }",
"sb.append((char)((n-1)%26 + 'a'))",
"sb.append",
"sb",
"(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",
"pw.println(sb.reverse())",
"pw.println",
"pw",
"sb.reverse()",
"sb.reverse",
"sb",
"pw.close()",
"pw.close",
"pw",
"String[] args",
"args",
"static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(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 static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\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 public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }",
"InputReader",
"private final InputStream stream;",
"stream",
"private final byte[] buf = new byte[8192];",
"buf",
"new byte[8192]",
"8192",
"private int curChar",
"curChar",
"snumChars;",
"snumChars",
"public InputReader(InputStream st) {\n this.stream = st;\n }",
"InputReader",
"{\n this.stream = st;\n }",
"this.stream = st",
"this.stream",
"this",
"this.stream",
"st",
"InputStream st",
"st",
"public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (snumChars == -1)\n throw new InputMismatchException();",
"snumChars == -1",
"snumChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar >= snumChars",
"curChar",
"snumChars",
"{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n snumChars = 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 snumChars = stream.read(buf);\n }",
"snumChars = stream.read(buf)",
"snumChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (snumChars <= 0)\n return -1;",
"snumChars <= 0",
"snumChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"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 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 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"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 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 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 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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res *= 10;\n res += c - '0';\n c = read();\n }",
"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[] nextIntArray(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 }",
"nextIntArray",
"{\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 static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"shuffle",
"{ for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }",
"for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int i = 0, n = a.length;",
"int i = 0",
"i",
"0",
"n = a.length;",
"n",
"a.length",
"a",
"a.length",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }",
"int ind = gen.nextInt(n-i)+i;",
"ind",
"gen.nextInt(n-i)+i",
"gen.nextInt(n-i)",
"gen.nextInt",
"gen",
"n-i",
"n",
"i",
"i",
"int d = a[i];",
"d",
"a[i]",
"a",
"i",
"a[i] = a[ind]",
"a[i]",
"a",
"i",
"a[ind]",
"a",
"ind",
"a[ind] = d",
"a[ind]",
"a",
"ind",
"d",
"return a;",
"a",
"int[] a",
"a",
"Random gen",
"gen",
"public String readString() {\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 }",
"readString",
"{\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",
"public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }",
"nextLine",
"{\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 (!isEndOfLine(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 (!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 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",
"private 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\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-- > 0)\n {\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }\n pw.close();\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(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 static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\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 public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-- > 0)\n {\n\n long n = sc.nextLong();\n StringBuffer sb = new StringBuffer();\n while (n>0)\n {\n sb.append((char)((n-1)%26 + 'a'));\n n = (n-1)/26;\n }\n pw.println(sb.reverse());\n }\n pw.close();\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int[] nextIntArray(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 static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\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 public String nextLine() {\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 (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
InputReader sc = new InputReader(System.in);
PrintWriter pw = new PrintWriter(System.out);
Random gen = new Random();
int test = 1;//sc.nextInt();
while(test-- > 0)
{
long n = sc.nextLong();
StringBuffer sb = new StringBuffer();
while (n>0)
{
sb.append((char)((n-1)%26 + 'a'));
n = (n-1)/26;
}
pw.println(sb.reverse());
}
pw.close();
}
static class InputReader {
private final InputStream stream;
private final byte[] buf = new byte[8192];
private int curChar, snumChars;
public InputReader(InputStream st) {
this.stream = st;
}
public int read() {
if (snumChars == -1)
throw new InputMismatchException();
if (curChar >= snumChars) {
curChar = 0;
try {
snumChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (snumChars <= 0)
return -1;
}
return buf[curChar++];
}
public int nextInt() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
int res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public long nextLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public int[] nextIntArray(int n) {
int a[] = new int[n];
for (int i = 0; i < n; i++) {
a[i] = nextInt();
}
return a;
}
public static int[] shuffle(int[] a, Random gen)
{ for(int i = 0, n = a.length;i < n;i++)
{ int ind = gen.nextInt(n-i)+i;
int d = a[i];
a[i] = a[ind];
a[ind] = d;
}
return a;
}
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 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 boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
private boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
18,
13,
40,
13,
2,
2,
13,
17,
17,
0,
13,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
78,
5
],
[
78,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
24
],
[
24,
25
],
[
24,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
34,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
31,
44
],
[
44,
45
],
[
44,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
47,
54
],
[
54,
55
],
[
54,
56
],
[
47,
57
],
[
57,
58
],
[
58,
59
],
[
47,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
6,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tString ans=\"\";\n\t\tchar c[]=new char[12];\n\t\tint q=0;\n\t\t\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tfor(int i=q-1;i>=0;i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\t\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tString ans=\"\";\n\t\tchar c[]=new char[12];\n\t\tint q=0;\n\t\t\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tfor(int i=q-1;i>=0;i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\t\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tString ans=\"\";\n\t\tchar c[]=new char[12];\n\t\tint q=0;\n\t\t\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tfor(int i=q-1;i>=0;i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tString ans=\"\";\n\t\tchar c[]=new char[12];\n\t\tint q=0;\n\t\t\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tfor(int i=q-1;i>=0;i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\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",
"\"\"",
"char c[]=new char[12];",
"c",
"new char[12]",
"12",
"int q=0;",
"q",
"0",
"while(n>0) {\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}",
"n--",
"n",
"c[q++]=(char)(n%26+'a')",
"c[q++]",
"c",
"q++",
"q",
"(char)(n%26+'a')",
"n%26",
"n",
"26",
"'a'",
"n/=26",
"n",
"26",
"for(int i=q-1;i>=0;i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"int i=q-1;",
"int i=q-1;",
"i",
"q-1",
"q",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"{\n\t\t\tSystem.out.print(c[i]);\n\t\t}",
"System.out.print(c[i])",
"System.out.print",
"System.out",
"System",
"System.out",
"c[i]",
"c",
"i",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tString ans=\"\";\n\t\tchar c[]=new char[12];\n\t\tint q=0;\n\t\t\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tfor(int i=q-1;i>=0;i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\t\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong n=sc.nextLong();\n\t\tString ans=\"\";\n\t\tchar c[]=new char[12];\n\t\tint q=0;\n\t\t\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tc[q++]=(char)(n%26+'a');\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tfor(int i=q-1;i>=0;i--) {\n\t\t\tSystem.out.print(c[i]);\n\t\t}\n\t\tSystem.out.println();\n\t}\n\t\n\t\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc=new Scanner(System.in);
long n=sc.nextLong();
String ans="";
char c[]=new char[12];
int q=0;
while(n>0) {
n--;
c[q++]=(char)(n%26+'a');
n/=26;
}
for(int i=q-1;i>=0;i--) {
System.out.print(c[i]);
}
System.out.println();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
41,
13,
13,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
13,
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,
4,
18,
18,
13,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
93,
5
],
[
93,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
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
],
[
30,
32
],
[
27,
33
],
[
33,
34
],
[
33,
35
],
[
27,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
27,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
27,
50
],
[
50,
51
],
[
50,
52
],
[
27,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
8,
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
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
80,
81
],
[
81,
82
],
[
80,
83
],
[
8,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
6,
90
],
[
90,
91
],
[
0,
92
],
[
92,
93
],
[
92,
94
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n String[] a = new String[]{\"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\"};\n ArrayList<String> g = new ArrayList<String>();\n while (n>0){\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }\n for (int p = g.size()-1;p>=0;p--){\n System.out.print(g.get(p));\n }\n System.out.println(\"\");\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 String[] a = new String[]{\"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\"};\n ArrayList<String> g = new ArrayList<String>();\n while (n>0){\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }\n for (int p = g.size()-1;p>=0;p--){\n System.out.print(g.get(p));\n }\n System.out.println(\"\");\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n String[] a = new String[]{\"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\"};\n ArrayList<String> g = new ArrayList<String>();\n while (n>0){\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }\n for (int p = g.size()-1;p>=0;p--){\n System.out.print(g.get(p));\n }\n System.out.println(\"\");\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n String[] a = new String[]{\"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\"};\n ArrayList<String> g = new ArrayList<String>();\n while (n>0){\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }\n for (int p = g.size()-1;p>=0;p--){\n System.out.print(g.get(p));\n }\n System.out.println(\"\");\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String[] a = new String[]{\"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\"};",
"a",
"new String[]{\"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\"}",
"ArrayList<String> g = new ArrayList<String>();",
"g",
"new ArrayList<String>()",
"while (n>0){\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }",
"n>0",
"n",
"0",
"{\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }",
"long t1 = (long) n%26;",
"t1",
"(long) n%26",
"(long) n",
"26",
"int t = (int) t1;",
"t",
"(int) t1",
"g.add(a[t])",
"g.add",
"g",
"a[t]",
"a",
"t",
"if (t == 0){\n t = 26;\n }",
"t == 0",
"t",
"0",
"{\n t = 26;\n }",
"t = 26",
"t",
"26",
"n -= t",
"n",
"t",
"n = (long) n/26",
"n",
"(long) n/26",
"(long) n",
"26",
"for (int p = g.size()-1;p>=0;p--){\n System.out.print(g.get(p));\n }",
"int p = g.size()-1;",
"int p = g.size()-1;",
"p",
"g.size()-1",
"g.size()",
"g.size",
"g",
"1",
"p>=0",
"p",
"0",
"p--",
"p--",
"p",
"{\n System.out.print(g.get(p));\n }",
"{\n System.out.print(g.get(p));\n }",
"System.out.print(g.get(p))",
"System.out.print",
"System.out",
"System",
"System.out",
"g.get(p)",
"g.get",
"g",
"p",
"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 scan = new Scanner(System.in);\n long n = scan.nextLong();\n String[] a = new String[]{\"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\"};\n ArrayList<String> g = new ArrayList<String>();\n while (n>0){\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }\n for (int p = g.size()-1;p>=0;p--){\n System.out.print(g.get(p));\n }\n System.out.println(\"\");\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 String[] a = new String[]{\"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\"};\n ArrayList<String> g = new ArrayList<String>();\n while (n>0){\n long t1 = (long) n%26;\n int t = (int) t1;\n g.add(a[t]);\n if (t == 0){\n t = 26;\n }\n n -= t;\n n = (long) n/26;\n }\n for (int p = g.size()-1;p>=0;p--){\n System.out.print(g.get(p));\n }\n System.out.println(\"\");\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();
String[] a = new String[]{"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"};
ArrayList<String> g = new ArrayList<String>();
while (n>0){
long t1 = (long) n%26;
int t = (int) t1;
g.add(a[t]);
if (t == 0){
t = 26;
}
n -= t;
n = (long) n/26;
}
for (int p = g.size()-1;p>=0;p--){
System.out.print(g.get(p));
}
System.out.println("");
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
2,
13,
17,
0,
13,
17,
42,
40,
4,
18,
13,
30,
4,
18,
13,
2,
4,
18,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
17,
42,
2,
40,
13,
17,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
4,
18,
13,
18,
13,
13,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
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,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
4,
13,
13,
4,
18,
13,
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,
4,
13,
13,
4,
18,
13,
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,
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,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
4,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
4,
18,
13,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
457,
8
],
[
457,
9
],
[
9,
10
],
[
457,
11
],
[
11,
12
],
[
457,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
15,
19
],
[
19,
20
],
[
19,
21
],
[
21,
22
],
[
22,
23
],
[
15,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
28,
29
],
[
29,
30
],
[
28,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
34,
35
],
[
34,
36
],
[
28,
37
],
[
37,
38
],
[
37,
39
],
[
15,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
40,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
49,
53
],
[
457,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
56,
63
],
[
63,
64
],
[
63,
65
],
[
56,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
66,
71
],
[
71,
72
],
[
56,
73
],
[
73,
74
],
[
74,
75
],
[
54,
76
],
[
76,
77
],
[
457,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
81,
91
],
[
91,
92
],
[
92,
93
],
[
81,
94
],
[
95,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
98,
102
],
[
102,
103
],
[
102,
104
],
[
95,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
107,
109
],
[
95,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
114,
115
],
[
114,
116
],
[
95,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
78,
122
],
[
122,
123
],
[
457,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
129,
131
],
[
127,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
127,
137
],
[
137,
138
],
[
138,
139
],
[
127,
140
],
[
141,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
144,
148
],
[
148,
149
],
[
148,
150
],
[
141,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
141,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
160,
162
],
[
141,
163
],
[
163,
164
],
[
164,
165
],
[
164,
166
],
[
163,
167
],
[
124,
168
],
[
168,
169
],
[
457,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
170,
174
],
[
174,
175
],
[
170,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
176,
182
],
[
182,
183
],
[
170,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
184,
190
],
[
190,
191
],
[
170,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
197,
198
],
[
197,
199
],
[
196,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
195,
204
],
[
204,
205
],
[
204,
206
],
[
194,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
170,
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
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
234
],
[
234,
235
],
[
213,
236
],
[
236,
237
],
[
211,
238
],
[
238,
239
],
[
170,
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
],
[
170,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
276,
281
],
[
281,
282
],
[
281,
283
],
[
276,
284
],
[
284,
285
],
[
285,
286
],
[
276,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
271,
294
],
[
294,
295
],
[
294,
296
],
[
271,
297
],
[
297,
298
],
[
298,
299
],
[
297,
300
],
[
271,
301
],
[
301,
302
],
[
269,
303
],
[
303,
304
],
[
170,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
312,
317
],
[
317,
318
],
[
317,
319
],
[
312,
320
],
[
320,
321
],
[
321,
322
],
[
312,
323
],
[
323,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
324,
328
],
[
328,
329
],
[
307,
330
],
[
330,
331
],
[
330,
332
],
[
307,
333
],
[
333,
334
],
[
334,
335
],
[
333,
336
],
[
307,
337
],
[
337,
338
],
[
305,
339
],
[
339,
340
],
[
170,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
343,
348
],
[
348,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
348,
353
],
[
353,
354
],
[
353,
355
],
[
348,
356
],
[
356,
357
],
[
357,
358
],
[
348,
359
],
[
359,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
364,
365
],
[
343,
366
],
[
366,
367
],
[
341,
368
],
[
368,
369
],
[
170,
370
],
[
370,
371
],
[
370,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
372,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
379,
381
],
[
377,
382
],
[
382,
383
],
[
382,
384
],
[
377,
385
],
[
385,
386
],
[
386,
387
],
[
377,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
389,
393
],
[
393,
394
],
[
372,
395
],
[
395,
396
],
[
370,
397
],
[
397,
398
],
[
170,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
170,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
410,
411
],
[
411,
412
],
[
410,
413
],
[
413,
414
],
[
170,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
419,
422
],
[
422,
423
],
[
170,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
428,
432
],
[
170,
433
],
[
433,
434
],
[
433,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
437,
440
],
[
440,
441
],
[
170,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
170,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
452,
453
],
[
453,
454
],
[
452,
455
],
[
0,
456
],
[
456,
457
],
[
456,
458
]
]
| [
"import java.io.*;\nimport java.util.*;\npublic class Main{\n\tstatic void main() throws Exception{\n\t\tLinkedList<Integer>ans=new LinkedList<>();\n\t\tlong n=sc.nextLong();\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}\n\t\twhile(!ans.isEmpty()) {\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tLinkedList<Integer>ans=new LinkedList<>();\n\t\tlong n=sc.nextLong();\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}\n\t\twhile(!ans.isEmpty()) {\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main",
"static PrintWriter pw;",
"pw",
"static MScanner sc;",
"sc",
"static void main() throws Exception{\n\t\tLinkedList<Integer>ans=new LinkedList<>();\n\t\tlong n=sc.nextLong();\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}\n\t\twhile(!ans.isEmpty()) {\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}\n\t}",
"main",
"{\n\t\tLinkedList<Integer>ans=new LinkedList<>();\n\t\tlong n=sc.nextLong();\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}\n\t\twhile(!ans.isEmpty()) {\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}\n\t}",
"LinkedList<Integer>ans=new LinkedList<>();",
"ans",
"new LinkedList<>()",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"while(n>0) {\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}",
"n--",
"n",
"ans.addFirst((int)(n%26))",
"ans.addFirst",
"ans",
"(int)(n%26)",
"n",
"26",
"n/=26",
"n",
"26",
"while(!ans.isEmpty()) {\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}",
"!ans.isEmpty()",
"ans.isEmpty()",
"ans.isEmpty",
"ans",
"{\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}",
"pw.print((char)(ans.poll()+'a'))",
"pw.print",
"pw",
"(char)(ans.poll()+'a')",
"ans.poll()",
"ans.poll",
"ans",
"'a'",
"public static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}",
"main",
"{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}",
"pw=new PrintWriter(System.out)",
"pw",
"new PrintWriter(System.out)",
"sc = new MScanner(System.in)",
"sc",
"new MScanner(System.in)",
"int tc=1;",
"tc",
"1",
"while(tc-->0)\n\t\t\tmain();",
"tc-->0",
"tc--",
"tc",
"0",
"main()",
"main",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"int tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"int[]in",
"in",
"static void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"shuffle",
"{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}",
"for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<in.length",
"i",
"in.length",
"in",
"in.length",
"i++",
"i++",
"i",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}",
"int idx=(int)(Math.random()*in.length);",
"idx",
"(int)(Math.random()*in.length)",
"Math.random()",
"Math.random",
"Math",
"in.length",
"in",
"in.length",
"long tmp=in[i];",
"tmp",
"in[i]",
"in",
"i",
"in[i]=in[idx]",
"in[i]",
"in",
"i",
"in[idx]",
"in",
"idx",
"in[idx]=tmp",
"in[idx]",
"in",
"idx",
"tmp",
"long[]in",
"in",
"static class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}",
"MScanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}",
"br = new BufferedReader(new InputStreamReader(system))",
"br",
"new BufferedReader(new InputStreamReader(system))",
"InputStream system",
"system",
"public MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"MScanner",
"{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}",
"br = new BufferedReader(new FileReader(file))",
"br",
"new BufferedReader(new FileReader(file))",
"String file",
"file",
"public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"next",
"{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}",
"while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = 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[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"intArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"longArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"intSortedArr",
"{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"int[]in=new int[n];",
"in",
"new int[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"longSortedArr",
"{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}",
"long[]in=new long[n];",
"in",
"new long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"shuffle(in)",
"shuffle",
"in",
"Arrays.sort(in)",
"Arrays.sort",
"Arrays",
"in",
"return in;",
"in",
"int n",
"n",
"public Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"IntegerArr",
"{\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}",
"Integer[]in=new Integer[n];",
"in",
"new Integer[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextInt();",
"in[i]=nextInt()",
"in[i]",
"in",
"i",
"nextInt()",
"nextInt",
"return in;",
"in",
"int n",
"n",
"public Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"LongArr",
"{\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}",
"Long[]in=new Long[n];",
"in",
"new Long[n]",
"n",
"for(int i=0;i<n;i++)in[i]=nextLong();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"in[i]=nextLong();",
"in[i]=nextLong()",
"in[i]",
"in",
"i",
"nextLong()",
"nextLong",
"return in;",
"in",
"int n",
"n",
"public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}",
"nextLine",
"{\n\t\t\treturn br.readLine();\n\t\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public int nextInt() throws IOException {\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 double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"nextDouble",
"{\n\t\t\treturn Double.parseDouble(next());\n\t\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}",
"nextChar",
"{\n\t\t\treturn next().charAt(0);\n\t\t}",
"return next().charAt(0);",
"next().charAt(0)",
"next().charAt",
"next()",
"next",
"0",
"public long nextLong() throws IOException {\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 boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}",
"ready",
"{\n\t\t\treturn br.ready();\n\t\t}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}",
"waitForInput",
"{\n\t\t\tThread.sleep(3000);\n\t\t}",
"Thread.sleep(3000)",
"Thread.sleep",
"Thread",
"3000",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tLinkedList<Integer>ans=new LinkedList<>();\n\t\tlong n=sc.nextLong();\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}\n\t\twhile(!ans.isEmpty()) {\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"public class Main{\n\tstatic void main() throws Exception{\n\t\tLinkedList<Integer>ans=new LinkedList<>();\n\t\tlong n=sc.nextLong();\n\t\twhile(n>0) {\n\t\t\tn--;\n\t\t\tans.addFirst((int)(n%26));\n\t\t\tn/=26;\n\t\t}\n\t\twhile(!ans.isEmpty()) {\n\t\t\tpw.print((char)(ans.poll()+'a'));\n\t\t}\n\t}\n\tpublic static void main(String[] args) throws Exception{\n\t\tpw=new PrintWriter(System.out);\n\t\tsc = new MScanner(System.in);\n\t\tint tc=1;\n//\t\ttc=sc.nextInt();\n\t\twhile(tc-->0)\n\t\t\tmain();\n\t\tpw.flush();\n\t}\n\tstatic PrintWriter pw;\n\tstatic MScanner sc;\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main{
static void main() throws Exception{
LinkedList<Integer>ans=new LinkedList<>();
long n=sc.nextLong();
while(n>0) {
n--;
ans.addFirst((int)(n%26));
n/=26;
}
while(!ans.isEmpty()) {
pw.print((char)(ans.poll()+'a'));
}
}
public static void main(String[] args) throws Exception{
pw=new PrintWriter(System.out);
sc = new MScanner(System.in);
int tc=1;
// tc=sc.nextInt();
while(tc-->0)
main();
pw.flush();
}
static PrintWriter pw;
static MScanner sc;
static class MScanner {
StringTokenizer st;
BufferedReader br;
public MScanner(InputStream system) {
br = new BufferedReader(new InputStreamReader(system));
}
public MScanner(String file) throws Exception {
br = new BufferedReader(new FileReader(file));
}
public String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine());
return st.nextToken();
}
public int[] intArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public long[] longArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public int[] intSortedArr(int n) throws IOException {
int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();
shuffle(in);
Arrays.sort(in);
return in;
}
public long[] longSortedArr(int n) throws IOException {
long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();
shuffle(in);
Arrays.sort(in);
return in;
}
public Integer[] IntegerArr(int n) throws IOException {
Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();
return in;
}
public Long[] LongArr(int n) throws IOException {
Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();
return in;
}
public String nextLine() throws IOException {
return br.readLine();
}
public int nextInt() throws IOException {
return Integer.parseInt(next());
}
public double nextDouble() throws IOException {
return Double.parseDouble(next());
}
public char nextChar() throws IOException {
return next().charAt(0);
}
public long nextLong() throws IOException {
return Long.parseLong(next());
}
public boolean ready() throws IOException {
return br.ready();
}
public void waitForInput() throws InterruptedException {
Thread.sleep(3000);
}
}
static void shuffle(int[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
int tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
static void shuffle(long[]in) {
for(int i=0;i<in.length;i++) {
int idx=(int)(Math.random()*in.length);
long tmp=in[i];
in[i]=in[idx];
in[idx]=tmp;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
17,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
11,
1,
2,
13,
17,
1,
0,
13,
2,
2,
13,
17,
17,
30,
30,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
14,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
27,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
41,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
52,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }\n\n System.out.println(name.reverse().toString());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[]) {\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }\n\n System.out.println(name.reverse().toString());\n }\n}",
"Main",
"public static void main(String args[]) {\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }\n\n System.out.println(name.reverse().toString());\n }",
"main",
"{\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }\n\n System.out.println(name.reverse().toString());\n }",
"char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();",
"alphabet",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray()",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray",
"\"abcdefghijklmnopqrstuvwxyz\"",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"StringBuilder name = new StringBuilder();",
"name",
"new StringBuilder()",
"int surplus;",
"surplus",
"for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }",
";",
"n > 0",
"n",
"0",
"n = (n - 1) / 26",
"n = (n - 1) / 26",
"n",
"(n - 1) / 26",
"(n - 1)",
"n",
"1",
"26",
"{\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }",
"{\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }",
"surplus = (int) ((n - 1) % 26)",
"surplus",
"(int) ((n - 1) % 26)",
"(n - 1)",
"n",
"1",
"26",
"name.append(alphabet[surplus])",
"name.append",
"name",
"alphabet[surplus]",
"alphabet",
"surplus",
"System.out.println(name.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"name.reverse().toString()",
"name.reverse().toString",
"name.reverse()",
"name.reverse",
"name",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }\n\n System.out.println(name.reverse().toString());\n }\n}",
"public class Main {\n public static void main(String args[]) {\n char[] alphabet = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append(alphabet[surplus]);\n }\n\n System.out.println(name.reverse().toString());\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]) {
char[] alphabet = "abcdefghijklmnopqrstuvwxyz".toCharArray();
Scanner scan = new Scanner(System.in);
long n = scan.nextLong();
StringBuilder name = new StringBuilder();
int surplus;
for (; n > 0; n = (n - 1) / 26) {
surplus = (int) ((n - 1) % 26);
name.append(alphabet[surplus]);
}
System.out.println(name.reverse().toString());
}
} |
[
7,
6,
12,
13,
30,
14,
2,
18,
13,
13,
18,
13,
13,
29,
17,
29,
40,
17,
23,
13,
23,
13,
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,
17,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
2,
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,
4,
18,
13,
13,
20,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
18,
13,
13,
2,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
13,
29,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
17,
41,
13,
17,
42,
17,
30,
41,
13,
2,
2,
13,
17,
17,
41,
13,
2,
17,
13,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
17,
2,
13,
17,
0,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
3,
40,
13,
4,
18,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
41,
13,
20,
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,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
29,
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,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
2,
40,
4,
13,
13,
2,
13,
17,
30,
14,
2,
2,
13,
17,
2,
13,
17,
29,
2,
13,
4,
18,
13,
17,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
29,
2,
13,
4,
18,
13,
17,
4,
13,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
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,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
8,
2,
13,
17,
17,
2,
4,
18,
13,
17,
8,
2,
13,
17,
17,
4,
18,
13,
12,
13,
30,
14,
2,
36,
13,
29,
17,
14,
2,
2,
13,
17,
2,
4,
13,
4,
18,
13,
29,
17,
41,
13,
13,
29,
2,
8,
2,
13,
17,
2,
18,
13,
13,
17,
4,
18,
13,
18,
13,
13,
8,
2,
13,
17,
2,
18,
13,
13,
17,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
13,
18,
13,
13,
29,
8,
2,
13,
17,
13,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
4,
18,
13,
4,
18,
13,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
2,
3
],
[
2,
4
],
[
4,
5
],
[
5,
6
],
[
6,
7
],
[
7,
8
],
[
7,
9
],
[
6,
10
],
[
10,
11
],
[
10,
12
],
[
5,
13
],
[
13,
14
],
[
5,
15
],
[
15,
16
],
[
16,
17
],
[
2,
18
],
[
18,
19
],
[
2,
20
],
[
20,
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
],
[
860,
47
],
[
860,
48
],
[
48,
49
],
[
48,
50
],
[
860,
51
],
[
51,
52
],
[
51,
53
],
[
860,
54
],
[
54,
55
],
[
860,
56
],
[
56,
57
],
[
860,
58
],
[
58,
59
],
[
860,
60
],
[
60,
61
],
[
860,
62
],
[
62,
63
],
[
860,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
66,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
64,
80
],
[
80,
81
],
[
64,
82
],
[
82,
83
],
[
860,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
92,
94
],
[
92,
95
],
[
84,
96
],
[
96,
97
],
[
84,
98
],
[
98,
99
],
[
860,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
103,
107
],
[
100,
108
],
[
108,
109
],
[
100,
110
],
[
110,
111
],
[
860,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
114,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
114,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
125,
132
],
[
132,
133
],
[
132,
134
],
[
125,
135
],
[
135,
136
],
[
136,
137
],
[
125,
138
],
[
139,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
145,
146
],
[
145,
147
],
[
142,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
150,
152
],
[
139,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
155,
159
],
[
114,
160
],
[
160,
161
],
[
112,
162
],
[
162,
163
],
[
112,
164
],
[
164,
165
],
[
112,
166
],
[
166,
167
],
[
860,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
173,
175
],
[
170,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
178,
180
],
[
170,
181
],
[
181,
182
],
[
181,
183
],
[
170,
184
],
[
184,
185
],
[
184,
186
],
[
170,
187
],
[
187,
188
],
[
170,
189
],
[
189,
190
],
[
170,
191
],
[
191,
192
],
[
170,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
196,
197
],
[
170,
198
],
[
198,
199
],
[
198,
200
],
[
170,
201
],
[
201,
202
],
[
201,
203
],
[
170,
204
],
[
204,
205
],
[
204,
206
],
[
170,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
212,
216
],
[
209,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
219,
221
],
[
209,
222
],
[
222,
223
],
[
222,
224
],
[
224,
225
],
[
224,
226
],
[
209,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
236,
238
],
[
209,
239
],
[
239,
240
],
[
239,
241
],
[
209,
242
],
[
242,
243
],
[
242,
244
],
[
209,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
249
],
[
249,
250
],
[
209,
251
],
[
251,
252
],
[
170,
253
],
[
253,
254
],
[
254,
255
],
[
253,
256
],
[
170,
257
],
[
257,
258
],
[
258,
259
],
[
168,
260
],
[
260,
261
],
[
860,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
262,
266
],
[
266,
267
],
[
266,
268
],
[
262,
270
],
[
270,
271
],
[
262,
272
],
[
272,
273
],
[
262,
274
],
[
274,
275
],
[
262,
276
],
[
276,
277
],
[
276,
278
],
[
262,
279
],
[
279,
280
],
[
279,
281
],
[
281,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
279,
287
],
[
287,
288
],
[
262,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
292,
297
],
[
297,
298
],
[
291,
299
],
[
299,
300
],
[
300,
301
],
[
300,
302
],
[
299,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
303,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
307,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
316,
319
],
[
303,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
324,
325
],
[
325,
326
],
[
291,
327
],
[
327,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
262,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
334,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
338,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
334,
351
],
[
351,
352
],
[
262,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
358,
359
],
[
355,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
360,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
355,
368
],
[
368,
369
],
[
368,
370
],
[
355,
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
],
[
355,
384
],
[
384,
385
],
[
384,
386
],
[
355,
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
],
[
392,
403
],
[
403,
404
],
[
403,
405
],
[
392,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
408,
410
],
[
392,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
355,
415
],
[
415,
416
],
[
416,
417
],
[
416,
418
],
[
262,
419
],
[
419,
420
],
[
419,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
421,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
426,
430
],
[
430,
431
],
[
430,
432
],
[
432,
433
],
[
421,
434
],
[
434,
435
],
[
434,
436
],
[
421,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
437,
441
],
[
441,
442
],
[
442,
443
],
[
442,
444
],
[
444,
445
],
[
441,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
421,
450
],
[
450,
451
],
[
450,
452
],
[
421,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
455,
457
],
[
453,
458
],
[
458,
459
],
[
459,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
460,
464
],
[
464,
465
],
[
464,
466
],
[
459,
467
],
[
467,
468
],
[
458,
469
],
[
469,
470
],
[
469,
471
],
[
458,
472
],
[
472,
473
],
[
472,
474
],
[
474,
475
],
[
474,
476
],
[
458,
477
],
[
477,
478
],
[
477,
479
],
[
479,
480
],
[
421,
481
],
[
481,
482
],
[
482,
483
],
[
482,
484
],
[
262,
485
],
[
485,
486
],
[
485,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
490,
491
],
[
487,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
492,
496
],
[
496,
497
],
[
496,
498
],
[
498,
499
],
[
487,
500
],
[
500,
501
],
[
500,
502
],
[
487,
503
],
[
503,
504
],
[
504,
505
],
[
504,
506
],
[
503,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
507,
512
],
[
512,
513
],
[
512,
514
],
[
514,
515
],
[
487,
516
],
[
516,
517
],
[
516,
518
],
[
487,
519
],
[
519,
520
],
[
520,
521
],
[
521,
522
],
[
522,
523
],
[
522,
524
],
[
520,
525
],
[
525,
526
],
[
525,
527
],
[
519,
528
],
[
528,
529
],
[
529,
530
],
[
530,
531
],
[
531,
532
],
[
531,
533
],
[
530,
534
],
[
534,
535
],
[
534,
536
],
[
529,
537
],
[
537,
538
],
[
538,
539
],
[
538,
540
],
[
540,
541
],
[
541,
542
],
[
540,
543
],
[
540,
544
],
[
544,
545
],
[
528,
546
],
[
546,
547
],
[
547,
548
],
[
548,
549
],
[
548,
550
],
[
547,
551
],
[
551,
552
],
[
551,
553
],
[
546,
554
],
[
554,
555
],
[
528,
556
],
[
556,
557
],
[
556,
558
],
[
528,
559
],
[
559,
560
],
[
559,
561
],
[
561,
562
],
[
561,
563
],
[
528,
564
],
[
564,
565
],
[
564,
566
],
[
566,
567
],
[
487,
568
],
[
568,
569
],
[
569,
570
],
[
569,
571
],
[
568,
572
],
[
572,
573
],
[
573,
574
],
[
573,
575
],
[
575,
576
],
[
572,
577
],
[
577,
578
],
[
577,
579
],
[
572,
580
],
[
580,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
580,
585
],
[
585,
586
],
[
586,
587
],
[
587,
588
],
[
588,
589
],
[
588,
590
],
[
587,
591
],
[
591,
592
],
[
591,
593
],
[
586,
594
],
[
594,
595
],
[
595,
596
],
[
595,
597
],
[
597,
598
],
[
598,
599
],
[
597,
600
],
[
597,
601
],
[
601,
602
],
[
585,
603
],
[
603,
604
],
[
604,
605
],
[
605,
606
],
[
605,
607
],
[
604,
608
],
[
608,
609
],
[
608,
610
],
[
603,
611
],
[
611,
612
],
[
585,
613
],
[
613,
614
],
[
613,
615
],
[
585,
616
],
[
616,
617
],
[
616,
618
],
[
618,
619
],
[
619,
620
],
[
619,
621
],
[
618,
622
],
[
585,
623
],
[
623,
624
],
[
623,
625
],
[
625,
626
],
[
487,
627
],
[
627,
628
],
[
628,
629
],
[
628,
630
],
[
262,
631
],
[
631,
632
],
[
631,
633
],
[
633,
634
],
[
634,
635
],
[
634,
636
],
[
636,
637
],
[
633,
638
],
[
638,
639
],
[
639,
640
],
[
639,
641
],
[
638,
642
],
[
642,
643
],
[
642,
644
],
[
644,
645
],
[
633,
646
],
[
646,
647
],
[
646,
648
],
[
633,
649
],
[
649,
650
],
[
650,
651
],
[
651,
652
],
[
651,
653
],
[
649,
654
],
[
654,
655
],
[
655,
656
],
[
656,
657
],
[
655,
658
],
[
654,
659
],
[
659,
660
],
[
659,
661
],
[
661,
662
],
[
633,
663
],
[
663,
664
],
[
664,
665
],
[
665,
666
],
[
262,
667
],
[
667,
668
],
[
667,
669
],
[
669,
670
],
[
670,
671
],
[
671,
672
],
[
671,
673
],
[
670,
674
],
[
674,
675
],
[
675,
676
],
[
676,
677
],
[
675,
678
],
[
669,
679
],
[
679,
680
],
[
683,
681
],
[
693,
682
],
[
690,
683
],
[
683,
684
],
[
684,
685
],
[
684,
686
],
[
683,
687
],
[
687,
688
],
[
687,
689
],
[
690,
690
],
[
690,
691
],
[
690,
692
],
[
693,
693
],
[
693,
694
],
[
693,
695
],
[
683,
696
],
[
696,
697
],
[
696,
698
],
[
698,
699
],
[
667,
700
],
[
700,
701
],
[
262,
702
],
[
702,
703
],
[
702,
704
],
[
704,
705
],
[
705,
706
],
[
706,
707
],
[
262,
708
],
[
708,
709
],
[
708,
710
],
[
710,
711
],
[
710,
712
],
[
712,
713
],
[
860,
714
],
[
714,
715
],
[
714,
716
],
[
716,
717
],
[
714,
718
],
[
718,
719
],
[
714,
720
],
[
720,
721
],
[
720,
722
],
[
722,
723
],
[
723,
724
],
[
724,
725
],
[
724,
726
],
[
723,
727
],
[
722,
728
],
[
728,
729
],
[
729,
730
],
[
729,
731
],
[
728,
732
],
[
720,
733
],
[
733,
734
],
[
720,
735
],
[
735,
736
],
[
714,
737
],
[
737,
738
],
[
737,
739
],
[
739,
740
],
[
740,
741
],
[
741,
742
],
[
742,
743
],
[
743,
744
],
[
743,
745
],
[
742,
746
],
[
742,
747
],
[
747,
748
],
[
748,
749
],
[
749,
750
],
[
747,
751
],
[
741,
752
],
[
752,
753
],
[
753,
754
],
[
753,
755
],
[
752,
756
],
[
752,
757
],
[
757,
758
],
[
758,
759
],
[
714,
760
],
[
760,
761
],
[
760,
762
],
[
762,
763
],
[
763,
764
],
[
764,
765
],
[
764,
766
],
[
763,
767
],
[
767,
768
],
[
762,
769
],
[
769,
770
],
[
770,
771
],
[
771,
772
],
[
771,
773
],
[
770,
774
],
[
774,
775
],
[
775,
776
],
[
774,
777
],
[
777,
778
],
[
778,
779
],
[
769,
780
],
[
780,
781
],
[
762,
782
],
[
782,
783
],
[
782,
784
],
[
762,
785
],
[
785,
786
],
[
786,
787
],
[
787,
788
],
[
788,
789
],
[
788,
790
],
[
787,
791
],
[
791,
792
],
[
792,
793
],
[
792,
794
],
[
791,
795
],
[
787,
796
],
[
796,
797
],
[
797,
798
],
[
796,
799
],
[
799,
800
],
[
799,
801
],
[
786,
802
],
[
802,
803
],
[
803,
804
],
[
803,
805
],
[
802,
806
],
[
806,
807
],
[
807,
808
],
[
807,
809
],
[
806,
810
],
[
802,
811
],
[
811,
812
],
[
812,
813
],
[
811,
814
],
[
814,
815
],
[
814,
816
],
[
760,
817
],
[
817,
818
],
[
714,
819
],
[
819,
820
],
[
819,
821
],
[
821,
822
],
[
822,
823
],
[
822,
824
],
[
824,
825
],
[
825,
826
],
[
824,
827
],
[
827,
828
],
[
827,
829
],
[
821,
830
],
[
830,
831
],
[
831,
832
],
[
832,
833
],
[
832,
834
],
[
831,
835
],
[
831,
836
],
[
836,
837
],
[
837,
838
],
[
836,
839
],
[
839,
840
],
[
839,
841
],
[
819,
842
],
[
842,
843
],
[
714,
844
],
[
844,
845
],
[
844,
846
],
[
846,
847
],
[
847,
848
],
[
848,
849
],
[
849,
850
],
[
848,
851
],
[
848,
852
],
[
852,
853
],
[
853,
854
],
[
848,
855
],
[
855,
856
],
[
856,
857
],
[
714,
858
],
[
0,
859
],
[
859,
860
],
[
859,
861
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.InputMismatchException;\nimport java.util.*;\nimport java.io.*;\nimport java.lang.*;\npublic class Main{\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\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 \n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 public int nextInt() {\n int c = read();\n \n while(isSpaceChar(c))\n c = read();\n \n int sgn = 1;\n \n if (c == '-') {\n sgn = -1;\n c = read();\n }\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 }\n while (!isSpaceChar(c));\n \n return res * sgn;\n }\n \n public long nextLong() {\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 \n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public double nextDouble() {\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 double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\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 }\n while (!isSpaceChar(c));\n \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 long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n public static void sortbyColumn(int arr[][], int col) \n { \n \n Arrays.sort(arr, new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }); \n } \n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n //static LinkedList<Integer> li;\n //static LinkedList<Integer> ans;\n static int ans1=0,ans2=0,k;\n static long dist[];\n static int visited[];\n //static int arr[];\n static ArrayList<Integer> adj[];\n static int color[];\n \n \n public static void main(String args[]){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int t,i,j;\n long n=in.nextLong();\n long temp=n;\n String s=\"\";\n int c=1;\n while(true){\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }\n w.println(s);\n \n \n \n \n \n w.close();\n }\n}",
"Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }",
"@Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n }",
"compare",
"{ \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n }",
"if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1;",
"entry1[col] > entry2[col]",
"entry1[col]",
"entry1",
"col",
"entry2[col]",
"entry2",
"col",
"return 1;",
"1",
"return -1;",
"-1",
"1",
"final int[] entry1",
"entry1",
"final int[] entry2",
"entry2",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"public class Main{\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\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 \n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 public int nextInt() {\n int c = read();\n \n while(isSpaceChar(c))\n c = read();\n \n int sgn = 1;\n \n if (c == '-') {\n sgn = -1;\n c = read();\n }\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 }\n while (!isSpaceChar(c));\n \n return res * sgn;\n }\n \n public long nextLong() {\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 \n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public double nextDouble() {\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 double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\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 }\n while (!isSpaceChar(c));\n \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 long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n public static void sortbyColumn(int arr[][], int col) \n { \n \n Arrays.sort(arr, new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }); \n } \n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n //static LinkedList<Integer> li;\n //static LinkedList<Integer> ans;\n static int ans1=0,ans2=0,k;\n static long dist[];\n static int visited[];\n //static int arr[];\n static ArrayList<Integer> adj[];\n static int color[];\n \n \n public static void main(String args[]){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int t,i,j;\n long n=in.nextLong();\n long temp=n;\n String s=\"\";\n int c=1;\n while(true){\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }\n w.println(s);\n \n \n \n \n \n w.close();\n }\n}",
"Main",
"//static LinkedList<Integer> li;\n //static LinkedList<Integer> ans;\n static int ans1=0",
"ans1",
"0",
"ans2=0",
"ans2",
"0",
"k;",
"k",
"static long dist[];",
"dist",
"static int visited[];",
"visited",
"//static int arr[];\n static ArrayList<Integer> adj[];",
"adj",
"static int color[];",
"color",
"static long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }",
"gcd",
"{\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }",
"if (a == 0)\n return b;",
"a == 0",
"a",
"0",
"return b;",
"b",
"return gcd(b % a, a);",
"gcd(b % a, a)",
"gcd",
"b % a",
"b",
"a",
"a",
"long a",
"a",
"long b",
"b",
"static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }",
"lcm",
"{\n return (a*b)/gcd(a, b); \n }",
"return (a*b)/gcd(a, b);",
"(a*b)/gcd(a, b)",
"(a*b)",
"a",
"b",
"gcd(a, b)",
"gcd",
"a",
"b",
"long a",
"a",
"long b",
"b",
"public static void sortbyColumn(int arr[][], int col) \n { \n \n Arrays.sort(arr, new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }); \n }",
"sortbyColumn",
"{ \n \n Arrays.sort(arr, new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }); \n }",
"Arrays.sort(arr, new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n })",
"Arrays.sort",
"Arrays",
"arr",
"new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }",
"int arr[][]",
"arr",
"int col",
"col",
"static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }",
"func",
"{\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }",
"long max1=a[s];",
"max1",
"a[s]",
"a",
"s",
"long maxc=a[s];",
"maxc",
"a[s]",
"a",
"s",
"for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }",
"int i=s+1;",
"int i=s+1;",
"i",
"s+1",
"s",
"1",
"i<size",
"i",
"size",
"i++",
"i++",
"i",
"{\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }",
"{\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }",
"maxc=Math.max(a[i],maxc+a[i])",
"maxc",
"Math.max(a[i],maxc+a[i])",
"Math.max",
"Math",
"a[i]",
"a",
"i",
"maxc+a[i]",
"maxc",
"a[i]",
"a",
"i",
"max1=Math.max(maxc,max1)",
"max1",
"Math.max(maxc,max1)",
"Math.max",
"Math",
"maxc",
"max1",
"return max1;",
"max1",
"long a[]",
"a",
"long size",
"size",
"int s",
"s",
"public static void main(String args[]){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int t,i,j;\n long n=in.nextLong();\n long temp=n;\n String s=\"\";\n int c=1;\n while(true){\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }\n w.println(s);\n \n \n \n \n \n w.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int t,i,j;\n long n=in.nextLong();\n long temp=n;\n String s=\"\";\n int c=1;\n while(true){\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }\n w.println(s);\n \n \n \n \n \n w.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter w = new PrintWriter(outputStream);",
"w",
"new PrintWriter(outputStream)",
"int t",
"t",
"i",
"i",
"j;",
"j",
"long n=in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"long temp=n;",
"temp",
"n",
"String s=\"\";",
"s",
"\"\"",
"int c=1;",
"c",
"1",
"while(true){\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }",
"true",
"{\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }",
"int te=(int)((temp-1)%26L);",
"te",
"(int)((temp-1)%26L)",
"(temp-1)",
"temp",
"1",
"26L",
"char ch=(char)(97+te);",
"ch",
"(char)(97+te)",
"97",
"te",
"s=ch+s",
"s",
"ch+s",
"ch",
"s",
"if(ch!='z'){\n temp+=(26-temp%26);\n }",
"ch!='z'",
"ch",
"'z'",
"{\n temp+=(26-temp%26);\n }",
"temp+=(26-temp%26)",
"temp",
"(26-temp%26)",
"26",
"temp%26",
"temp",
"26",
"temp/=26",
"temp",
"26",
"temp-=1",
"temp",
"1",
"if(temp<=0){\n break;\n }",
"temp<=0",
"temp",
"0",
"{\n break;\n }",
"break;",
"c++",
"c",
"w.println(s)",
"w.println",
"w",
"s",
"w.close()",
"w.close",
"w",
"String args[]",
"args",
"public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\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 \n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 public int nextInt() {\n int c = read();\n \n while(isSpaceChar(c))\n c = read();\n \n int sgn = 1;\n \n if (c == '-') {\n sgn = -1;\n c = read();\n }\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 }\n while (!isSpaceChar(c));\n \n return res * sgn;\n }\n \n public long nextLong() {\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 \n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public double nextDouble() {\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 double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\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 }\n while (!isSpaceChar(c));\n \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 InputReader.SpaceCharFilter filter;",
"filter",
"private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"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 \n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\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 }\n catch (IOException e) {\n throw new InputMismatchException();\n }\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 }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n }\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 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 int nextInt() {\n int c = read();\n \n while(isSpaceChar(c))\n c = read();\n \n int sgn = 1;\n \n if (c == '-') {\n sgn = -1;\n c = read();\n }\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 }\n while (!isSpaceChar(c));\n \n return res * sgn;\n }",
"nextInt",
"{\n int c = read();\n \n while(isSpaceChar(c))\n c = read();\n \n int sgn = 1;\n \n if (c == '-') {\n sgn = -1;\n c = read();\n }\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 }\n while (!isSpaceChar(c));\n \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 }\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 nextLong() {\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 \n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }",
"nextLong",
"{\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 \n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\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 }\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 double nextDouble() {\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 double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\n return res * sgn;\n }",
"nextDouble",
"{\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 double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\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",
"double res = 0;",
"res",
"0",
"while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"!isSpaceChar(c) && c != '.'",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c != '.'",
"c",
"'.'",
"{\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * Math.pow(10, nextInt());",
"res * Math.pow(10, nextInt())",
"res",
"Math.pow(10, nextInt())",
"Math.pow",
"Math",
"10",
"nextInt()",
"nextInt",
"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",
"if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c == '.'",
"c",
"'.'",
"{\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }",
"c = read()",
"c",
"read()",
"read",
"double m = 1;",
"m",
"1",
"while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }",
"if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());",
"c == 'e' || c == 'E'",
"c == 'e'",
"c",
"'e'",
"c == 'E'",
"c",
"'E'",
"return res * Math.pow(10, nextInt());",
"res * Math.pow(10, nextInt())",
"res",
"Math.pow(10, nextInt())",
"Math.pow",
"Math",
"10",
"nextInt()",
"nextInt",
"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()",
"m /= 10",
"m",
"10",
"res += (c - '0') * m",
"res",
"(c - '0') * m",
"(c - '0')",
"c",
"'0'",
"m",
"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 }\n while (!isSpaceChar(c));\n \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 }\n while (!isSpaceChar(c));\n \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 }\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",
"public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }",
"Pair",
"public U x;",
"x",
"public V y;",
"y",
"public Pair(U x, V 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",
"U x",
"x",
"V y",
"y",
"public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }",
"hashCode",
"{\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }",
"return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());",
"(x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode())",
"(x == null ? 0 : x.hashCode() * 31)",
"x == null",
"x",
"null",
"0",
"x.hashCode() * 31",
"x.hashCode()",
"x.hashCode",
"x",
"31",
"(y == null ? 0 : y.hashCode())",
"y == null",
"y",
"null",
"0",
"y.hashCode()",
"y.hashCode",
"y",
"public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }",
"equals",
"{\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }",
"if (this == o)\n return true;",
"this == o",
"this",
"o",
"return true;",
"true",
"if (o == null || getClass() != o.getClass())\n return false;",
"o == null || getClass() != o.getClass()",
"o == null",
"o",
"null",
"getClass() != o.getClass()",
"getClass()",
"getClass",
"o.getClass()",
"o.getClass",
"o",
"return false;",
"false",
"Pair<U, V> p = (Pair<U, V>) o;",
"p",
"(Pair<U, V>) o",
"return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));",
"(x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y))",
"(x == null ? p.x == null : x.equals(p.x))",
"x == null",
"x",
"null",
"p.x == null",
"p.x",
"p",
"p.x",
"null",
"x.equals(p.x)",
"x.equals",
"x",
"p.x",
"p",
"p.x",
"(y == null ? p.y == null : y.equals(p.y))",
"y == null",
"y",
"null",
"p.y == null",
"p.y",
"p",
"p.y",
"null",
"y.equals(p.y)",
"y.equals",
"y",
"p.y",
"p",
"p.y",
"Object o",
"o",
"public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }",
"compareTo",
"{\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }",
"int cmpU = x.compareTo(b.x);",
"cmpU",
"x.compareTo(b.x)",
"x.compareTo",
"x",
"b.x",
"b",
"b.x",
"return cmpU != 0 ? cmpU : y.compareTo(b.y);",
"cmpU != 0 ? cmpU : y.compareTo(b.y)",
"cmpU != 0",
"cmpU",
"0",
"cmpU",
"y.compareTo(b.y)",
"y.compareTo",
"y",
"b.y",
"b",
"b.y",
"Pair<U, V> b",
"b",
"public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }",
"toString",
"{\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }",
"return String.format(\"(%s, %s)\", x.toString(), y.toString());",
"String.format(\"(%s, %s)\", x.toString(), y.toString())",
"String.format",
"String",
"\"(%s, %s)\"",
"x.toString()",
"x.toString",
"x",
"y.toString()",
"y.toString",
"y",
"Comparable",
"public class Main{\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\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 \n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 public int nextInt() {\n int c = read();\n \n while(isSpaceChar(c))\n c = read();\n \n int sgn = 1;\n \n if (c == '-') {\n sgn = -1;\n c = read();\n }\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 }\n while (!isSpaceChar(c));\n \n return res * sgn;\n }\n \n public long nextLong() {\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 \n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public double nextDouble() {\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 double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\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 }\n while (!isSpaceChar(c));\n \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 long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n public static void sortbyColumn(int arr[][], int col) \n { \n \n Arrays.sort(arr, new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }); \n } \n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n //static LinkedList<Integer> li;\n //static LinkedList<Integer> ans;\n static int ans1=0,ans2=0,k;\n static long dist[];\n static int visited[];\n //static int arr[];\n static ArrayList<Integer> adj[];\n static int color[];\n \n \n public static void main(String args[]){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int t,i,j;\n long n=in.nextLong();\n long temp=n;\n String s=\"\";\n int c=1;\n while(true){\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }\n w.println(s);\n \n \n \n \n \n w.close();\n }\n}",
"public class Main{\n public static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\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 \n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n }\n catch (IOException e) {\n throw new InputMismatchException();\n }\n \n if(numChars <= 0)\n return -1;\n }\n return buf[curChar++];\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 public int nextInt() {\n int c = read();\n \n while(isSpaceChar(c))\n c = read();\n \n int sgn = 1;\n \n if (c == '-') {\n sgn = -1;\n c = read();\n }\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 }\n while (!isSpaceChar(c));\n \n return res * sgn;\n }\n \n public long nextLong() {\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 \n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n \n public double nextDouble() {\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 double res = 0;\n while (!isSpaceChar(c) && c != '.') {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n if (c == '.') {\n c = read();\n double m = 1;\n while (!isSpaceChar(c)) {\n if (c == 'e' || c == 'E')\n return res * Math.pow(10, nextInt());\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n m /= 10;\n res += (c - '0') * m;\n c = read();\n }\n }\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 }\n while (!isSpaceChar(c));\n \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 long gcd(long a, long b){\n if (a == 0)\n return b; \n return gcd(b % a, a); \n }\n static long lcm(long a, long b) {\n return (a*b)/gcd(a, b); \n }\n public static void sortbyColumn(int arr[][], int col) \n { \n \n Arrays.sort(arr, new Comparator<int[]>() { \n \n @Override \n \n public int compare(final int[] entry1, \n final int[] entry2) { \n \n \n if (entry1[col] > entry2[col]) \n return 1; \n else\n return -1; \n } \n }); \n } \n static long func(long a[],long size,int s){\n long max1=a[s];\n long maxc=a[s];\n for(int i=s+1;i<size;i++){\n maxc=Math.max(a[i],maxc+a[i]);\n max1=Math.max(maxc,max1);\n }\n return max1;\n }\n public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {\n public U x;\n public V y;\n \n public Pair(U x, V y) {\n this.x = x;\n this.y = y;\n }\n \n public int hashCode() {\n return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());\n }\n \n public boolean equals(Object o) {\n if (this == o)\n return true;\n if (o == null || getClass() != o.getClass())\n return false;\n Pair<U, V> p = (Pair<U, V>) o;\n return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));\n }\n \n public int compareTo(Pair<U, V> b) {\n int cmpU = x.compareTo(b.x);\n return cmpU != 0 ? cmpU : y.compareTo(b.y);\n }\n \n public String toString() {\n return String.format(\"(%s, %s)\", x.toString(), y.toString());\n }\n \n }\n //static LinkedList<Integer> li;\n //static LinkedList<Integer> ans;\n static int ans1=0,ans2=0,k;\n static long dist[];\n static int visited[];\n //static int arr[];\n static ArrayList<Integer> adj[];\n static int color[];\n \n \n public static void main(String args[]){\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n int t,i,j;\n long n=in.nextLong();\n long temp=n;\n String s=\"\";\n int c=1;\n while(true){\n //w.println(temp);\n int te=(int)((temp-1)%26L);\n char ch=(char)(97+te);\n s=ch+s;\n if(ch!='z'){\n temp+=(26-temp%26);\n }\n temp/=26;\n temp-=1;\n if(temp<=0){\n break;\n }\n c++;\n //temp--;\n }\n w.println(s);\n \n \n \n \n \n w.close();\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.InputMismatchException;
import java.util.*;
import java.io.*;
import java.lang.*;
public class Main{
public static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
private BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
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 String nextLine() {
String str = "";
try {
str = br.readLine();
}
catch (IOException e) {
e.printStackTrace();
}
return str;
}
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 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 double nextDouble() {
int c = read();
while (isSpaceChar(c))
c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
double res = 0;
while (!isSpaceChar(c) && c != '.') {
if (c == 'e' || c == 'E')
return res * Math.pow(10, nextInt());
if (c < '0' || c > '9')
throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
}
if (c == '.') {
c = read();
double m = 1;
while (!isSpaceChar(c)) {
if (c == 'e' || c == 'E')
return res * Math.pow(10, nextInt());
if (c < '0' || c > '9')
throw new InputMismatchException();
m /= 10;
res += (c - '0') * m;
c = read();
}
}
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 long gcd(long a, long b){
if (a == 0)
return b;
return gcd(b % a, a);
}
static long lcm(long a, long b) {
return (a*b)/gcd(a, b);
}
public static void sortbyColumn(int arr[][], int col)
{
Arrays.sort(arr, new Comparator<int[]>() {
@Override
public int compare(final int[] entry1,
final int[] entry2) {
if (entry1[col] > entry2[col])
return 1;
else
return -1;
}
});
}
static long func(long a[],long size,int s){
long max1=a[s];
long maxc=a[s];
for(int i=s+1;i<size;i++){
maxc=Math.max(a[i],maxc+a[i]);
max1=Math.max(maxc,max1);
}
return max1;
}
public static class Pair<U extends Comparable<U>, V extends Comparable<V>> implements Comparable<Pair<U, V>> {
public U x;
public V y;
public Pair(U x, V y) {
this.x = x;
this.y = y;
}
public int hashCode() {
return (x == null ? 0 : x.hashCode() * 31) + (y == null ? 0 : y.hashCode());
}
public boolean equals(Object o) {
if (this == o)
return true;
if (o == null || getClass() != o.getClass())
return false;
Pair<U, V> p = (Pair<U, V>) o;
return (x == null ? p.x == null : x.equals(p.x)) && (y == null ? p.y == null : y.equals(p.y));
}
public int compareTo(Pair<U, V> b) {
int cmpU = x.compareTo(b.x);
return cmpU != 0 ? cmpU : y.compareTo(b.y);
}
public String toString() {
return String.format("(%s, %s)", x.toString(), y.toString());
}
}
//static LinkedList<Integer> li;
//static LinkedList<Integer> ans;
static int ans1=0,ans2=0,k;
static long dist[];
static int visited[];
//static int arr[];
static ArrayList<Integer> adj[];
static int color[];
public static void main(String args[]){
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter w = new PrintWriter(outputStream);
int t,i,j;
long n=in.nextLong();
long temp=n;
String s="";
int c=1;
while(true){
//w.println(temp);
int te=(int)((temp-1)%26L);
char ch=(char)(97+te);
s=ch+s;
if(ch!='z'){
temp+=(26-temp%26);
}
temp/=26;
temp-=1;
if(temp<=0){
break;
}
c++;
//temp--;
}
w.println(s);
w.close();
}
} |
[
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,
13,
4,
18,
18,
13,
13,
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
],
[
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
],
[
8,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
41,
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\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 > 0L) {\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}\n\t\tsb.reverse();\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0L) {\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}\n\t\tsb.reverse();\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 > 0L) {\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}\n\t\tsb.reverse();\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 > 0L) {\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}\n\t\tsb.reverse();\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 > 0L) {\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}",
"n > 0L",
"n",
"0L",
"{\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}",
"--n",
"n",
"sb.append((char) ('a' + n % 26L))",
"sb.append",
"sb",
"(char) ('a' + n % 26L)",
"'a'",
"n % 26L",
"n",
"26L",
"n /= 26L",
"n",
"26L",
"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 class Main {\n\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 > 0L) {\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}\n\t\tsb.reverse();\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"public class Main {\n\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 > 0L) {\n\t\t\t--n;\n\t\t\tsb.append((char) ('a' + n % 26L));\n\t\t\tn /= 26L;\n\t\t}\n\t\tsb.reverse();\n\t\tSystem.out.println(sb.toString());\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();
StringBuilder sb = new StringBuilder();
while (n > 0L) {
--n;
sb.append((char) ('a' + n % 26L));
n /= 26L;
}
sb.reverse();
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,
17,
41,
13,
17,
42,
2,
13,
17,
30,
0,
18,
13,
13,
2,
13,
17,
0,
13,
17,
14,
2,
18,
13,
13,
17,
30,
0,
18,
13,
13,
17,
40,
13,
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
],
[
90,
5
],
[
90,
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
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
28,
53
],
[
53,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
59,
61
],
[
55,
62
],
[
62,
63
],
[
62,
64
],
[
55,
65
],
[
65,
66
],
[
66,
67
],
[
55,
68
],
[
69,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
75,
81
],
[
8,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
6,
87
],
[
87,
88
],
[
0,
89
],
[
89,
90
],
[
89,
91
]
]
| [
"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 //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }\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 //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }\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 //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }\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 //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }\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 //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }",
"n > 0",
"n",
"0",
"{\n bits[top] = (int)(n % 26);\n n /= 26;\n //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }",
"bits[top] = (int)(n % 26)",
"bits[top]",
"bits",
"top",
"(int)(n % 26)",
"n",
"26",
"n /= 26",
"n",
"26",
"if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }",
"bits[top] == 0",
"bits[top]",
"bits",
"top",
"0",
"{\n bits[top] = 26;\n n--;\n }",
"bits[top] = 26",
"bits[top]",
"bits",
"top",
"26",
"n--",
"n",
"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 //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }\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 //0を埋めてたら繰り下がり\n if(bits[top] == 0) {\n bits[top] = 26;\n n--;\n }\n top++;\n }\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;
//0を埋めてたら繰り下がり
if(bits[top] == 0) {
bits[top] = 26;
n--;
}
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,
6,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
14,
2,
2,
13,
17,
17,
30,
29,
2,
13,
4,
13,
13,
2,
13,
17,
41,
13,
4,
13,
13,
2,
13,
17,
29,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
13,
17,
13,
14,
2,
13,
13,
30,
0,
13,
17,
3,
0,
13,
13,
41,
13,
20,
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,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
159,
11
],
[
159,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
12,
21
],
[
21,
22
],
[
159,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
25,
34
],
[
34,
35
],
[
34,
36
],
[
159,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
60,
61
],
[
60,
62
],
[
39,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
65,
68
],
[
68,
69
],
[
68,
70
],
[
39,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
37,
75
],
[
75,
76
],
[
37,
77
],
[
77,
78
],
[
159,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
90,
91
],
[
90,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
85,
96
],
[
97,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
100,
103
],
[
97,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
97,
113
],
[
113,
114
],
[
113,
115
],
[
81,
116
],
[
116,
117
],
[
116,
118
],
[
81,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
119,
127
],
[
127,
128
],
[
128,
129
],
[
119,
130
],
[
131,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
131,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
140,
142
],
[
131,
143
],
[
143,
144
],
[
143,
145
],
[
81,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
79,
156
],
[
156,
157
],
[
0,
158
],
[
158,
159
],
[
158,
160
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long N = scan.nextLong();\n c(N);\n }\n private long pow(int base, int count) {\n if (count == 0) {\n return 1;\n }\n if (count % 2 == 1) {\n return base * pow(base, count-1);\n }\n long t = pow(base, count / 2);\n return t * t;\n }\n public void c(long N) {\n int len = 0;\n for (len = 1; len < 12; len++) {\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long N = scan.nextLong();\n c(N);\n }\n private long pow(int base, int count) {\n if (count == 0) {\n return 1;\n }\n if (count % 2 == 1) {\n return base * pow(base, count-1);\n }\n long t = pow(base, count / 2);\n return t * t;\n }\n public void c(long N) {\n int len = 0;\n for (len = 1; len < 12; len++) {\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"Main",
"public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }",
"main",
"{\n Main main = new Main();\n main.solve();\n }",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"String[] args",
"args",
"public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long N = scan.nextLong();\n c(N);\n }",
"solve",
"{\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long N = scan.nextLong();\n c(N);\n }",
"Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));",
"scan",
"new Scanner(new BufferedReader(new InputStreamReader(System.in)))",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"c(N)",
"c",
"N",
"private long pow(int base, int count) {\n if (count == 0) {\n return 1;\n }\n if (count % 2 == 1) {\n return base * pow(base, count-1);\n }\n long t = pow(base, count / 2);\n return t * t;\n }",
"pow",
"{\n if (count == 0) {\n return 1;\n }\n if (count % 2 == 1) {\n return base * pow(base, count-1);\n }\n long t = pow(base, count / 2);\n return t * t;\n }",
"if (count == 0) {\n return 1;\n }",
"count == 0",
"count",
"0",
"{\n return 1;\n }",
"return 1;",
"1",
"if (count % 2 == 1) {\n return base * pow(base, count-1);\n }",
"count % 2 == 1",
"count % 2",
"count",
"2",
"1",
"{\n return base * pow(base, count-1);\n }",
"return base * pow(base, count-1);",
"base * pow(base, count-1)",
"base",
"pow(base, count-1)",
"pow",
"base",
"count-1",
"count",
"1",
"long t = pow(base, count / 2);",
"t",
"pow(base, count / 2)",
"pow",
"base",
"count / 2",
"count",
"2",
"return t * t;",
"t * t",
"t",
"t",
"int base",
"base",
"int count",
"count",
"public void c(long N) {\n int len = 0;\n for (len = 1; len < 12; len++) {\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }\n System.out.println(sb.reverse().toString());\n }",
"c",
"{\n int len = 0;\n for (len = 1; len < 12; len++) {\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }\n System.out.println(sb.reverse().toString());\n }",
"int len = 0;",
"len",
"0",
"for (len = 1; len < 12; len++) {\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }",
"len = 1;",
"len = 1",
"len",
"1",
"len < 12",
"len",
"12",
"len++",
"len++",
"len",
"{\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }",
"{\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }",
"long t = pow(26, len);",
"t",
"pow(26, len)",
"pow",
"26",
"len",
"if (N <= t) {\n N -= 1;\n break;\n }",
"N <= t",
"N",
"t",
"{\n N -= 1;\n break;\n }",
"N -= 1",
"N",
"1",
"break;",
"N -= t",
"N",
"t",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i < len; i++) {\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < len",
"i",
"len",
"i++",
"i++",
"i",
"{\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }",
"{\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }",
"int t = (int) (N % 26);",
"t",
"(int) (N % 26)",
"N",
"26",
"sb.append((char)(t + 'a'))",
"sb.append",
"sb",
"(char)(t + 'a')",
"t",
"'a'",
"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",
"long N",
"N",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long N = scan.nextLong();\n c(N);\n }\n private long pow(int base, int count) {\n if (count == 0) {\n return 1;\n }\n if (count % 2 == 1) {\n return base * pow(base, count-1);\n }\n long t = pow(base, count / 2);\n return t * t;\n }\n public void c(long N) {\n int len = 0;\n for (len = 1; len < 12; len++) {\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Main main = new Main();\n main.solve();\n }\n public void solve() {\n Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n long N = scan.nextLong();\n c(N);\n }\n private long pow(int base, int count) {\n if (count == 0) {\n return 1;\n }\n if (count % 2 == 1) {\n return base * pow(base, count-1);\n }\n long t = pow(base, count / 2);\n return t * t;\n }\n public void c(long N) {\n int len = 0;\n for (len = 1; len < 12; len++) {\n long t = pow(26, len);\n if (N <= t) {\n N -= 1;\n break;\n }\n N -= t;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < len; i++) {\n int t = (int) (N % 26);\n sb.append((char)(t + 'a'));\n N /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
}
public void solve() {
Scanner scan = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
long N = scan.nextLong();
c(N);
}
private long pow(int base, int count) {
if (count == 0) {
return 1;
}
if (count % 2 == 1) {
return base * pow(base, count-1);
}
long t = pow(base, count / 2);
return t * t;
}
public void c(long N) {
int len = 0;
for (len = 1; len < 12; len++) {
long t = pow(26, len);
if (N <= t) {
N -= 1;
break;
}
N -= t;
}
StringBuilder sb = new StringBuilder();
for (int i = 0; i < len; i++) {
int t = (int) (N % 26);
sb.append((char)(t + 'a'));
N /= 26;
}
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,
4,
18,
18,
13,
13,
4,
13,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
0,
13,
2,
2,
13,
13,
17,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
73,
8
],
[
73,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
9,
28
],
[
28,
29
],
[
73,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
40,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
40,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
40,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
32,
68
],
[
68,
69
],
[
30,
70
],
[
70,
71
],
[
0,
72
],
[
72,
73
],
[
72,
74
]
]
| [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\n/**\n * @author : Ritchie Zhang\n * @date : 2020/5/10\n * @description: TODO\n * @modifiedBy:\n * @version: 1.0\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long a = s.nextLong();\n System.out.println(change(a));\n\n\n }\n\n public static String change(long n){\n String s = \"\";\n while (n>0){\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }\n return s;\n }\n}\n\n",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long a = s.nextLong();\n System.out.println(change(a));\n\n\n }\n\n public static String change(long n){\n String s = \"\";\n while (n>0){\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }\n return s;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long a = s.nextLong();\n System.out.println(change(a));\n\n\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n long a = s.nextLong();\n System.out.println(change(a));\n\n\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long a = s.nextLong();",
"a",
"s.nextLong()",
"s.nextLong",
"s",
"System.out.println(change(a))",
"System.out.println",
"System.out",
"System",
"System.out",
"change(a)",
"change",
"a",
"String[] args",
"args",
"public static String change(long n){\n String s = \"\";\n while (n>0){\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }\n return s;\n }",
"change",
"{\n String s = \"\";\n while (n>0){\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }\n return s;\n }",
"String s = \"\";",
"s",
"\"\"",
"while (n>0){\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }",
"n>0",
"n",
"0",
"{\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }",
"long m = n % 26;",
"m",
"n % 26",
"n",
"26",
"if (m == 0)\n {\n m = 26;\n }",
"m == 0",
"m",
"0",
"{\n m = 26;\n }",
"m = 26",
"m",
"26",
"s = (char)(m + 96) + s",
"s",
"(char)(m + 96) + s",
"(char)(m + 96)",
"m",
"96",
"s",
"n = (n - m) / 26",
"n",
"(n - m) / 26",
"(n - m)",
"n",
"m",
"26",
"return s;",
"s",
"long n",
"n",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long a = s.nextLong();\n System.out.println(change(a));\n\n\n }\n\n public static String change(long n){\n String s = \"\";\n while (n>0){\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }\n return s;\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long a = s.nextLong();\n System.out.println(change(a));\n\n\n }\n\n public static String change(long n){\n String s = \"\";\n while (n>0){\n long m = n % 26;\n if (m == 0)\n {\n m = 26;\n }\n s = (char)(m + 96) + s;\n n = (n - m) / 26;\n }\n return s;\n }\n}",
"Main"
]
| import java.math.BigDecimal;
import java.util.Scanner;
/**
* @author : Ritchie Zhang
* @date : 2020/5/10
* @description: TODO
* @modifiedBy:
* @version: 1.0
*/
public class Main {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long a = s.nextLong();
System.out.println(change(a));
}
public static String change(long n){
String s = "";
while (n>0){
long m = n % 26;
if (m == 0)
{
m = 26;
}
s = (char)(m + 96) + s;
n = (n - m) / 26;
}
return s;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
13,
17,
4,
18,
13,
2,
17,
13,
0,
13,
17,
4,
18,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
71,
14
],
[
71,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
36,
50
],
[
50,
51
],
[
50,
52
],
[
17,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
17,
57
],
[
57,
58
],
[
57,
59
],
[
57,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
15,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport 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();\n long b = 0;\n List<Character> list = new ArrayList<>();\n while (n > 0){\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }\n Collections.reverse(list);\n for(char c : list) {\n System.out.print(c);\n }\n }\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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long b = 0;\n List<Character> list = new ArrayList<>();\n while (n > 0){\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }\n Collections.reverse(list);\n for(char c : list) {\n System.out.print(c);\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long b = 0;\n List<Character> list = new ArrayList<>();\n while (n > 0){\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }\n Collections.reverse(list);\n for(char c : list) {\n System.out.print(c);\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long b = 0;\n List<Character> list = new ArrayList<>();\n while (n > 0){\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }\n Collections.reverse(list);\n for(char c : list) {\n System.out.print(c);\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long b = 0;",
"b",
"0",
"List<Character> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"while (n > 0){\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }",
"n--",
"n",
"b = n % 26",
"b",
"n % 26",
"n",
"26",
"list.add((char)('a' + b))",
"list.add",
"list",
"(char)('a' + b)",
"'a'",
"b",
"n /= 26",
"n",
"26",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(char c : list) {\n System.out.print(c);\n }",
"char c",
"list",
"{\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",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long b = 0;\n List<Character> list = new ArrayList<>();\n while (n > 0){\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }\n Collections.reverse(list);\n for(char c : list) {\n System.out.print(c);\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 b = 0;\n List<Character> list = new ArrayList<>();\n while (n > 0){\n n--;\n b = n % 26;\n list.add((char)('a' + b));\n n /= 26;\n }\n Collections.reverse(list);\n for(char c : list) {\n System.out.print(c);\n }\n }\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();
long b = 0;
List<Character> list = new ArrayList<>();
while (n > 0){
n--;
b = n % 26;
list.add((char)('a' + b));
n /= 26;
}
Collections.reverse(list);
for(char c : list) {
System.out.print(c);
}
}
} |
[
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,
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
],
[
56,
5
],
[
56,
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
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
8,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"\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 = sc.nextLong();\n String tmp = \"\";\n\n while(N>0) {\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }\n StringBuffer sb = new StringBuffer(tmp);\n String res = sb.reverse().toString();\n System.out.println(res);\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 String tmp = \"\";\n\n while(N>0) {\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }\n StringBuffer sb = new StringBuffer(tmp);\n String res = sb.reverse().toString();\n System.out.println(res);\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String tmp = \"\";\n\n while(N>0) {\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }\n StringBuffer sb = new StringBuffer(tmp);\n String res = sb.reverse().toString();\n System.out.println(res);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String tmp = \"\";\n\n while(N>0) {\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }\n StringBuffer sb = new StringBuffer(tmp);\n String res = sb.reverse().toString();\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 tmp = \"\";",
"tmp",
"\"\"",
"while(N>0) {\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }",
"N>0",
"N",
"0",
"{\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }",
"--N",
"N",
"tmp += (char)('a' + (N%26))",
"tmp",
"(char)('a' + (N%26))",
"'a'",
"(N%26)",
"N",
"26",
"N /= 26",
"N",
"26",
"StringBuffer sb = new StringBuffer(tmp);",
"sb",
"new StringBuffer(tmp)",
"String res = sb.reverse().toString();",
"res",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(res)",
"System.out.println",
"System.out",
"System",
"System.out",
"res",
"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 tmp = \"\";\n\n while(N>0) {\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }\n StringBuffer sb = new StringBuffer(tmp);\n String res = sb.reverse().toString();\n System.out.println(res);\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 tmp = \"\";\n\n while(N>0) {\n --N;\n tmp += (char)('a' + (N%26));\n N /= 26;\n }\n StringBuffer sb = new StringBuffer(tmp);\n String res = sb.reverse().toString();\n System.out.println(res);\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 tmp = "";
while(N>0) {
--N;
tmp += (char)('a' + (N%26));
N /= 26;
}
StringBuffer sb = new StringBuffer(tmp);
String res = sb.reverse().toString();
System.out.println(res);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
13,
4,
18,
13,
17,
13,
30,
0,
13,
4,
18,
13,
17,
40,
13,
9,
0,
13,
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,
3,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
85,
5
],
[
85,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
31,
34
],
[
31,
35
],
[
28,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
43,
44
],
[
36,
45
],
[
27,
46
],
[
46,
47
],
[
46,
48
],
[
27,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
49,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
49,
60
],
[
61,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
61,
70
],
[
70,
71
],
[
70,
72
],
[
27,
73
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
74,
79
],
[
79,
80
],
[
80,
81
],
[
6,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"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 StringBuilder sb = new StringBuilder();\n int i = 1;\n while (i <= 11) {\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\n }\n System.out.println(sb.reverse());\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 long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n int i = 1;\n while (i <= 11) {\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\n }\n System.out.println(sb.reverse());\n }\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 int i = 1;\n while (i <= 11) {\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\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 int i = 1;\n while (i <= 11) {\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\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()",
"int i = 1;",
"i",
"1",
"while (i <= 11) {\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\n }",
"i <= 11",
"i",
"11",
"{\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\n }",
"if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }",
"n > Math.pow(26, i)",
"n",
"Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"{\n n -= Math.pow(26, i++);\n continue;\n }",
"n -= Math.pow(26, i++)",
"n",
"Math.pow(26, i++)",
"Math.pow",
"Math",
"26",
"i++",
"i",
"continue;",
"n -= 1",
"n",
"1",
"for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < i",
"j",
"i",
"j++",
"j++",
"j",
"{\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",
"break;",
"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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder sb = new StringBuilder();\n int i = 1;\n while (i <= 11) {\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\n }\n System.out.println(sb.reverse());\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 StringBuilder sb = new StringBuilder();\n int i = 1;\n while (i <= 11) {\n if (n > Math.pow(26, i)) {\n n -= Math.pow(26, i++);\n continue;\n }\n n -= 1;\n for (int j = 0; j < i; j++) {\n sb.append((char) (n % 26 + 'a'));\n n /= 26;\n }\n break;\n }\n System.out.println(sb.reverse());\n }\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();
int i = 1;
while (i <= 11) {
if (n > Math.pow(26, i)) {
n -= Math.pow(26, i++);
continue;
}
n -= 1;
for (int j = 0; j < i; j++) {
sb.append((char) (n % 26 + 'a'));
n /= 26;
}
break;
}
System.out.println(sb.reverse());
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
13,
30,
0,
13,
2,
4,
18,
13,
13,
13,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
8,
2,
2,
13,
17,
2,
13,
17,
4,
18,
13,
2,
13,
17,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
100,
5
],
[
100,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
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
],
[
33,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
36,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
52,
57
],
[
30,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
30,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
8,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
74,
75
],
[
6,
76
],
[
76,
77
],
[
100,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
87,
89
],
[
82,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
93,
95
],
[
82,
96
],
[
78,
97
],
[
97,
98
],
[
0,
99
],
[
99,
100
],
[
99,
101
]
]
| [
"import java.util.*;\npublic class Main\n{\n\tpublic static void main(String[] args) {\n\t Main m=new Main();\n\t Scanner sc=new Scanner(System.in);\n\t long n=sc.nextLong();\n\t String value=\"\";\n\t String val=\"\";\n\t while(n>0){\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }\n\t System.out.println(value.toLowerCase()); \n\t} \n \tprivate String getCharForNumber(long i) {\n return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\";\n } \n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\t Main m=new Main();\n\t Scanner sc=new Scanner(System.in);\n\t long n=sc.nextLong();\n\t String value=\"\";\n\t String val=\"\";\n\t while(n>0){\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }\n\t System.out.println(value.toLowerCase()); \n\t} \n \tprivate String getCharForNumber(long i) {\n return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\";\n } \n}",
"Main",
"public static void main(String[] args) {\n\t Main m=new Main();\n\t Scanner sc=new Scanner(System.in);\n\t long n=sc.nextLong();\n\t String value=\"\";\n\t String val=\"\";\n\t while(n>0){\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }\n\t System.out.println(value.toLowerCase()); \n\t}",
"main",
"{\n\t Main m=new Main();\n\t Scanner sc=new Scanner(System.in);\n\t long n=sc.nextLong();\n\t String value=\"\";\n\t String val=\"\";\n\t while(n>0){\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }\n\t System.out.println(value.toLowerCase()); \n\t}",
"Main m=new Main();",
"m",
"new Main()",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n=sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String value=\"\";",
"value",
"\"\"",
"String val=\"\";",
"val",
"\"\"",
"while(n>0){\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }",
"n>0",
"n",
"0",
"{\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }",
"long rem=n % 26;",
"rem",
"n % 26",
"n",
"26",
"if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }",
"rem==0",
"rem",
"0",
"{\n\t val=\"Z\";\n\t value=val+value; \n\t }",
"val=\"Z\"",
"val",
"\"Z\"",
"value=val+value",
"value",
"val+value",
"val",
"value",
"{\n\t value=m.getCharForNumber(rem)+value;\n\t }",
"value=m.getCharForNumber(rem)+value",
"value",
"m.getCharForNumber(rem)+value",
"m.getCharForNumber(rem)",
"m.getCharForNumber",
"m",
"rem",
"value",
"n=n-1",
"n",
"n-1",
"n",
"1",
"n=n/26",
"n",
"n/26",
"n",
"26",
"System.out.println(value.toLowerCase())",
"System.out.println",
"System.out",
"System",
"System.out",
"value.toLowerCase()",
"value.toLowerCase",
"value",
"String[] args",
"args",
"private String getCharForNumber(long i) {\n return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\";\n }",
"getCharForNumber",
"{\n return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\";\n }",
"return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\";",
"i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\"",
"i > 0 && i < 27",
"i > 0",
"i",
"0",
"i < 27",
"i",
"27",
"String.valueOf((char)(i + 64))",
"String.valueOf",
"String",
"(char)(i + 64)",
"i",
"64",
"\"\"",
"long i",
"i",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\t Main m=new Main();\n\t Scanner sc=new Scanner(System.in);\n\t long n=sc.nextLong();\n\t String value=\"\";\n\t String val=\"\";\n\t while(n>0){\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }\n\t System.out.println(value.toLowerCase()); \n\t} \n \tprivate String getCharForNumber(long i) {\n return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\";\n } \n}",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\t Main m=new Main();\n\t Scanner sc=new Scanner(System.in);\n\t long n=sc.nextLong();\n\t String value=\"\";\n\t String val=\"\";\n\t while(n>0){\n\t long rem=n % 26;\n\t if(rem==0){\n\t val=\"Z\";\n\t value=val+value; \n\t }\n\t else{\n\t value=m.getCharForNumber(rem)+value;\n\t }\n\t n=n-1;\n\t n=n/26;\n\t }\n\t System.out.println(value.toLowerCase()); \n\t} \n \tprivate String getCharForNumber(long i) {\n return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : \"\";\n } \n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String[] args) {
Main m=new Main();
Scanner sc=new Scanner(System.in);
long n=sc.nextLong();
String value="";
String val="";
while(n>0){
long rem=n % 26;
if(rem==0){
val="Z";
value=val+value;
}
else{
value=m.getCharForNumber(rem)+value;
}
n=n-1;
n=n/26;
}
System.out.println(value.toLowerCase());
}
private String getCharForNumber(long i) {
return i > 0 && i < 27 ? String.valueOf((char)(i + 64)) : "";
}
}
|
[
7,
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,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
2,
13,
13,
30,
0,
13,
17,
0,
13,
13,
40,
13,
0,
13,
2,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
2,
13,
17,
0,
13,
17,
0,
13,
2,
2,
13,
17,
13,
4,
18,
13,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
41,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
29,
17,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
198,
11
],
[
198,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
17,
19
],
[
14,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
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
],
[
34,
37
],
[
34,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
12,
42
],
[
42,
43
],
[
198,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
63,
65
],
[
51,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
51,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
51,
84
],
[
84,
85
],
[
84,
86
],
[
51,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
96,
97
],
[
87,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
99,
105
],
[
105,
106
],
[
105,
107
],
[
99,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
51,
115
],
[
115,
116
],
[
116,
117
],
[
115,
118
],
[
49,
119
],
[
119,
120
],
[
49,
121
],
[
121,
122
],
[
198,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
123,
127
],
[
127,
128
],
[
123,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
129,
135
],
[
135,
136
],
[
123,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
140,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
157,
158
],
[
153,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
162,
163
],
[
163,
164
],
[
149,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
170,
171
],
[
149,
172
],
[
172,
173
],
[
172,
174
],
[
139,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
123,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
183,
186
],
[
186,
187
],
[
123,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
192,
195
],
[
195,
196
],
[
0,
197
],
[
197,
198
],
[
197,
199
]
]
| [
"\nimport java.io.*;\nimport java.math.BigInteger;\nimport java.util.*;\n\n/**\n * @author Tran Anh Tai\n * @template for CP codes\n */\npublic class Main {\n public 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 Task solver = new Task();\n solver.solve(in, out);\n out.close();\n }\n // main solver\n static class Task{\n static int MOD = 1000000007;\n public void solve(InputReader in, PrintWriter out){\n long n = in.nextLong();\n int d = 1;\n long cur =26;\n long total = 26;\n while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }\n n -= total / 26;\n String r = \"\";\n for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }\n out.println(r);\n }\n }\n // fast input reader class;\n static class InputReader {\n BufferedReader br;\n StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n public long nextLong(){\n return Long.parseLong(nextToken());\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public 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 Task solver = new Task();\n solver.solve(in, out);\n out.close();\n }\n // main solver\n static class Task{\n static int MOD = 1000000007;\n public void solve(InputReader in, PrintWriter out){\n long n = in.nextLong();\n int d = 1;\n long cur =26;\n long total = 26;\n while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }\n n -= total / 26;\n String r = \"\";\n for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }\n out.println(r);\n }\n }\n // fast input reader class;\n static class InputReader {\n BufferedReader br;\n StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n public long nextLong(){\n return Long.parseLong(nextToken());\n }\n }\n}",
"Main",
"public 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 Task solver = new Task();\n solver.solve(in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n Task solver = new Task();\n solver.solve(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",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"PrintWriter out = new PrintWriter(outputStream);",
"out",
"new PrintWriter(outputStream)",
"Task solver = new Task();",
"solver",
"new Task()",
"solver.solve(in, out)",
"solver.solve",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class Task{\n static int MOD = 1000000007;\n public void solve(InputReader in, PrintWriter out){\n long n = in.nextLong();\n int d = 1;\n long cur =26;\n long total = 26;\n while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }\n n -= total / 26;\n String r = \"\";\n for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }\n out.println(r);\n }\n }",
"Task",
"static int MOD = 1000000007;",
"MOD",
"1000000007",
"public void solve(InputReader in, PrintWriter out){\n long n = in.nextLong();\n int d = 1;\n long cur =26;\n long total = 26;\n while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }\n n -= total / 26;\n String r = \"\";\n for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }\n out.println(r);\n }",
"solve",
"{\n long n = in.nextLong();\n int d = 1;\n long cur =26;\n long total = 26;\n while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }\n n -= total / 26;\n String r = \"\";\n for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }\n out.println(r);\n }",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"int d = 1;",
"d",
"1",
"long cur =26;",
"cur",
"26",
"long total = 26;",
"total",
"26",
"while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }",
"total < n",
"total",
"n",
"{\n cur *= 26;\n total += cur;\n d++;\n }",
"cur *= 26",
"cur",
"26",
"total += cur",
"total",
"cur",
"d++",
"d",
"n -= total / 26",
"n",
"total / 26",
"total",
"26",
"String r = \"\";",
"r",
"\"\"",
"for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < d",
"i",
"d",
"i++",
"i++",
"i",
"{\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }",
"{\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }",
"int x = (int)(n % 26);",
"x",
"(int)(n % 26)",
"n",
"26",
"n /= 26",
"n",
"26",
"r = (char)(x +'a')+ r",
"r",
"(char)(x +'a')+ r",
"(char)(x +'a')",
"x",
"'a'",
"r",
"out.println(r)",
"out.println",
"out",
"r",
"InputReader in",
"in",
"PrintWriter out",
"out",
"static class InputReader {\n BufferedReader br;\n StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n public long nextLong(){\n return Long.parseLong(nextToken());\n }\n }",
"InputReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"InputReader",
"{\n br = new BufferedReader(new InputStreamReader(stream));\n }",
"br = new BufferedReader(new InputStreamReader(stream))",
"br",
"new BufferedReader(new InputStreamReader(stream))",
"InputStream stream",
"stream",
"public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }\n return st.nextToken();\n }",
"nextToken",
"{\n while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }",
"String line = null;",
"line",
"null",
"try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }",
"catch (IOException e) {\n throw new RuntimeException(e);\n }",
"IOException e",
"{\n throw new RuntimeException(e);\n }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n line = br.readLine();\n }",
"line = br.readLine()",
"line",
"br.readLine()",
"br.readLine",
"br",
"if (line == null) {\n return null;\n }",
"line == null",
"line",
"null",
"{\n return null;\n }",
"return null;",
"null",
"st = new StringTokenizer(line)",
"st",
"new StringTokenizer(line)",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() {\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(){\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 class Main {\n public 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 Task solver = new Task();\n solver.solve(in, out);\n out.close();\n }\n // main solver\n static class Task{\n static int MOD = 1000000007;\n public void solve(InputReader in, PrintWriter out){\n long n = in.nextLong();\n int d = 1;\n long cur =26;\n long total = 26;\n while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }\n n -= total / 26;\n String r = \"\";\n for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }\n out.println(r);\n }\n }\n // fast input reader class;\n static class InputReader {\n BufferedReader br;\n StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n public long nextLong(){\n return Long.parseLong(nextToken());\n }\n }\n}",
"public class Main {\n public 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 Task solver = new Task();\n solver.solve(in, out);\n out.close();\n }\n // main solver\n static class Task{\n static int MOD = 1000000007;\n public void solve(InputReader in, PrintWriter out){\n long n = in.nextLong();\n int d = 1;\n long cur =26;\n long total = 26;\n while (total < n){\n cur *= 26;\n total += cur;\n d++;\n }\n n -= total / 26;\n String r = \"\";\n for (int i = 0; i < d; i++){\n int x = (int)(n % 26);\n n /= 26;\n r = (char)(x +'a')+ r;\n }\n out.println(r);\n }\n }\n // fast input reader class;\n static class InputReader {\n BufferedReader br;\n StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n String line = null;\n try {\n line = br.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n if (line == null) {\n return null;\n }\n st = new StringTokenizer(line);\n }\n return st.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(nextToken());\n }\n public long nextLong(){\n return Long.parseLong(nextToken());\n }\n }\n}",
"Main"
]
|
import java.io.*;
import java.math.BigInteger;
import java.util.*;
/**
* @author Tran Anh Tai
* @template for CP codes
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
Task solver = new Task();
solver.solve(in, out);
out.close();
}
// main solver
static class Task{
static int MOD = 1000000007;
public void solve(InputReader in, PrintWriter out){
long n = in.nextLong();
int d = 1;
long cur =26;
long total = 26;
while (total < n){
cur *= 26;
total += cur;
d++;
}
n -= total / 26;
String r = "";
for (int i = 0; i < d; i++){
int x = (int)(n % 26);
n /= 26;
r = (char)(x +'a')+ r;
}
out.println(r);
}
}
// fast input reader class;
static class InputReader {
BufferedReader br;
StringTokenizer st;
public InputReader(InputStream stream) {
br = new BufferedReader(new InputStreamReader(stream));
}
public String nextToken() {
while (st == null || !st.hasMoreTokens()) {
String line = null;
try {
line = br.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
if (line == null) {
return null;
}
st = new StringTokenizer(line);
}
return st.nextToken();
}
public int nextInt() {
return Integer.parseInt(nextToken());
}
public long nextLong(){
return Long.parseLong(nextToken());
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
0,
13,
2,
4,
18,
13,
2,
2,
13,
17,
17,
13,
4,
18,
18,
13,
13,
13,
29,
30,
41,
13,
2,
2,
13,
17,
17,
0,
13,
2,
4,
18,
13,
13,
13,
0,
13,
2,
13,
13,
0,
13,
2,
13,
17,
29,
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
],
[
117,
14
],
[
117,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
37,
38
],
[
37,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
32,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
17,
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
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
70,
79
],
[
67,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
80,
85
],
[
67,
86
],
[
63,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
90,
94
],
[
87,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
97,
102
],
[
87,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
87,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
17,
113
],
[
15,
114
],
[
114,
115
],
[
0,
116
],
[
116,
117
],
[
116,
118
]
]
| [
"import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.LinkedList;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String name = \"\";\n String alphabet = \"\";\n for(char c = 'a'; c <= 'z'; c++){\n alphabet = alphabet + c;\n }\n\n for(int i=0; i<100; i++){\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }\n return;\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.LinkedList;",
"LinkedList",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String name = \"\";\n String alphabet = \"\";\n for(char c = 'a'; c <= 'z'; c++){\n alphabet = alphabet + c;\n }\n\n for(int i=0; i<100; i++){\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }\n return;\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String name = \"\";\n String alphabet = \"\";\n for(char c = 'a'; c <= 'z'; c++){\n alphabet = alphabet + c;\n }\n\n for(int i=0; i<100; i++){\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }\n return;\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String name = \"\";\n String alphabet = \"\";\n for(char c = 'a'; c <= 'z'; c++){\n alphabet = alphabet + c;\n }\n\n for(int i=0; i<100; i++){\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }\n return;\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String name = \"\";",
"name",
"\"\"",
"String alphabet = \"\";",
"alphabet",
"\"\"",
"for(char c = 'a'; c <= 'z'; c++){\n alphabet = alphabet + c;\n }",
"char c = 'a';",
"char c = 'a';",
"c",
"'a'",
"c <= 'z'",
"c",
"'z'",
"c++",
"c++",
"c",
"{\n alphabet = alphabet + c;\n }",
"{\n alphabet = alphabet + c;\n }",
"alphabet = alphabet + c",
"alphabet",
"alphabet + c",
"alphabet",
"c",
"for(int i=0; i<100; i++){\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<100",
"i",
"100",
"i++",
"i++",
"i",
"{\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }",
"{\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }",
"if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }",
"N <= 26",
"N",
"26",
"{\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }",
"name = alphabet.charAt((int)(N + 25) % 26) + name",
"name",
"alphabet.charAt((int)(N + 25) % 26) + name",
"alphabet.charAt((int)(N + 25) % 26)",
"alphabet.charAt",
"alphabet",
"(int)(N + 25) % 26",
"(int)(N + 25)",
"N",
"25",
"26",
"name",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"return;",
"{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }",
"int index = (int)((N + 25) % 26);",
"index",
"(int)((N + 25) % 26)",
"(N + 25)",
"N",
"25",
"26",
"name = alphabet.charAt(index) + name",
"name",
"alphabet.charAt(index) + name",
"alphabet.charAt(index)",
"alphabet.charAt",
"alphabet",
"index",
"name",
"N = N - index",
"N",
"N - index",
"N",
"index",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"return;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String name = \"\";\n String alphabet = \"\";\n for(char c = 'a'; c <= 'z'; c++){\n alphabet = alphabet + c;\n }\n\n for(int i=0; i<100; i++){\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }\n return;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String name = \"\";\n String alphabet = \"\";\n for(char c = 'a'; c <= 'z'; c++){\n alphabet = alphabet + c;\n }\n\n for(int i=0; i<100; i++){\n if(N <= 26){\n name = alphabet.charAt((int)(N + 25) % 26) + name;\n System.out.println(name);\n return;\n }else{\n int index = (int)((N + 25) % 26);\n name = alphabet.charAt(index) + name;\n N = N - index;\n N = N / 26;\n }\n }\n return;\n }\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Arrays;
import java.util.LinkedList;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
String name = "";
String alphabet = "";
for(char c = 'a'; c <= 'z'; c++){
alphabet = alphabet + c;
}
for(int i=0; i<100; i++){
if(N <= 26){
name = alphabet.charAt((int)(N + 25) % 26) + name;
System.out.println(name);
return;
}else{
int index = (int)((N + 25) % 26);
name = alphabet.charAt(index) + name;
N = N - index;
N = N / 26;
}
}
return;
}
} |
[
7,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
51,
5
],
[
51,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
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
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
32,
38
],
[
27,
39
],
[
39,
40
],
[
39,
41
],
[
8,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
6,
48
],
[
48,
49
],
[
0,
50
],
[
50,
51
],
[
50,
52
]
]
| [
"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 sc.close();\n\n String s = \"\";\n\n while(n > 0) {\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\n }\n System.out.println(s);\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 sc.close();\n\n String s = \"\";\n\n while(n > 0) {\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\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 sc.close();\n\n String s = \"\";\n\n while(n > 0) {\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\n }\n System.out.println(s);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n sc.close();\n\n String s = \"\";\n\n while(n > 0) {\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\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",
"sc.close()",
"sc.close",
"sc",
"String s = \"\";",
"s",
"\"\"",
"while(n > 0) {\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\n }",
"n--",
"n",
"s = (char)('a' + n % 26) + s",
"s",
"(char)('a' + n % 26) + s",
"(char)('a' + n % 26)",
"'a'",
"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 class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n sc.close();\n\n String s = \"\";\n\n while(n > 0) {\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\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 sc.close();\n\n String s = \"\";\n\n while(n > 0) {\n n--;\n s = (char)('a' + n % 26) + s;\n n /= 26;\n }\n System.out.println(s);\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();
sc.close();
String s = "";
while(n > 0) {
n--;
s = (char)('a' + n % 26) + s;
n /= 26;
}
System.out.println(s);
}
}
|
[
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,
41,
13,
20,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
20,
4,
18,
13,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
42,
2,
13,
17,
30,
4,
18,
13,
2,
17,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
4,
18,
4,
18,
13,
12,
13,
30,
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,
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,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
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,
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,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
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,
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,
13,
29,
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,
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,
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
],
[
634,
65
],
[
634,
66
],
[
66,
67
],
[
66,
68
],
[
634,
69
],
[
69,
70
],
[
69,
71
],
[
634,
72
],
[
72,
73
],
[
72,
74
],
[
634,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
77,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
75,
89
],
[
89,
90
],
[
634,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
102,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
93,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
634,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
634,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
142
],
[
142,
143
],
[
143,
144
],
[
144,
145
],
[
144,
146
],
[
142,
147
],
[
147,
148
],
[
147,
149
],
[
142,
150
],
[
150,
151
],
[
151,
152
],
[
142,
153
],
[
154,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
137,
161
],
[
161,
162
],
[
135,
163
],
[
163,
164
],
[
634,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
173,
178
],
[
178,
179
],
[
178,
180
],
[
173,
181
],
[
181,
182
],
[
182,
183
],
[
173,
184
],
[
185,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
186,
191
],
[
191,
192
],
[
191,
193
],
[
186,
194
],
[
194,
195
],
[
195,
196
],
[
186,
197
],
[
198,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
201,
203
],
[
200,
204
],
[
199,
205
],
[
205,
206
],
[
167,
207
],
[
207,
208
],
[
165,
209
],
[
209,
210
],
[
165,
211
],
[
211,
212
],
[
634,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
218,
219
],
[
634,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
227,
232
],
[
232,
233
],
[
232,
234
],
[
227,
235
],
[
235,
236
],
[
236,
237
],
[
227,
238
],
[
239,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
222,
246
],
[
246,
247
],
[
220,
248
],
[
248,
249
],
[
634,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
252,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
258,
263
],
[
263,
264
],
[
263,
265
],
[
258,
266
],
[
266,
267
],
[
267,
268
],
[
258,
269
],
[
270,
270
],
[
270,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
271,
276
],
[
276,
277
],
[
276,
278
],
[
271,
279
],
[
279,
280
],
[
280,
281
],
[
271,
282
],
[
283,
283
],
[
283,
284
],
[
284,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
289
],
[
284,
290
],
[
290,
291
],
[
252,
292
],
[
292,
293
],
[
250,
294
],
[
294,
295
],
[
250,
296
],
[
296,
297
],
[
634,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
303,
304
],
[
634,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
307,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
312,
317
],
[
317,
318
],
[
317,
319
],
[
312,
320
],
[
320,
321
],
[
321,
322
],
[
312,
323
],
[
324,
324
],
[
324,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
329
],
[
329,
330
],
[
307,
331
],
[
331,
332
],
[
305,
333
],
[
333,
334
],
[
634,
335
],
[
335,
336
],
[
335,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
337,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
345,
347
],
[
343,
348
],
[
348,
349
],
[
348,
350
],
[
343,
351
],
[
351,
352
],
[
352,
353
],
[
343,
354
],
[
355,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
356,
361
],
[
361,
362
],
[
361,
363
],
[
356,
364
],
[
364,
365
],
[
365,
366
],
[
356,
367
],
[
368,
368
],
[
368,
369
],
[
369,
370
],
[
370,
371
],
[
371,
372
],
[
371,
373
],
[
370,
374
],
[
369,
375
],
[
375,
376
],
[
337,
377
],
[
377,
378
],
[
335,
379
],
[
379,
380
],
[
335,
381
],
[
381,
382
],
[
0,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
387,
389
],
[
383,
390
],
[
390,
391
],
[
390,
392
],
[
383,
394
],
[
394,
395
],
[
394,
396
],
[
383,
397
],
[
397,
398
],
[
397,
399
],
[
383,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
403,
407
],
[
407,
408
],
[
408,
409
],
[
403,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
414,
421
],
[
421,
422
],
[
422,
423
],
[
422,
424
],
[
424,
425
],
[
425,
426
],
[
424,
427
],
[
410,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
428,
432
],
[
432,
433
],
[
433,
434
],
[
402,
435
],
[
435,
436
],
[
383,
437
],
[
437,
438
],
[
437,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
440,
443
],
[
443,
444
],
[
444,
445
],
[
444,
446
],
[
446,
447
],
[
440,
448
],
[
448,
449
],
[
449,
450
],
[
383,
451
],
[
451,
452
],
[
451,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
455,
459
],
[
459,
460
],
[
459,
461
],
[
451,
462
],
[
462,
463
],
[
383,
464
],
[
464,
465
],
[
464,
466
],
[
466,
467
],
[
467,
468
],
[
468,
469
],
[
469,
470
],
[
468,
471
],
[
471,
472
],
[
472,
473
],
[
472,
474
],
[
474,
475
],
[
474,
476
],
[
467,
477
],
[
477,
478
],
[
466,
479
],
[
479,
480
],
[
480,
481
],
[
383,
482
],
[
482,
483
],
[
482,
484
],
[
484,
485
],
[
485,
486
],
[
486,
487
],
[
487,
488
],
[
485,
489
],
[
489,
490
],
[
484,
491
],
[
491,
492
],
[
491,
493
],
[
484,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
484,
498
],
[
498,
499
],
[
499,
500
],
[
499,
501
],
[
498,
502
],
[
502,
503
],
[
503,
504
],
[
504,
505
],
[
503,
506
],
[
502,
507
],
[
507,
508
],
[
507,
509
],
[
509,
510
],
[
484,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
383,
515
],
[
515,
516
],
[
515,
517
],
[
517,
518
],
[
518,
519
],
[
519,
520
],
[
520,
521
],
[
518,
522
],
[
522,
523
],
[
517,
524
],
[
524,
525
],
[
524,
526
],
[
517,
527
],
[
527,
528
],
[
527,
529
],
[
517,
530
],
[
530,
531
],
[
530,
532
],
[
532,
533
],
[
517,
534
],
[
534,
535
],
[
535,
536
],
[
535,
537
],
[
534,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
538,
542
],
[
542,
543
],
[
542,
544
],
[
544,
545
],
[
517,
546
],
[
546,
547
],
[
547,
548
],
[
548,
549
],
[
548,
550
],
[
547,
551
],
[
551,
552
],
[
551,
553
],
[
546,
554
],
[
554,
555
],
[
555,
556
],
[
517,
557
],
[
557,
558
],
[
557,
559
],
[
559,
560
],
[
560,
561
],
[
561,
562
],
[
562,
563
],
[
562,
564
],
[
561,
565
],
[
565,
566
],
[
565,
567
],
[
560,
568
],
[
568,
569
],
[
569,
570
],
[
569,
571
],
[
568,
572
],
[
572,
573
],
[
572,
574
],
[
574,
575
],
[
574,
576
],
[
560,
577
],
[
577,
578
],
[
578,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
578,
583
],
[
583,
584
],
[
584,
585
],
[
584,
586
],
[
577,
587
],
[
587,
588
],
[
588,
589
],
[
589,
590
],
[
589,
591
],
[
591,
592
],
[
589,
593
],
[
577,
594
],
[
594,
595
],
[
595,
596
],
[
559,
597
],
[
597,
598
],
[
597,
599
],
[
599,
600
],
[
383,
601
],
[
601,
602
],
[
601,
603
],
[
603,
604
],
[
604,
605
],
[
604,
606
],
[
606,
607
],
[
603,
608
],
[
608,
609
],
[
609,
610
],
[
610,
611
],
[
610,
612
],
[
612,
613
],
[
612,
614
],
[
609,
615
],
[
615,
616
],
[
615,
617
],
[
617,
618
],
[
617,
619
],
[
608,
620
],
[
620,
621
],
[
603,
622
],
[
622,
623
],
[
383,
624
],
[
624,
625
],
[
624,
626
],
[
626,
627
],
[
627,
628
],
[
628,
629
],
[
629,
630
],
[
628,
631
],
[
631,
632
],
[
0,
633
],
[
633,
634
],
[
633,
635
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.net.ConnectException;\nimport java.rmi.dgc.Lease;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.Deque;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.NoSuchElementException;\nimport java.util.Objects;\nimport java.util.Set;\nimport java.util.Stack;\nimport java.util.TreeMap;\nimport java.util.TreeSet;\n\nimport static java.util.Comparator.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tStringBuffer sb = new StringBuffer();\n\tpublic void solve() {\n\t\tlong N = nl();\n\t\twhile(N > 0) {\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}\n\t\tout.println(sb.reverse().toString());\n\t}\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}\nclass FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n\tprivate static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n\tpublic boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\tpublic String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() { return Double.parseDouble(next());}\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.net.ConnectException;",
"ConnectException",
"java.net",
"import java.rmi.dgc.Lease;",
"Lease",
"java.rmi.dgc",
"import java.util.ArrayDeque;",
"ArrayDeque",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Deque;",
"Deque",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.HashSet;",
"HashSet",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"import java.util.Objects;",
"Objects",
"java.util",
"import java.util.Set;",
"Set",
"java.util",
"import java.util.Stack;",
"Stack",
"java.util",
"import java.util.TreeMap;",
"TreeMap",
"java.util",
"import java.util.TreeSet;",
"TreeSet",
"java.util",
"import static java.util.Comparator.*;",
"import static java.util.Comparator.*;",
"import static java.util.Comparator.*;",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tStringBuffer sb = new StringBuffer();\n\tpublic void solve() {\n\t\tlong N = nl();\n\t\twhile(N > 0) {\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}\n\t\tout.println(sb.reverse().toString());\n\t}\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}",
"Main",
"// ======================================================================\n\tStringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"// Scanner\n\tprivate FastScanner scan = new FastScanner();",
"scan",
"new FastScanner()",
"public static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}",
"main",
"{\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"main.out.close()",
"main.out.close",
"main.out",
"main",
"main.out",
"String[] args",
"args",
"public void solve() {\n\t\tlong N = nl();\n\t\twhile(N > 0) {\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}\n\t\tout.println(sb.reverse().toString());\n\t}",
"solve",
"{\n\t\tlong N = nl();\n\t\twhile(N > 0) {\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}\n\t\tout.println(sb.reverse().toString());\n\t}",
"long N = nl();",
"N",
"nl()",
"nl",
"while(N > 0) {\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}",
"N > 0",
"N",
"0",
"{\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}",
"sb.append((char)('a' + (N-1) % 26))",
"sb.append",
"sb",
"(char)('a' + (N-1) % 26)",
"'a'",
"(N-1) % 26",
"(N-1)",
"N",
"1",
"26",
"N = (N-1)/26",
"N",
"(N-1)/26",
"(N-1)",
"N",
"1",
"26",
"out.println(sb.reverse().toString())",
"out.println",
"out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"int ni(){ return scan.nextInt();}",
"ni",
"{ return scan.nextInt();}",
"return scan.nextInt();",
"scan.nextInt()",
"scan.nextInt",
"scan",
"int[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}",
"ni",
"{int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for(int i = 0; i < n; i++){a[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] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"int[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}",
"ni",
"{int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}",
"int[][] a = new int[y][x];",
"a",
"new int[y][x]",
"y",
"x",
"for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{for(int j = 0; j < x; j++){a[i][j] = ni();}}",
"{for(int j = 0; j < x; j++){a[i][j] = ni();}}",
"for(int j = 0; j < x; j++){a[i][j] = ni();}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < x",
"j",
"x",
"j++",
"j++",
"j",
"{a[i][j] = ni();}",
"{a[i][j] = ni();}",
"a[i][j] = ni()",
"a[i][j]",
"a[i]",
"a",
"i",
"j",
"ni()",
"ni",
"return a;",
"a",
"int y",
"y",
"int x",
"x",
"long nl(){return scan.nextLong();}",
"nl",
"{return scan.nextLong();}",
"return scan.nextLong();",
"scan.nextLong()",
"scan.nextLong",
"scan",
"long[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}",
"nl",
"{long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for(int i = 0; i < n; i++){a[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] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"long[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}",
"nl",
"{long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}",
"long[][] a = new long[y][x];",
"a",
"new long[y][x]",
"y",
"x",
"for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{for(int j = 0; j < x; j++){a[i][j] = nl();}}",
"{for(int j = 0; j < x; j++){a[i][j] = nl();}}",
"for(int j = 0; j < x; j++){a[i][j] = nl();}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < x",
"j",
"x",
"j++",
"j++",
"j",
"{a[i][j] = nl();}",
"{a[i][j] = nl();}",
"a[i][j] = nl()",
"a[i][j]",
"a[i]",
"a",
"i",
"j",
"nl()",
"nl",
"return a;",
"a",
"int y",
"y",
"int x",
"x",
"String ns(){return scan.next();}",
"ns",
"{return scan.next();}",
"return scan.next();",
"scan.next()",
"scan.next",
"scan",
"String[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}",
"ns",
"{String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}",
"String[] a = new String[n];",
"a",
"new String[n]",
"n",
"for(int i = 0; i < n; i++){a[i] = ns();}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{a[i] = ns();}",
"{a[i] = ns();}",
"a[i] = ns()",
"a[i]",
"a",
"i",
"ns()",
"ns",
"return a;",
"a",
"int n",
"n",
"String[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}",
"ns",
"{String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}",
"String[][] a = new String[y][x];",
"a",
"new String[y][x]",
"y",
"x",
"for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < y",
"i",
"y",
"i++",
"i++",
"i",
"{for(int j = 0; j < x; j++){a[i][j] = ns();}}",
"{for(int j = 0; j < x; j++){a[i][j] = ns();}}",
"for(int j = 0; j < x; j++){a[i][j] = ns();}",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < x",
"j",
"x",
"j++",
"j++",
"j",
"{a[i][j] = ns();}",
"{a[i][j] = ns();}",
"a[i][j] = ns()",
"a[i][j]",
"a[i]",
"a",
"i",
"j",
"ns()",
"ns",
"return a;",
"a",
"int y",
"y",
"int x",
"x",
"class FastScanner {\n\tprivate final InputStream in = System.in;\n\tprivate final byte[] buffer = new byte[1024];\n\tprivate int ptr = 0;\n\tprivate int buflen = 0;\n\tprivate boolean hasNextByte() {\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}\n\tprivate int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n\tprivate static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n\tpublic boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n\tpublic String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\tpublic long nextLong() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\tpublic double nextDouble() { return Double.parseDouble(next());}\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\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"hasNextByte",
"{\n\t\tif (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\t\treturn true;\n\t}",
"if (ptr < buflen) {\n\t\t\treturn true;\n\t\t}else{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t\t\treturn true;\n\t\t}",
"return true;",
"true",
"{\n\t\t\tptr = 0;\n\t\t\ttry {\n\t\t\t\tbuflen = in.read(buffer);\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t\tif (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}",
"ptr = 0",
"ptr",
"0",
"try {\n\t\t\t\tbuflen = in.read(buffer);\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\tbuflen = in.read(buffer);\n\t\t\t}",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t\t\t\treturn false;\n\t\t\t}",
"buflen <= 0",
"buflen",
"0",
"{\n\t\t\t\treturn false;\n\t\t\t}",
"return false;",
"false",
"return true;",
"true",
"private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"readByte",
"{ if (hasNextByte()) return buffer[ptr++]; else return -1;}",
"if (hasNextByte()) return buffer[ptr++]; else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}",
"isPrintableChar",
"{ return 33 <= c && c <= 126;}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"hasNext",
"{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}",
"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",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"next",
"{\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint b = readByte();\n\t\twhile(isPrintableChar(b)) {\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn 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\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\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\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"nextLong",
"{\n\t\tif (!hasNext()) throw new NoSuchElementException();\n\t\tlong n = 0;\n\t\tboolean minus = false;\n\t\tint b = readByte();\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\t\tif (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}\n\t\twhile(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\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\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"b == '-'",
"b",
"'-'",
"{\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t\t\tthrow new NumberFormatException();\n\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while(true){\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"true",
"{\n\t\t\tif ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"if ('0' <= b && b <= '9') {\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}else if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t\t\t\tn *= 10;\n\t\t\t\tn += b - '0';\n\t\t\t}",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if(b == -1 || !isPrintableChar(b)){\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}else{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t\t\t\treturn minus ? -n : n;\n\t\t\t}",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t\t\t\tthrow new NumberFormatException();\n\t\t\t}",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}",
"nextInt",
"{\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n\t\treturn (int) nl;\n\t}",
"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 double nextDouble() { 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\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tStringBuffer sb = new StringBuffer();\n\tpublic void solve() {\n\t\tlong N = nl();\n\t\twhile(N > 0) {\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}\n\t\tout.println(sb.reverse().toString());\n\t}\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.solve();\n\t\tmain.out.close();\n\t}\n\t// ======================================================================\n\tStringBuffer sb = new StringBuffer();\n\tpublic void solve() {\n\t\tlong N = nl();\n\t\twhile(N > 0) {\n\t\t\tsb.append((char)('a' + (N-1) % 26));\n\t\t\tN = (N-1)/26;\n\t\t}\n\t\tout.println(sb.reverse().toString());\n\t}\n\t// ------------------------------------------\n\t// ライブラリ\n\t// ------------------------------------------\n\t// Print\n\tprivate PrintWriter out = new PrintWriter(System.out);\n\t\n\t// Scanner\n\tprivate FastScanner scan = new FastScanner();\n\tint ni(){ return scan.nextInt();}\n\tint[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}\n\tint[][] ni(int y, int x){int[][] a = new int[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}\n\tlong nl(){return scan.nextLong();}\n\tlong[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}\n\tlong[][] nl(int y, int x){long[][] a = new long[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}\n\tString ns(){return scan.next();}\n\tString[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}\n\tString[][] ns(int y, int x){String[][] a = new String[y][x];\n\tfor(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.net.ConnectException;
import java.rmi.dgc.Lease;
import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Deque;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.NoSuchElementException;
import java.util.Objects;
import java.util.Set;
import java.util.Stack;
import java.util.TreeMap;
import java.util.TreeSet;
import static java.util.Comparator.*;
public class Main {
public static void main(String[] args) {
Main main = new Main();
main.solve();
main.out.close();
}
// ======================================================================
StringBuffer sb = new StringBuffer();
public void solve() {
long N = nl();
while(N > 0) {
sb.append((char)('a' + (N-1) % 26));
N = (N-1)/26;
}
out.println(sb.reverse().toString());
}
// ------------------------------------------
// ライブラリ
// ------------------------------------------
// Print
private PrintWriter out = new PrintWriter(System.out);
// Scanner
private FastScanner scan = new FastScanner();
int ni(){ return scan.nextInt();}
int[] ni(int n){int[] a = new int[n]; for(int i = 0; i < n; i++){a[i] = ni();} return a;}
int[][] ni(int y, int x){int[][] a = new int[y][x];
for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ni();}} return a;}
long nl(){return scan.nextLong();}
long[] nl(int n){long[] a = new long[n]; for(int i = 0; i < n; i++){a[i] = nl();} return a;}
long[][] nl(int y, int x){long[][] a = new long[y][x];
for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = nl();}} return a;}
String ns(){return scan.next();}
String[] ns(int n){String[] a = new String[n]; for(int i = 0; i < n; i++){a[i] = ns();} return a;}
String[][] ns(int y, int x){String[][] a = new String[y][x];
for(int i = 0; i < y; i++){for(int j = 0; j < x; j++){a[i][j] = ns();}} return a;}
}
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());}
}
|
[
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,
20,
41,
13,
20,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
14,
2,
13,
17,
30,
0,
13,
2,
13,
13,
14,
2,
2,
13,
17,
2,
13,
17,
0,
13,
17,
41,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
13,
0,
13,
17,
14,
2,
13,
17,
0,
13,
17,
0,
13,
17,
14,
13,
3,
30,
0,
13,
2,
13,
13,
14,
2,
13,
40,
17,
40,
13,
41,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
13,
3,
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,
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
],
[
252,
11
],
[
252,
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
],
[
29,
32
],
[
14,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
14,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
14,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
14,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
14,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
14,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
14,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
14,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
14,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
14,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
14,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
14,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
14,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
14,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
14,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
14,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
14,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
14,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
14,
113
],
[
113,
114
],
[
114,
115
],
[
113,
116
],
[
14,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
14,
121
],
[
121,
122
],
[
122,
123
],
[
121,
124
],
[
14,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
14,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
14,
133
],
[
133,
134
],
[
133,
135
],
[
14,
136
],
[
136,
137
],
[
136,
138
],
[
14,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
149,
151
],
[
146,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
157,
158
],
[
157,
159
],
[
152,
160
],
[
160,
161
],
[
160,
162
],
[
146,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
146,
168
],
[
168,
169
],
[
169,
170
],
[
168,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
146,
175
],
[
175,
176
],
[
175,
177
],
[
146,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
178,
182
],
[
182,
183
],
[
182,
184
],
[
178,
185
],
[
185,
186
],
[
185,
187
],
[
146,
188
],
[
188,
189
],
[
188,
190
],
[
142,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
194,
196
],
[
191,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
197,
202
],
[
202,
203
],
[
191,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
206,
208
],
[
191,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
212,
213
],
[
213,
214
],
[
212,
215
],
[
191,
216
],
[
14,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
221,
225
],
[
217,
226
],
[
226,
227
],
[
226,
228
],
[
217,
229
],
[
229,
230
],
[
230,
231
],
[
217,
232
],
[
233,
233
],
[
233,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
234,
239
],
[
239,
240
],
[
240,
241
],
[
239,
242
],
[
14,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
243,
248
],
[
12,
249
],
[
249,
250
],
[
0,
251
],
[
251,
252
],
[
251,
253
]
]
| [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n // 何匹目の犬であるか\n Long n = sc.nextLong();\n List<String> anStrings = new ArrayList<>();\n List<String> list = new ArrayList<>();\n list.add(\"z\");\n list.add(\"a\");\n list.add(\"b\");\n list.add(\"c\");\n list.add(\"d\");\n list.add(\"e\");\n list.add(\"f\");\n list.add(\"g\");\n list.add(\"h\");\n list.add(\"i\");\n list.add(\"j\");\n list.add(\"k\");\n list.add(\"l\");\n list.add(\"m\");\n list.add(\"n\");\n list.add(\"o\");\n list.add(\"p\");\n list.add(\"q\");\n list.add(\"r\");\n list.add(\"s\");\n list.add(\"t\");\n list.add(\"u\");\n list.add(\"v\");\n list.add(\"w\");\n list.add(\"x\");\n list.add(\"y\");\n int cnt = 0;\n boolean flg=false;\n while(true) {\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }\n for(int i=anStrings.size()-1;i>=0;i--) {\n System.out.print(anStrings.get(i));\n }\n System.out.println(\"\");\n }\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 // 何匹目の犬であるか\n Long n = sc.nextLong();\n List<String> anStrings = new ArrayList<>();\n List<String> list = new ArrayList<>();\n list.add(\"z\");\n list.add(\"a\");\n list.add(\"b\");\n list.add(\"c\");\n list.add(\"d\");\n list.add(\"e\");\n list.add(\"f\");\n list.add(\"g\");\n list.add(\"h\");\n list.add(\"i\");\n list.add(\"j\");\n list.add(\"k\");\n list.add(\"l\");\n list.add(\"m\");\n list.add(\"n\");\n list.add(\"o\");\n list.add(\"p\");\n list.add(\"q\");\n list.add(\"r\");\n list.add(\"s\");\n list.add(\"t\");\n list.add(\"u\");\n list.add(\"v\");\n list.add(\"w\");\n list.add(\"x\");\n list.add(\"y\");\n int cnt = 0;\n boolean flg=false;\n while(true) {\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }\n for(int i=anStrings.size()-1;i>=0;i--) {\n System.out.print(anStrings.get(i));\n }\n System.out.println(\"\");\n }\n \n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n // 何匹目の犬であるか\n Long n = sc.nextLong();\n List<String> anStrings = new ArrayList<>();\n List<String> list = new ArrayList<>();\n list.add(\"z\");\n list.add(\"a\");\n list.add(\"b\");\n list.add(\"c\");\n list.add(\"d\");\n list.add(\"e\");\n list.add(\"f\");\n list.add(\"g\");\n list.add(\"h\");\n list.add(\"i\");\n list.add(\"j\");\n list.add(\"k\");\n list.add(\"l\");\n list.add(\"m\");\n list.add(\"n\");\n list.add(\"o\");\n list.add(\"p\");\n list.add(\"q\");\n list.add(\"r\");\n list.add(\"s\");\n list.add(\"t\");\n list.add(\"u\");\n list.add(\"v\");\n list.add(\"w\");\n list.add(\"x\");\n list.add(\"y\");\n int cnt = 0;\n boolean flg=false;\n while(true) {\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }\n for(int i=anStrings.size()-1;i>=0;i--) {\n System.out.print(anStrings.get(i));\n }\n System.out.println(\"\");\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n // 何匹目の犬であるか\n Long n = sc.nextLong();\n List<String> anStrings = new ArrayList<>();\n List<String> list = new ArrayList<>();\n list.add(\"z\");\n list.add(\"a\");\n list.add(\"b\");\n list.add(\"c\");\n list.add(\"d\");\n list.add(\"e\");\n list.add(\"f\");\n list.add(\"g\");\n list.add(\"h\");\n list.add(\"i\");\n list.add(\"j\");\n list.add(\"k\");\n list.add(\"l\");\n list.add(\"m\");\n list.add(\"n\");\n list.add(\"o\");\n list.add(\"p\");\n list.add(\"q\");\n list.add(\"r\");\n list.add(\"s\");\n list.add(\"t\");\n list.add(\"u\");\n list.add(\"v\");\n list.add(\"w\");\n list.add(\"x\");\n list.add(\"y\");\n int cnt = 0;\n boolean flg=false;\n while(true) {\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }\n for(int i=anStrings.size()-1;i>=0;i--) {\n System.out.print(anStrings.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",
"List<String> anStrings = new ArrayList<>();",
"anStrings",
"new ArrayList<>()",
"List<String> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"list.add(\"z\")",
"list.add",
"list",
"\"z\"",
"list.add(\"a\")",
"list.add",
"list",
"\"a\"",
"list.add(\"b\")",
"list.add",
"list",
"\"b\"",
"list.add(\"c\")",
"list.add",
"list",
"\"c\"",
"list.add(\"d\")",
"list.add",
"list",
"\"d\"",
"list.add(\"e\")",
"list.add",
"list",
"\"e\"",
"list.add(\"f\")",
"list.add",
"list",
"\"f\"",
"list.add(\"g\")",
"list.add",
"list",
"\"g\"",
"list.add(\"h\")",
"list.add",
"list",
"\"h\"",
"list.add(\"i\")",
"list.add",
"list",
"\"i\"",
"list.add(\"j\")",
"list.add",
"list",
"\"j\"",
"list.add(\"k\")",
"list.add",
"list",
"\"k\"",
"list.add(\"l\")",
"list.add",
"list",
"\"l\"",
"list.add(\"m\")",
"list.add",
"list",
"\"m\"",
"list.add(\"n\")",
"list.add",
"list",
"\"n\"",
"list.add(\"o\")",
"list.add",
"list",
"\"o\"",
"list.add(\"p\")",
"list.add",
"list",
"\"p\"",
"list.add(\"q\")",
"list.add",
"list",
"\"q\"",
"list.add(\"r\")",
"list.add",
"list",
"\"r\"",
"list.add(\"s\")",
"list.add",
"list",
"\"s\"",
"list.add(\"t\")",
"list.add",
"list",
"\"t\"",
"list.add(\"u\")",
"list.add",
"list",
"\"u\"",
"list.add(\"v\")",
"list.add",
"list",
"\"v\"",
"list.add(\"w\")",
"list.add",
"list",
"\"w\"",
"list.add(\"x\")",
"list.add",
"list",
"\"x\"",
"list.add(\"y\")",
"list.add",
"list",
"\"y\"",
"int cnt = 0;",
"cnt",
"0",
"boolean flg=false;",
"flg",
"false",
"while(true) {\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }",
"true",
"{\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }",
"if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }",
"n>=26",
"n",
"26",
"{\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }",
"n = n - cnt",
"n",
"n - cnt",
"n",
"cnt",
"if(n==25 || n==26) flg=true;",
"n==25 || n==26",
"n==25",
"n",
"25",
"n==26",
"n",
"26",
"flg=true",
"flg",
"true",
"int num = (int) (n % 26);",
"num",
"(int) (n % 26)",
"n",
"26",
"anStrings.add(list.get(num))",
"anStrings.add",
"anStrings",
"list.get(num)",
"list.get",
"list",
"num",
"n /= 26",
"n",
"26",
"if(num==0)\n cnt=1;\n else\n cnt=0;",
"num==0",
"num",
"0",
"cnt=1",
"cnt",
"1",
"cnt=0",
"cnt",
"0",
"if(flg) break;",
"flg",
"break;",
"{\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }",
"n = n - cnt",
"n",
"n - cnt",
"n",
"cnt",
"if(n==-1) n++;",
"n==-1",
"n",
"-1",
"1",
"n++",
"n",
"int num = (int) (n % 26);",
"num",
"(int) (n % 26)",
"n",
"26",
"anStrings.add(list.get(num))",
"anStrings.add",
"anStrings",
"list.get(num)",
"list.get",
"list",
"num",
"break;",
"for(int i=anStrings.size()-1;i>=0;i--) {\n System.out.print(anStrings.get(i));\n }",
"int i=anStrings.size()-1;",
"int i=anStrings.size()-1;",
"i",
"anStrings.size()-1",
"anStrings.size()",
"anStrings.size",
"anStrings",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(anStrings.get(i));\n }",
"{\n System.out.print(anStrings.get(i));\n }",
"System.out.print(anStrings.get(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"anStrings.get(i)",
"anStrings.get",
"anStrings",
"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 // 何匹目の犬であるか\n Long n = sc.nextLong();\n List<String> anStrings = new ArrayList<>();\n List<String> list = new ArrayList<>();\n list.add(\"z\");\n list.add(\"a\");\n list.add(\"b\");\n list.add(\"c\");\n list.add(\"d\");\n list.add(\"e\");\n list.add(\"f\");\n list.add(\"g\");\n list.add(\"h\");\n list.add(\"i\");\n list.add(\"j\");\n list.add(\"k\");\n list.add(\"l\");\n list.add(\"m\");\n list.add(\"n\");\n list.add(\"o\");\n list.add(\"p\");\n list.add(\"q\");\n list.add(\"r\");\n list.add(\"s\");\n list.add(\"t\");\n list.add(\"u\");\n list.add(\"v\");\n list.add(\"w\");\n list.add(\"x\");\n list.add(\"y\");\n int cnt = 0;\n boolean flg=false;\n while(true) {\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }\n for(int i=anStrings.size()-1;i>=0;i--) {\n System.out.print(anStrings.get(i));\n }\n System.out.println(\"\");\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 List<String> anStrings = new ArrayList<>();\n List<String> list = new ArrayList<>();\n list.add(\"z\");\n list.add(\"a\");\n list.add(\"b\");\n list.add(\"c\");\n list.add(\"d\");\n list.add(\"e\");\n list.add(\"f\");\n list.add(\"g\");\n list.add(\"h\");\n list.add(\"i\");\n list.add(\"j\");\n list.add(\"k\");\n list.add(\"l\");\n list.add(\"m\");\n list.add(\"n\");\n list.add(\"o\");\n list.add(\"p\");\n list.add(\"q\");\n list.add(\"r\");\n list.add(\"s\");\n list.add(\"t\");\n list.add(\"u\");\n list.add(\"v\");\n list.add(\"w\");\n list.add(\"x\");\n list.add(\"y\");\n int cnt = 0;\n boolean flg=false;\n while(true) {\n if(n>=26) {\n n = n - cnt;\n if(n==25 || n==26) flg=true;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n n /= 26;\n if(num==0)\n cnt=1;\n else\n cnt=0;\n if(flg) break;\n }\n else {\n n = n - cnt;\n if(n==-1) n++;\n int num = (int) (n % 26);\n anStrings.add(list.get(num));\n break;\n }\n }\n for(int i=anStrings.size()-1;i>=0;i--) {\n System.out.print(anStrings.get(i));\n }\n System.out.println(\"\");\n }\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();
List<String> anStrings = new ArrayList<>();
List<String> list = new ArrayList<>();
list.add("z");
list.add("a");
list.add("b");
list.add("c");
list.add("d");
list.add("e");
list.add("f");
list.add("g");
list.add("h");
list.add("i");
list.add("j");
list.add("k");
list.add("l");
list.add("m");
list.add("n");
list.add("o");
list.add("p");
list.add("q");
list.add("r");
list.add("s");
list.add("t");
list.add("u");
list.add("v");
list.add("w");
list.add("x");
list.add("y");
int cnt = 0;
boolean flg=false;
while(true) {
if(n>=26) {
n = n - cnt;
if(n==25 || n==26) flg=true;
int num = (int) (n % 26);
anStrings.add(list.get(num));
n /= 26;
if(num==0)
cnt=1;
else
cnt=0;
if(flg) break;
}
else {
n = n - cnt;
if(n==-1) n++;
int num = (int) (n % 26);
anStrings.add(list.get(num));
break;
}
}
for(int i=anStrings.size()-1;i>=0;i--) {
System.out.print(anStrings.get(i));
}
System.out.println("");
}
} |
[
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,
41,
13,
17,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
42,
2,
17,
13,
30,
0,
13,
2,
13,
17,
0,
13,
2,
18,
13,
13,
13,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
41,
13,
20,
4,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
104,
8
],
[
104,
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
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
31,
33
],
[
31,
34
],
[
31,
35
],
[
31,
36
],
[
31,
37
],
[
31,
38
],
[
31,
39
],
[
31,
40
],
[
31,
41
],
[
31,
42
],
[
31,
43
],
[
31,
44
],
[
31,
45
],
[
31,
46
],
[
31,
47
],
[
31,
48
],
[
31,
49
],
[
31,
50
],
[
31,
51
],
[
31,
52
],
[
31,
53
],
[
31,
54
],
[
31,
55
],
[
31,
56
],
[
31,
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
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
62,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
62,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
11,
88
],
[
88,
89
],
[
88,
90
],
[
11,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
11,
95
],
[
95,
96
],
[
96,
97
],
[
11,
98
],
[
98,
99
],
[
99,
100
],
[
9,
101
],
[
101,
102
],
[
0,
103
],
[
103,
104
],
[
103,
105
]
]
| [
"import java.io.PrintWriter;\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 = Long.parseLong(sc.next());\n String name = \"\";\n long n = 0;\n String[] alphabet = { \"z\", \"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\" };\n\n while (0 < N) {\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(name);\n\n sc.close();\n out.flush();\n }\n}",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"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 = Long.parseLong(sc.next());\n String name = \"\";\n long n = 0;\n String[] alphabet = { \"z\", \"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\" };\n\n while (0 < N) {\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(name);\n\n sc.close();\n out.flush();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = Long.parseLong(sc.next());\n String name = \"\";\n long n = 0;\n String[] alphabet = { \"z\", \"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\" };\n\n while (0 < N) {\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(name);\n\n sc.close();\n out.flush();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = Long.parseLong(sc.next());\n String name = \"\";\n long n = 0;\n String[] alphabet = { \"z\", \"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\" };\n\n while (0 < N) {\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(name);\n\n sc.close();\n out.flush();\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",
"String name = \"\";",
"name",
"\"\"",
"long n = 0;",
"n",
"0",
"String[] alphabet = { \"z\", \"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\" };",
"alphabet",
"{ \"z\", \"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\"",
"while (0 < N) {\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }",
"0 < N",
"0",
"N",
"{\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }",
"n = N % 26",
"n",
"N % 26",
"N",
"26",
"name = alphabet[(int) (n)] + name",
"name",
"alphabet[(int) (n)] + name",
"alphabet[(int) (n)]",
"alphabet",
"(int) (n)",
"name",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"if (n == 0) {\n N -= 1;\n }",
"n == 0",
"n",
"0",
"{\n N -= 1;\n }",
"N -= 1",
"N",
"1",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"out.println(name)",
"out.println",
"out",
"name",
"sc.close()",
"sc.close",
"sc",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = Long.parseLong(sc.next());\n String name = \"\";\n long n = 0;\n String[] alphabet = { \"z\", \"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\" };\n\n while (0 < N) {\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(name);\n\n sc.close();\n out.flush();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = Long.parseLong(sc.next());\n String name = \"\";\n long n = 0;\n String[] alphabet = { \"z\", \"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\" };\n\n while (0 < N) {\n n = N % 26;\n name = alphabet[(int) (n)] + name;\n N = N / 26;\n if (n == 0) {\n N -= 1;\n }\n }\n\n PrintWriter out = new PrintWriter(System.out);\n out.println(name);\n\n sc.close();\n out.flush();\n }\n}",
"Main"
]
| import java.io.PrintWriter;
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());
String name = "";
long n = 0;
String[] alphabet = { "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" };
while (0 < N) {
n = N % 26;
name = alphabet[(int) (n)] + name;
N = N / 26;
if (n == 0) {
N -= 1;
}
}
PrintWriter out = new PrintWriter(System.out);
out.println(name);
sc.close();
out.flush();
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
17,
42,
2,
4,
18,
13,
17,
30,
0,
13,
4,
18,
13,
9,
29,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
18,
13,
13,
29,
13,
12,
13,
30,
41,
13,
4,
18,
4,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
18,
13,
13,
29,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
12,
13,
30,
14,
2,
13,
17,
29,
14,
2,
13,
17,
40,
13,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
4,
18,
13,
4,
18,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
4,
13,
41,
13,
4,
13,
4,
13,
0,
13,
20,
41,
13,
17,
4,
13,
13,
13,
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,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
239,
8
],
[
239,
9
],
[
9,
10
],
[
239,
11
],
[
11,
12
],
[
239,
13
],
[
13,
14
],
[
239,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
22,
26
],
[
21,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
27,
33
],
[
17,
34
],
[
34,
35
],
[
239,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
36,
44
],
[
44,
45
],
[
239,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
46,
54
],
[
54,
55
],
[
239,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
61,
65
],
[
58,
66
],
[
66,
67
],
[
66,
68
],
[
69,
70
],
[
69,
71
],
[
58,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
72,
82
],
[
82,
83
],
[
83,
84
],
[
72,
85
],
[
86,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
93,
95
],
[
58,
96
],
[
96,
97
],
[
239,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
103,
107
],
[
100,
108
],
[
108,
109
],
[
108,
110
],
[
111,
112
],
[
111,
113
],
[
100,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
114,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
114,
124
],
[
124,
125
],
[
125,
126
],
[
114,
127
],
[
128,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
100,
138
],
[
138,
139
],
[
239,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
146,
148
],
[
239,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
151,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
157,
161
],
[
161,
162
],
[
151,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
165,
167
],
[
151,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
170,
172
],
[
151,
173
],
[
173,
174
],
[
174,
175
],
[
173,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
151,
180
],
[
180,
181
],
[
180,
182
],
[
180,
183
],
[
149,
184
],
[
184,
185
],
[
149,
186
],
[
186,
187
],
[
239,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
190,
199
],
[
199,
200
],
[
199,
201
],
[
190,
202
],
[
202,
203
],
[
202,
204
],
[
190,
205
],
[
205,
206
],
[
205,
207
],
[
205,
208
],
[
190,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
213,
217
],
[
209,
218
],
[
218,
219
],
[
218,
220
],
[
209,
221
],
[
221,
222
],
[
222,
223
],
[
209,
224
],
[
225,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
226,
229
],
[
229,
230
],
[
230,
231
],
[
229,
232
],
[
190,
233
],
[
233,
234
],
[
234,
235
],
[
188,
236
],
[
236,
237
],
[
0,
238
],
[
238,
239
],
[
238,
240
]
]
| [
"import java.util.*;\nimport java.io.*;\n\n public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n static List<Character> l;\n static void rec(long n,String s){\n \tif(n<=0l) return;\n \tif(n>0)n--;\n \tlong k=n/26l;int r=(int)(n%26l);\n \t\n \t l.add(s.charAt(r));\n \trec(k,s);\n }\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tlong n=long_v(read());\n\t \t\t \tl=new ArrayList<>();\n\t \t\t \tString s=\"abcdefghijklmnopqrstuvwxyz\";\n\t \t\t \trec(n,s);\n\t \t\t \tfor(int i=l.size()-1;i>=0;i--){\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}\n\t \t\t \t\n\t \t\t \t//out.write(res+\"\");\n \tout.flush();\n\t \t\t \n\t}\n}\n\t ",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n static List<Character> l;\n static void rec(long n,String s){\n \tif(n<=0l) return;\n \tif(n>0)n--;\n \tlong k=n/26l;int r=(int)(n%26l);\n \t\n \t l.add(s.charAt(r));\n \trec(k,s);\n }\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tlong n=long_v(read());\n\t \t\t \tl=new ArrayList<>();\n\t \t\t \tString s=\"abcdefghijklmnopqrstuvwxyz\";\n\t \t\t \trec(n,s);\n\t \t\t \tfor(int i=l.size()-1;i>=0;i--){\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}\n\t \t\t \t\n\t \t\t \t//out.write(res+\"\");\n \tout.flush();\n\t \t\t \n\t}\n}",
"Main",
"// taking inputs\nstatic BufferedReader s1;",
"s1",
"static BufferedWriter out;",
"out",
"//......................................@uthor_Alx..............................................\n static List<Character> l;",
"l",
"static String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}",
"read",
"{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}",
"String line=\"\";",
"line",
"\"\"",
"while(line.length()==0){line=s1.readLine();continue;}",
"line.length()==0",
"line.length()",
"line.length",
"line",
"0",
"{line=s1.readLine();continue;}",
"line=s1.readLine()",
"line",
"s1.readLine()",
"s1.readLine",
"s1",
"continue;",
"return line;",
"line",
"static int int_v (String s1){return Integer.parseInt(s1);}",
"int_v",
"{return Integer.parseInt(s1);}",
"return Integer.parseInt(s1);",
"Integer.parseInt(s1)",
"Integer.parseInt",
"Integer",
"s1",
"String s1",
"s1",
"static long long_v(String s1){return Long.parseLong(s1);}",
"long_v",
"{return Long.parseLong(s1);}",
"return Long.parseLong(s1);",
"Long.parseLong(s1)",
"Long.parseLong",
"Long",
"s1",
"String s1",
"s1",
"static int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}",
"int_arr",
"{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}",
"String[] a=read().split(\" \");",
"a",
"read().split(\" \")",
"read().split",
"read()",
"read",
"\" \"",
"int[] b=new int[a.length];",
"b",
"new int[a.length]",
"a.length",
"a",
"a.length",
"for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{b[i]=int_v(a[i]);}",
"{b[i]=int_v(a[i]);}",
"b[i]=int_v(a[i])",
"b[i]",
"b",
"i",
"int_v(a[i])",
"int_v",
"a[i]",
"a",
"i",
"return b;",
"b",
"static long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}",
"long_arr",
"{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}",
"String[] a=read().split(\" \");",
"a",
"read().split(\" \")",
"read().split",
"read()",
"read",
"\" \"",
"long[] b=new long[a.length];",
"b",
"new long[a.length]",
"a.length",
"a",
"a.length",
"for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<a.length",
"i",
"a.length",
"a",
"a.length",
"i++",
"i++",
"i",
"{b[i]=long_v(a[i]);}",
"{b[i]=long_v(a[i]);}",
"b[i]=long_v(a[i])",
"b[i]",
"b",
"i",
"long_v(a[i])",
"long_v",
"a[i]",
"a",
"i",
"return b;",
"b",
"static void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}",
"assign",
"{s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}",
"s1=new BufferedReader(new InputStreamReader(System.in))",
"s1",
"new BufferedReader(new InputStreamReader(System.in))",
"out=new BufferedWriter(new OutputStreamWriter(System.out))",
"out",
"new BufferedWriter(new OutputStreamWriter(System.out))",
"static void rec(long n,String s){\n \tif(n<=0l) return;\n \tif(n>0)n--;\n \tlong k=n/26l;int r=(int)(n%26l);\n \t\n \t l.add(s.charAt(r));\n \trec(k,s);\n }",
"rec",
"{\n \tif(n<=0l) return;\n \tif(n>0)n--;\n \tlong k=n/26l;int r=(int)(n%26l);\n \t\n \t l.add(s.charAt(r));\n \trec(k,s);\n }",
"if(n<=0l) return;",
"n<=0l",
"n",
"0l",
"return;",
"if(n>0)n--;",
"n>0",
"n",
"0",
"n--",
"n",
"long k=n/26l;",
"k",
"n/26l",
"n",
"26l",
"int r=(int)(n%26l);",
"r",
"(int)(n%26l)",
"n",
"26l",
"l.add(s.charAt(r))",
"l.add",
"l",
"s.charAt(r)",
"s.charAt",
"s",
"r",
"rec(k,s)",
"rec",
"k",
"s",
"long n",
"n",
"String s",
"s",
"public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tlong n=long_v(read());\n\t \t\t \tl=new ArrayList<>();\n\t \t\t \tString s=\"abcdefghijklmnopqrstuvwxyz\";\n\t \t\t \trec(n,s);\n\t \t\t \tfor(int i=l.size()-1;i>=0;i--){\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}\n\t \t\t \t\n\t \t\t \t//out.write(res+\"\");\n \tout.flush();\n\t \t\t \n\t}",
"main",
"{\n\t \t\t assign();\n\t \t\t \tlong n=long_v(read());\n\t \t\t \tl=new ArrayList<>();\n\t \t\t \tString s=\"abcdefghijklmnopqrstuvwxyz\";\n\t \t\t \trec(n,s);\n\t \t\t \tfor(int i=l.size()-1;i>=0;i--){\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}\n\t \t\t \t\n\t \t\t \t//out.write(res+\"\");\n \tout.flush();\n\t \t\t \n\t}",
"assign()",
"assign",
"long n=long_v(read());",
"n",
"long_v(read())",
"long_v",
"read()",
"read",
"l=new ArrayList<>()",
"l",
"new ArrayList<>()",
"String s=\"abcdefghijklmnopqrstuvwxyz\";",
"s",
"\"abcdefghijklmnopqrstuvwxyz\"",
"rec(n,s)",
"rec",
"n",
"s",
"for(int i=l.size()-1;i>=0;i--){\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}",
"int i=l.size()-1;",
"int i=l.size()-1;",
"i",
"l.size()-1",
"l.size()",
"l.size",
"l",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}",
"{\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}",
"out.write(l.get(i))",
"out.write",
"out",
"l.get(i)",
"l.get",
"l",
"i",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n static List<Character> l;\n static void rec(long n,String s){\n \tif(n<=0l) return;\n \tif(n>0)n--;\n \tlong k=n/26l;int r=(int)(n%26l);\n \t\n \t l.add(s.charAt(r));\n \trec(k,s);\n }\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tlong n=long_v(read());\n\t \t\t \tl=new ArrayList<>();\n\t \t\t \tString s=\"abcdefghijklmnopqrstuvwxyz\";\n\t \t\t \trec(n,s);\n\t \t\t \tfor(int i=l.size()-1;i>=0;i--){\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}\n\t \t\t \t\n\t \t\t \t//out.write(res+\"\");\n \tout.flush();\n\t \t\t \n\t}\n}",
"public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n static List<Character> l;\n static void rec(long n,String s){\n \tif(n<=0l) return;\n \tif(n>0)n--;\n \tlong k=n/26l;int r=(int)(n%26l);\n \t\n \t l.add(s.charAt(r));\n \trec(k,s);\n }\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t \tlong n=long_v(read());\n\t \t\t \tl=new ArrayList<>();\n\t \t\t \tString s=\"abcdefghijklmnopqrstuvwxyz\";\n\t \t\t \trec(n,s);\n\t \t\t \tfor(int i=l.size()-1;i>=0;i--){\n\t \t\t \t\tout.write(l.get(i));\n\t \t\t \t}\n\t \t\t \t\n\t \t\t \t//out.write(res+\"\");\n \tout.flush();\n\t \t\t \n\t}\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
// taking inputs
static BufferedReader s1;
static BufferedWriter out;
static String read() throws IOException{String line="";while(line.length()==0){line=s1.readLine();continue;}return line;}
static int int_v (String s1){return Integer.parseInt(s1);}
static long long_v(String s1){return Long.parseLong(s1);}
static int[] int_arr() throws IOException{String[] a=read().split(" ");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}
static long[] long_arr() throws IOException{String[] a=read().split(" ");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}
static void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}
//......................................@uthor_Alx..............................................
static List<Character> l;
static void rec(long n,String s){
if(n<=0l) return;
if(n>0)n--;
long k=n/26l;int r=(int)(n%26l);
l.add(s.charAt(r));
rec(k,s);
}
public static void main(String[] args) throws IOException{
assign();
long n=long_v(read());
l=new ArrayList<>();
String s="abcdefghijklmnopqrstuvwxyz";
rec(n,s);
for(int i=l.size()-1;i>=0;i--){
out.write(l.get(i));
}
//out.write(res+"");
out.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
2,
4,
13,
17,
41,
13,
20,
17,
41,
13,
17,
11,
1,
2,
13,
17,
1,
0,
13,
2,
2,
13,
17,
17,
30,
30,
0,
18,
13,
13,
2,
17,
2,
13,
17,
40,
13,
0,
18,
13,
13,
2,
17,
2,
13,
17,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
2,
18,
13,
13,
17,
13,
4,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
13,
18,
13,
13,
30,
29,
13,
29,
40,
17,
23,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
14,
2,
2,
13,
17,
2,
13,
18,
13,
13,
30,
0,
13,
4,
13,
0,
13,
17,
29,
18,
13,
40,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
20,
30,
29,
4,
18,
4,
18,
13,
17,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
29,
17,
30,
41,
13,
4,
13,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
13,
4,
18,
18,
13,
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
],
[
591,
14
],
[
591,
15
],
[
15,
16
],
[
591,
17
],
[
17,
18
],
[
17,
19
],
[
591,
20
],
[
20,
21
],
[
591,
22
],
[
22,
23
],
[
591,
24
],
[
24,
25
],
[
591,
26
],
[
26,
27
],
[
591,
28
],
[
28,
29
],
[
591,
30
],
[
30,
31
],
[
591,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
34,
48
],
[
48,
49
],
[
48,
50
],
[
34,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
65,
75
],
[
75,
76
],
[
34,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
34,
86
],
[
86,
87
],
[
86,
88
],
[
89,
90
],
[
89,
91
],
[
34,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
92,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
99,
101
],
[
92,
102
],
[
102,
103
],
[
103,
104
],
[
92,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
111,
113
],
[
114,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
114,
119
],
[
34,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
32,
126
],
[
126,
127
],
[
591,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
131,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
138,
140
],
[
131,
141
],
[
141,
142
],
[
142,
143
],
[
131,
144
],
[
145,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
150,
152
],
[
146,
153
],
[
153,
154
],
[
154,
155
],
[
130,
156
],
[
156,
157
],
[
157,
158
],
[
128,
159
],
[
159,
160
],
[
128,
161
],
[
161,
162
],
[
591,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
168,
170
],
[
165,
171
],
[
171,
172
],
[
172,
173
],
[
171,
174
],
[
165,
175
],
[
175,
176
],
[
163,
177
],
[
177,
178
],
[
591,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
185,
186
],
[
185,
187
],
[
181,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
188,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
195,
197
],
[
188,
198
],
[
198,
199
],
[
199,
200
],
[
188,
201
],
[
202,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
203,
207
],
[
207,
208
],
[
207,
209
],
[
181,
210
],
[
210,
211
],
[
179,
212
],
[
212,
213
],
[
591,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
220,
221
],
[
221,
222
],
[
216,
223
],
[
223,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
223,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
230,
232
],
[
223,
233
],
[
233,
234
],
[
234,
235
],
[
223,
236
],
[
237,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
243,
244
],
[
242,
245
],
[
216,
246
],
[
246,
247
],
[
214,
248
],
[
248,
249
],
[
591,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
255,
257
],
[
254,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
260,
262
],
[
253,
263
],
[
263,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
263,
268
],
[
268,
269
],
[
268,
270
],
[
252,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
591,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
284,
286
],
[
286,
287
],
[
286,
288
],
[
279,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
289,
294
],
[
294,
295
],
[
294,
296
],
[
278,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
591,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
306,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
312,
314
],
[
305,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
315,
320
],
[
320,
321
],
[
320,
322
],
[
304,
323
],
[
323,
324
],
[
324,
325
],
[
324,
326
],
[
326,
327
],
[
591,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
334,
338
],
[
338,
339
],
[
331,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
342,
347
],
[
591,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
354,
358
],
[
358,
359
],
[
351,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
360,
365
],
[
365,
366
],
[
365,
367
],
[
368,
369
],
[
368,
370
],
[
360,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
371,
376
],
[
376,
377
],
[
376,
378
],
[
378,
379
],
[
378,
380
],
[
371,
381
],
[
381,
382
],
[
382,
383
],
[
371,
384
],
[
385,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
386,
390
],
[
390,
391
],
[
391,
392
],
[
390,
393
],
[
393,
394
],
[
393,
395
],
[
360,
396
],
[
396,
397
],
[
591,
398
],
[
398,
399
],
[
398,
400
],
[
400,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
404,
408
],
[
408,
409
],
[
401,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
413,
414
],
[
410,
415
],
[
415,
416
],
[
415,
417
],
[
418,
419
],
[
418,
420
],
[
410,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
421,
426
],
[
426,
427
],
[
426,
428
],
[
428,
429
],
[
428,
430
],
[
421,
431
],
[
431,
432
],
[
432,
433
],
[
421,
434
],
[
435,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
437,
439
],
[
436,
440
],
[
440,
441
],
[
441,
442
],
[
440,
443
],
[
443,
444
],
[
443,
445
],
[
410,
446
],
[
446,
447
],
[
591,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
454,
455
],
[
455,
456
],
[
456,
457
],
[
454,
458
],
[
458,
459
],
[
451,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
463,
464
],
[
460,
465
],
[
465,
466
],
[
465,
467
],
[
468,
469
],
[
468,
470
],
[
460,
471
],
[
471,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
471,
476
],
[
476,
477
],
[
476,
478
],
[
478,
479
],
[
478,
480
],
[
471,
481
],
[
481,
482
],
[
482,
483
],
[
471,
484
],
[
485,
485
],
[
485,
486
],
[
486,
487
],
[
487,
488
],
[
487,
489
],
[
486,
490
],
[
490,
491
],
[
491,
492
],
[
490,
493
],
[
493,
494
],
[
493,
495
],
[
460,
496
],
[
496,
497
],
[
591,
498
],
[
498,
499
],
[
498,
500
],
[
500,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
505,
506
],
[
506,
507
],
[
504,
508
],
[
508,
509
],
[
501,
510
],
[
510,
511
],
[
511,
512
],
[
511,
513
],
[
513,
514
],
[
510,
515
],
[
515,
516
],
[
515,
517
],
[
518,
519
],
[
518,
520
],
[
510,
521
],
[
521,
522
],
[
522,
523
],
[
523,
524
],
[
523,
525
],
[
521,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
528,
530
],
[
521,
531
],
[
531,
532
],
[
532,
533
],
[
521,
534
],
[
535,
535
],
[
535,
536
],
[
536,
537
],
[
537,
538
],
[
537,
539
],
[
536,
540
],
[
540,
541
],
[
541,
542
],
[
540,
543
],
[
543,
544
],
[
543,
545
],
[
510,
546
],
[
546,
547
],
[
591,
548
],
[
548,
549
],
[
548,
550
],
[
550,
551
],
[
551,
552
],
[
552,
553
],
[
553,
554
],
[
553,
555
],
[
551,
556
],
[
548,
557
],
[
557,
558
],
[
591,
559
],
[
559,
560
],
[
559,
561
],
[
561,
562
],
[
562,
563
],
[
563,
564
],
[
564,
565
],
[
564,
566
],
[
591,
567
],
[
567,
568
],
[
567,
569
],
[
569,
570
],
[
570,
571
],
[
570,
572
],
[
572,
573
],
[
573,
574
],
[
574,
575
],
[
574,
576
],
[
572,
577
],
[
567,
578
],
[
578,
579
],
[
591,
580
],
[
580,
581
],
[
580,
582
],
[
582,
583
],
[
583,
584
],
[
583,
585
],
[
585,
586
],
[
586,
587
],
[
587,
588
],
[
587,
589
],
[
0,
590
],
[
590,
591
],
[
590,
592
]
]
| [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\n\npublic class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tlong N = readLong()-1;\n\t\tchar[] cs = new char[1000];\n\t\tint i=0;\n\t\tfor(;N>=26;N=N/26-1) {\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}\n\t\tcs[i] = (char)('a'+(N%26));\n\t\tchar[] n = new char[i+1];\n\t\tfor(int j=0;j<n.length;j++) {\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}\n\t\tprint(String.copyValueOf(n));\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tlong N = readLong()-1;\n\t\tchar[] cs = new char[1000];\n\t\tint i=0;\n\t\tfor(;N>=26;N=N/26-1) {\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}\n\t\tcs[i] = (char)('a'+(N%26));\n\t\tchar[] n = new char[i+1];\n\t\tfor(int j=0;j<n.length;j++) {\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}\n\t\tprint(String.copyValueOf(n));\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"Main",
"static BufferedReader reader;",
"reader",
"final static boolean MODE_DEBUG = false;",
"MODE_DEBUG",
"false",
"static int[] read_line_int;",
"read_line_int",
"static int read_line_int_ptr;",
"read_line_int_ptr",
"static long[] read_line_long;",
"read_line_long",
"static int read_line_long_ptr;",
"read_line_long_ptr",
"static String[] read_line;",
"read_line",
"static int read_line_ptr;",
"read_line_ptr",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tlong N = readLong()-1;\n\t\tchar[] cs = new char[1000];\n\t\tint i=0;\n\t\tfor(;N>=26;N=N/26-1) {\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}\n\t\tcs[i] = (char)('a'+(N%26));\n\t\tchar[] n = new char[i+1];\n\t\tfor(int j=0;j<n.length;j++) {\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}\n\t\tprint(String.copyValueOf(n));\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tlong N = readLong()-1;\n\t\tchar[] cs = new char[1000];\n\t\tint i=0;\n\t\tfor(;N>=26;N=N/26-1) {\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}\n\t\tcs[i] = (char)('a'+(N%26));\n\t\tchar[] n = new char[i+1];\n\t\tfor(int j=0;j<n.length;j++) {\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}\n\t\tprint(String.copyValueOf(n));\n\t}",
"reader = new BufferedReader(new InputStreamReader(System.in))",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"long N = readLong()-1;",
"N",
"readLong()-1",
"readLong()",
"readLong",
"1",
"char[] cs = new char[1000];",
"cs",
"new char[1000]",
"1000",
"int i=0;",
"i",
"0",
"for(;N>=26;N=N/26-1) {\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}",
";",
"N>=26",
"N",
"26",
"N=N/26-1",
"N=N/26-1",
"N",
"N/26-1",
"N/26",
"N",
"26",
"1",
"{\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}",
"{\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}",
"cs[i] = (char)('a'+(N%26))",
"cs[i]",
"cs",
"i",
"(char)('a'+(N%26))",
"'a'",
"(N%26)",
"N",
"26",
"i++",
"i",
"cs[i] = (char)('a'+(N%26))",
"cs[i]",
"cs",
"i",
"(char)('a'+(N%26))",
"'a'",
"(N%26)",
"N",
"26",
"char[] n = new char[i+1];",
"n",
"new char[i+1]",
"i+1",
"i",
"1",
"for(int j=0;j<n.length;j++) {\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}",
"int j=0;",
"int j=0;",
"j",
"0",
"j<n.length",
"j",
"n.length",
"n",
"n.length",
"j++",
"j++",
"j",
"{\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}",
"{\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}",
"n[j]=cs[n.length-1-j]",
"n[j]",
"n",
"j",
"cs[n.length-1-j]",
"cs",
"n.length-1-j",
"n.length-1-j",
"n.length",
"n",
"n.length",
"1",
"j",
"print(String.copyValueOf(n))",
"print",
"String.copyValueOf(n)",
"String.copyValueOf",
"String",
"n",
"String[] args",
"args",
"private static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"arraySearch",
"{\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}",
"for(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<heystack.length",
"i",
"heystack.length",
"heystack",
"heystack.length",
"i++",
"i++",
"i",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}",
"if(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}",
"needle.equals(heystack[i])",
"needle.equals",
"needle",
"heystack[i]",
"heystack",
"i",
"{\n\t\t\t\treturn i;\n\t\t\t}",
"return i;",
"i",
"return -1;",
"-1",
"1",
"T needle",
"needle",
"T[] heystack",
"heystack",
"private static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"sort",
"{\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}",
"int[] copy = array_copy(base);",
"copy",
"array_copy(base)",
"array_copy",
"base",
"Arrays.sort(copy)",
"Arrays.sort",
"Arrays",
"copy",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"array_copy",
"{\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}",
"int[] copy = new int[base.length];",
"copy",
"new int[base.length]",
"base.length",
"base",
"base.length",
"for(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<base.length",
"i",
"base.length",
"base",
"base.length",
"i++",
"i++",
"i",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"{\n\t\t\tcopy[i] = base[i];\n\t\t}",
"copy[i] = base[i]",
"copy[i]",
"copy",
"i",
"base[i]",
"base",
"i",
"return copy;",
"copy",
"int[] base",
"base",
"private static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"asArray",
"{\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}",
"int[] intlist = new int[ints.size()];",
"intlist",
"new int[ints.size()]",
"ints.size()",
"ints.size",
"ints",
"for(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<intlist.length",
"i",
"intlist.length",
"intlist",
"intlist.length",
"i++",
"i++",
"i",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}",
"intlist[i] = ints.get(i)",
"intlist[i]",
"intlist",
"i",
"ints.get(i)",
"ints.get",
"ints",
"i",
"return intlist;",
"intlist",
"ArrayList<Integer> ints",
"ints",
"private static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}",
"readInt",
"{\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}",
"if(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}",
"read_line_int==null||read_line_int_ptr==read_line_int.length",
"read_line_int==null",
"read_line_int",
"null",
"read_line_int_ptr==read_line_int.length",
"read_line_int_ptr",
"read_line_int.length",
"read_line_int",
"read_line_int.length",
"{\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}",
"read_line_int = readLineInt()",
"read_line_int",
"readLineInt()",
"readLineInt",
"read_line_int_ptr=0",
"read_line_int_ptr",
"0",
"return read_line_int[read_line_int_ptr++];",
"read_line_int[read_line_int_ptr++]",
"read_line_int",
"read_line_int_ptr++",
"read_line_int_ptr",
"private static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}",
"readLong",
"{\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}",
"if(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}",
"read_line_long==null||read_line_long_ptr==read_line_long.length",
"read_line_long==null",
"read_line_long",
"null",
"read_line_long_ptr==read_line_long.length",
"read_line_long_ptr",
"read_line_long.length",
"read_line_long",
"read_line_long.length",
"{\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}",
"read_line_long = readLineLong()",
"read_line_long",
"readLineLong()",
"readLineLong",
"read_line_long_ptr=0",
"read_line_long_ptr",
"0",
"return read_line_long[read_line_long_ptr++];",
"read_line_long[read_line_long_ptr++]",
"read_line_long",
"read_line_long_ptr++",
"read_line_long_ptr",
"private static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}",
"readString",
"{\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}",
"if(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}",
"read_line==null||read_line_int_ptr==read_line.length",
"read_line==null",
"read_line",
"null",
"read_line_int_ptr==read_line.length",
"read_line_int_ptr",
"read_line.length",
"read_line",
"read_line.length",
"{\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}",
"read_line = readLine()",
"read_line",
"readLine()",
"readLine",
"read_line_ptr=0",
"read_line_ptr",
"0",
"return read_line[read_line_ptr++];",
"read_line[read_line_ptr++]",
"read_line",
"read_line_ptr++",
"read_line_ptr",
"private static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"readLine",
"{\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}",
"try{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return new String[]{e.getMessage()};",
"new String[]{e.getMessage()}",
"{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}",
"return reader.readLine().split(\" \");",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"private static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineInt",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"int[] ints = new int[s.length];",
"ints",
"new int[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ints.length",
"i",
"ints.length",
"ints",
"ints.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}",
"ints[i] = Integer.parseInt(s[i])",
"ints[i]",
"ints",
"i",
"Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return ints;",
"ints",
"private static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineLong",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"long[] ints = new long[s.length];",
"ints",
"new long[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ints.length",
"i",
"ints.length",
"ints",
"ints.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"{\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}",
"ints[i] = Long.parseLong(s[i])",
"ints[i]",
"ints",
"i",
"Long.parseLong(s[i])",
"Long.parseLong",
"Long",
"s[i]",
"s",
"i",
"return ints;",
"ints",
"private static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineByte",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"byte[] bytes = new byte[s.length];",
"bytes",
"new byte[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<bytes.length",
"i",
"bytes.length",
"bytes",
"bytes.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}",
"bytes[i] = Byte.parseByte(s[i])",
"bytes[i]",
"bytes",
"i",
"Byte.parseByte(s[i])",
"Byte.parseByte",
"Byte",
"s[i]",
"s",
"i",
"return bytes;",
"bytes",
"private static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"readLineChar",
"{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}",
"try{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"Exception e",
"{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"return null;",
"null",
"{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}",
"String[] s = readLine();",
"s",
"readLine()",
"readLine",
"char[] chars = new char[s.length];",
"chars",
"new char[s.length]",
"s.length",
"s",
"s.length",
"for(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<chars.length",
"i",
"chars.length",
"chars",
"chars.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}",
"chars[i] = (char)Integer.parseInt(s[i])",
"chars[i]",
"chars",
"i",
"(char)Integer.parseInt(s[i])",
"Integer.parseInt",
"Integer",
"s[i]",
"s",
"i",
"return chars;",
"chars",
"private static void print(Object o){\n\t\tSystem.out.println(o);\n\t}",
"print",
"{\n\t\tSystem.out.println(o);\n\t}",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o",
"private static void print(){\n\t\tSystem.out.println();\n\t}",
"print",
"{\n\t\tSystem.out.println();\n\t}",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"private static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}",
"if(MODE_DEBUG)System.err.println(o);",
"MODE_DEBUG",
"System.err.println(o)",
"System.err.println",
"System.err",
"System",
"System.err",
"o",
"Object o",
"o",
"private static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"printd",
"{\n\t\tif(MODE_DEBUG)System.err.println();\n\t}",
"if(MODE_DEBUG)System.err.println();",
"MODE_DEBUG",
"System.err.println()",
"System.err.println",
"System.err",
"System",
"System.err",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tlong N = readLong()-1;\n\t\tchar[] cs = new char[1000];\n\t\tint i=0;\n\t\tfor(;N>=26;N=N/26-1) {\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}\n\t\tcs[i] = (char)('a'+(N%26));\n\t\tchar[] n = new char[i+1];\n\t\tfor(int j=0;j<n.length;j++) {\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}\n\t\tprint(String.copyValueOf(n));\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\tstatic int[] read_line_int;\n\tstatic int read_line_int_ptr;\n\tstatic long[] read_line_long;\n\tstatic int read_line_long_ptr;\n\tstatic String[] read_line;\n\tstatic int read_line_ptr;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tlong N = readLong()-1;\n\t\tchar[] cs = new char[1000];\n\t\tint i=0;\n\t\tfor(;N>=26;N=N/26-1) {\n\t\t\tcs[i] = (char)('a'+(N%26));\n\t\t\ti++;\n\t\t}\n\t\tcs[i] = (char)('a'+(N%26));\n\t\tchar[] n = new char[i+1];\n\t\tfor(int j=0;j<n.length;j++) {\n\t\t\tn[j]=cs[n.length-1-j];\n\t\t}\n\t\tprint(String.copyValueOf(n));\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static int readInt() {\n\t\tif(read_line_int==null||read_line_int_ptr==read_line_int.length) {\n\t\t\tread_line_int = readLineInt();\n\t\t\tread_line_int_ptr=0;\n\t\t}\n\t\treturn read_line_int[read_line_int_ptr++];\n\t}\n\tprivate static long readLong() {\n\t\tif(read_line_long==null||read_line_long_ptr==read_line_long.length) {\n\t\t\tread_line_long = readLineLong();\n\t\t\tread_line_long_ptr=0;\n\t\t}\n\t\treturn read_line_long[read_line_long_ptr++];\n\t}\n\tprivate static String readString() {\n\t\tif(read_line==null||read_line_int_ptr==read_line.length) {\n\t\t\tread_line = readLine();\n\t\t\tread_line_ptr=0;\n\t\t}\n\t\treturn read_line[read_line_ptr++];\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static long[] readLineLong(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tlong[] ints = new long[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Long.parseLong(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
public class Main {
static BufferedReader reader;
final static boolean MODE_DEBUG = false;
static int[] read_line_int;
static int read_line_int_ptr;
static long[] read_line_long;
static int read_line_long_ptr;
static String[] read_line;
static int read_line_ptr;
//static field here
public static void main(String[] args) {
// TODO Auto-generated method stub
reader = new BufferedReader(new InputStreamReader(System.in));
//code here
long N = readLong()-1;
char[] cs = new char[1000];
int i=0;
for(;N>=26;N=N/26-1) {
cs[i] = (char)('a'+(N%26));
i++;
}
cs[i] = (char)('a'+(N%26));
char[] n = new char[i+1];
for(int j=0;j<n.length;j++) {
n[j]=cs[n.length-1-j];
}
print(String.copyValueOf(n));
}
//functions here
//note that all methods should be STATIC
private static <T> int arraySearch(T needle, T[] heystack) {
for(int i=0;i<heystack.length;i++) {
if(needle.equals(heystack[i])) {
return i;
}
}
return -1;
}
private static int[] sort(int[] base) {
int[] copy = array_copy(base);
Arrays.sort(copy);
return copy;
}
private static int[] array_copy(int[] base) {
int[] copy = new int[base.length];
for(int i=0;i<base.length;i++) {
copy[i] = base[i];
}
return copy;
}
private static int[] asArray(ArrayList<Integer> ints) {
int[] intlist = new int[ints.size()];
for(int i=0;i<intlist.length;i++) {
intlist[i] = ints.get(i);
}
return intlist;
}
private static int readInt() {
if(read_line_int==null||read_line_int_ptr==read_line_int.length) {
read_line_int = readLineInt();
read_line_int_ptr=0;
}
return read_line_int[read_line_int_ptr++];
}
private static long readLong() {
if(read_line_long==null||read_line_long_ptr==read_line_long.length) {
read_line_long = readLineLong();
read_line_long_ptr=0;
}
return read_line_long[read_line_long_ptr++];
}
private static String readString() {
if(read_line==null||read_line_int_ptr==read_line.length) {
read_line = readLine();
read_line_ptr=0;
}
return read_line[read_line_ptr++];
}
private static String[] readLine(){
try{
return reader.readLine().split(" ");
}catch(Exception e){
e.printStackTrace();
return new String[]{e.getMessage()};
}
}
private static int[] readLineInt(){
try{
String[] s = readLine();
int[] ints = new int[s.length];
for(int i=0;i<ints.length;i++) {
ints[i] = Integer.parseInt(s[i]);
}
return ints;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static long[] readLineLong(){
try{
String[] s = readLine();
long[] ints = new long[s.length];
for(int i=0;i<ints.length;i++) {
ints[i] = Long.parseLong(s[i]);
}
return ints;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static byte[] readLineByte(){
try{
String[] s = readLine();
byte[] bytes = new byte[s.length];
for(int i=0;i<bytes.length;i++) {
bytes[i] = Byte.parseByte(s[i]);
}
return bytes;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static char[] readLineChar(){
try{
String[] s = readLine();
char[] chars = new char[s.length];
for(int i=0;i<chars.length;i++) {
chars[i] = (char)Integer.parseInt(s[i]);
}
return chars;
}catch(Exception e){
e.printStackTrace();
return null;
}
}
private static void print(Object o){
System.out.println(o);
}
private static void print(){
System.out.println();
}
private static void printd(Object o){
if(MODE_DEBUG)System.err.println(o);
}
private static void printd(){
if(MODE_DEBUG)System.err.println();
}
}
|
[
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,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
0,
13,
19,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
41,
13,
2,
4,
18,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
17,
13,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
0,
13,
20,
17,
0,
13,
17,
0,
13,
20,
12,
13,
30,
38,
30,
4,
13,
30,
4,
18,
33,
12,
13,
30,
14,
2,
13,
17,
4,
18,
13,
12,
13,
30,
14,
2,
13,
18,
13,
13,
29,
18,
13,
40,
13,
41,
13,
4,
18,
13,
42,
2,
13,
17,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
17,
0,
13,
17,
29,
18,
13,
40,
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
],
[
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
],
[
222,
29
],
[
222,
30
],
[
30,
31
],
[
222,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
34,
43
],
[
43,
44
],
[
44,
45
],
[
32,
46
],
[
46,
47
],
[
222,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
51,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
61,
65
],
[
58,
66
],
[
66,
67
],
[
66,
68
],
[
58,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
78,
79
],
[
77,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
73,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
58,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
58,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
96,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
101,
105
],
[
222,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
106,
110
],
[
110,
111
],
[
106,
112
],
[
112,
113
],
[
106,
114
],
[
114,
115
],
[
114,
116
],
[
106,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
119,
127
],
[
127,
128
],
[
127,
129
],
[
106,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
133,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
106,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
145,
147
],
[
144,
148
],
[
148,
149
],
[
149,
150
],
[
106,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
157,
159
],
[
154,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
153,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
153,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
153,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
181,
185
],
[
153,
186
],
[
186,
187
],
[
186,
188
],
[
153,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
106,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
106,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
207,
210
],
[
210,
211
],
[
106,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
219,
220
],
[
0,
221
],
[
221,
222
],
[
221,
223
]
]
| [
"import java.io.BufferedReader;\nimport java.io.CharArrayReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.lang.reflect.Array;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Comparator;\nimport java.util.List;\n\npublic class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.CharArrayReader;",
"CharArrayReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.lang.reflect.Array;",
"Array",
"java.lang.reflect",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.List;",
"List",
"java.util",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"Main",
"private static Scanner sc;",
"sc",
"public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"main",
"{\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }",
"Main instance = new Main();",
"instance",
"new Main()",
"sc = instance.new Scanner()",
"sc",
"instance.new Scanner()",
"instance",
"instance",
"instance.solve()",
"instance.solve",
"instance",
"String[] args",
"args",
"private void solve() {\n try {\n long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"solve",
"{\n try {\n long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }",
"try {\n long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\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 long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\n }",
"long n = sc.nextLong()-1;",
"n",
"sc.nextLong()-1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"1",
"List<String> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }",
"n >= 0",
"n",
"0",
"{\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }",
"list.add(String.valueOf((char)('a' + (n%26))))",
"list.add",
"list",
"String.valueOf((char)('a' + (n%26)))",
"String.valueOf",
"String",
"(char)('a' + (n%26))",
"'a'",
"(n%26)",
"n",
"26",
"n = (n / 26)-1",
"n",
"(n / 26)-1",
"(n / 26)",
"n",
"26",
"1",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"System.out.println(String.join(\"\", list))",
"System.out.println",
"System.out",
"System",
"System.out",
"String.join(\"\", list)",
"String.join",
"String",
"\"\"",
"list",
"private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }",
"Scanner",
"String[] s;",
"s",
"int i;",
"i",
"BufferedReader br;",
"br",
"String regex = \" \";",
"regex",
"\" \"",
"public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"Scanner",
"{\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }",
"s = new String[0]",
"s",
"new String[0]",
"0",
"i = 0",
"i",
"0",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"@Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"finalize",
"{\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }",
"try {\n super.finalize();\n } finally {\n destruction();\n }",
"{\n destruction();\n }",
"destruction()",
"destruction",
"{\n super.finalize();\n }",
"super.finalize()",
"super.finalize",
"super",
"private void destruction() throws IOException {\n if (br != null) br.close();\n }",
"destruction",
"{\n if (br != null) br.close();\n }",
"if (br != null) br.close();",
"br != null",
"br",
"null",
"br.close()",
"br.close",
"br",
"public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"next",
"{\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }",
"if (i < s.length) return s[i++];",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"String st = br.readLine();",
"st",
"br.readLine()",
"br.readLine",
"br",
"while (st == \"\") st = br.readLine();",
"st == \"\"",
"st",
"\"\"",
"st = br.readLine()",
"st",
"br.readLine()",
"br.readLine",
"br",
"s = st.split(regex, 0)",
"s",
"st.split(regex, 0)",
"st.split",
"st",
"regex",
"0",
"i = 0",
"i",
"0",
"return s[i++];",
"s[i++]",
"s",
"i++",
"i",
"public int nextInt() throws NumberFormatException, 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 NumberFormatException, 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 Double nextDouble() throws NumberFormatException, 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 class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"public class Main {\n\n private static Scanner sc;\n\n public static void main(String[] args) {\n Main instance = new Main();\n sc = instance.new Scanner();\n instance.solve();\n }\n\n private void solve() {\n try {\n long n = sc.nextLong()-1;\n List<String> list = new ArrayList<>();\n while(n >= 0){\n list.add(String.valueOf((char)('a' + (n%26))));\n n = (n / 26)-1;\n }\n Collections.reverse(list);\n System.out.println(String.join(\"\", list));\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n\n private class Scanner {\n String[] s;\n int i;\n BufferedReader br;\n String regex = \" \";\n\n public Scanner() {\n s = new String[0];\n i = 0;\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n @Override\n protected void finalize() throws Throwable {\n try {\n super.finalize();\n } finally {\n destruction();\n }\n }\n\n private void destruction() throws IOException {\n if (br != null) br.close();\n }\n\n public String next() throws IOException {\n if (i < s.length) return s[i++];\n String st = br.readLine();\n while (st == \"\") st = br.readLine();\n s = st.split(regex, 0);\n i = 0;\n return s[i++];\n }\n\n public int nextInt() throws NumberFormatException, IOException {\n return Integer.parseInt(next());\n }\n\n public Long nextLong() throws NumberFormatException, IOException {\n return Long.parseLong(next());\n }\n\n public Double nextDouble() throws NumberFormatException, IOException {\n return Double.parseDouble(next());\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.CharArrayReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Array;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
public class Main {
private static Scanner sc;
public static void main(String[] args) {
Main instance = new Main();
sc = instance.new Scanner();
instance.solve();
}
private void solve() {
try {
long n = sc.nextLong()-1;
List<String> list = new ArrayList<>();
while(n >= 0){
list.add(String.valueOf((char)('a' + (n%26))));
n = (n / 26)-1;
}
Collections.reverse(list);
System.out.println(String.join("", list));
} catch (Exception e) {
e.printStackTrace();
}
}
private class Scanner {
String[] s;
int i;
BufferedReader br;
String regex = " ";
public Scanner() {
s = new String[0];
i = 0;
br = new BufferedReader(new InputStreamReader(System.in));
}
@Override
protected void finalize() throws Throwable {
try {
super.finalize();
} finally {
destruction();
}
}
private void destruction() throws IOException {
if (br != null) br.close();
}
public String next() throws IOException {
if (i < s.length) return s[i++];
String st = br.readLine();
while (st == "") st = br.readLine();
s = st.split(regex, 0);
i = 0;
return s[i++];
}
public int nextInt() throws NumberFormatException, IOException {
return Integer.parseInt(next());
}
public Long nextLong() throws NumberFormatException, IOException {
return Long.parseLong(next());
}
public Double nextDouble() throws NumberFormatException, IOException {
return Double.parseDouble(next());
}
}
} |
[
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,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
40,
13,
41,
13,
4,
18,
13,
2,
13,
2,
13,
13,
0,
13,
13,
29,
2,
4,
13,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
25,
29
],
[
6,
30
],
[
30,
31
],
[
72,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
34,
42
],
[
42,
43
],
[
34,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
51,
53
],
[
34,
54
],
[
54,
55
],
[
54,
56
],
[
34,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
59,
62
],
[
59,
63
],
[
58,
64
],
[
32,
65
],
[
65,
66
],
[
32,
67
],
[
67,
68
],
[
32,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"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になり、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 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 baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, 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--;\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, 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になり、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 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 baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, 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--;\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, 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になり、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 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になり、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 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', 26))",
"System.out.println",
"System.out",
"System",
"System.out",
"convertOriginalShinsuStr(n, 'a', 26)",
"convertOriginalShinsuStr",
"n",
"'a'",
"26",
"String[] args",
"args",
"/**\n\t * 10進数をオリジナル進数(アルファベット)文字列に変換\n\t * @param dNum 変換する10進数\n\t * @param origin 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 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--;\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, 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--;\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, 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--",
"dNum",
"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, baseNumber) + ret;",
"convertOriginalShinsuStr(dNum, origin, baseNumber) + ret",
"convertOriginalShinsuStr(dNum, origin, baseNumber)",
"convertOriginalShinsuStr",
"dNum",
"origin",
"baseNumber",
"ret",
"long dNum",
"dNum",
"final char origin",
"origin",
"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になり、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 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 baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, 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--;\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, 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になり、アルファベットだけの26進数にしてね\n\t\tSystem.out.println(convertOriginalShinsuStr(n, 'a', 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 baseNumber 何進数に変換するの\n\t * @return オリジナル進数(アルファベット)文字列\n\t */\n\tpublic static String convertOriginalShinsuStr(\n\t\t\tlong dNum, final char origin, 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--;\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, 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になり、アルファベットだけの26進数にしてね
System.out.println(convertOriginalShinsuStr(n, 'a', 26));
}
/**
* 10進数をオリジナル進数(アルファベット)文字列に変換
* @param dNum 変換する10進数
* @param origin 10進数の0をオリジナル進数で変換した後の文字
* @param baseNumber 何進数に変換するの
* @return オリジナル進数(アルファベット)文字列
*/
public static String convertOriginalShinsuStr(
long dNum, final char origin, final int baseNumber) {
// よくわからんワンちゃん
if(dNum <= 0) {
return "";
}
// 邪魔なのでオフセットは消化
dNum--;
// char型とintの足し算で文字を求める
String ret = String.valueOf((char)(origin + dNum % baseNumber));
// 小数点以下は切り捨てられる
dNum /= baseNumber ;
// 次の位も頼みます
return convertOriginalShinsuStr(dNum, origin, baseNumber) + ret;
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
0,
13,
17,
4,
18,
13,
13,
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
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
81,
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
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
32,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
24,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
24,
49
],
[
49,
50
],
[
49,
51
],
[
11,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
56,
60
],
[
52,
61
],
[
61,
62
],
[
61,
63
],
[
52,
64
],
[
64,
65
],
[
65,
66
],
[
52,
67
],
[
68,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
9,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.*;\n \npublic class Main {\n \n\tpublic static Scanner scan = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n \n\t long n = scan.nextLong();\n\t StringBuilder s = new StringBuilder();\n\t \n\t while(n > 0) \n\t {\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }\n\t \t\n\t for(int i=s.length()-1; i>=0; i--) \n\t {\n\t \t System.out.print(s.charAt(i));\n\t }\n \n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n\tpublic static Scanner scan = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n \n\t long n = scan.nextLong();\n\t StringBuilder s = new StringBuilder();\n\t \n\t while(n > 0) \n\t {\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }\n\t \t\n\t for(int i=s.length()-1; i>=0; i--) \n\t {\n\t \t System.out.print(s.charAt(i));\n\t }\n \n }\n}",
"Main",
"public static Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"public static void main(String[] args) {\n \n\t long n = scan.nextLong();\n\t StringBuilder s = new StringBuilder();\n\t \n\t while(n > 0) \n\t {\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }\n\t \t\n\t for(int i=s.length()-1; i>=0; i--) \n\t {\n\t \t System.out.print(s.charAt(i));\n\t }\n \n }",
"main",
"{\n \n\t long n = scan.nextLong();\n\t StringBuilder s = new StringBuilder();\n\t \n\t while(n > 0) \n\t {\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }\n\t \t\n\t for(int i=s.length()-1; i>=0; i--) \n\t {\n\t \t System.out.print(s.charAt(i));\n\t }\n \n }",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"StringBuilder s = new StringBuilder();",
"s",
"new StringBuilder()",
"while(n > 0) \n\t {\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }",
"n > 0",
"n",
"0",
"{\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }",
"char j = (char)(n % 26 + 96);",
"j",
"(char)(n % 26 + 96)",
"n % 26",
"n",
"26",
"96",
"if(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}",
"n%26 == 0",
"n%26",
"n",
"26",
"0",
"{\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}",
"j = 122",
"j",
"122",
"n -= 26",
"n",
"26",
"s.append(j)",
"s.append",
"s",
"j",
"n /= 26",
"n",
"26",
"for(int i=s.length()-1; i>=0; i--) \n\t {\n\t \t System.out.print(s.charAt(i));\n\t }",
"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\t \t System.out.print(s.charAt(i));\n\t }",
"{\n\t \t System.out.print(s.charAt(i));\n\t }",
"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\tpublic static Scanner scan = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n \n\t long n = scan.nextLong();\n\t StringBuilder s = new StringBuilder();\n\t \n\t while(n > 0) \n\t {\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }\n\t \t\n\t for(int i=s.length()-1; i>=0; i--) \n\t {\n\t \t System.out.print(s.charAt(i));\n\t }\n \n }\n}",
"public class Main {\n \n\tpublic static Scanner scan = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n \n\t long n = scan.nextLong();\n\t StringBuilder s = new StringBuilder();\n\t \n\t while(n > 0) \n\t {\n\t \tchar j = (char)(n % 26 + 96);\n\t \tif(n%26 == 0) {\n\t \t\tj = 122;\n\t \t\tn -= 26;\n\t \t}\n\t \ts.append(j);\n\t n /= 26;\n\t }\n\t \t\n\t for(int i=s.length()-1; i>=0; i--) \n\t {\n\t \t System.out.print(s.charAt(i));\n\t }\n \n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static Scanner scan = new Scanner(System.in);
public static void main(String[] args) {
long n = scan.nextLong();
StringBuilder s = new StringBuilder();
while(n > 0)
{
char j = (char)(n % 26 + 96);
if(n%26 == 0) {
j = 122;
n -= 26;
}
s.append(j);
n /= 26;
}
for(int i=s.length()-1; i>=0; i--)
{
System.out.print(s.charAt(i));
}
}
} |
[
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,
4,
18,
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,
13,
2,
13,
17,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
68,
17
],
[
68,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
24,
26
],
[
20,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
20,
35
],
[
35,
36
],
[
35,
37
],
[
20,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
49,
51
],
[
46,
52
],
[
43,
53
],
[
53,
54
],
[
53,
55
],
[
20,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
59,
60
],
[
59,
61
],
[
20,
62
],
[
62,
63
],
[
63,
64
],
[
18,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tlong dog = Long.parseLong(br.readLine());\n\t\tString res = \"\";\n\t\t\n\t\twhile(dog-- > 0) {\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}\n\t\t\n\t\tbw.write(res + \"\\n\");\n\t\tbw.flush();\n\t}\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",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tlong dog = Long.parseLong(br.readLine());\n\t\tString res = \"\";\n\t\t\n\t\twhile(dog-- > 0) {\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}\n\t\t\n\t\tbw.write(res + \"\\n\");\n\t\tbw.flush();\n\t}\n\n}",
"Main",
"public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tlong dog = Long.parseLong(br.readLine());\n\t\tString res = \"\";\n\t\t\n\t\twhile(dog-- > 0) {\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}\n\t\t\n\t\tbw.write(res + \"\\n\");\n\t\tbw.flush();\n\t}",
"main",
"{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tlong dog = Long.parseLong(br.readLine());\n\t\tString res = \"\";\n\t\t\n\t\twhile(dog-- > 0) {\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}\n\t\t\n\t\tbw.write(res + \"\\n\");\n\t\tbw.flush();\n\t}",
"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 dog = Long.parseLong(br.readLine());",
"dog",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"String res = \"\";",
"res",
"\"\"",
"while(dog-- > 0) {\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}",
"dog-- > 0",
"dog--",
"dog",
"0",
"{\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}",
"res = (char)('a' + (dog%26)) + res",
"res",
"(char)('a' + (dog%26)) + res",
"(char)('a' + (dog%26))",
"'a'",
"(dog%26)",
"dog",
"26",
"res",
"dog /= 26",
"dog",
"26",
"bw.write(res + \"\\n\")",
"bw.write",
"bw",
"res + \"\\n\"",
"res",
"\"\\n\"",
"bw.flush()",
"bw.flush",
"bw",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tlong dog = Long.parseLong(br.readLine());\n\t\tString res = \"\";\n\t\t\n\t\twhile(dog-- > 0) {\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}\n\t\t\n\t\tbw.write(res + \"\\n\");\n\t\tbw.flush();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tBufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));\n\t\t\n\t\tlong dog = Long.parseLong(br.readLine());\n\t\tString res = \"\";\n\t\t\n\t\twhile(dog-- > 0) {\n\t\t\tres = (char)('a' + (dog%26)) + res;\n\t\t\tdog /= 26;\n\t\t}\n\t\t\n\t\tbw.write(res + \"\\n\");\n\t\tbw.flush();\n\t}\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
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 dog = Long.parseLong(br.readLine());
String res = "";
while(dog-- > 0) {
res = (char)('a' + (dog%26)) + res;
dog /= 26;
}
bw.write(res + "\n");
bw.flush();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
0,
13,
4,
18,
13,
40,
13,
41,
13,
20,
42,
2,
13,
40,
17,
30,
41,
13,
2,
13,
17,
4,
18,
13,
13,
0,
13,
17,
40,
13,
4,
18,
13,
13,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
79,
20
],
[
79,
21
],
[
21,
22
],
[
21,
23
],
[
79,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
26,
34
],
[
34,
35
],
[
26,
36
],
[
36,
37
],
[
36,
38
],
[
26,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
39,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
47,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
50,
53
],
[
44,
54
],
[
54,
55
],
[
54,
56
],
[
44,
57
],
[
57,
58
],
[
26,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
26,
63
],
[
63,
64
],
[
63,
65
],
[
63,
66
],
[
67,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
24,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.math.BigInteger;\nimport java.nio.Buffer;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\nimport java.util.Vector;\n\npublic class Main {\n public static Scanner r=new Scanner(System.in);\n public static void main(String[] args) {\n long n;\n n=r.nextLong();\n --n;\n ArrayList<Integer> a=new ArrayList<>();\n while(n>-1){\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }\n Collections.reverse(a);\n for(int x:a){\n System.out.print((char)(x+'a'));\n }\n }\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.nio.Buffer;",
"Buffer",
"java.nio",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Vector;",
"Vector",
"java.util",
"public class Main {\n public static Scanner r=new Scanner(System.in);\n public static void main(String[] args) {\n long n;\n n=r.nextLong();\n --n;\n ArrayList<Integer> a=new ArrayList<>();\n while(n>-1){\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }\n Collections.reverse(a);\n for(int x:a){\n System.out.print((char)(x+'a'));\n }\n }\n}",
"Main",
"public static Scanner r=new Scanner(System.in);",
"r",
"new Scanner(System.in)",
"public static void main(String[] args) {\n long n;\n n=r.nextLong();\n --n;\n ArrayList<Integer> a=new ArrayList<>();\n while(n>-1){\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }\n Collections.reverse(a);\n for(int x:a){\n System.out.print((char)(x+'a'));\n }\n }",
"main",
"{\n long n;\n n=r.nextLong();\n --n;\n ArrayList<Integer> a=new ArrayList<>();\n while(n>-1){\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }\n Collections.reverse(a);\n for(int x:a){\n System.out.print((char)(x+'a'));\n }\n }",
"long n;",
"n",
"n=r.nextLong()",
"n",
"r.nextLong()",
"r.nextLong",
"r",
"--n",
"n",
"ArrayList<Integer> a=new ArrayList<>();",
"a",
"new ArrayList<>()",
"while(n>-1){\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }",
"n>-1",
"n",
"-1",
"1",
"{\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }",
"int ch=(int)(n%26);",
"ch",
"(int)(n%26)",
"n",
"26",
"a.add(ch)",
"a.add",
"a",
"ch",
"n/=26",
"n",
"26",
"--n",
"n",
"Collections.reverse(a)",
"Collections.reverse",
"Collections",
"a",
"for(int x:a){\n System.out.print((char)(x+'a'));\n }",
"int x",
"a",
"{\n System.out.print((char)(x+'a'));\n }",
"{\n System.out.print((char)(x+'a'));\n }",
"System.out.print((char)(x+'a'))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(x+'a')",
"x",
"'a'",
"String[] args",
"args",
"public class Main {\n public static Scanner r=new Scanner(System.in);\n public static void main(String[] args) {\n long n;\n n=r.nextLong();\n --n;\n ArrayList<Integer> a=new ArrayList<>();\n while(n>-1){\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }\n Collections.reverse(a);\n for(int x:a){\n System.out.print((char)(x+'a'));\n }\n }\n}",
"public class Main {\n public static Scanner r=new Scanner(System.in);\n public static void main(String[] args) {\n long n;\n n=r.nextLong();\n --n;\n ArrayList<Integer> a=new ArrayList<>();\n while(n>-1){\n int ch=(int)(n%26);\n a.add(ch);\n n/=26;\n --n;\n }\n Collections.reverse(a);\n for(int x:a){\n System.out.print((char)(x+'a'));\n }\n }\n}",
"Main"
]
| import java.math.BigInteger;
import java.nio.Buffer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
import java.util.Vector;
public class Main {
public static Scanner r=new Scanner(System.in);
public static void main(String[] args) {
long n;
n=r.nextLong();
--n;
ArrayList<Integer> a=new ArrayList<>();
while(n>-1){
int ch=(int)(n%26);
a.add(ch);
n/=26;
--n;
}
Collections.reverse(a);
for(int x:a){
System.out.print((char)(x+'a'));
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.