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,
17,
41,
13,
17,
41,
13,
42,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
17,
0,
13,
2,
17,
13,
0,
13,
13,
0,
13,
2,
2,
13,
17,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
29,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
29,
42
],
[
42,
43
],
[
42,
44
],
[
29,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
8,
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
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n int rem=0;\n String name = \"\";\n char c;\n while(n>0) {\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }\n for(int i=name.length()-1;i>=0;i--) {\n System.out.print(name.charAt(i));\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n int rem=0;\n String name = \"\";\n char c;\n while(n>0) {\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }\n for(int i=name.length()-1;i>=0;i--) {\n System.out.print(name.charAt(i));\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n int rem=0;\n String name = \"\";\n char c;\n while(n>0) {\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }\n for(int i=name.length()-1;i>=0;i--) {\n System.out.print(name.charAt(i));\n }\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n int rem=0;\n String name = \"\";\n char c;\n while(n>0) {\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }\n for(int i=name.length()-1;i>=0;i--) {\n System.out.print(name.charAt(i));\n }\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"int rem=0;",
"rem",
"0",
"String name = \"\";",
"name",
"\"\"",
"char c;",
"c",
"while(n>0) {\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }",
"n>0",
"n",
"0",
"{\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }",
"rem =(int) ((n-1) % 26)",
"rem",
"(int) ((n-1) % 26)",
"(n-1)",
"n",
"1",
"26",
"c = (char)('a'+rem)",
"c",
"(char)('a'+rem)",
"'a'",
"rem",
"name+=c",
"name",
"c",
"n= (n-1) /26",
"n",
"(n-1) /26",
"(n-1)",
"n",
"1",
"26",
"for(int i=name.length()-1;i>=0;i--) {\n System.out.print(name.charAt(i));\n }",
"int i=name.length()-1;",
"int i=name.length()-1;",
"i",
"name.length()-1",
"name.length()",
"name.length",
"name",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n System.out.print(name.charAt(i));\n }",
"{\n System.out.print(name.charAt(i));\n }",
"System.out.print(name.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"name.charAt(i)",
"name.charAt",
"name",
"i",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n int rem=0;\n String name = \"\";\n char c;\n while(n>0) {\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }\n for(int i=name.length()-1;i>=0;i--) {\n System.out.print(name.charAt(i));\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n int rem=0;\n String name = \"\";\n char c;\n while(n>0) {\n rem =(int) ((n-1) % 26);\n c = (char)('a'+rem);\n name+=c;\n n= (n-1) /26;\n }\n for(int i=name.length()-1;i>=0;i--) {\n System.out.print(name.charAt(i));\n }\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 rem=0;
String name = "";
char c;
while(n>0) {
rem =(int) ((n-1) % 26);
c = (char)('a'+rem);
name+=c;
n= (n-1) /26;
}
for(int i=name.length()-1;i>=0;i--) {
System.out.print(name.charAt(i));
}
}
}
|
[
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,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
13,
30,
14,
2,
13,
17,
0,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
0,
13,
17,
41,
13,
2,
13,
17,
0,
13,
2,
13,
13,
40,
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
],
[
85,
8
],
[
85,
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
],
[
27,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
11,
32
],
[
32,
33
],
[
32,
34
],
[
11,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
55,
57
],
[
45,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
45,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
45,
68
],
[
68,
69
],
[
45,
70
],
[
70,
71
],
[
70,
72
],
[
11,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
76,
77
],
[
76,
78
],
[
11,
79
],
[
79,
80
],
[
80,
81
],
[
9,
82
],
[
82,
83
],
[
0,
84
],
[
84,
85
],
[
84,
86
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n PrintWriter ou = new PrintWriter(System.out);\n long n = Long.parseLong(sc.next());\n sc.close();\n String s = \"\";\n boolean ebishu = true;\n while(ebishu){\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }\n ou.print(s + \"\\n\");\n ou.flush();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n PrintWriter ou = new PrintWriter(System.out);\n long n = Long.parseLong(sc.next());\n sc.close();\n String s = \"\";\n boolean ebishu = true;\n while(ebishu){\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }\n ou.print(s + \"\\n\");\n ou.flush();\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n PrintWriter ou = new PrintWriter(System.out);\n long n = Long.parseLong(sc.next());\n sc.close();\n String s = \"\";\n boolean ebishu = true;\n while(ebishu){\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }\n ou.print(s + \"\\n\");\n ou.flush();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n PrintWriter ou = new PrintWriter(System.out);\n long n = Long.parseLong(sc.next());\n sc.close();\n String s = \"\";\n boolean ebishu = true;\n while(ebishu){\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }\n ou.print(s + \"\\n\");\n ou.flush();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"PrintWriter ou = new PrintWriter(System.out);",
"ou",
"new PrintWriter(System.out)",
"long n = Long.parseLong(sc.next());",
"n",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"String s = \"\";",
"s",
"\"\"",
"boolean ebishu = true;",
"ebishu",
"true",
"while(ebishu){\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }",
"ebishu",
"{\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }",
"if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }",
"n <= 0",
"n",
"0",
"ebishu = false",
"ebishu",
"false",
"{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }",
"int i =(int) (n % (long)26);",
"i",
"(int) (n % (long)26)",
"n",
"(long)26",
"if(i == 0) i += 26;",
"i == 0",
"i",
"0",
"i += 26",
"i",
"26",
"char q = (char)(i + 96);",
"q",
"(char)(i + 96)",
"i",
"96",
"s = q + s",
"s",
"q + s",
"q",
"s",
"n--",
"n",
"n /= 26",
"n",
"26",
"ou.print(s + \"\\n\")",
"ou.print",
"ou",
"s + \"\\n\"",
"s",
"\"\\n\"",
"ou.flush()",
"ou.flush",
"ou",
"String[] args",
"args",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n PrintWriter ou = new PrintWriter(System.out);\n long n = Long.parseLong(sc.next());\n sc.close();\n String s = \"\";\n boolean ebishu = true;\n while(ebishu){\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }\n ou.print(s + \"\\n\");\n ou.flush();\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n PrintWriter ou = new PrintWriter(System.out);\n long n = Long.parseLong(sc.next());\n sc.close();\n String s = \"\";\n boolean ebishu = true;\n while(ebishu){\n if(n <= 0) ebishu = false;\n else{\n int i =(int) (n % (long)26);\n if(i == 0) i += 26;\n char q = (char)(i + 96);\n s = q + s;\n n--;\n n /= 26;\n }\n }\n ou.print(s + \"\\n\");\n ou.flush();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
PrintWriter ou = new PrintWriter(System.out);
long n = Long.parseLong(sc.next());
sc.close();
String s = "";
boolean ebishu = true;
while(ebishu){
if(n <= 0) ebishu = false;
else{
int i =(int) (n % (long)26);
if(i == 0) i += 26;
char q = (char)(i + 96);
s = q + s;
n--;
n /= 26;
}
}
ou.print(s + "\n");
ou.flush();
}
} |
[
7,
15,
13,
17,
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,
4,
18,
13,
41,
13,
20,
41,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
20,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
13,
17,
3,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
20,
0,
13,
4,
18,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
4,
18,
13,
20,
0,
13,
4,
18,
13,
20,
11,
1,
41,
13,
13,
2,
13,
17,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
164,
8
],
[
164,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
14,
16
],
[
14,
17
],
[
14,
18
],
[
14,
19
],
[
14,
20
],
[
14,
21
],
[
14,
22
],
[
14,
23
],
[
14,
24
],
[
14,
25
],
[
14,
26
],
[
14,
27
],
[
14,
28
],
[
14,
29
],
[
14,
30
],
[
14,
31
],
[
14,
32
],
[
14,
33
],
[
14,
34
],
[
14,
35
],
[
14,
36
],
[
14,
37
],
[
14,
38
],
[
14,
39
],
[
14,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
11,
49
],
[
49,
50
],
[
50,
51
],
[
11,
52
],
[
52,
53
],
[
52,
54
],
[
11,
55
],
[
55,
56
],
[
55,
57
],
[
11,
58
],
[
58,
59
],
[
58,
60
],
[
11,
62
],
[
62,
63
],
[
62,
64
],
[
11,
65
],
[
65,
66
],
[
65,
67
],
[
11,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
68,
73
],
[
73,
74
],
[
73,
75
],
[
68,
76
],
[
76,
77
],
[
77,
78
],
[
68,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
82,
87
],
[
81,
88
],
[
80,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
80,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
11,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
106,
107
],
[
106,
108
],
[
11,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
109,
117
],
[
117,
118
],
[
118,
119
],
[
109,
120
],
[
121,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
121,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
11,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
138,
143
],
[
143,
144
],
[
143,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
138,
149
],
[
150,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
151,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
158,
160
],
[
9,
161
],
[
161,
162
],
[
0,
163
],
[
163,
164
],
[
163,
165
]
]
| [
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString [] a = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tsc.close();\n\t\tBigInteger norg = new BigInteger(ns);\n\t\tBigInteger n = norg;\n\n\t\tint [] ans = new int[12];\n\n\t\tint i = 1;\n\t\tBigInteger max = new BigInteger(\"26\");\n\t\tfor (i=1; i<12; i++) {\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}\n\t\tn=n.subtract(BigInteger.ONE);\n\t\tfor (int j=1; j<=i; j++) {\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}\n\n\t\tfor (int j=i; j>0;j--) {\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString [] a = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tsc.close();\n\t\tBigInteger norg = new BigInteger(ns);\n\t\tBigInteger n = norg;\n\n\t\tint [] ans = new int[12];\n\n\t\tint i = 1;\n\t\tBigInteger max = new BigInteger(\"26\");\n\t\tfor (i=1; i<12; i++) {\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}\n\t\tn=n.subtract(BigInteger.ONE);\n\t\tfor (int j=1; j<=i; j++) {\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}\n\n\t\tfor (int j=i; j>0;j--) {\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args)\n\t{\n\t\tString [] a = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tsc.close();\n\t\tBigInteger norg = new BigInteger(ns);\n\t\tBigInteger n = norg;\n\n\t\tint [] ans = new int[12];\n\n\t\tint i = 1;\n\t\tBigInteger max = new BigInteger(\"26\");\n\t\tfor (i=1; i<12; i++) {\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}\n\t\tn=n.subtract(BigInteger.ONE);\n\t\tfor (int j=1; j<=i; j++) {\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}\n\n\t\tfor (int j=i; j>0;j--) {\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}\n\t}",
"main",
"{\n\t\tString [] a = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tsc.close();\n\t\tBigInteger norg = new BigInteger(ns);\n\t\tBigInteger n = norg;\n\n\t\tint [] ans = new int[12];\n\n\t\tint i = 1;\n\t\tBigInteger max = new BigInteger(\"26\");\n\t\tfor (i=1; i<12; i++) {\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}\n\t\tn=n.subtract(BigInteger.ONE);\n\t\tfor (int j=1; j<=i; j++) {\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}\n\n\t\tfor (int j=i; j>0;j--) {\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}\n\t}",
"String [] a = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};",
"a",
"{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String ns = sc.nextLine();",
"ns",
"sc.nextLine()",
"sc.nextLine",
"sc",
"sc.close()",
"sc.close",
"sc",
"BigInteger norg = new BigInteger(ns);",
"norg",
"new BigInteger(ns)",
"BigInteger n = norg;",
"n",
"norg",
"int [] ans = new int[12];",
"ans",
"new int[12]",
"12",
"int i = 1;",
"i",
"1",
"BigInteger max = new BigInteger(\"26\");",
"max",
"new BigInteger(\"26\")",
"for (i=1; i<12; i++) {\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}",
"i=1;",
"i=1",
"i",
"1",
"i<12",
"i",
"12",
"i++",
"i++",
"i",
"{\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}",
"{\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}",
"if (n.compareTo(max)<=0) break;",
"n.compareTo(max)<=0",
"n.compareTo(max)",
"n.compareTo",
"n",
"max",
"0",
"break;",
"n=n.subtract(max)",
"n",
"n.subtract(max)",
"n.subtract",
"n",
"max",
"max=max.multiply(new BigInteger(\"26\"))",
"max",
"max.multiply(new BigInteger(\"26\"))",
"max.multiply",
"max",
"new BigInteger(\"26\")",
"n=n.subtract(BigInteger.ONE)",
"n",
"n.subtract(BigInteger.ONE)",
"n.subtract",
"n",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"for (int j=1; j<=i; j++) {\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}",
"int j=1;",
"int j=1;",
"j",
"1",
"j<=i",
"j",
"i",
"j++",
"j++",
"j",
"{\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}",
"{\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}",
"ans[j]=n.mod(new BigInteger(\"26\")).intValue()",
"ans[j]",
"ans",
"j",
"n.mod(new BigInteger(\"26\")).intValue()",
"n.mod(new BigInteger(\"26\")).intValue",
"n.mod(new BigInteger(\"26\"))",
"n.mod",
"n",
"new BigInteger(\"26\")",
"n = n.divide(new BigInteger(\"26\"))",
"n",
"n.divide(new BigInteger(\"26\"))",
"n.divide",
"n",
"new BigInteger(\"26\")",
"for (int j=i; j>0;j--) {\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}",
"int j=i;",
"int j=i;",
"j",
"i",
"j>0",
"j",
"0",
"j--",
"j--",
"j",
"{\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}",
"{\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}",
"System.out.print(a[ans[j]])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[ans[j]]",
"a",
"ans[j]",
"ans",
"j",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString [] a = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tsc.close();\n\t\tBigInteger norg = new BigInteger(ns);\n\t\tBigInteger n = norg;\n\n\t\tint [] ans = new int[12];\n\n\t\tint i = 1;\n\t\tBigInteger max = new BigInteger(\"26\");\n\t\tfor (i=1; i<12; i++) {\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}\n\t\tn=n.subtract(BigInteger.ONE);\n\t\tfor (int j=1; j<=i; j++) {\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}\n\n\t\tfor (int j=i; j>0;j--) {\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}\n\t}\n}",
"public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tString [] a = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\",\n\t\t\t\"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\",\n\t\t\t\"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tsc.close();\n\t\tBigInteger norg = new BigInteger(ns);\n\t\tBigInteger n = norg;\n\n\t\tint [] ans = new int[12];\n\n\t\tint i = 1;\n\t\tBigInteger max = new BigInteger(\"26\");\n\t\tfor (i=1; i<12; i++) {\n\t\t\tif (n.compareTo(max)<=0) break;\n\t\t\tn=n.subtract(max);\n\t\t\tmax=max.multiply(new BigInteger(\"26\"));\n\t\t}\n\t\tn=n.subtract(BigInteger.ONE);\n\t\tfor (int j=1; j<=i; j++) {\n\t\t\tans[j]=n.mod(new BigInteger(\"26\")).intValue();\n\t\t\tn = n.divide(new BigInteger(\"26\"));\n\t\t}\n\n\t\tfor (int j=i; j>0;j--) {\n\t\t\tSystem.out.print(a[ans[j]]);\n\t\t}\n\t}\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.Scanner;
public class Main
{
public static void main(String[] args)
{
String [] a = {"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);
String ns = sc.nextLine();
sc.close();
BigInteger norg = new BigInteger(ns);
BigInteger n = norg;
int [] ans = new int[12];
int i = 1;
BigInteger max = new BigInteger("26");
for (i=1; i<12; i++) {
if (n.compareTo(max)<=0) break;
n=n.subtract(max);
max=max.multiply(new BigInteger("26"));
}
n=n.subtract(BigInteger.ONE);
for (int j=1; j<=i; j++) {
ans[j]=n.mod(new BigInteger("26")).intValue();
n = n.divide(new BigInteger("26"));
}
for (int j=i; j>0;j--) {
System.out.print(a[ans[j]]);
}
}
}
|
[
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,
0,
13,
17,
41,
13,
41,
13,
11,
1,
0,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
17,
13,
14,
2,
13,
13,
30,
3,
0,
13,
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,
4,
18,
13,
2,
2,
13,
17,
17,
17,
0,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
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
],
[
136,
5
],
[
136,
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
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
28
],
[
28,
29
],
[
8,
30
],
[
30,
31
],
[
8,
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
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
49,
53
],
[
44,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
8,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
8,
70
],
[
70,
71
],
[
70,
72
],
[
8,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
74,
81
],
[
81,
82
],
[
81,
83
],
[
74,
84
],
[
84,
85
],
[
85,
86
],
[
74,
87
],
[
88,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
96,
100
],
[
93,
101
],
[
88,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
8,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
112,
114
],
[
107,
115
],
[
115,
116
],
[
116,
117
],
[
107,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
8,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
6,
133
],
[
133,
134
],
[
0,
135
],
[
135,
136
],
[
135,
137
]
]
| [
"import java.io.*;\n\n/**\n * Created by Ayushi on 21 Jun 2020.\n * Problem:\n * Round:\n */\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n //StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long n = Long.parseLong(br.readLine());\n br.close();\n long l; //, r;\n l = 0;\n long c;\n int t;\n for (t = 1; t <= 13; t++) {\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }\n long d = (n - l) -1;\n long[] a = new long[t];\n for (int i = t-1; i >= 0; i--) {\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }\n for (int j = 0; j < t; j++) {\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }\n System.out.println();\n }\n}",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n public static void main(String[] args) throws IOException {\n //StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long n = Long.parseLong(br.readLine());\n br.close();\n long l; //, r;\n l = 0;\n long c;\n int t;\n for (t = 1; t <= 13; t++) {\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }\n long d = (n - l) -1;\n long[] a = new long[t];\n for (int i = t-1; i >= 0; i--) {\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }\n for (int j = 0; j < t; j++) {\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }\n System.out.println();\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n //StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long n = Long.parseLong(br.readLine());\n br.close();\n long l; //, r;\n l = 0;\n long c;\n int t;\n for (t = 1; t <= 13; t++) {\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }\n long d = (n - l) -1;\n long[] a = new long[t];\n for (int i = t-1; i >= 0; i--) {\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }\n for (int j = 0; j < t; j++) {\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }\n System.out.println();\n }",
"main",
"{\n //StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long n = Long.parseLong(br.readLine());\n br.close();\n long l; //, r;\n l = 0;\n long c;\n int t;\n for (t = 1; t <= 13; t++) {\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }\n long d = (n - l) -1;\n long[] a = new long[t];\n for (int i = t-1; i >= 0; i--) {\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }\n for (int j = 0; j < t; j++) {\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }\n System.out.println();\n }",
"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",
"br.close()",
"br.close",
"br",
"long l;",
"l",
"l = 0",
"l",
"0",
"long c;",
"c",
"int t;",
"t",
"for (t = 1; t <= 13; t++) {\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }",
"t = 1;",
"t = 1",
"t",
"1",
"t <= 13",
"t",
"13",
"t++",
"t++",
"t",
"{\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }",
"{\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }",
"c = (long) (l + (Math.pow(26, t)))",
"c",
"(long) (l + (Math.pow(26, t)))",
"l",
"(Math.pow(26, t))",
"Math.pow",
"Math",
"26",
"t",
"if (n <= c) {\n //r = c;\n break;\n }\n else l = c;",
"n <= c",
"n",
"c",
"{\n //r = c;\n break;\n }",
"break;",
"l = c",
"l",
"c",
"long d = (n - l) -1;",
"d",
"(n - l) -1",
"(n - l)",
"n",
"l",
"1",
"long[] a = new long[t];",
"a",
"new long[t]",
"t",
"for (int i = t-1; i >= 0; i--) {\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }",
"int i = t-1;",
"int i = t-1;",
"i",
"t-1",
"t",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }",
"{\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }",
"a[i] = Math.max((d%26) + 97, 97)",
"a[i]",
"a",
"i",
"Math.max((d%26) + 97, 97)",
"Math.max",
"Math",
"(d%26) + 97",
"(d%26)",
"d",
"26",
"97",
"97",
"d = d/26",
"d",
"d/26",
"d",
"26",
"for (int j = 0; j < t; j++) {\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < t",
"j",
"t",
"j++",
"j++",
"j",
"{\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }",
"{\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }",
"System.out.print((char)a[j])",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)a[j]",
"a",
"j",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n //StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long n = Long.parseLong(br.readLine());\n br.close();\n long l; //, r;\n l = 0;\n long c;\n int t;\n for (t = 1; t <= 13; t++) {\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }\n long d = (n - l) -1;\n long[] a = new long[t];\n for (int i = t-1; i >= 0; i--) {\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }\n for (int j = 0; j < t; j++) {\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }\n System.out.println();\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n //StringTokenizer st;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n long n = Long.parseLong(br.readLine());\n br.close();\n long l; //, r;\n l = 0;\n long c;\n int t;\n for (t = 1; t <= 13; t++) {\n c = (long) (l + (Math.pow(26, t)));\n if (n <= c) {\n //r = c;\n break;\n }\n else l = c;\n }\n long d = (n - l) -1;\n long[] a = new long[t];\n for (int i = t-1; i >= 0; i--) {\n a[i] = Math.max((d%26) + 97, 97);\n d = d/26;\n }\n for (int j = 0; j < t; j++) {\n System.out.print((char)a[j]);\n //System.out.println(a[j]);\n }\n System.out.println();\n }\n}",
"Main"
]
| import java.io.*;
/**
* Created by Ayushi on 21 Jun 2020.
* Problem:
* Round:
*/
public class Main {
public static void main(String[] args) throws IOException {
//StringTokenizer st;
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
long n = Long.parseLong(br.readLine());
br.close();
long l; //, r;
l = 0;
long c;
int t;
for (t = 1; t <= 13; t++) {
c = (long) (l + (Math.pow(26, t)));
if (n <= c) {
//r = c;
break;
}
else l = c;
}
long d = (n - l) -1;
long[] a = new long[t];
for (int i = t-1; i >= 0; i--) {
a[i] = Math.max((d%26) + 97, 97);
d = d/26;
}
for (int j = 0; j < t; j++) {
System.out.print((char)a[j]);
//System.out.println(a[j]);
}
System.out.println();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
18,
13,
13,
4,
13,
2,
13,
17,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
2,
17,
4,
13,
2,
40,
13,
17,
41,
13,
2,
13,
17,
41,
13,
2,
13,
17,
41,
13,
2,
17,
13,
14,
2,
13,
17,
30,
29,
2,
17,
13,
30,
29,
2,
4,
13,
2,
13,
17,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
82,
5
],
[
82,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
19,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
6,
27
],
[
27,
28
],
[
82,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
31,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
31,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
31,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
31,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
61,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
72,
78
],
[
29,
79
],
[
79,
80
],
[
0,
81
],
[
81,
82
],
[
81,
83
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long x = in.nextLong();\n System.out.println(asd(x - 1));\n }\n\n public static String asd(long i) {\n if (i < 0) {\n return \"-\" + asd(-i - 1);\n }\n\n long quot = i / 26;\n long rem = i % 26;\n char letter = (char) ((int) 'a' + rem);\n if (quot == 0) {\n return \"\" + letter;\n } else {\n return asd(quot - 1) + letter;\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long x = in.nextLong();\n System.out.println(asd(x - 1));\n }\n\n public static String asd(long i) {\n if (i < 0) {\n return \"-\" + asd(-i - 1);\n }\n\n long quot = i / 26;\n long rem = i % 26;\n char letter = (char) ((int) 'a' + rem);\n if (quot == 0) {\n return \"\" + letter;\n } else {\n return asd(quot - 1) + letter;\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long x = in.nextLong();\n System.out.println(asd(x - 1));\n }",
"main",
"{\n Scanner in = new Scanner(System.in);\n long x = in.nextLong();\n System.out.println(asd(x - 1));\n }",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"System.out.println(asd(x - 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"asd(x - 1)",
"asd",
"x - 1",
"x",
"1",
"String[] args",
"args",
"public static String asd(long i) {\n if (i < 0) {\n return \"-\" + asd(-i - 1);\n }\n\n long quot = i / 26;\n long rem = i % 26;\n char letter = (char) ((int) 'a' + rem);\n if (quot == 0) {\n return \"\" + letter;\n } else {\n return asd(quot - 1) + letter;\n }\n }",
"asd",
"{\n if (i < 0) {\n return \"-\" + asd(-i - 1);\n }\n\n long quot = i / 26;\n long rem = i % 26;\n char letter = (char) ((int) 'a' + rem);\n if (quot == 0) {\n return \"\" + letter;\n } else {\n return asd(quot - 1) + letter;\n }\n }",
"if (i < 0) {\n return \"-\" + asd(-i - 1);\n }",
"i < 0",
"i",
"0",
"{\n return \"-\" + asd(-i - 1);\n }",
"return \"-\" + asd(-i - 1);",
"\"-\" + asd(-i - 1)",
"\"-\"",
"asd(-i - 1)",
"asd",
"-i - 1",
"-i",
"i",
"1",
"long quot = i / 26;",
"quot",
"i / 26",
"i",
"26",
"long rem = i % 26;",
"rem",
"i % 26",
"i",
"26",
"char letter = (char) ((int) 'a' + rem);",
"letter",
"(char) ((int) 'a' + rem)",
"(int) 'a'",
"rem",
"if (quot == 0) {\n return \"\" + letter;\n } else {\n return asd(quot - 1) + letter;\n }",
"quot == 0",
"quot",
"0",
"{\n return \"\" + letter;\n }",
"return \"\" + letter;",
"\"\" + letter",
"\"\"",
"letter",
"{\n return asd(quot - 1) + letter;\n }",
"return asd(quot - 1) + letter;",
"asd(quot - 1) + letter",
"asd(quot - 1)",
"asd",
"quot - 1",
"quot",
"1",
"letter",
"long i",
"i",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long x = in.nextLong();\n System.out.println(asd(x - 1));\n }\n\n public static String asd(long i) {\n if (i < 0) {\n return \"-\" + asd(-i - 1);\n }\n\n long quot = i / 26;\n long rem = i % 26;\n char letter = (char) ((int) 'a' + rem);\n if (quot == 0) {\n return \"\" + letter;\n } else {\n return asd(quot - 1) + letter;\n }\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n long x = in.nextLong();\n System.out.println(asd(x - 1));\n }\n\n public static String asd(long i) {\n if (i < 0) {\n return \"-\" + asd(-i - 1);\n }\n\n long quot = i / 26;\n long rem = i % 26;\n char letter = (char) ((int) 'a' + rem);\n if (quot == 0) {\n return \"\" + letter;\n } else {\n return asd(quot - 1) + letter;\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
long x = in.nextLong();
System.out.println(asd(x - 1));
}
public static String asd(long i) {
if (i < 0) {
return "-" + asd(-i - 1);
}
long quot = i / 26;
long rem = i % 26;
char letter = (char) ((int) 'a' + rem);
if (quot == 0) {
return "" + letter;
} else {
return asd(quot - 1) + letter;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
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,
13,
17,
30,
41,
13,
2,
13,
17,
40,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
40,
13,
0,
13,
2,
13,
17,
0,
13,
18,
13,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
4,
18,
13,
4,
18,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
4,
13,
13,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
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,
18,
36,
13,
18,
13,
13,
23,
13,
13,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
36,
13,
29,
17,
14,
2,
2,
13,
17,
2,
4,
13,
4,
18,
13,
29,
17,
41,
13,
13,
29,
2,
2,
2,
13,
18,
13,
13,
2,
13,
18,
13,
13,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
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
],
[
344,
14
],
[
344,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
17,
23
],
[
23,
24
],
[
23,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
28,
31
],
[
28,
32
],
[
28,
33
],
[
28,
34
],
[
28,
35
],
[
28,
36
],
[
28,
37
],
[
28,
38
],
[
28,
39
],
[
28,
40
],
[
28,
41
],
[
28,
42
],
[
28,
43
],
[
28,
44
],
[
28,
45
],
[
28,
46
],
[
28,
47
],
[
28,
48
],
[
28,
49
],
[
28,
50
],
[
28,
51
],
[
28,
52
],
[
28,
53
],
[
28,
54
],
[
17,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
59,
65
],
[
65,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
71,
80
],
[
80,
81
],
[
67,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
59,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
17,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
96,
100
],
[
92,
101
],
[
101,
102
],
[
101,
103
],
[
92,
104
],
[
104,
105
],
[
105,
106
],
[
92,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
15,
115
],
[
115,
116
],
[
15,
117
],
[
117,
118
],
[
344,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
121,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
121,
132
],
[
132,
133
],
[
132,
134
],
[
121,
135
],
[
135,
136
],
[
135,
137
],
[
121,
138
],
[
138,
139
],
[
138,
140
],
[
138,
141
],
[
121,
142
],
[
142,
143
],
[
143,
144
],
[
119,
145
],
[
145,
146
],
[
344,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
147,
151
],
[
151,
152
],
[
147,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
159,
160
],
[
159,
161
],
[
153,
162
],
[
162,
163
],
[
147,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
167,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
177,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
166,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
147,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
195,
198
],
[
198,
199
],
[
147,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
204,
207
],
[
207,
208
],
[
147,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
213,
216
],
[
216,
217
],
[
0,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
218,
222
],
[
222,
223
],
[
218,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
226,
232
],
[
232,
233
],
[
233,
234
],
[
233,
235
],
[
232,
236
],
[
224,
237
],
[
237,
238
],
[
224,
239
],
[
239,
240
],
[
218,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
245,
249
],
[
249,
250
],
[
249,
251
],
[
241,
252
],
[
252,
253
],
[
218,
254
],
[
0,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
255,
259
],
[
259,
260
],
[
255,
261
],
[
261,
262
],
[
255,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
266,
270
],
[
265,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
265,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
263,
281
],
[
281,
282
],
[
263,
283
],
[
283,
284
],
[
263,
285
],
[
285,
286
],
[
255,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
290,
294
],
[
294,
295
],
[
289,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
301,
302
],
[
302,
303
],
[
301,
304
],
[
304,
305
],
[
305,
306
],
[
296,
307
],
[
307,
308
],
[
289,
309
],
[
309,
310
],
[
309,
311
],
[
289,
312
],
[
312,
313
],
[
314,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
317,
319
],
[
314,
320
],
[
320,
321
],
[
320,
322
],
[
322,
323
],
[
322,
324
],
[
314,
325
],
[
325,
326
],
[
326,
327
],
[
325,
328
],
[
328,
329
],
[
328,
330
],
[
287,
331
],
[
331,
332
],
[
255,
333
],
[
333,
334
],
[
333,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
337,
340
],
[
337,
341
],
[
337,
342
],
[
0,
343
],
[
343,
344
],
[
343,
345
]
]
| [
"import java.io.*;\nimport java.util.*;\nimport static java.lang.Math.min;\nimport static java.lang.Math.max;\npublic class Main {\n\n private static void solver(InputReader sc, PrintWriter out) throws Exception {\n long n = sc.nextLong();\n String ans = \"\";\n String arr[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n //out.println(arr.length);\n while(n > 0){\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }\n for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n solver(in,out);\n out.close();\n }\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n public double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n}\nclass Pair implements Comparable<Pair>{\n int x,y;\n Pair(int x, int y){\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair p){\n return (int)(this.x - p.x);\n }\n}\nclass Tuple{\n String s;\n int x, y;\n\n public Tuple(String s, int x, int y) {\n this.s = s;\n this.x = x;\n this.y = y;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n Tuple tuple = (Tuple) o;\n return x == tuple.x &&\n y == tuple.y &&\n s.equals(tuple.s);\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(s, x, y);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"import static java.lang.Math.min;",
"import static java.lang.Math.min;",
"import static java.lang.Math.min;",
"import static java.lang.Math.max;",
"import static java.lang.Math.max;",
"import static java.lang.Math.max;",
"public class Main {\n\n private static void solver(InputReader sc, PrintWriter out) throws Exception {\n long n = sc.nextLong();\n String ans = \"\";\n String arr[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n //out.println(arr.length);\n while(n > 0){\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }\n for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n solver(in,out);\n out.close();\n }\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n public double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n}",
"Main",
"private static void solver(InputReader sc, PrintWriter out) throws Exception {\n long n = sc.nextLong();\n String ans = \"\";\n String arr[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n //out.println(arr.length);\n while(n > 0){\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }\n for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));\n }",
"solver",
"{\n long n = sc.nextLong();\n String ans = \"\";\n String arr[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n //out.println(arr.length);\n while(n > 0){\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }\n for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));\n }",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"String arr[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"arr",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"while(n > 0){\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }",
"n > 0",
"n",
"0",
"{\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }",
"long mod = n%26;",
"mod",
"n%26",
"n",
"26",
"mod--",
"mod",
"if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;",
"mod < 0",
"mod",
"0",
"{\n mod = 25; n= n/26;\n n--;\n }",
"mod = 25",
"mod",
"25",
"n= n/26",
"n",
"n/26",
"n",
"26",
"n--",
"n",
"n = n/26",
"n",
"n/26",
"n",
"26",
"ans += (arr[(int) mod])",
"ans",
"(arr[(int) mod])",
"arr",
"(int) mod",
"for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));",
"int i=ans.length()-1;",
"int i=ans.length()-1;",
"i",
"ans.length()-1",
"ans.length()",
"ans.length",
"ans",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"out.print(ans.charAt(i));",
"out.print(ans.charAt(i))",
"out.print",
"out",
"ans.charAt(i)",
"ans.charAt",
"ans",
"i",
"InputReader sc",
"sc",
"PrintWriter out",
"out",
"public static void main(String[] args) throws Exception {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n solver(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(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(in,out)",
"solver",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n public double nextDouble(){\n return Double.parseDouble(next());\n }\n }",
"InputReader",
"public BufferedReader reader;",
"reader",
"public StringTokenizer tokenizer;",
"tokenizer",
"public 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",
"public 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",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public double nextDouble(){\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"class Pair implements Comparable<Pair>{\n int x,y;\n Pair(int x, int y){\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair p){\n return (int)(this.x - p.x);\n }\n}",
"Pair",
"int x",
"x",
"y;",
"y",
"Pair(int x, int 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",
"int x",
"x",
"int y",
"y",
"public int compareTo(Pair p){\n return (int)(this.x - p.x);\n }",
"compareTo",
"{\n return (int)(this.x - p.x);\n }",
"return (int)(this.x - p.x);",
"(int)(this.x - p.x)",
"this.x",
"this",
"this.x",
"p.x",
"p",
"p.x",
"Pair p",
"p",
"Comparable",
"class Tuple{\n String s;\n int x, y;\n\n public Tuple(String s, int x, int y) {\n this.s = s;\n this.x = x;\n this.y = y;\n }\n\n @Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n Tuple tuple = (Tuple) o;\n return x == tuple.x &&\n y == tuple.y &&\n s.equals(tuple.s);\n }\n\n @Override\n public int hashCode() {\n return Objects.hash(s, x, y);\n }\n}",
"Tuple",
"String s;",
"s",
"int x",
"x",
"y;",
"y",
"public Tuple(String s, int x, int y) {\n this.s = s;\n this.x = x;\n this.y = y;\n }",
"Tuple",
"{\n this.s = s;\n this.x = x;\n this.y = y;\n }",
"this.s = s",
"this.s",
"this",
"this.s",
"s",
"this.x = x",
"this.x",
"this",
"this.x",
"x",
"this.y = y",
"this.y",
"this",
"this.y",
"y",
"String s",
"s",
"int x",
"x",
"int y",
"y",
"@Override\n public boolean equals(Object o) {\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n Tuple tuple = (Tuple) o;\n return x == tuple.x &&\n y == tuple.y &&\n s.equals(tuple.s);\n }",
"equals",
"{\n if (this == o) return true;\n if (o == null || getClass() != o.getClass()) return false;\n Tuple tuple = (Tuple) o;\n return x == tuple.x &&\n y == tuple.y &&\n s.equals(tuple.s);\n }",
"if (this == o) return true;",
"this == o",
"this",
"o",
"return true;",
"true",
"if (o == null || getClass() != o.getClass()) return false;",
"o == null || getClass() != o.getClass()",
"o == null",
"o",
"null",
"getClass() != o.getClass()",
"getClass()",
"getClass",
"o.getClass()",
"o.getClass",
"o",
"return false;",
"false",
"Tuple tuple = (Tuple) o;",
"tuple",
"(Tuple) o",
"return x == tuple.x &&\n y == tuple.y &&\n s.equals(tuple.s);",
"x == tuple.x &&\n y == tuple.y &&\n s.equals(tuple.s)",
"x == tuple.x &&\n y == tuple.y &&\n s.equals(tuple.s)",
"x == tuple.x",
"x",
"tuple.x",
"tuple",
"tuple.x",
"y == tuple.y",
"y",
"tuple.y",
"tuple",
"tuple.y",
"s.equals(tuple.s)",
"s.equals",
"s",
"tuple.s",
"tuple",
"tuple.s",
"Object o",
"o",
"@Override\n public int hashCode() {\n return Objects.hash(s, x, y);\n }",
"hashCode",
"{\n return Objects.hash(s, x, y);\n }",
"return Objects.hash(s, x, y);",
"Objects.hash(s, x, y)",
"Objects.hash",
"Objects",
"s",
"x",
"y",
"public class Main {\n\n private static void solver(InputReader sc, PrintWriter out) throws Exception {\n long n = sc.nextLong();\n String ans = \"\";\n String arr[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n //out.println(arr.length);\n while(n > 0){\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }\n for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n solver(in,out);\n out.close();\n }\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n public double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n}",
"public class Main {\n\n private static void solver(InputReader sc, PrintWriter out) throws Exception {\n long n = sc.nextLong();\n String ans = \"\";\n String arr[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\", \"i\", \"j\", \"k\", \"l\", \"m\",\n \"n\", \"o\", \"p\", \"q\", \"r\", \"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n //out.println(arr.length);\n while(n > 0){\n long mod = n%26;mod--;\n if(mod < 0) {\n mod = 25; n= n/26;\n n--;\n }else n = n/26;\n ans += (arr[(int) mod]);\n }\n for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));\n }\n\n public static void main(String[] args) throws Exception {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n solver(in,out);\n out.close();\n }\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n public 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 public int nextInt() {\n return Integer.parseInt(next());\n }\n public long nextLong() {\n return Long.parseLong(next());\n }\n public double nextDouble(){\n return Double.parseDouble(next());\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
import static java.lang.Math.min;
import static java.lang.Math.max;
public class Main {
private static void solver(InputReader sc, PrintWriter out) throws Exception {
long n = sc.nextLong();
String ans = "";
String arr[] = {"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"};
//out.println(arr.length);
while(n > 0){
long mod = n%26;mod--;
if(mod < 0) {
mod = 25; n= n/26;
n--;
}else n = n/26;
ans += (arr[(int) mod]);
}
for(int i=ans.length()-1; i>=0; i--) out.print(ans.charAt(i));
}
public static void main(String[] args) throws Exception {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
PrintWriter out = new PrintWriter(outputStream);
solver(in,out);
out.close();
}
static class InputReader {
public BufferedReader reader;
public StringTokenizer tokenizer;
public InputReader(InputStream stream) {
reader = new BufferedReader(new InputStreamReader(stream), 32768);
tokenizer = null;
}
public String next() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public int nextInt() {
return Integer.parseInt(next());
}
public long nextLong() {
return Long.parseLong(next());
}
public double nextDouble(){
return Double.parseDouble(next());
}
}
}
class Pair implements Comparable<Pair>{
int x,y;
Pair(int x, int y){
this.x = x;
this.y = y;
}
public int compareTo(Pair p){
return (int)(this.x - p.x);
}
}
class Tuple{
String s;
int x, y;
public Tuple(String s, int x, int y) {
this.s = s;
this.x = x;
this.y = y;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
Tuple tuple = (Tuple) o;
return x == tuple.x &&
y == tuple.y &&
s.equals(tuple.s);
}
@Override
public int hashCode() {
return Objects.hash(s, x, y);
}
}
|
[
7,
15,
13,
17,
6,
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,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
29,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
13,
0,
13,
2,
2,
13,
17,
13,
0,
13,
2,
18,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
8,
10
],
[
8,
11
],
[
8,
12
],
[
8,
13
],
[
8,
14
],
[
8,
15
],
[
8,
16
],
[
8,
17
],
[
8,
18
],
[
8,
19
],
[
8,
20
],
[
8,
21
],
[
8,
22
],
[
8,
23
],
[
8,
24
],
[
8,
25
],
[
8,
26
],
[
8,
27
],
[
8,
28
],
[
8,
29
],
[
8,
30
],
[
8,
31
],
[
8,
32
],
[
8,
33
],
[
8,
34
],
[
4,
35
],
[
35,
36
],
[
35,
37
],
[
4,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
40,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
56,
63
],
[
40,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
68,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
68,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
40,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
38,
96
],
[
96,
97
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n\n static final char[] ALPHA = {'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 static final long BASE = 26;\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String name = \"\";\n if (n == 1) {\n System.out.println(\"a\");\n return;\n }\n while (n != 0) {\n long rem = (n-1) % BASE;\n n = (n-1)/BASE;\n name = ALPHA[(int) (rem)] + name;\n }\n System.out.println(name);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n\n static final char[] ALPHA = {'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 static final long BASE = 26;\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String name = \"\";\n if (n == 1) {\n System.out.println(\"a\");\n return;\n }\n while (n != 0) {\n long rem = (n-1) % BASE;\n n = (n-1)/BASE;\n name = ALPHA[(int) (rem)] + name;\n }\n System.out.println(name);\n }\n}",
"Main",
"static final char[] ALPHA = {'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'};",
"ALPHA",
"{'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'",
"static final long BASE = 26;",
"BASE",
"26",
"public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String name = \"\";\n if (n == 1) {\n System.out.println(\"a\");\n return;\n }\n while (n != 0) {\n long rem = (n-1) % BASE;\n n = (n-1)/BASE;\n name = ALPHA[(int) (rem)] + name;\n }\n System.out.println(name);\n }",
"main",
"{\n Scanner s = new Scanner(System.in);\n long n = s.nextLong();\n String name = \"\";\n if (n == 1) {\n System.out.println(\"a\");\n return;\n }\n while (n != 0) {\n long rem = (n-1) % BASE;\n n = (n-1)/BASE;\n name = ALPHA[(int) (rem)] + name;\n }\n System.out.println(name);\n }",
"Scanner s = new Scanner(System.in);",
"s",
"new Scanner(System.in)",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"String name = \"\";",
"name",
"\"\"",
"if (n == 1) {\n System.out.println(\"a\");\n return;\n }",
"n == 1",
"n",
"1",
"{\n System.out.println(\"a\");\n return;\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"return;",
"while (n != 0) {\n long rem = (n-1) % BASE;\n n = (n-1)/BASE;\n name = ALPHA[(int) (rem)] + name;\n }",
"n != 0",
"n",
"0",
"{\n long rem = (n-1) % BASE;\n n = (n-1)/BASE;\n name = ALPHA[(int) (rem)] + name;\n }",
"long rem = (n-1) % BASE;",
"rem",
"(n-1) % BASE",
"(n-1)",
"n",
"1",
"BASE",
"n = (n-1)/BASE",
"n",
"(n-1)/BASE",
"(n-1)",
"n",
"1",
"BASE",
"name = ALPHA[(int) (rem)] + name",
"name",
"ALPHA[(int) (rem)] + name",
"ALPHA[(int) (rem)]",
"ALPHA",
"(int) (rem)",
"name",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args"
]
| import java.util.Scanner;
class Main {
static final char[] ALPHA = {'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'};
static final long BASE = 26;
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
long n = s.nextLong();
String name = "";
if (n == 1) {
System.out.println("a");
return;
}
while (n != 0) {
long rem = (n-1) % BASE;
n = (n-1)/BASE;
name = ALPHA[(int) (rem)] + name;
}
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,
20,
13,
0,
18,
13,
17,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
30,
3,
0,
13,
18,
13,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
2,
2,
13,
17,
17,
13,
0,
13,
17,
4,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
24,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
35,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
47,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
55,
57
],
[
52,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
64,
65
],
[
64,
66
],
[
59,
67
],
[
67,
68
],
[
68,
69
],
[
59,
70
],
[
71,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
8,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
81,
86
],
[
86,
87
],
[
86,
88
],
[
81,
89
],
[
89,
90
],
[
90,
91
],
[
81,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
94,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
94,
106
],
[
106,
107
],
[
8,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
8,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
115,
120
],
[
120,
121
],
[
120,
122
],
[
115,
123
],
[
123,
124
],
[
124,
125
],
[
115,
126
],
[
127,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
130,
136
],
[
127,
137
],
[
137,
138
],
[
137,
139
],
[
8,
140
],
[
140,
141
],
[
140,
142
],
[
6,
143
],
[
143,
144
],
[
4,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
148,
153
],
[
145,
154
],
[
154,
155
]
]
| [
"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\t\tint maxlen=12;\n\t\tlong[] space=new long[maxlen];\n\t\tspace[0]=1;\n\t\tint ketasu=0;\n\t\tString ans=\"\";\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]=space[i-1]*26;\n\t\t}\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]+=space[i-1];\n\t\t}\n\t\tfor(int i=0; i<maxlen; i++) {\n\t\t\tif(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tN-=space[ketasu-1];\n\t\t//lp(N+\" \"+ketasu);\n\t\tfor(int i=0; i<ketasu; i++) {\n\t\t\tans=((char)(N%26+'a'))+ans;\n\t\t\tN/=26;\n\t\t}\n\t\tlp(ans);\n\t}\n\tpublic static void lp(Object o) {\n\t\tSystem.out.println(o);\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\t\tint maxlen=12;\n\t\tlong[] space=new long[maxlen];\n\t\tspace[0]=1;\n\t\tint ketasu=0;\n\t\tString ans=\"\";\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]=space[i-1]*26;\n\t\t}\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]+=space[i-1];\n\t\t}\n\t\tfor(int i=0; i<maxlen; i++) {\n\t\t\tif(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tN-=space[ketasu-1];\n\t\t//lp(N+\" \"+ketasu);\n\t\tfor(int i=0; i<ketasu; i++) {\n\t\t\tans=((char)(N%26+'a'))+ans;\n\t\t\tN/=26;\n\t\t}\n\t\tlp(ans);\n\t}\n\tpublic static void lp(Object o) {\n\t\tSystem.out.println(o);\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\tint maxlen=12;\n\t\tlong[] space=new long[maxlen];\n\t\tspace[0]=1;\n\t\tint ketasu=0;\n\t\tString ans=\"\";\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]=space[i-1]*26;\n\t\t}\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]+=space[i-1];\n\t\t}\n\t\tfor(int i=0; i<maxlen; i++) {\n\t\t\tif(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tN-=space[ketasu-1];\n\t\t//lp(N+\" \"+ketasu);\n\t\tfor(int i=0; i<ketasu; i++) {\n\t\t\tans=((char)(N%26+'a'))+ans;\n\t\t\tN/=26;\n\t\t}\n\t\tlp(ans);\n\t}",
"main",
"{\n\t\tScanner sc=new Scanner(System.in);\n\t\tlong N=sc.nextLong();\n\t\tint maxlen=12;\n\t\tlong[] space=new long[maxlen];\n\t\tspace[0]=1;\n\t\tint ketasu=0;\n\t\tString ans=\"\";\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]=space[i-1]*26;\n\t\t}\n\t\tfor(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]+=space[i-1];\n\t\t}\n\t\tfor(int i=0; i<maxlen; i++) {\n\t\t\tif(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tN-=space[ketasu-1];\n\t\t//lp(N+\" \"+ketasu);\n\t\tfor(int i=0; i<ketasu; i++) {\n\t\t\tans=((char)(N%26+'a'))+ans;\n\t\t\tN/=26;\n\t\t}\n\t\tlp(ans);\n\t}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N=sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"int maxlen=12;",
"maxlen",
"12",
"long[] space=new long[maxlen];",
"space",
"new long[maxlen]",
"maxlen",
"space[0]=1",
"space[0]",
"space",
"0",
"1",
"int ketasu=0;",
"ketasu",
"0",
"String ans=\"\";",
"ans",
"\"\"",
"for(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]=space[i-1]*26;\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<maxlen",
"i",
"maxlen",
"i++",
"i++",
"i",
"{\n\t\t\tspace[i]=space[i-1]*26;\n\t\t}",
"{\n\t\t\tspace[i]=space[i-1]*26;\n\t\t}",
"space[i]=space[i-1]*26",
"space[i]",
"space",
"i",
"space[i-1]*26",
"space[i-1]",
"space",
"i-1",
"i",
"1",
"26",
"for(int i=1; i<maxlen; i++) {\n\t\t\tspace[i]+=space[i-1];\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<maxlen",
"i",
"maxlen",
"i++",
"i++",
"i",
"{\n\t\t\tspace[i]+=space[i-1];\n\t\t}",
"{\n\t\t\tspace[i]+=space[i-1];\n\t\t}",
"space[i]+=space[i-1]",
"space[i]",
"space",
"i",
"space[i-1]",
"space",
"i-1",
"i",
"1",
"for(int i=0; i<maxlen; i++) {\n\t\t\tif(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<maxlen",
"i",
"maxlen",
"i++",
"i++",
"i",
"{\n\t\t\tif(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(N>=space[i]) {\n\t\t\t\tketasu=i+1;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tbreak;\n\t\t\t}",
"N>=space[i]",
"N",
"space[i]",
"space",
"i",
"{\n\t\t\t\tketasu=i+1;\n\t\t\t}",
"ketasu=i+1",
"ketasu",
"i+1",
"i",
"1",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"N-=space[ketasu-1]",
"N",
"space[ketasu-1]",
"space",
"ketasu-1",
"ketasu",
"1",
"for(int i=0; i<ketasu; i++) {\n\t\t\tans=((char)(N%26+'a'))+ans;\n\t\t\tN/=26;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<ketasu",
"i",
"ketasu",
"i++",
"i++",
"i",
"{\n\t\t\tans=((char)(N%26+'a'))+ans;\n\t\t\tN/=26;\n\t\t}",
"{\n\t\t\tans=((char)(N%26+'a'))+ans;\n\t\t\tN/=26;\n\t\t}",
"ans=((char)(N%26+'a'))+ans",
"ans",
"((char)(N%26+'a'))+ans",
"((char)(N%26+'a'))",
"N%26",
"N",
"26",
"'a'",
"ans",
"N/=26",
"N",
"26",
"lp(ans)",
"lp",
"ans",
"String[] args",
"args",
"public static void lp(Object o) {\n\t\tSystem.out.println(o);\n\t}",
"lp",
"{\n\t\tSystem.out.println(o);\n\t}",
"System.out.println(o)",
"System.out.println",
"System.out",
"System",
"System.out",
"o",
"Object o",
"o"
]
| import java.util.Scanner;
class Main{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
long N=sc.nextLong();
int maxlen=12;
long[] space=new long[maxlen];
space[0]=1;
int ketasu=0;
String ans="";
for(int i=1; i<maxlen; i++) {
space[i]=space[i-1]*26;
}
for(int i=1; i<maxlen; i++) {
space[i]+=space[i-1];
}
for(int i=0; i<maxlen; i++) {
if(N>=space[i]) {
ketasu=i+1;
}
else {
break;
}
}
N-=space[ketasu-1];
//lp(N+" "+ketasu);
for(int i=0; i<ketasu; i++) {
ans=((char)(N%26+'a'))+ans;
N/=26;
}
lp(ans);
}
public static void lp(Object o) {
System.out.println(o);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
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,
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,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
28,
13,
13,
30,
4,
18,
13,
13,
4,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
40,
13,
17,
30,
41,
13,
4,
18,
13,
4,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
17,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
255,
8
],
[
255,
9
],
[
9,
10
],
[
9,
11
],
[
255,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
16,
19
],
[
19,
20
],
[
20,
21
],
[
255,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
26,
29
],
[
29,
30
],
[
30,
31
],
[
255,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
255,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
45,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
41,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
41,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
57,
67
],
[
67,
68
],
[
68,
69
],
[
57,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
41,
79
],
[
79,
80
],
[
39,
81
],
[
81,
82
],
[
255,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
89,
91
],
[
89,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
85,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
97,
101
],
[
101,
102
],
[
102,
103
],
[
85,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
111,
112
],
[
112,
113
],
[
104,
114
],
[
114,
115
],
[
115,
116
],
[
104,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
122,
123
],
[
123,
124
],
[
122,
125
],
[
85,
126
],
[
126,
127
],
[
83,
128
],
[
128,
129
],
[
255,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
135,
140
],
[
132,
141
],
[
141,
142
],
[
141,
143
],
[
144,
145
],
[
144,
146
],
[
132,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
147,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
154,
156
],
[
147,
157
],
[
157,
158
],
[
158,
159
],
[
147,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
162,
164
],
[
161,
165
],
[
165,
166
],
[
166,
167
],
[
165,
168
],
[
168,
169
],
[
168,
170
],
[
132,
171
],
[
171,
172
],
[
255,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
176,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
183,
185
],
[
176,
186
],
[
186,
187
],
[
187,
188
],
[
176,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
192,
194
],
[
190,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
173,
200
],
[
200,
201
],
[
255,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
204,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
209,
212
],
[
208,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
219,
220
],
[
213,
221
],
[
221,
222
],
[
221,
223
],
[
213,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
224,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
236,
238
],
[
228,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
213,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
244,
249
],
[
249,
250
],
[
250,
251
],
[
202,
252
],
[
252,
253
],
[
0,
254
],
[
254,
255
],
[
254,
256
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tpublic static int nextInt() throws IOException {\n\t\treturn Integer.parseInt(br.readLine());\n\t}\n\n\tpublic static long nextLong() throws IOException {\n\t\treturn Long.parseLong(br.readLine());\n\t}\n\n\tpublic static String next() throws IOException {\n\t\treturn br.readLine();\n\t}\n\n\tpublic static int[] sortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a);\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] desortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a, Collections.reverseOrder());\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] nextArr() throws IOException {\n\t\tString elements[] = br.readLine().split(\" \");\n\t\tint arr[] = new int[elements.length];\n\t\tfor (int j = 0; j < elements.length; j++)\n\t\t\tarr[j] = Integer.parseInt(elements[j]);\n\t\treturn arr;\n\t}\n\n\tpublic static void printArr(char arr[]) {\n\t\tfor (int i = 0; i < arr.length; i++)\n\t\t\tSystem.out.print(arr[i] + \" \");\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint T = 1;\n\t\n\t\twhile (T-- > 0) {\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}\n\t}\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tpublic static int nextInt() throws IOException {\n\t\treturn Integer.parseInt(br.readLine());\n\t}\n\n\tpublic static long nextLong() throws IOException {\n\t\treturn Long.parseLong(br.readLine());\n\t}\n\n\tpublic static String next() throws IOException {\n\t\treturn br.readLine();\n\t}\n\n\tpublic static int[] sortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a);\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] desortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a, Collections.reverseOrder());\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] nextArr() throws IOException {\n\t\tString elements[] = br.readLine().split(\" \");\n\t\tint arr[] = new int[elements.length];\n\t\tfor (int j = 0; j < elements.length; j++)\n\t\t\tarr[j] = Integer.parseInt(elements[j]);\n\t\treturn arr;\n\t}\n\n\tpublic static void printArr(char arr[]) {\n\t\tfor (int i = 0; i < arr.length; i++)\n\t\t\tSystem.out.print(arr[i] + \" \");\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint T = 1;\n\t\n\t\twhile (T-- > 0) {\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}\n\t}\n\n}",
"Main",
"static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"public static int nextInt() throws IOException {\n\t\treturn Integer.parseInt(br.readLine());\n\t}",
"nextInt",
"{\n\t\treturn Integer.parseInt(br.readLine());\n\t}",
"return Integer.parseInt(br.readLine());",
"Integer.parseInt(br.readLine())",
"Integer.parseInt",
"Integer",
"br.readLine()",
"br.readLine",
"br",
"public static long nextLong() throws IOException {\n\t\treturn Long.parseLong(br.readLine());\n\t}",
"nextLong",
"{\n\t\treturn Long.parseLong(br.readLine());\n\t}",
"return Long.parseLong(br.readLine());",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"public static String next() throws IOException {\n\t\treturn br.readLine();\n\t}",
"next",
"{\n\t\treturn br.readLine();\n\t}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public static int[] sortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a);\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}",
"sortArr",
"{\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a);\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}",
"ArrayList<Integer> a = new ArrayList<Integer>();",
"a",
"new ArrayList<Integer>()",
"for (int i : arr)\n\t\t\ta.add(i);",
"int i",
"arr",
"a.add(i);",
"a.add(i)",
"a.add",
"a",
"i",
"Collections.sort(a)",
"Collections.sort",
"Collections",
"a",
"for (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.size()",
"i",
"a.size()",
"a.size",
"a",
"i++",
"i++",
"i",
"arr[i] = a.get(i);",
"arr[i] = a.get(i)",
"arr[i]",
"arr",
"i",
"a.get(i)",
"a.get",
"a",
"i",
"return arr;",
"arr",
"int arr[]",
"arr",
"public static int[] desortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a, Collections.reverseOrder());\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}",
"desortArr",
"{\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a, Collections.reverseOrder());\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}",
"ArrayList<Integer> a = new ArrayList<Integer>();",
"a",
"new ArrayList<Integer>()",
"for (int i : arr)\n\t\t\ta.add(i);",
"int i",
"arr",
"a.add(i);",
"a.add(i)",
"a.add",
"a",
"i",
"Collections.sort(a, Collections.reverseOrder())",
"Collections.sort",
"Collections",
"a",
"Collections.reverseOrder()",
"Collections.reverseOrder",
"Collections",
"for (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < a.size()",
"i",
"a.size()",
"a.size",
"a",
"i++",
"i++",
"i",
"arr[i] = a.get(i);",
"arr[i] = a.get(i)",
"arr[i]",
"arr",
"i",
"a.get(i)",
"a.get",
"a",
"i",
"return arr;",
"arr",
"int arr[]",
"arr",
"public static int[] nextArr() throws IOException {\n\t\tString elements[] = br.readLine().split(\" \");\n\t\tint arr[] = new int[elements.length];\n\t\tfor (int j = 0; j < elements.length; j++)\n\t\t\tarr[j] = Integer.parseInt(elements[j]);\n\t\treturn arr;\n\t}",
"nextArr",
"{\n\t\tString elements[] = br.readLine().split(\" \");\n\t\tint arr[] = new int[elements.length];\n\t\tfor (int j = 0; j < elements.length; j++)\n\t\t\tarr[j] = Integer.parseInt(elements[j]);\n\t\treturn arr;\n\t}",
"String elements[] = br.readLine().split(\" \");",
"elements",
"br.readLine().split(\" \")",
"br.readLine().split",
"br.readLine()",
"br.readLine",
"br",
"\" \"",
"int arr[] = new int[elements.length];",
"arr",
"new int[elements.length]",
"elements.length",
"elements",
"elements.length",
"for (int j = 0; j < elements.length; j++)\n\t\t\tarr[j] = Integer.parseInt(elements[j]);",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < elements.length",
"j",
"elements.length",
"elements",
"elements.length",
"j++",
"j++",
"j",
"arr[j] = Integer.parseInt(elements[j]);",
"arr[j] = Integer.parseInt(elements[j])",
"arr[j]",
"arr",
"j",
"Integer.parseInt(elements[j])",
"Integer.parseInt",
"Integer",
"elements[j]",
"elements",
"j",
"return arr;",
"arr",
"public static void printArr(char arr[]) {\n\t\tfor (int i = 0; i < arr.length; i++)\n\t\t\tSystem.out.print(arr[i] + \" \");\n\t}",
"printArr",
"{\n\t\tfor (int i = 0; i < arr.length; i++)\n\t\t\tSystem.out.print(arr[i] + \" \");\n\t}",
"for (int i = 0; i < arr.length; i++)\n\t\t\tSystem.out.print(arr[i] + \" \");",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"System.out.print(arr[i] + \" \");",
"System.out.print(arr[i] + \" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i] + \" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"char arr[]",
"arr",
"public static void main(String[] args) throws IOException {\n\n\t\tint T = 1;\n\t\n\t\twhile (T-- > 0) {\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}\n\t}",
"main",
"{\n\n\t\tint T = 1;\n\t\n\t\twhile (T-- > 0) {\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}\n\t}",
"int T = 1;",
"T",
"1",
"while (T-- > 0) {\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}",
"T-- > 0",
"T--",
"T",
"0",
"{\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}",
"long n = Long.parseLong(next());",
"n",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"String s = \"\";",
"s",
"\"\"",
"while (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}",
"n -= 1",
"n",
"1",
"s += (char) (97 + n % 26)",
"s",
"(char) (97 + n % 26)",
"97",
"n % 26",
"n",
"26",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"System.out.println(new StringBuilder(s).reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuilder(s).reverse()",
"new StringBuilder(s).reverse",
"new StringBuilder(s)",
"String[] args",
"args",
"public class Main {\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tpublic static int nextInt() throws IOException {\n\t\treturn Integer.parseInt(br.readLine());\n\t}\n\n\tpublic static long nextLong() throws IOException {\n\t\treturn Long.parseLong(br.readLine());\n\t}\n\n\tpublic static String next() throws IOException {\n\t\treturn br.readLine();\n\t}\n\n\tpublic static int[] sortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a);\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] desortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a, Collections.reverseOrder());\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] nextArr() throws IOException {\n\t\tString elements[] = br.readLine().split(\" \");\n\t\tint arr[] = new int[elements.length];\n\t\tfor (int j = 0; j < elements.length; j++)\n\t\t\tarr[j] = Integer.parseInt(elements[j]);\n\t\treturn arr;\n\t}\n\n\tpublic static void printArr(char arr[]) {\n\t\tfor (int i = 0; i < arr.length; i++)\n\t\t\tSystem.out.print(arr[i] + \" \");\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint T = 1;\n\t\n\t\twhile (T-- > 0) {\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tstatic BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\tpublic static int nextInt() throws IOException {\n\t\treturn Integer.parseInt(br.readLine());\n\t}\n\n\tpublic static long nextLong() throws IOException {\n\t\treturn Long.parseLong(br.readLine());\n\t}\n\n\tpublic static String next() throws IOException {\n\t\treturn br.readLine();\n\t}\n\n\tpublic static int[] sortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a);\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] desortArr(int arr[]) throws IOException {\n\t\tArrayList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i : arr)\n\t\t\ta.add(i);\n\n\t\tCollections.sort(a, Collections.reverseOrder());\n\n\t\tfor (int i = 0; i < a.size(); i++)\n\t\t\tarr[i] = a.get(i);\n\t\treturn arr;\n\t}\n\n\tpublic static int[] nextArr() throws IOException {\n\t\tString elements[] = br.readLine().split(\" \");\n\t\tint arr[] = new int[elements.length];\n\t\tfor (int j = 0; j < elements.length; j++)\n\t\t\tarr[j] = Integer.parseInt(elements[j]);\n\t\treturn arr;\n\t}\n\n\tpublic static void printArr(char arr[]) {\n\t\tfor (int i = 0; i < arr.length; i++)\n\t\t\tSystem.out.print(arr[i] + \" \");\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tint T = 1;\n\t\n\t\twhile (T-- > 0) {\n\t\t\tlong n = Long.parseLong(next());\n\t\t\t\n\t\t\tString s = \"\";\n\n\t\t\twhile (n > 0) {\n\t\t\t\tn -= 1;\n\t\t\t\ts += (char) (97 + n % 26);\n\t\t\t\tn = n / 26;\n\t\t\t}\n\t\t\tSystem.out.println(new StringBuilder(s).reverse());\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
public static int nextInt() throws IOException {
return Integer.parseInt(br.readLine());
}
public static long nextLong() throws IOException {
return Long.parseLong(br.readLine());
}
public static String next() throws IOException {
return br.readLine();
}
public static int[] sortArr(int arr[]) throws IOException {
ArrayList<Integer> a = new ArrayList<Integer>();
for (int i : arr)
a.add(i);
Collections.sort(a);
for (int i = 0; i < a.size(); i++)
arr[i] = a.get(i);
return arr;
}
public static int[] desortArr(int arr[]) throws IOException {
ArrayList<Integer> a = new ArrayList<Integer>();
for (int i : arr)
a.add(i);
Collections.sort(a, Collections.reverseOrder());
for (int i = 0; i < a.size(); i++)
arr[i] = a.get(i);
return arr;
}
public static int[] nextArr() throws IOException {
String elements[] = br.readLine().split(" ");
int arr[] = new int[elements.length];
for (int j = 0; j < elements.length; j++)
arr[j] = Integer.parseInt(elements[j]);
return arr;
}
public static void printArr(char arr[]) {
for (int i = 0; i < arr.length; i++)
System.out.print(arr[i] + " ");
}
public static void main(String[] args) throws IOException {
int T = 1;
while (T-- > 0) {
long n = Long.parseLong(next());
String s = "";
while (n > 0) {
n -= 1;
s += (char) (97 + n % 26);
n = n / 26;
}
System.out.println(new StringBuilder(s).reverse());
}
}
}
|
[
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,
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,
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
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
17,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
33,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
33,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
33,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
17,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
15,
65
],
[
65,
66
],
[
13,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
67,
71
],
[
71,
72
],
[
67,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
67,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
82,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
92,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
81,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
67,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
67,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
120,
123
],
[
123,
124
],
[
67,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
67,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
136,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
145,
146
],
[
140,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
151,
152
],
[
136,
153
],
[
153,
154
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.*;\n\nclass Main\n{\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args)\n {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n StringBuilder stringBuilder = new StringBuilder(\"\");\n\n while(n > 0){\n n = n - 1;\n long rem = n % 26;\n stringBuilder.append((char)('a' + rem));\n n = n / 26;\n }\n System.out.println(stringBuilder.reverse().toString());\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"class Main\n{\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args)\n {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n StringBuilder stringBuilder = new StringBuilder(\"\");\n\n while(n > 0){\n n = n - 1;\n long rem = n % 26;\n stringBuilder.append((char)('a' + rem));\n n = n / 26;\n }\n System.out.println(stringBuilder.reverse().toString());\n }\n}",
"Main",
"public static void main(String[] args)\n {\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n StringBuilder stringBuilder = new StringBuilder(\"\");\n\n while(n > 0){\n n = n - 1;\n long rem = n % 26;\n stringBuilder.append((char)('a' + rem));\n n = n / 26;\n }\n System.out.println(stringBuilder.reverse().toString());\n }",
"main",
"{\n FastReader sc = new FastReader();\n long n = sc.nextLong();\n StringBuilder stringBuilder = new StringBuilder(\"\");\n\n while(n > 0){\n n = n - 1;\n long rem = n % 26;\n stringBuilder.append((char)('a' + rem));\n n = n / 26;\n }\n System.out.println(stringBuilder.reverse().toString());\n }",
"FastReader sc = new FastReader();",
"sc",
"new FastReader()",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder stringBuilder = new StringBuilder(\"\");",
"stringBuilder",
"new StringBuilder(\"\")",
"while(n > 0){\n n = n - 1;\n long rem = n % 26;\n stringBuilder.append((char)('a' + rem));\n n = n / 26;\n }",
"n > 0",
"n",
"0",
"{\n n = n - 1;\n long rem = n % 26;\n stringBuilder.append((char)('a' + rem));\n n = n / 26;\n }",
"n = n - 1",
"n",
"n - 1",
"n",
"1",
"long rem = n % 26;",
"rem",
"n % 26",
"n",
"26",
"stringBuilder.append((char)('a' + rem))",
"stringBuilder.append",
"stringBuilder",
"(char)('a' + rem)",
"'a'",
"rem",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"System.out.println(stringBuilder.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"stringBuilder.reverse().toString()",
"stringBuilder.reverse().toString",
"stringBuilder.reverse()",
"stringBuilder.reverse",
"stringBuilder",
"String[] args",
"args",
"static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader()\n {\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 {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\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 {\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\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"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.*;
class Main
{
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
public static void main(String[] args)
{
FastReader sc = new FastReader();
long n = sc.nextLong();
StringBuilder stringBuilder = new StringBuilder("");
while(n > 0){
n = n - 1;
long rem = n % 26;
stringBuilder.append((char)('a' + rem));
n = n / 26;
}
System.out.println(stringBuilder.reverse().toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
4,
13,
41,
13,
20,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
18,
13,
13,
17,
0,
13,
2,
2,
13,
17,
17,
30,
0,
18,
13,
13,
13,
0,
13,
2,
13,
17,
40,
13,
41,
13,
17,
41,
13,
4,
18,
17,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
18,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
0,
13,
20,
29,
4,
18,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
159,
8
],
[
159,
9
],
[
9,
10
],
[
159,
11
],
[
11,
12
],
[
159,
13
],
[
13,
14
],
[
159,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
17,
29
],
[
29,
30
],
[
29,
31
],
[
17,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
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
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
42,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
59,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
36,
70
],
[
70,
71
],
[
17,
72
],
[
72,
73
],
[
72,
74
],
[
17,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
17,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
80,
87
],
[
87,
88
],
[
87,
89
],
[
80,
90
],
[
90,
91
],
[
91,
92
],
[
80,
93
],
[
94,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
17,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
15,
110
],
[
110,
111
],
[
159,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
116,
119
],
[
119,
120
],
[
159,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
159,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
159,
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
],
[
151,
153
],
[
141,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
0,
158
],
[
158,
159
],
[
158,
160
]
]
| [
"import java.util.*; \nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long N = nextLong();\n \n int[] level = new int[100];\n\n int x = 0;\n while(N > 0){\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }\n \n String ans = \"\";\n char alphabet[] = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n for(int i = x-1; i>=0; i--){\n ans += alphabet[level[i]-1]; //0 base\n }\n\n System.out.println(ans);\n\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long N = nextLong();\n \n int[] level = new int[100];\n\n int x = 0;\n while(N > 0){\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }\n \n String ans = \"\";\n char alphabet[] = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n for(int i = x-1; i>=0; i--){\n ans += alphabet[level[i]-1]; //0 base\n }\n\n System.out.println(ans);\n\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main",
"static StringTokenizer st;",
"st",
"static BufferedReader br;",
"br",
"static PrintWriter out;",
"out",
"public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long N = nextLong();\n \n int[] level = new int[100];\n\n int x = 0;\n while(N > 0){\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }\n \n String ans = \"\";\n char alphabet[] = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n for(int i = x-1; i>=0; i--){\n ans += alphabet[level[i]-1]; //0 base\n }\n\n System.out.println(ans);\n\n \n }",
"main",
"{\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long N = nextLong();\n \n int[] level = new int[100];\n\n int x = 0;\n while(N > 0){\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }\n \n String ans = \"\";\n char alphabet[] = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n for(int i = x-1; i>=0; i--){\n ans += alphabet[level[i]-1]; //0 base\n }\n\n System.out.println(ans);\n\n \n }",
"br = new BufferedReader(new InputStreamReader(System.in))",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"long N = nextLong();",
"N",
"nextLong()",
"nextLong",
"int[] level = new int[100];",
"level",
"new int[100]",
"100",
"int x = 0;",
"x",
"0",
"while(N > 0){\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }",
"N > 0",
"N",
"0",
"{\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }",
"int temp = (int) (N % 26);",
"temp",
"(int) (N % 26)",
"N",
"26",
"if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }",
"temp==0",
"temp",
"0",
"{\n level[x] = 26;\n N = N/26-1;\n }",
"level[x] = 26",
"level[x]",
"level",
"x",
"26",
"N = N/26-1",
"N",
"N/26-1",
"N/26",
"N",
"26",
"1",
"{\n level[x] = temp;\n N = N/26;\n }",
"level[x] = temp",
"level[x]",
"level",
"x",
"temp",
"N = N/26",
"N",
"N/26",
"N",
"26",
"x++",
"x",
"String ans = \"\";",
"ans",
"\"\"",
"char alphabet[] = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();",
"alphabet",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray()",
"\"abcdefghijklmnopqrstuvwxyz\".toCharArray",
"\"abcdefghijklmnopqrstuvwxyz\"",
"for(int i = x-1; i>=0; i--){\n ans += alphabet[level[i]-1]; //0 base\n }",
"int i = x-1;",
"int i = x-1;",
"i",
"x-1",
"x",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n ans += alphabet[level[i]-1]; //0 base\n }",
"{\n ans += alphabet[level[i]-1]; //0 base\n }",
"ans += alphabet[level[i]-1]",
"ans",
"alphabet[level[i]-1]",
"alphabet",
"level[i]-1",
"level[i]",
"level",
"i",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public static 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",
"static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"st = new StringTokenizer(br.readLine().trim())",
"st",
"new StringTokenizer(br.readLine().trim())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long N = nextLong();\n \n int[] level = new int[100];\n\n int x = 0;\n while(N > 0){\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }\n \n String ans = \"\";\n char alphabet[] = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n for(int i = x-1; i>=0; i--){\n ans += alphabet[level[i]-1]; //0 base\n }\n\n System.out.println(ans);\n\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"public class Main {\n static StringTokenizer st;\n static BufferedReader br; \n static PrintWriter out;\n \n public static void main(String[] args) throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n\n long N = nextLong();\n \n int[] level = new int[100];\n\n int x = 0;\n while(N > 0){\n int temp = (int) (N % 26);\n if(temp==0){\n level[x] = 26;\n N = N/26-1;\n }\n else{\n level[x] = temp;\n N = N/26;\n }\n\n x++;\n }\n \n String ans = \"\";\n char alphabet[] = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n for(int i = x-1; i>=0; i--){\n ans += alphabet[level[i]-1]; //0 base\n }\n\n System.out.println(ans);\n\n \n }\n \n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main {
static StringTokenizer st;
static BufferedReader br;
static PrintWriter out;
public static void main(String[] args) throws IOException {
br = new BufferedReader(new InputStreamReader(System.in));
long N = nextLong();
int[] level = new int[100];
int x = 0;
while(N > 0){
int temp = (int) (N % 26);
if(temp==0){
level[x] = 26;
N = N/26-1;
}
else{
level[x] = temp;
N = N/26;
}
x++;
}
String ans = "";
char alphabet[] = "abcdefghijklmnopqrstuvwxyz".toCharArray();
for(int i = x-1; i>=0; i--){
ans += alphabet[level[i]-1]; //0 base
}
System.out.println(ans);
}
public static int nextInt() throws IOException {
return Integer.parseInt(next());
}
public static long nextLong() throws IOException {
return Long.parseLong(next());
}
public static double nextDouble() throws IOException {
return Double.parseDouble(next());
}
static String next() throws IOException {
while (st == null || !st.hasMoreTokens())
st = new StringTokenizer(br.readLine().trim());
return st.nextToken();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
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,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
4,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
0,
13,
2,
18,
13,
2,
2,
13,
17,
17,
13,
29,
4,
13,
2,
2,
13,
17,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
10,
12
],
[
10,
13
],
[
10,
14
],
[
10,
15
],
[
10,
16
],
[
10,
17
],
[
10,
18
],
[
10,
19
],
[
10,
20
],
[
10,
21
],
[
10,
22
],
[
10,
23
],
[
10,
24
],
[
10,
25
],
[
10,
26
],
[
10,
27
],
[
10,
28
],
[
10,
29
],
[
10,
30
],
[
10,
31
],
[
10,
32
],
[
10,
33
],
[
10,
34
],
[
10,
35
],
[
10,
36
],
[
4,
37
],
[
37,
38
],
[
37,
39
],
[
4,
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
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
40,
63
],
[
63,
64
],
[
4,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
73,
74
],
[
67,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
77,
85
],
[
67,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
65,
94
],
[
94,
95
]
]
| [
"import java.util.Scanner;\n\nclass Main {\n static int serialNum;\n static String[] charList = {\"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 static String output =\"\";\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n sc.close();\n convertChar(n);\n System.out.println(output);\n\n }\n\n static long convertChar(long num){\n if(num==0){\n return 0;\n }\n output = charList[(int) ((num-1)%26)] + output;\n return convertChar((num-1)/26);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"class Main {\n static int serialNum;\n static String[] charList = {\"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 static String output =\"\";\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n sc.close();\n convertChar(n);\n System.out.println(output);\n\n }\n\n static long convertChar(long num){\n if(num==0){\n return 0;\n }\n output = charList[(int) ((num-1)%26)] + output;\n return convertChar((num-1)/26);\n }\n}",
"Main",
"static int serialNum;",
"serialNum",
"static String[] charList = {\"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\"};",
"charList",
"{\"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\"",
"static String output =\"\";",
"output",
"\"\"",
"public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n sc.close();\n convertChar(n);\n System.out.println(output);\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n sc.close();\n convertChar(n);\n System.out.println(output);\n\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",
"convertChar(n)",
"convertChar",
"n",
"System.out.println(output)",
"System.out.println",
"System.out",
"System",
"System.out",
"output",
"String args[]",
"args",
"static long convertChar(long num){\n if(num==0){\n return 0;\n }\n output = charList[(int) ((num-1)%26)] + output;\n return convertChar((num-1)/26);\n }",
"convertChar",
"{\n if(num==0){\n return 0;\n }\n output = charList[(int) ((num-1)%26)] + output;\n return convertChar((num-1)/26);\n }",
"if(num==0){\n return 0;\n }",
"num==0",
"num",
"0",
"{\n return 0;\n }",
"return 0;",
"0",
"output = charList[(int) ((num-1)%26)] + output",
"output",
"charList[(int) ((num-1)%26)] + output",
"charList[(int) ((num-1)%26)]",
"charList",
"(int) ((num-1)%26)",
"(num-1)",
"num",
"1",
"26",
"output",
"return convertChar((num-1)/26);",
"convertChar((num-1)/26)",
"convertChar",
"(num-1)/26",
"(num-1)",
"num",
"1",
"26",
"long num",
"num"
]
| import java.util.Scanner;
class Main {
static int serialNum;
static String[] charList = {"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"};
static String output ="";
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
sc.close();
convertChar(n);
System.out.println(output);
}
static long convertChar(long num){
if(num==0){
return 0;
}
output = charList[(int) ((num-1)%26)] + output;
return convertChar((num-1)/26);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
2,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
20,
42,
17,
30,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
30,
0,
13,
2,
13,
17,
4,
18,
13,
13,
41,
13,
20,
28,
13,
13,
30,
30,
35,
13,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
13,
17,
3,
34,
17,
1,
4,
18,
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
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
300,
14
],
[
300,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
17,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
17,
31
],
[
31,
32
],
[
31,
33
],
[
17,
34
],
[
34,
35
],
[
34,
36
],
[
17,
37
],
[
37,
38
],
[
37,
39
],
[
17,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
42,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
42,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
42,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
57,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
17,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
17,
73
],
[
73,
74
],
[
73,
75
],
[
17,
76
],
[
76,
77
],
[
76,
78
],
[
76,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
81,
91
],
[
91,
92
],
[
91,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
93,
98
],
[
81,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
102,
105
],
[
101,
106
],
[
81,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
109,
114
],
[
81,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
118,
121
],
[
117,
122
],
[
81,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
126,
129
],
[
125,
130
],
[
81,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
133,
138
],
[
81,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
141,
146
],
[
81,
147
],
[
147,
148
],
[
147,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
150,
153
],
[
149,
154
],
[
81,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
157,
162
],
[
81,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
167,
168
],
[
166,
169
],
[
165,
170
],
[
81,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
174,
177
],
[
173,
178
],
[
81,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
181,
186
],
[
81,
187
],
[
187,
188
],
[
187,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
189,
194
],
[
81,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
197,
202
],
[
81,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
206,
209
],
[
205,
210
],
[
81,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
214,
217
],
[
213,
218
],
[
81,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
222,
225
],
[
221,
226
],
[
81,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
231,
232
],
[
230,
233
],
[
229,
234
],
[
81,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
238,
241
],
[
237,
242
],
[
81,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
246,
249
],
[
245,
250
],
[
81,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
254,
257
],
[
253,
258
],
[
81,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
262,
265
],
[
261,
266
],
[
81,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
270,
273
],
[
269,
274
],
[
81,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
278,
281
],
[
277,
282
],
[
81,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
286,
289
],
[
285,
290
],
[
17,
291
],
[
291,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
291,
296
],
[
15,
297
],
[
297,
298
],
[
0,
299
],
[
299,
300
],
[
299,
301
]
]
| [
"\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"N = N-1",
"N",
"N-1",
"N",
"1",
"long div = N;",
"div",
"N",
"int mod = 0;",
"mod",
"0",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"while(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}",
"mod = (int) (div % 26)",
"mod",
"(int) (div % 26)",
"div",
"26",
"div = div / 26",
"div",
"div / 26",
"div",
"26",
"list.add(mod)",
"list.add",
"list",
"mod",
"if(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}",
"div == 0",
"div",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"{\n\t\t\t\tdiv = div -1;\n\t\t\t}",
"div = div -1",
"div",
"div -1",
"div",
"1",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int i : list) {\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}",
"int i",
"list",
"{\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}",
"{\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}",
"switch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}",
"i",
"case 0 :",
"0",
"case 0 :",
"sb.append(\"a\")",
"sb.append",
"sb",
"\"a\"",
"break;",
"case 1 :",
"1",
"case 1 :",
"sb.append(\"b\")",
"sb.append",
"sb",
"\"b\"",
"break;",
"case 2 :",
"2",
"case 2 :",
"sb.append(\"c\")",
"sb.append",
"sb",
"\"c\"",
"break;",
"case 3 :",
"3",
"case 3 :",
"sb.append(\"d\")",
"sb.append",
"sb",
"\"d\"",
"break;",
"case 4 :",
"4",
"case 4 :",
"sb.append(\"e\")",
"sb.append",
"sb",
"\"e\"",
"break;",
"case 5 :",
"5",
"case 5 :",
"sb.append(\"f\")",
"sb.append",
"sb",
"\"f\"",
"break;",
"case 6 :",
"6",
"case 6 :",
"sb.append(\"g\")",
"sb.append",
"sb",
"\"g\"",
"break;",
"case 7 :",
"7",
"case 7 :",
"sb.append(\"h\")",
"sb.append",
"sb",
"\"h\"",
"break;",
"case 8 :",
"8",
"case 8 :",
"sb.append(\"i\")",
"sb.append",
"sb",
"\"i\"",
"break;",
"case 9 :",
"9",
"case 9 :",
"sb.append(\"j\")",
"sb.append",
"sb",
"\"j\"",
"break;",
"case 10 :",
"10",
"case 10 :",
"sb.append(\"k\")",
"sb.append",
"sb",
"\"k\"",
"break;",
"case 11 :",
"11",
"case 11 :",
"sb.append(\"l\")",
"sb.append",
"sb",
"\"l\"",
"break;",
"case 12 :",
"12",
"case 12 :",
"sb.append(\"m\")",
"sb.append",
"sb",
"\"m\"",
"break;",
"case 13 :",
"13",
"case 13 :",
"sb.append(\"n\")",
"sb.append",
"sb",
"\"n\"",
"break;",
"case 14 :",
"14",
"case 14 :",
"sb.append(\"o\")",
"sb.append",
"sb",
"\"o\"",
"break;",
"case 15 :",
"15",
"case 15 :",
"sb.append(\"p\")",
"sb.append",
"sb",
"\"p\"",
"break;",
"case 16 :",
"16",
"case 16 :",
"sb.append(\"q\")",
"sb.append",
"sb",
"\"q\"",
"break;",
"case 17 :",
"17",
"case 17 :",
"sb.append(\"r\")",
"sb.append",
"sb",
"\"r\"",
"break;",
"case 18 :",
"18",
"case 18 :",
"sb.append(\"s\")",
"sb.append",
"sb",
"\"s\"",
"break;",
"case 19 :",
"19",
"case 19 :",
"sb.append(\"t\")",
"sb.append",
"sb",
"\"t\"",
"break;",
"case 20 :",
"20",
"case 20 :",
"sb.append(\"u\")",
"sb.append",
"sb",
"\"u\"",
"break;",
"case 21 :",
"21",
"case 21 :",
"sb.append(\"v\")",
"sb.append",
"sb",
"\"v\"",
"break;",
"case 22 :",
"22",
"case 22 :",
"sb.append(\"w\")",
"sb.append",
"sb",
"\"w\"",
"break;",
"case 23 :",
"23",
"case 23 :",
"sb.append(\"x\")",
"sb.append",
"sb",
"\"x\"",
"break;",
"case 24 :",
"24",
"case 24 :",
"sb.append(\"y\")",
"sb.append",
"sb",
"\"y\"",
"break;",
"case 25 :",
"25",
"case 25 :",
"sb.append(\"z\")",
"sb.append",
"sb",
"\"z\"",
"break;",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// 読み込み\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = sc.nextLong();\n\t\tN = N-1;\n\t\tlong div = N;\n\t\tint mod = 0;\n\t\t\n\t\tList<Integer> list = new ArrayList<>();\n\t\t\n\t\twhile(true) {\n\t\t\tmod = (int) (div % 26);\n\t\t\tdiv = div / 26;\n\t\t\t\n\t\t\tlist.add(mod);\n\t\t\t\n\t\t\tif(div == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tdiv = div -1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tCollections.reverse(list);\n\t\t\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\t\n\t\tfor(int i : list) {\n\t\t\t\n\t\t\tswitch(i) {\n\t\t\tcase 0 :\n\t\t\t\tsb.append(\"a\");\n\t\t\t\tbreak;\n\t\t\tcase 1 :\n\t\t\t\tsb.append(\"b\");\n\t\t\t\tbreak;\n\t\t\tcase 2 :\n\t\t\t\tsb.append(\"c\");\n\t\t\t\tbreak;\n\t\t\tcase 3 :\n\t\t\t\tsb.append(\"d\");\n\t\t\t\tbreak;\n\t\t\tcase 4 :\n\t\t\t\tsb.append(\"e\");\n\t\t\t\tbreak;\n\t\t\tcase 5 :\n\t\t\t\tsb.append(\"f\");\n\t\t\t\tbreak;\n\t\t\tcase 6 :\n\t\t\t\tsb.append(\"g\");\n\t\t\t\tbreak;\n\t\t\tcase 7 :\n\t\t\t\tsb.append(\"h\");\n\t\t\t\tbreak;\n\t\t\tcase 8 :\n\t\t\t\tsb.append(\"i\");\n\t\t\t\tbreak;\n\t\t\tcase 9 :\n\t\t\t\tsb.append(\"j\");\n\t\t\t\tbreak;\n\t\t\tcase 10 :\n\t\t\t\tsb.append(\"k\");\n\t\t\t\tbreak;\n\t\t\tcase 11 :\n\t\t\t\tsb.append(\"l\");\n\t\t\t\tbreak;\n\t\t\tcase 12 :\n\t\t\t\tsb.append(\"m\");\n\t\t\t\tbreak;\n\t\t\tcase 13 :\n\t\t\t\tsb.append(\"n\");\n\t\t\t\tbreak;\n\t\t\tcase 14 :\n\t\t\t\tsb.append(\"o\");\n\t\t\t\tbreak;\n\t\t\tcase 15 :\n\t\t\t\tsb.append(\"p\");\n\t\t\t\tbreak;\n\t\t\tcase 16 :\n\t\t\t\tsb.append(\"q\");\n\t\t\t\tbreak;\n\t\t\tcase 17 :\n\t\t\t\tsb.append(\"r\");\n\t\t\t\tbreak;\n\t\t\tcase 18 :\n\t\t\t\tsb.append(\"s\");\n\t\t\t\tbreak;\n\t\t\tcase 19 :\n\t\t\t\tsb.append(\"t\");\n\t\t\t\tbreak;\n\t\t\tcase 20 :\n\t\t\t\tsb.append(\"u\");\n\t\t\t\tbreak;\n\t\t\tcase 21 :\n\t\t\t\tsb.append(\"v\");\n\t\t\t\tbreak;\n\t\t\tcase 22 :\n\t\t\t\tsb.append(\"w\");\n\t\t\t\tbreak;\n\t\t\tcase 23 :\n\t\t\t\tsb.append(\"x\");\n\t\t\t\tbreak;\n\t\t\tcase 24 :\n\t\t\t\tsb.append(\"y\");\n\t\t\t\tbreak;\n\t\t\tcase 25 :\n\t\t\t\tsb.append(\"z\");\n\t\t\t\tbreak;\t\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main"
]
|
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// 読み込み
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
N = N-1;
long div = N;
int mod = 0;
List<Integer> list = new ArrayList<>();
while(true) {
mod = (int) (div % 26);
div = div / 26;
list.add(mod);
if(div == 0) {
break;
}
else {
div = div -1;
}
}
Collections.reverse(list);
StringBuilder sb = new StringBuilder();
for(int i : list) {
switch(i) {
case 0 :
sb.append("a");
break;
case 1 :
sb.append("b");
break;
case 2 :
sb.append("c");
break;
case 3 :
sb.append("d");
break;
case 4 :
sb.append("e");
break;
case 5 :
sb.append("f");
break;
case 6 :
sb.append("g");
break;
case 7 :
sb.append("h");
break;
case 8 :
sb.append("i");
break;
case 9 :
sb.append("j");
break;
case 10 :
sb.append("k");
break;
case 11 :
sb.append("l");
break;
case 12 :
sb.append("m");
break;
case 13 :
sb.append("n");
break;
case 14 :
sb.append("o");
break;
case 15 :
sb.append("p");
break;
case 16 :
sb.append("q");
break;
case 17 :
sb.append("r");
break;
case 18 :
sb.append("s");
break;
case 19 :
sb.append("t");
break;
case 20 :
sb.append("u");
break;
case 21 :
sb.append("v");
break;
case 22 :
sb.append("w");
break;
case 23 :
sb.append("x");
break;
case 24 :
sb.append("y");
break;
case 25 :
sb.append("z");
break;
}
}
System.out.println(sb);
}
}
|
[
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,
41,
13,
17,
42,
17,
30,
0,
13,
17,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
14,
2,
13,
4,
18,
13,
13,
30,
0,
13,
2,
13,
17,
3,
0,
13,
4,
18,
13,
13,
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
],
[
148,
11
],
[
148,
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
],
[
29,
31
],
[
14,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
34,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
14,
48
],
[
48,
49
],
[
48,
50
],
[
14,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
51,
61
],
[
61,
62
],
[
62,
63
],
[
51,
64
],
[
65,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
66,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
73,
79
],
[
65,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
14,
86
],
[
86,
87
],
[
86,
88
],
[
14,
90
],
[
90,
91
],
[
90,
92
],
[
14,
93
],
[
93,
94
],
[
14,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
104,
105
],
[
104,
106
],
[
99,
107
],
[
107,
108
],
[
107,
109
],
[
99,
110
],
[
110,
111
],
[
14,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
116,
118
],
[
112,
119
],
[
119,
120
],
[
119,
121
],
[
112,
122
],
[
122,
123
],
[
123,
124
],
[
112,
125
],
[
126,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
126,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
134,
139
],
[
14,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
12,
145
],
[
145,
146
],
[
0,
147
],
[
147,
148
],
[
147,
149
]
]
| [
"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\tlong base = 1;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = 0; i < b.size(); i++) {\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\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\tlong base = 1;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = 0; i < b.size(); i++) {\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\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\tlong base = 1;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = 0; i < b.size(); i++) {\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\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\tlong base = 1;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = 0; i < b.size(); i++) {\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\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<>()",
"long base = 1;",
"base",
"1",
"while (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"base *= 26",
"base",
"26",
"b.add(base)",
"b.add",
"b",
"base",
"if (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}",
"base > 1000000000000001L",
"base",
"1000000000000001L",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"int a = 0;",
"a",
"0",
"for (int i = 0; i < b.size(); i++) {\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < b.size()",
"i",
"b.size()",
"b.size",
"b",
"i++",
"i++",
"i",
"{\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\n\t\t}",
"{\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\n\t\t}",
"if (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\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\tbreak;\n\t\t\t}",
"a = i + 1",
"a",
"i + 1",
"i",
"1",
"break;",
"n -= b.get(i)",
"n",
"b.get(i)",
"b.get",
"b",
"i",
"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\tlong base = 1;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = 0; i < b.size(); i++) {\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\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\tlong base = 1;\n\t\twhile (true) {\n\t\t\tbase *= 26;\n\t\t\tb.add(base);\n\t\t\tif (base > 1000000000000001L) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tint a = 0;\n\t\tfor (int i = 0; i < b.size(); i++) {\n\t\t\tif (n <= b.get(i)) {\n\t\t\t\ta = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn -= b.get(i);\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<>();
long base = 1;
while (true) {
base *= 26;
b.add(base);
if (base > 1000000000000001L) {
break;
}
}
int a = 0;
for (int i = 0; i < b.size(); i++) {
if (n <= b.get(i)) {
a = i + 1;
break;
}
n -= b.get(i);
}
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,
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,
0,
13,
17,
41,
13,
2,
17,
13,
4,
18,
13,
13,
0,
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
],
[
66,
5
],
[
66,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
34,
36
],
[
24,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
24,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
24,
46
],
[
46,
47
],
[
46,
48
],
[
24,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
8,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
55,
60
],
[
60,
61
],
[
61,
62
],
[
6,
63
],
[
63,
64
],
[
0,
65
],
[
65,
66
],
[
65,
67
]
]
| [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while(N > 0){\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }\n ans.reverse();\n System.out.println(ans.toString());\n } \n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while(N > 0){\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }\n ans.reverse();\n System.out.println(ans.toString());\n } \n}",
"Main",
"public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while(N > 0){\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }\n ans.reverse();\n System.out.println(ans.toString());\n }",
"main",
"{\n Scanner sc= new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while(N > 0){\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }\n ans.reverse();\n System.out.println(ans.toString());\n }",
"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(N > 0){\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }",
"N > 0",
"N",
"0",
"{\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }",
"long kari = N % 26l;",
"kari",
"N % 26l",
"N",
"26l",
"if(kari == 0) kari = 26;",
"kari == 0",
"kari",
"0",
"kari = 26",
"kari",
"26",
"char alp = (char) (96 + kari);",
"alp",
"(char) (96 + kari)",
"96",
"kari",
"ans.append(alp)",
"ans.append",
"ans",
"alp",
"N -= 1",
"N",
"1",
"N /= 26l",
"N",
"26l",
"ans.reverse()",
"ans.reverse",
"ans",
"System.out.println(ans.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.toString()",
"ans.toString",
"ans",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while(N > 0){\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }\n ans.reverse();\n System.out.println(ans.toString());\n } \n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc= new Scanner(System.in);\n long N = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while(N > 0){\n long kari = N % 26l;\n if(kari == 0) kari = 26;\n char alp = (char) (96 + kari);\n ans.append(alp);\n N -= 1;\n N /= 26l;\n }\n ans.reverse();\n System.out.println(ans.toString());\n } \n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc= new Scanner(System.in);
long N = sc.nextLong();
StringBuilder ans = new StringBuilder();
while(N > 0){
long kari = N % 26l;
if(kari == 0) kari = 26;
char alp = (char) (96 + kari);
ans.append(alp);
N -= 1;
N /= 26l;
}
ans.reverse();
System.out.println(ans.toString());
}
} |
[
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,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
13,
13,
0,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
68,
8
],
[
68,
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
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
33,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
33,
43
],
[
43,
44
],
[
43,
45
],
[
11,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
11,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
11,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
11,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
59,
64
],
[
9,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Long.parseLong(buffer.readLine());\n String name = \"\";\n while (n != 0)\n {\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }\n sb.append(name);\n sb = sb.reverse();\n sb.append(\"\\n\");\n System.out.println(sb);\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Long.parseLong(buffer.readLine());\n String name = \"\";\n while (n != 0)\n {\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }\n sb.append(name);\n sb = sb.reverse();\n sb.append(\"\\n\");\n System.out.println(sb);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Long.parseLong(buffer.readLine());\n String name = \"\";\n while (n != 0)\n {\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }\n sb.append(name);\n sb = sb.reverse();\n sb.append(\"\\n\");\n System.out.println(sb);\n }",
"main",
"{\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Long.parseLong(buffer.readLine());\n String name = \"\";\n while (n != 0)\n {\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }\n sb.append(name);\n sb = sb.reverse();\n sb.append(\"\\n\");\n System.out.println(sb);\n }",
"BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));",
"buffer",
"new BufferedReader(new InputStreamReader(System.in))",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"long n = Long.parseLong(buffer.readLine());",
"n",
"Long.parseLong(buffer.readLine())",
"Long.parseLong",
"Long",
"buffer.readLine()",
"buffer.readLine",
"buffer",
"String name = \"\";",
"name",
"\"\"",
"while (n != 0)\n {\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }",
"n != 0",
"n",
"0",
"{\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }",
"n--",
"n",
"name += (char)('a'+ (n%26))",
"name",
"(char)('a'+ (n%26))",
"'a'",
"(n%26)",
"n",
"26",
"n /= 26",
"n",
"26",
"sb.append(name)",
"sb.append",
"sb",
"name",
"sb = sb.reverse()",
"sb",
"sb.reverse()",
"sb.reverse",
"sb",
"sb.append(\"\\n\")",
"sb.append",
"sb",
"\"\\n\"",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Long.parseLong(buffer.readLine());\n String name = \"\";\n while (n != 0)\n {\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }\n sb.append(name);\n sb = sb.reverse();\n sb.append(\"\\n\");\n System.out.println(sb);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n long n = Long.parseLong(buffer.readLine());\n String name = \"\";\n while (n != 0)\n {\n n--;\n name += (char)('a'+ (n%26));\n n /= 26;\n }\n sb.append(name);\n sb = sb.reverse();\n sb.append(\"\\n\");\n System.out.println(sb);\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
long n = Long.parseLong(buffer.readLine());
String name = "";
while (n != 0)
{
n--;
name += (char)('a'+ (n%26));
n /= 26;
}
sb.append(name);
sb = sb.reverse();
sb.append("\n");
System.out.println(sb);
}
}
|
[
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,
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,
2,
4,
18,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
2,
2,
2,
13,
2,
13,
17,
17,
17,
4,
18,
13,
2,
17,
13,
4,
18,
13,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
13,
17,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
30,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
30,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
30,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
4,
18,
13,
13,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
2,
2,
2,
2,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
17,
2,
13,
40,
17,
23,
13,
6,
13,
12,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
31,
32
],
[
31,
33
],
[
0,
34
],
[
390,
35
],
[
390,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
38,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
38,
49
],
[
49,
50
],
[
49,
51
],
[
38,
52
],
[
52,
53
],
[
52,
54
],
[
38,
55
],
[
55,
56
],
[
55,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
58,
62
],
[
58,
63
],
[
38,
64
],
[
64,
65
],
[
65,
66
],
[
36,
67
],
[
67,
68
],
[
390,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
76,
80
],
[
73,
81
],
[
81,
82
],
[
81,
83
],
[
73,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
88,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
100,
106
],
[
99,
107
],
[
73,
108
],
[
108,
109
],
[
109,
110
],
[
108,
111
],
[
111,
112
],
[
111,
113
],
[
73,
114
],
[
114,
115
],
[
115,
116
],
[
73,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
71,
121
],
[
121,
122
],
[
71,
123
],
[
123,
124
],
[
71,
125
],
[
125,
126
],
[
390,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
127,
131
],
[
131,
132
],
[
131,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
131,
137
],
[
137,
138
],
[
127,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
139,
147
],
[
147,
148
],
[
127,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
152,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
152,
162
],
[
162,
163
],
[
163,
164
],
[
152,
165
],
[
166,
166
],
[
166,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
172,
175
],
[
166,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
179,
180
],
[
179,
181
],
[
149,
182
],
[
182,
183
],
[
127,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
184,
193
],
[
193,
194
],
[
127,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
390,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
201,
205
],
[
205,
206
],
[
205,
207
],
[
201,
209
],
[
209,
210
],
[
201,
211
],
[
211,
212
],
[
201,
213
],
[
213,
214
],
[
201,
215
],
[
215,
216
],
[
215,
217
],
[
217,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
218,
222
],
[
215,
223
],
[
223,
224
],
[
201,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
228,
233
],
[
233,
234
],
[
234,
235
],
[
227,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
236,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
247,
248
],
[
248,
249
],
[
244,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
253,
256
],
[
240,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
227,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
201,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
273,
274
],
[
273,
275
],
[
275,
276
],
[
272,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
284,
285
],
[
272,
286
],
[
286,
287
],
[
286,
288
],
[
272,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
289,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
293,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
272,
302
],
[
302,
303
],
[
302,
304
],
[
272,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
307,
309
],
[
305,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
313,
315
],
[
312,
316
],
[
316,
317
],
[
316,
318
],
[
311,
319
],
[
319,
320
],
[
320,
321
],
[
310,
322
],
[
322,
323
],
[
322,
324
],
[
310,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
327,
329
],
[
310,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
272,
334
],
[
334,
335
],
[
335,
336
],
[
335,
337
],
[
201,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
347,
350
],
[
340,
351
],
[
351,
352
],
[
352,
353
],
[
352,
354
],
[
338,
355
],
[
355,
356
],
[
201,
357
],
[
357,
358
],
[
357,
359
],
[
359,
360
],
[
360,
361
],
[
364,
362
],
[
374,
363
],
[
371,
364
],
[
364,
365
],
[
365,
366
],
[
365,
367
],
[
364,
368
],
[
368,
369
],
[
368,
370
],
[
371,
371
],
[
371,
372
],
[
371,
373
],
[
374,
374
],
[
374,
375
],
[
374,
376
],
[
364,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
357,
381
],
[
381,
382
],
[
201,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
385,
387
],
[
387,
388
],
[
0,
389
],
[
389,
390
],
[
389,
391
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Hello\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 OutputWriter out = new OutputWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, InputReader c, OutputWriter w) {\n long n = c.readLong() - 1;\n StringBuilder stringBuilder = new StringBuilder();\n while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }\n stringBuilder.append((char) ('a' + n));\n stringBuilder.reverse();\n w.printLine(stringBuilder);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n 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\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 } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.io.BufferedWriter;",
"BufferedWriter",
"java.io",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, InputReader c, OutputWriter w) {\n long n = c.readLong() - 1;\n StringBuilder stringBuilder = new StringBuilder();\n while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }\n stringBuilder.append((char) ('a' + n));\n stringBuilder.reverse();\n w.printLine(stringBuilder);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n 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\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 } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"InputReader in = new InputReader(inputStream);",
"in",
"new InputReader(inputStream)",
"OutputWriter out = new OutputWriter(outputStream);",
"out",
"new OutputWriter(outputStream)",
"COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();",
"solver",
"new COneQuadrillionAndOneDalmatians()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, InputReader c, OutputWriter w) {\n long n = c.readLong() - 1;\n StringBuilder stringBuilder = new StringBuilder();\n while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }\n stringBuilder.append((char) ('a' + n));\n stringBuilder.reverse();\n w.printLine(stringBuilder);\n }\n\n }",
"COneQuadrillionAndOneDalmatians",
"public void solve(int testNumber, InputReader c, OutputWriter w) {\n long n = c.readLong() - 1;\n StringBuilder stringBuilder = new StringBuilder();\n while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }\n stringBuilder.append((char) ('a' + n));\n stringBuilder.reverse();\n w.printLine(stringBuilder);\n }",
"solve",
"{\n long n = c.readLong() - 1;\n StringBuilder stringBuilder = new StringBuilder();\n while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }\n stringBuilder.append((char) ('a' + n));\n stringBuilder.reverse();\n w.printLine(stringBuilder);\n }",
"long n = c.readLong() - 1;",
"n",
"c.readLong() - 1",
"c.readLong()",
"c.readLong",
"c",
"1",
"StringBuilder stringBuilder = new StringBuilder();",
"stringBuilder",
"new StringBuilder()",
"while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }",
"n > 25",
"n",
"25",
"{\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }",
"stringBuilder.append((char) ('a' + n % 26))",
"stringBuilder.append",
"stringBuilder",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n = (n - n % 26) / 26 - 1",
"n",
"(n - n % 26) / 26 - 1",
"(n - n % 26) / 26",
"(n - n % 26)",
"n",
"n % 26",
"n",
"26",
"26",
"1",
"stringBuilder.append((char) ('a' + n))",
"stringBuilder.append",
"stringBuilder",
"(char) ('a' + n)",
"'a'",
"n",
"stringBuilder.reverse()",
"stringBuilder.reverse",
"stringBuilder",
"w.printLine(stringBuilder)",
"w.printLine",
"w",
"stringBuilder",
"int testNumber",
"testNumber",
"InputReader c",
"c",
"OutputWriter w",
"w",
"static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"OutputWriter",
"{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }",
"OutputWriter",
"{\n this.writer = new PrintWriter(writer);\n }",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }",
"print",
"{\n for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }",
"for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < objects.length",
"i",
"objects.length",
"objects",
"objects.length",
"i++",
"i++",
"i",
"{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }",
"if (i != 0) {\n writer.print(' ');\n }",
"i != 0",
"i",
"0",
"{\n writer.print(' ');\n }",
"writer.print(' ')",
"writer.print",
"writer",
"' '",
"writer.print(objects[i])",
"writer.print",
"writer",
"objects[i]",
"objects",
"i",
"Object... objects",
"objects",
"public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }",
"printLine",
"{\n print(objects);\n writer.println();\n }",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object... objects",
"objects",
"public void close() {\n writer.close();\n }",
"close",
"{\n writer.close();\n }",
"writer.close()",
"writer.close",
"writer",
"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\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 } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }",
"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",
"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 } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }",
"if (numChars == -1) {\n throw new InputMismatchException();\n }",
"numChars == -1",
"numChars",
"-1",
"1",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0) {\n return -1;\n }",
"numChars <= 0",
"numChars",
"0",
"{\n return -1;\n }",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public long readLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"readLong",
"{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) {\n c = read();\n }",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n c = read();\n }",
"c = read()",
"c",
"read()",
"read",
"int sgn = 1;",
"sgn",
"1",
"if (c == '-') {\n sgn = -1;\n c = read();\n }",
"c == '-'",
"c",
"'-'",
"{\n sgn = -1;\n c = read();\n }",
"sgn = -1",
"sgn",
"-1",
"1",
"c = read()",
"c",
"read()",
"read",
"long res = 0;",
"res",
"0",
"do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }",
"c < '0' || c > '9'",
"c < '0'",
"c",
"'0'",
"c > '9'",
"c",
"'9'",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"res *= 10",
"res",
"10",
"res += c - '0'",
"res",
"c - '0'",
"c",
"'0'",
"c = read()",
"c",
"read()",
"read",
"return res * sgn;",
"res * sgn",
"res",
"sgn",
"public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"isSpaceChar",
"{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }",
"if (filter != null) {\n return filter.isSpaceChar(c);\n }",
"filter != null",
"filter",
"null",
"{\n return filter.isSpaceChar(c);\n }",
"return filter.isSpaceChar(c);",
"filter.isSpaceChar(c)",
"filter.isSpaceChar",
"filter",
"c",
"return isWhitespace(c);",
"isWhitespace(c)",
"isWhitespace",
"c",
"int c",
"c",
"public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isWhitespace",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }",
"SpaceCharFilter",
"public boolean isSpaceChar(int ch);",
"isSpaceChar",
"int ch",
"ch",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, InputReader c, OutputWriter w) {\n long n = c.readLong() - 1;\n StringBuilder stringBuilder = new StringBuilder();\n while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }\n stringBuilder.append((char) ('a' + n));\n stringBuilder.reverse();\n w.printLine(stringBuilder);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n 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\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 } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, InputReader c, OutputWriter w) {\n long n = c.readLong() - 1;\n StringBuilder stringBuilder = new StringBuilder();\n while (n > 25) {\n stringBuilder.append((char) ('a' + n % 26));\n n = (n - n % 26) / 26 - 1;\n }\n stringBuilder.append((char) ('a' + n));\n stringBuilder.reverse();\n w.printLine(stringBuilder);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void print(Object... objects) {\n for (int i = 0; i < objects.length; i++) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void printLine(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n 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\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 } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public long readLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author Hello
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
InputReader in = new InputReader(inputStream);
OutputWriter out = new OutputWriter(outputStream);
COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();
solver.solve(1, in, out);
out.close();
}
static class COneQuadrillionAndOneDalmatians {
public void solve(int testNumber, InputReader c, OutputWriter w) {
long n = c.readLong() - 1;
StringBuilder stringBuilder = new StringBuilder();
while (n > 25) {
stringBuilder.append((char) ('a' + n % 26));
n = (n - n % 26) / 26 - 1;
}
stringBuilder.append((char) ('a' + n));
stringBuilder.reverse();
w.printLine(stringBuilder);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void print(Object... objects) {
for (int i = 0; i < objects.length; i++) {
if (i != 0) {
writer.print(' ');
}
writer.print(objects[i]);
}
}
public void printLine(Object... objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
}
static class InputReader {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
private InputReader.SpaceCharFilter filter;
public InputReader(InputStream stream) {
this.stream = stream;
}
public int read() {
if (numChars == -1) {
throw new InputMismatchException();
}
if (curChar >= numChars) {
curChar = 0;
try {
numChars = stream.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) {
return -1;
}
}
return buf[curChar++];
}
public long readLong() {
int c = read();
while (isSpaceChar(c)) {
c = read();
}
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9') {
throw new InputMismatchException();
}
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public boolean isSpaceChar(int c) {
if (filter != null) {
return filter.isSpaceChar(c);
}
return isWhitespace(c);
}
public static boolean isWhitespace(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public interface SpaceCharFilter {
public boolean isSpaceChar(int ch);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
20,
42,
2,
4,
18,
18,
13,
17,
20,
17,
30,
0,
13,
4,
18,
13,
20,
0,
13,
4,
18,
13,
20,
0,
13,
18,
13,
17,
4,
18,
13,
17,
2,
17,
4,
18,
18,
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
],
[
78,
8
],
[
78,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
11,
20
],
[
20,
21
],
[
20,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
26,
27
],
[
25,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
31,
36
],
[
30,
37
],
[
29,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
38,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
38,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
38,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
11,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
9,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger dogs = new BigInteger(String.valueOf(sc.next()));\n\t\tBigInteger[] results;\n\t\tStringBuilder result = new StringBuilder(\"\");\n\n\t\tresults = dogs.divideAndRemainder(new BigInteger(\"1\"));\n\t\twhile(results[0].compareTo(new BigInteger(\"0\")) != 0) {\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}\n\n\t\tSystem.out.println(result.toString());\n\n\t}\n\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"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\tBigInteger dogs = new BigInteger(String.valueOf(sc.next()));\n\t\tBigInteger[] results;\n\t\tStringBuilder result = new StringBuilder(\"\");\n\n\t\tresults = dogs.divideAndRemainder(new BigInteger(\"1\"));\n\t\twhile(results[0].compareTo(new BigInteger(\"0\")) != 0) {\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}\n\n\t\tSystem.out.println(result.toString());\n\n\t}\n\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger dogs = new BigInteger(String.valueOf(sc.next()));\n\t\tBigInteger[] results;\n\t\tStringBuilder result = new StringBuilder(\"\");\n\n\t\tresults = dogs.divideAndRemainder(new BigInteger(\"1\"));\n\t\twhile(results[0].compareTo(new BigInteger(\"0\")) != 0) {\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}\n\n\t\tSystem.out.println(result.toString());\n\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger dogs = new BigInteger(String.valueOf(sc.next()));\n\t\tBigInteger[] results;\n\t\tStringBuilder result = new StringBuilder(\"\");\n\n\t\tresults = dogs.divideAndRemainder(new BigInteger(\"1\"));\n\t\twhile(results[0].compareTo(new BigInteger(\"0\")) != 0) {\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}\n\n\t\tSystem.out.println(result.toString());\n\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigInteger dogs = new BigInteger(String.valueOf(sc.next()));",
"dogs",
"new BigInteger(String.valueOf(sc.next()))",
"BigInteger[] results;",
"results",
"StringBuilder result = new StringBuilder(\"\");",
"result",
"new StringBuilder(\"\")",
"results = dogs.divideAndRemainder(new BigInteger(\"1\"))",
"results",
"dogs.divideAndRemainder(new BigInteger(\"1\"))",
"dogs.divideAndRemainder",
"dogs",
"new BigInteger(\"1\")",
"while(results[0].compareTo(new BigInteger(\"0\")) != 0) {\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}",
"results[0].compareTo(new BigInteger(\"0\")) != 0",
"results[0].compareTo(new BigInteger(\"0\"))",
"results[0].compareTo",
"results[0]",
"results",
"0",
"new BigInteger(\"0\")",
"0",
"{\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}",
"dogs = dogs.subtract(new BigInteger(\"1\"))",
"dogs",
"dogs.subtract(new BigInteger(\"1\"))",
"dogs.subtract",
"dogs",
"new BigInteger(\"1\")",
"results = dogs.divideAndRemainder(new BigInteger(\"26\"))",
"results",
"dogs.divideAndRemainder(new BigInteger(\"26\"))",
"dogs.divideAndRemainder",
"dogs",
"new BigInteger(\"26\")",
"dogs = results[0]",
"dogs",
"results[0]",
"results",
"0",
"result.insert(0,(char)('a' + (char)results[1].intValue()))",
"result.insert",
"result",
"0",
"(char)('a' + (char)results[1].intValue())",
"'a'",
"(char)results[1].intValue()",
"results[1].intValue",
"results[1]",
"results",
"1",
"System.out.println(result.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"result.toString()",
"result.toString",
"result",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger dogs = new BigInteger(String.valueOf(sc.next()));\n\t\tBigInteger[] results;\n\t\tStringBuilder result = new StringBuilder(\"\");\n\n\t\tresults = dogs.divideAndRemainder(new BigInteger(\"1\"));\n\t\twhile(results[0].compareTo(new BigInteger(\"0\")) != 0) {\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}\n\n\t\tSystem.out.println(result.toString());\n\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger dogs = new BigInteger(String.valueOf(sc.next()));\n\t\tBigInteger[] results;\n\t\tStringBuilder result = new StringBuilder(\"\");\n\n\t\tresults = dogs.divideAndRemainder(new BigInteger(\"1\"));\n\t\twhile(results[0].compareTo(new BigInteger(\"0\")) != 0) {\n\t\t\tdogs = dogs.subtract(new BigInteger(\"1\"));\n\t\t\tresults = dogs.divideAndRemainder(new BigInteger(\"26\"));\n\t\t\tdogs = results[0];\n\t\t\tresult.insert(0,(char)('a' + (char)results[1].intValue()));\n\t\t}\n\n\t\tSystem.out.println(result.toString());\n\n\t}\n\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
BigInteger dogs = new BigInteger(String.valueOf(sc.next()));
BigInteger[] results;
StringBuilder result = new StringBuilder("");
results = dogs.divideAndRemainder(new BigInteger("1"));
while(results[0].compareTo(new BigInteger("0")) != 0) {
dogs = dogs.subtract(new BigInteger("1"));
results = dogs.divideAndRemainder(new BigInteger("26"));
dogs = results[0];
result.insert(0,(char)('a' + (char)results[1].intValue()));
}
System.out.println(result.toString());
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
41,
13,
12,
13,
30,
41,
13,
2,
4,
18,
13,
17,
41,
13,
20,
42,
17,
30,
4,
18,
13,
2,
17,
2,
13,
17,
14,
2,
13,
17,
3,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
13,
12,
13,
30,
14,
2,
13,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
4,
18,
18,
13,
13,
17,
30,
0,
13,
18,
13,
13,
0,
13,
20,
0,
13,
20,
4,
13,
12,
13,
30,
4,
18,
20,
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,
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
13,
23,
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
13,
23,
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,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
13,
29,
13,
23,
13,
23,
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,
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,
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,
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,
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
],
[
608,
23
],
[
608,
24
],
[
24,
25
],
[
608,
26
],
[
26,
27
],
[
26,
28
],
[
608,
29
],
[
29,
30
],
[
29,
31
],
[
608,
32
],
[
32,
33
],
[
32,
34
],
[
608,
35
],
[
35,
36
],
[
35,
37
],
[
608,
38
],
[
38,
39
],
[
608,
40
],
[
40,
41
],
[
608,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
47,
51
],
[
44,
52
],
[
52,
53
],
[
52,
54
],
[
44,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
58,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
57,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
57,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
44,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
78,
83
],
[
83,
84
],
[
84,
85
],
[
608,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
94,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
93,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
89,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
114,
116
],
[
88,
117
],
[
117,
118
],
[
117,
119
],
[
88,
120
],
[
120,
121
],
[
120,
122
],
[
88,
123
],
[
123,
124
],
[
608,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
125,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
133,
137
],
[
137,
138
],
[
137,
139
],
[
133,
141
],
[
141,
142
],
[
133,
143
],
[
143,
144
],
[
133,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
145,
153
],
[
153,
154
],
[
133,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
158,
163
],
[
163,
164
],
[
157,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
165,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
177,
178
],
[
173,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
169,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
190,
191
],
[
191,
192
],
[
157,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
133,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
205,
203
],
[
215,
204
],
[
212,
205
],
[
205,
206
],
[
206,
207
],
[
206,
208
],
[
205,
209
],
[
209,
210
],
[
209,
211
],
[
212,
212
],
[
212,
213
],
[
212,
214
],
[
215,
215
],
[
215,
216
],
[
215,
217
],
[
205,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
198,
222
],
[
222,
223
],
[
133,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
229,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
233,
235
],
[
229,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
224,
240
],
[
240,
241
],
[
133,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
247,
248
],
[
246,
249
],
[
249,
250
],
[
133,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
260,
262
],
[
258,
263
],
[
263,
264
],
[
263,
265
],
[
258,
266
],
[
266,
267
],
[
267,
268
],
[
258,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
253,
276
],
[
276,
277
],
[
251,
278
],
[
278,
279
],
[
133,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
290,
292
],
[
288,
293
],
[
293,
294
],
[
293,
295
],
[
288,
296
],
[
296,
297
],
[
297,
298
],
[
288,
299
],
[
300,
300
],
[
300,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
305,
306
],
[
305,
307
],
[
282,
308
],
[
308,
309
],
[
280,
310
],
[
310,
311
],
[
280,
312
],
[
312,
313
],
[
133,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
318,
319
],
[
319,
320
],
[
318,
321
],
[
321,
322
],
[
133,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
325,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
330,
335
],
[
335,
336
],
[
335,
337
],
[
330,
338
],
[
338,
339
],
[
339,
340
],
[
330,
341
],
[
341,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
342,
346
],
[
346,
347
],
[
325,
348
],
[
348,
349
],
[
323,
350
],
[
350,
351
],
[
133,
352
],
[
352,
353
],
[
352,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
354,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
360,
365
],
[
365,
366
],
[
365,
367
],
[
360,
368
],
[
368,
369
],
[
369,
370
],
[
360,
371
],
[
372,
372
],
[
372,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
377,
378
],
[
377,
379
],
[
354,
380
],
[
380,
381
],
[
352,
382
],
[
382,
383
],
[
352,
384
],
[
384,
385
],
[
133,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
390,
393
],
[
393,
394
],
[
133,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
398,
400
],
[
397,
402
],
[
402,
403
],
[
403,
404
],
[
404,
405
],
[
404,
406
],
[
402,
407
],
[
407,
408
],
[
407,
409
],
[
402,
410
],
[
410,
411
],
[
411,
412
],
[
402,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
415,
417
],
[
414,
418
],
[
418,
419
],
[
397,
420
],
[
420,
421
],
[
395,
422
],
[
422,
423
],
[
133,
424
],
[
424,
425
],
[
424,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
426,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
434,
436
],
[
432,
437
],
[
437,
438
],
[
437,
439
],
[
432,
440
],
[
440,
441
],
[
441,
442
],
[
432,
443
],
[
444,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
445,
449
],
[
449,
450
],
[
449,
451
],
[
426,
452
],
[
452,
453
],
[
424,
454
],
[
454,
455
],
[
424,
456
],
[
456,
457
],
[
133,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
461,
462
],
[
461,
463
],
[
463,
464
],
[
460,
465
],
[
465,
466
],
[
466,
467
],
[
466,
468
],
[
465,
469
],
[
469,
470
],
[
469,
471
],
[
471,
472
],
[
460,
473
],
[
473,
474
],
[
473,
475
],
[
460,
476
],
[
476,
477
],
[
477,
478
],
[
478,
479
],
[
478,
480
],
[
476,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
482,
485
],
[
481,
486
],
[
486,
487
],
[
486,
488
],
[
488,
489
],
[
460,
490
],
[
490,
491
],
[
491,
492
],
[
492,
493
],
[
133,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
497,
498
],
[
497,
499
],
[
496,
501
],
[
501,
502
],
[
502,
503
],
[
503,
504
],
[
503,
505
],
[
501,
506
],
[
506,
507
],
[
506,
508
],
[
501,
509
],
[
509,
510
],
[
510,
511
],
[
501,
512
],
[
512,
513
],
[
513,
514
],
[
514,
515
],
[
514,
516
],
[
513,
517
],
[
517,
518
],
[
496,
519
],
[
519,
520
],
[
494,
521
],
[
521,
522
],
[
133,
523
],
[
523,
524
],
[
523,
525
],
[
525,
526
],
[
526,
527
],
[
526,
528
],
[
528,
529
],
[
525,
530
],
[
530,
531
],
[
531,
532
],
[
531,
533
],
[
530,
534
],
[
534,
535
],
[
534,
536
],
[
536,
537
],
[
525,
538
],
[
538,
539
],
[
538,
540
],
[
525,
541
],
[
541,
542
],
[
542,
543
],
[
543,
544
],
[
543,
545
],
[
541,
546
],
[
546,
547
],
[
547,
548
],
[
548,
549
],
[
547,
550
],
[
546,
551
],
[
551,
552
],
[
551,
553
],
[
553,
554
],
[
525,
555
],
[
555,
556
],
[
556,
557
],
[
557,
558
],
[
133,
559
],
[
559,
560
],
[
559,
561
],
[
561,
562
],
[
562,
563
],
[
562,
564
],
[
561,
567
],
[
567,
568
],
[
568,
569
],
[
569,
570
],
[
569,
571
],
[
567,
572
],
[
572,
573
],
[
572,
574
],
[
567,
575
],
[
575,
576
],
[
576,
577
],
[
567,
578
],
[
579,
579
],
[
579,
580
],
[
580,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
580,
585
],
[
585,
586
],
[
585,
587
],
[
580,
588
],
[
588,
589
],
[
589,
590
],
[
580,
591
],
[
592,
592
],
[
592,
593
],
[
593,
594
],
[
594,
595
],
[
595,
596
],
[
595,
597
],
[
594,
598
],
[
593,
599
],
[
599,
600
],
[
561,
601
],
[
601,
602
],
[
559,
603
],
[
603,
604
],
[
559,
605
],
[
605,
606
],
[
0,
607
],
[
607,
608
],
[
607,
609
]
]
| [
"import java.io.IOException;\nimport java.io.FileInputStream;\nimport java.io.InputStream;\nimport java.util.Arrays;\nimport java.util.InputMismatchException;\nimport java.io.FileNotFoundException;\nimport java.io.PrintWriter;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/B4\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long n = in.nextLong() - 1;\n StringBuilder s = new StringBuilder();\n while (true) {\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }\n System.out.println(s.reverse());\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\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 this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public 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 public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public 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\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.FileInputStream;",
"FileInputStream",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.io.FileNotFoundException;",
"FileNotFoundException",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/B4\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long n = in.nextLong() - 1;\n StringBuilder s = new StringBuilder();\n while (true) {\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }\n System.out.println(s.reverse());\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main",
"InputStream is;",
"is",
"int __t__ = 1;",
"__t__",
"1",
"int __f__ = 0;",
"__f__",
"0",
"int __FILE_DEBUG_FLAG__ = __f__;",
"__FILE_DEBUG_FLAG__",
"__f__",
"String __DEBUG_FILE_NAME__ = \"src/B4\";",
"__DEBUG_FILE_NAME__",
"\"src/B4\"",
"FastScanner in;",
"in",
"PrintWriter out;",
"out",
"public void solve() {\n long n = in.nextLong() - 1;\n StringBuilder s = new StringBuilder();\n while (true) {\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }\n System.out.println(s.reverse());\n }",
"solve",
"{\n long n = in.nextLong() - 1;\n StringBuilder s = new StringBuilder();\n while (true) {\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }\n System.out.println(s.reverse());\n }",
"long n = in.nextLong() - 1;",
"n",
"in.nextLong() - 1",
"in.nextLong()",
"in.nextLong",
"in",
"1",
"StringBuilder s = new StringBuilder();",
"s",
"new StringBuilder()",
"while (true) {\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }",
"true",
"{\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }",
"s.append((char) ('a' + (int)(n % 26)))",
"s.append",
"s",
"(char) ('a' + (int)(n % 26))",
"'a'",
"(int)(n % 26)",
"n",
"26",
"if (n < 26) break;",
"n < 26",
"n",
"26",
"break;",
"n = (n / 26) - 1",
"n",
"(n / 26) - 1",
"(n / 26)",
"n",
"26",
"1",
"System.out.println(s.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"s.reverse()",
"s.reverse",
"s",
"public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"run",
"{\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }",
"if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }",
"__FILE_DEBUG_FLAG__ == __t__",
"__FILE_DEBUG_FLAG__",
"__t__",
"{\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n }",
"try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\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 is = new FileInputStream(__DEBUG_FILE_NAME__);\n }",
"is = new FileInputStream(__DEBUG_FILE_NAME__)",
"is",
"new FileInputStream(__DEBUG_FILE_NAME__)",
"System.out.println(\"FILE_INPUT!\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"FILE_INPUT!\"",
"{\n is = System.in;\n }",
"is = System.in",
"is",
"System.in",
"System",
"System.in",
"in = new FastScanner(is)",
"in",
"new FastScanner(is)",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"solve()",
"solve",
"public static void main(final String[] args) {\n new Main().run();\n }",
"main",
"{\n new Main().run();\n }",
"new Main().run()",
"new Main().run",
"new Main()",
"final 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 this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public 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 public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public 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\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\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 this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"FastScanner",
"{\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }",
"this.stream = stream",
"this.stream",
"this",
"this.stream",
"stream",
"InputStream stream",
"stream",
"int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1)\n throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1)\n throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0)\n return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = stream.read(buf);\n }",
"numChars = stream.read(buf)",
"numChars",
"stream.read(buf)",
"stream.read",
"stream",
"buf",
"if (numChars <= 0)\n return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public boolean isEndline(int c) {\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",
"public int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"nextIntArray",
"{\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }",
"int[] array = new int[n];",
"array",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextInt();",
"array[i] = nextInt()",
"array[i]",
"array",
"i",
"nextInt()",
"nextInt",
"return array;",
"array",
"int n",
"n",
"public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"nextIntMap",
"{\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }",
"int[][] map = new int[n][m];",
"map",
"new int[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextIntArray(m);\n }",
"{\n map[i] = nextIntArray(m);\n }",
"map[i] = nextIntArray(m)",
"map[i]",
"map",
"i",
"nextIntArray(m)",
"nextIntArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public long nextLong() {\n return Long.parseLong(next());\n }",
"nextLong",
"{\n return Long.parseLong(next());\n }",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"nextLongArray",
"{\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }",
"long[] array = new long[n];",
"array",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextLong();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextLong();",
"array[i] = nextLong()",
"array[i]",
"array",
"i",
"nextLong()",
"nextLong",
"return array;",
"array",
"int n",
"n",
"public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"nextLongMap",
"{\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }",
"long[][] map = new long[n][m];",
"map",
"new long[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextLongArray(m);\n }",
"{\n map[i] = nextLongArray(m);\n }",
"map[i] = nextLongArray(m)",
"map[i]",
"map",
"i",
"nextLongArray(m)",
"nextLongArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"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 double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"nextDoubleArray",
"{\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }",
"double[] array = new double[n];",
"array",
"new double[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = nextDouble();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = nextDouble();",
"array[i] = nextDouble()",
"array[i]",
"array",
"i",
"nextDouble()",
"nextDouble",
"return array;",
"array",
"int n",
"n",
"public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"nextDoubleMap",
"{\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }",
"double[][] map = new double[n][m];",
"map",
"new double[n][m]",
"n",
"m",
"for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n map[i] = nextDoubleArray(m);\n }",
"{\n map[i] = nextDoubleArray(m);\n }",
"map[i] = nextDoubleArray(m)",
"map[i]",
"map",
"i",
"nextDoubleArray(m)",
"nextDoubleArray",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"public 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",
"public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"nextStringArray",
"{\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }",
"String[] array = new String[n];",
"array",
"new String[n]",
"n",
"for (int i = 0; i < n; i++)\n array[i] = next();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"array[i] = next();",
"array[i] = next()",
"array[i]",
"array",
"i",
"next()",
"next",
"return array;",
"array",
"int n",
"n",
"public 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 int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"nextPackedIntArrays",
"{\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }",
"int[][] res = new int[packN][size];",
"res",
"new int[packN][size]",
"packN",
"size",
"for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }",
"for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < packN",
"j",
"packN",
"j++",
"j++",
"j",
"{\n res[j][i] = nextInt();\n }",
"{\n res[j][i] = nextInt();\n }",
"res[j][i] = nextInt()",
"res[j][i]",
"res[j]",
"res",
"j",
"i",
"nextInt()",
"nextInt",
"return res;",
"res",
"int packN",
"packN",
"int size",
"size",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/B4\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long n = in.nextLong() - 1;\n StringBuilder s = new StringBuilder();\n while (true) {\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }\n System.out.println(s.reverse());\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/B4\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n long n = in.nextLong() - 1;\n StringBuilder s = new StringBuilder();\n while (true) {\n s.append((char) ('a' + (int)(n % 26)));\n if (n < 26) break;\n n = (n / 26) - 1;\n }\n System.out.println(s.reverse());\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}",
"Main"
]
| import java.io.IOException;
import java.io.FileInputStream;
import java.io.InputStream;
import java.util.Arrays;
import java.util.InputMismatchException;
import java.io.FileNotFoundException;
import java.io.PrintWriter;
public class Main {
InputStream is;
int __t__ = 1;
int __f__ = 0;
int __FILE_DEBUG_FLAG__ = __f__;
String __DEBUG_FILE_NAME__ = "src/B4";
FastScanner in;
PrintWriter out;
public void solve() {
long n = in.nextLong() - 1;
StringBuilder s = new StringBuilder();
while (true) {
s.append((char) ('a' + (int)(n % 26)));
if (n < 26) break;
n = (n / 26) - 1;
}
System.out.println(s.reverse());
}
public void run() {
if (__FILE_DEBUG_FLAG__ == __t__) {
try {
is = new FileInputStream(__DEBUG_FILE_NAME__);
} catch (FileNotFoundException e) {
e.printStackTrace();
}
System.out.println("FILE_INPUT!");
} else {
is = System.in;
}
in = new FastScanner(is);
out = new PrintWriter(System.out);
solve();
}
public static void main(final String[] args) {
new Main().run();
}
}
class FastScanner {
private InputStream stream;
private byte[] buf = new byte[1024];
private int curChar;
private int numChars;
public FastScanner(InputStream stream) {
this.stream = stream;
// stream = new FileInputStream(new File("dec.in"));
}
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 boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public boolean isEndline(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public int nextInt() {
return Integer.parseInt(next());
}
public int[] nextIntArray(int n) {
int[] array = new int[n];
for (int i = 0; i < n; i++)
array[i] = nextInt();
return array;
}
public int[][] nextIntMap(int n, int m) {
int[][] map = new int[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextIntArray(m);
}
return map;
}
public long nextLong() {
return Long.parseLong(next());
}
public long[] nextLongArray(int n) {
long[] array = new long[n];
for (int i = 0; i < n; i++)
array[i] = nextLong();
return array;
}
public long[][] nextLongMap(int n, int m) {
long[][] map = new long[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextLongArray(m);
}
return map;
}
public double nextDouble() {
return Double.parseDouble(next());
}
public double[] nextDoubleArray(int n) {
double[] array = new double[n];
for (int i = 0; i < n; i++)
array[i] = nextDouble();
return array;
}
public double[][] nextDoubleMap(int n, int m) {
double[][] map = new double[n][m];
for (int i = 0; i < n; i++) {
map[i] = nextDoubleArray(m);
}
return map;
}
public String next() {
int c = read();
while (isSpaceChar(c))
c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public String[] nextStringArray(int n) {
String[] array = new String[n];
for (int i = 0; i < n; i++)
array[i] = next();
return array;
}
public 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();
}
public int[][] nextPackedIntArrays(int packN, int size) {
int[][] res = new int[packN][size];
for (int i = 0; i < size; i++) {
for (int j = 0; j < packN; j++) {
res[j][i] = nextInt();
}
}
return res;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
13,
13,
30,
40,
13,
0,
13,
4,
18,
13,
17,
13,
9,
3,
40,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
0,
13,
2,
13,
17,
4,
18,
13,
13,
14,
2,
13,
4,
18,
13,
30,
41,
13,
2,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
150,
5
],
[
150,
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
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
41,
45
],
[
40,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
52,
55
],
[
52,
56
],
[
47,
57
],
[
38,
58
],
[
8,
59
],
[
59,
60
],
[
8,
61
],
[
61,
62
],
[
61,
63
],
[
8,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
71,
73
],
[
68,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
68,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
8,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
83,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
89,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
102,
103
],
[
102,
104
],
[
97,
105
],
[
105,
106
],
[
106,
107
],
[
97,
108
],
[
109,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
8,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
118,
122
],
[
114,
123
],
[
123,
124
],
[
123,
125
],
[
114,
126
],
[
126,
127
],
[
127,
128
],
[
114,
129
],
[
130,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
8,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
6,
147
],
[
147,
148
],
[
0,
149
],
[
149,
150
],
[
149,
151
]
]
| [
"import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint len = 1;\n\t\tfor(int i=1; i<16; i++){\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tn--;\n\t\tList<Integer> list = new ArrayList<>();\n\t\tdo{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}\n\t\twhile(n > 0);\n\t\tif(len>list.size()){\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tsb.append(str.charAt(list.get(i)));\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint len = 1;\n\t\tfor(int i=1; i<16; i++){\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tn--;\n\t\tList<Integer> list = new ArrayList<>();\n\t\tdo{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}\n\t\twhile(n > 0);\n\t\tif(len>list.size()){\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tsb.append(str.charAt(list.get(i)));\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint len = 1;\n\t\tfor(int i=1; i<16; i++){\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tn--;\n\t\tList<Integer> list = new ArrayList<>();\n\t\tdo{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}\n\t\twhile(n > 0);\n\t\tif(len>list.size()){\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tsb.append(str.charAt(list.get(i)));\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint len = 1;\n\t\tfor(int i=1; i<16; i++){\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tn--;\n\t\tList<Integer> list = new ArrayList<>();\n\t\tdo{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}\n\t\twhile(n > 0);\n\t\tif(len>list.size()){\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tsb.append(str.charAt(list.get(i)));\n\t\t}\n\t\tSystem.out.println(sb);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String str = \"abcdefghijklmnopqrstuvwxyz\";",
"str",
"\"abcdefghijklmnopqrstuvwxyz\"",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int len = 1;",
"len",
"1",
"for(int i=1; i<16; i++){\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<16",
"i",
"16",
"i++",
"i++",
"i",
"{\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}",
"{\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}",
"if(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}",
"Math.pow(26,i) < n",
"Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"n",
"{\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}",
"len++",
"len",
"n -= Math.pow(26,i)",
"n",
"Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"continue;",
"break;",
"n--",
"n",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"do{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}\n\t\twhile(n > 0);",
"n > 0",
"n",
"0",
"{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}",
"long amari = n%26;",
"amari",
"n%26",
"n",
"26",
"n = n/26",
"n",
"n/26",
"n",
"26",
"list.add((int)amari)",
"list.add",
"list",
"(int)amari",
"if(len>list.size()){\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}",
"len>list.size()",
"len",
"list.size()",
"list.size",
"list",
"{\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}",
"int sa = len - list.size();",
"sa",
"len - list.size()",
"len",
"list.size()",
"list.size",
"list",
"for(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<sa",
"i",
"sa",
"i++",
"i++",
"i",
"{\n\t\t\t\tlist.add(0);\n\t\t\t}",
"{\n\t\t\t\tlist.add(0);\n\t\t\t}",
"list.add(0)",
"list.add",
"list",
"0",
"for(int i=list.size()-1; i>=0; i--){\n\t\t\tsb.append(str.charAt(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\tsb.append(str.charAt(list.get(i)));\n\t\t}",
"{\n\t\t\tsb.append(str.charAt(list.get(i)));\n\t\t}",
"sb.append(str.charAt(list.get(i)))",
"sb.append",
"sb",
"str.charAt(list.get(i))",
"str.charAt",
"str",
"list.get(i)",
"list.get",
"list",
"i",
"System.out.println(sb)",
"System.out.println",
"System.out",
"System",
"System.out",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint len = 1;\n\t\tfor(int i=1; i<16; i++){\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tn--;\n\t\tList<Integer> list = new ArrayList<>();\n\t\tdo{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}\n\t\twhile(n > 0);\n\t\tif(len>list.size()){\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tsb.append(str.charAt(list.get(i)));\n\t\t}\n\t\tSystem.out.println(sb);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString str = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint len = 1;\n\t\tfor(int i=1; i<16; i++){\n\t\t\tif(Math.pow(26,i) < n){\n\t\t\t\tlen++;\n\t\t\t\tn -= Math.pow(26,i);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tn--;\n\t\tList<Integer> list = new ArrayList<>();\n\t\tdo{\n\t\t\tlong amari = n%26;\n\t\t\tn = n/26;\n\t\t\tlist.add((int)amari);\n\t\t}\n\t\twhile(n > 0);\n\t\tif(len>list.size()){\n\t\t\tint sa = len - list.size();\n\t\t\tfor(int i = 0; i<sa; i++){\n\t\t\t\tlist.add(0);\n\t\t\t}\n\t\t}\n\t\tfor(int i=list.size()-1; i>=0; i--){\n\t\t\tsb.append(str.charAt(list.get(i)));\n\t\t}\n\t\tSystem.out.println(sb);\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();
String str = "abcdefghijklmnopqrstuvwxyz";
StringBuilder sb = new StringBuilder();
int len = 1;
for(int i=1; i<16; i++){
if(Math.pow(26,i) < n){
len++;
n -= Math.pow(26,i);
continue;
}
break;
}
n--;
List<Integer> list = new ArrayList<>();
do{
long amari = n%26;
n = n/26;
list.add((int)amari);
}
while(n > 0);
if(len>list.size()){
int sa = len - list.size();
for(int i = 0; i<sa; i++){
list.add(0);
}
}
for(int i=list.size()-1; i>=0; i--){
sb.append(str.charAt(list.get(i)));
}
System.out.println(sb);
}
}
|
[
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,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
41,
13,
17,
14,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
17,
0,
13,
2,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
17,
0,
13,
2,
2,
13,
17,
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
],
[
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
],
[
184,
26
],
[
184,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
45,
51
],
[
51,
52
],
[
51,
53
],
[
45,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
54,
63
],
[
63,
64
],
[
63,
65
],
[
45,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
45,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
72,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
71,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
29,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
87,
92
],
[
27,
93
],
[
93,
94
],
[
184,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
95,
99
],
[
99,
100
],
[
95,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
95,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
110,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
120,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
109,
131
],
[
131,
132
],
[
132,
133
],
[
133,
134
],
[
95,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
140,
141
],
[
139,
142
],
[
142,
143
],
[
95,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
148,
151
],
[
151,
152
],
[
95,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
157,
160
],
[
160,
161
],
[
95,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
164,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
168,
175
],
[
175,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
164,
181
],
[
181,
182
],
[
0,
183
],
[
183,
184
],
[
183,
185
]
]
| [
"import java.util.*;\nimport java.util.Scanner;\nimport java.io.*;\nimport java.io.BufferedReader; \nimport java.io.IOException; \nimport java.io.InputStreamReader; \nimport java.util.Scanner; \nimport java.util.StringTokenizer; \n \npublic class Main\n{\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \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 nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main (String[] args) \n\t{\n //code by sushant kumar\n FastReader in=new FastReader();\n long n=in.nextLong();\n \n String s=\"\";\n \n\n while(n>0)\n {\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }\n \n\n System.out.println(s);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Scanner;",
"Scanner",
"java.util",
"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.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main\n{\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \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 nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main (String[] args) \n\t{\n //code by sushant kumar\n FastReader in=new FastReader();\n long n=in.nextLong();\n \n String s=\"\";\n \n\n while(n>0)\n {\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }\n \n\n System.out.println(s);\n }\n}",
"Main",
"public static void main (String[] args) \n\t{\n //code by sushant kumar\n FastReader in=new FastReader();\n long n=in.nextLong();\n \n String s=\"\";\n \n\n while(n>0)\n {\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }\n \n\n System.out.println(s);\n }",
"main",
"{\n //code by sushant kumar\n FastReader in=new FastReader();\n long n=in.nextLong();\n \n String s=\"\";\n \n\n while(n>0)\n {\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }\n \n\n System.out.println(s);\n }",
"FastReader in=new FastReader();",
"in",
"new FastReader()",
"long n=in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"String s=\"\";",
"s",
"\"\"",
"while(n>0)\n {\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }",
"n>0",
"n",
"0",
"{\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }",
"long d=n%26;",
"d",
"n%26",
"n",
"26",
"char ch=' ';",
"ch",
"' '",
"if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';",
"d!=0",
"d",
"0",
"ch=(char)((int)d+96)",
"ch",
"(char)((int)d+96)",
"(int)d",
"96",
"ch='z'",
"ch",
"'z'",
"s=ch+s",
"s",
"ch+s",
"ch",
"s",
"if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;",
"n%26!=0",
"n%26",
"n",
"26",
"0",
"n/=26",
"n",
"26",
"n=n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \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 nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader() \n { \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 { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"next",
"{ \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }",
"while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{ \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n }",
"try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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 { \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 nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"nextLine",
"{ \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n }",
"String str = \"\";",
"str",
"\"\"",
"try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n }",
"catch (IOException e) \n { \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 FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \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 nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main (String[] args) \n\t{\n //code by sushant kumar\n FastReader in=new FastReader();\n long n=in.nextLong();\n \n String s=\"\";\n \n\n while(n>0)\n {\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }\n \n\n System.out.println(s);\n }\n}",
"public class Main\n{\n static class FastReader \n { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() \n { \n br = new BufferedReader(new\n InputStreamReader(System.in)); \n } \n \n String next() \n { \n while (st == null || !st.hasMoreElements()) \n { \n try\n { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \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 nextLine() \n { \n String str = \"\"; \n try\n { \n str = br.readLine(); \n } \n catch (IOException e) \n { \n e.printStackTrace(); \n } \n return str; \n } \n } \n public static void main (String[] args) \n\t{\n //code by sushant kumar\n FastReader in=new FastReader();\n long n=in.nextLong();\n \n String s=\"\";\n \n\n while(n>0)\n {\n \n long d=n%26;\n \n char ch=' ';\n if(d!=0)\n ch=(char)((int)d+96);\n else\n ch='z';\n \n s=ch+s;\n if(n%26!=0)\n n/=26;\n else\n\n n=n/26-1;\n \n }\n \n\n System.out.println(s);\n }\n}",
"Main"
]
| import java.util.*;
import java.util.Scanner;
import java.io.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main
{
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
String next()
{
while (st == null || !st.hasMoreElements())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (IOException e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
int nextInt()
{
return Integer.parseInt(next());
}
long nextLong()
{
return Long.parseLong(next());
}
double nextDouble()
{
return Double.parseDouble(next());
}
String nextLine()
{
String str = "";
try
{
str = br.readLine();
}
catch (IOException e)
{
e.printStackTrace();
}
return str;
}
}
public static void main (String[] args)
{
//code by sushant kumar
FastReader in=new FastReader();
long n=in.nextLong();
String s="";
while(n>0)
{
long d=n%26;
char ch=' ';
if(d!=0)
ch=(char)((int)d+96);
else
ch='z';
s=ch+s;
if(n%26!=0)
n/=26;
else
n=n/26-1;
}
System.out.println(s);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
2,
8,
2,
2,
13,
17,
17,
17,
2,
13,
17,
17,
17,
0,
13,
2,
13,
13,
14,
2,
2,
13,
17,
17,
0,
13,
2,
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
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
71,
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
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
29,
35
],
[
29,
36
],
[
36,
37
],
[
36,
38
],
[
28,
39
],
[
27,
40
],
[
24,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
24,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
46,
59
],
[
59,
60
],
[
59,
61
],
[
11,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
9,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n long n = sc.nextLong();\n String res = \"\";\n while(n > 0){\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }\n System.out.println(res);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n long n = sc.nextLong();\n String res = \"\";\n while(n > 0){\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }\n System.out.println(res);\n }\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"public static void main(String[] args) {\n long n = sc.nextLong();\n String res = \"\";\n while(n > 0){\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }\n System.out.println(res);\n }",
"main",
"{\n long n = sc.nextLong();\n String res = \"\";\n while(n > 0){\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }\n System.out.println(res);\n }",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String res = \"\";",
"res",
"\"\"",
"while(n > 0){\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }",
"n > 0",
"n",
"0",
"{\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }",
"char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');",
"c",
"(char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a')",
"(n % 26 == 0 ? 26 : n % 26) - 1",
"(n % 26 == 0 ? 26 : n % 26)",
"n % 26 == 0",
"n % 26",
"n",
"26",
"0",
"26",
"n % 26",
"n",
"26",
"1",
"'a'",
"res = c + res",
"res",
"c + res",
"c",
"res",
"if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;",
"n % 26 == 0",
"n % 26",
"n",
"26",
"0",
"n = n / 26 - 1",
"n",
"n / 26 - 1",
"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 static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n long n = sc.nextLong();\n String res = \"\";\n while(n > 0){\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }\n System.out.println(res);\n }\n}",
"public class Main {\n static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) {\n long n = sc.nextLong();\n String res = \"\";\n while(n > 0){\n char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');\n res = c + res;\n if(n % 26 == 0)\n n = n / 26 - 1;\n else\n n/= 26;\n }\n System.out.println(res);\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
static Scanner sc = new Scanner(System.in);
public static void main(String[] args) {
long n = sc.nextLong();
String res = "";
while(n > 0){
char c = (char)((n % 26 == 0 ? 26 : n % 26) - 1 + 'a');
res = c + res;
if(n % 26 == 0)
n = n / 26 - 1;
else
n/= 26;
}
System.out.println(res);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
2,
2,
17,
2,
4,
18,
13,
17,
2,
13,
17,
17,
17,
13,
2,
13,
2,
2,
17,
2,
4,
18,
13,
17,
13,
17,
17,
30,
0,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
13,
4,
18,
13,
17,
13,
41,
13,
4,
18,
13,
2,
13,
17,
17,
41,
13,
2,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
2,
17,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
4,
18,
4,
18,
13,
13,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
590,
5
],
[
590,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
20,
28
],
[
28,
29
],
[
29,
30
],
[
20,
31
],
[
32,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
40,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
36,
48
],
[
35,
49
],
[
34,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
56,
60
],
[
55,
61
],
[
52,
62
],
[
33,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
72,
74
],
[
67,
75
],
[
75,
76
],
[
76,
77
],
[
67,
78
],
[
79,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
84,
88
],
[
8,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
91,
97
],
[
8,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
103,
104
],
[
8,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
110,
111
],
[
110,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
105,
116
],
[
117,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
8,
123
],
[
123,
124
],
[
123,
125
],
[
8,
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
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
142,
145
],
[
142,
146
],
[
146,
147
],
[
146,
148
],
[
140,
149
],
[
139,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
138,
156
],
[
156,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
159,
163
],
[
163,
164
],
[
163,
165
],
[
157,
166
],
[
156,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
170,
172
],
[
138,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
176,
180
],
[
180,
181
],
[
180,
182
],
[
174,
183
],
[
173,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
187,
189
],
[
138,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
194,
195
],
[
193,
196
],
[
193,
197
],
[
197,
198
],
[
197,
199
],
[
191,
200
],
[
190,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
204,
206
],
[
138,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
210,
213
],
[
210,
214
],
[
214,
215
],
[
214,
216
],
[
208,
217
],
[
207,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
221,
223
],
[
138,
224
],
[
224,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
227,
230
],
[
227,
231
],
[
231,
232
],
[
231,
233
],
[
225,
234
],
[
224,
235
],
[
235,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
238,
240
],
[
138,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
244,
247
],
[
244,
248
],
[
248,
249
],
[
248,
250
],
[
242,
251
],
[
241,
252
],
[
252,
253
],
[
253,
254
],
[
253,
255
],
[
255,
256
],
[
255,
257
],
[
138,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
261,
264
],
[
261,
265
],
[
265,
266
],
[
265,
267
],
[
259,
268
],
[
258,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
272,
274
],
[
138,
275
],
[
275,
276
],
[
276,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
278,
281
],
[
278,
282
],
[
282,
283
],
[
282,
284
],
[
276,
285
],
[
275,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
289,
291
],
[
138,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
296,
297
],
[
295,
298
],
[
295,
299
],
[
299,
300
],
[
299,
301
],
[
293,
302
],
[
292,
303
],
[
303,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
306,
308
],
[
138,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
313,
314
],
[
312,
315
],
[
312,
316
],
[
316,
317
],
[
316,
318
],
[
310,
319
],
[
309,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
323,
325
],
[
138,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
329,
332
],
[
329,
333
],
[
333,
334
],
[
333,
335
],
[
327,
336
],
[
326,
337
],
[
337,
338
],
[
338,
339
],
[
338,
340
],
[
340,
341
],
[
340,
342
],
[
138,
343
],
[
343,
344
],
[
344,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
346,
349
],
[
346,
350
],
[
350,
351
],
[
350,
352
],
[
344,
353
],
[
343,
354
],
[
354,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
357,
359
],
[
138,
360
],
[
360,
361
],
[
361,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
363,
366
],
[
363,
367
],
[
367,
368
],
[
367,
369
],
[
361,
370
],
[
360,
371
],
[
371,
372
],
[
372,
373
],
[
372,
374
],
[
374,
375
],
[
374,
376
],
[
138,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
380,
383
],
[
380,
384
],
[
384,
385
],
[
384,
386
],
[
378,
387
],
[
377,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
391,
392
],
[
391,
393
],
[
138,
394
],
[
394,
395
],
[
395,
396
],
[
396,
397
],
[
397,
398
],
[
398,
399
],
[
397,
400
],
[
397,
401
],
[
401,
402
],
[
401,
403
],
[
395,
404
],
[
394,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
408,
410
],
[
138,
411
],
[
411,
412
],
[
412,
413
],
[
413,
414
],
[
414,
415
],
[
415,
416
],
[
414,
417
],
[
414,
418
],
[
418,
419
],
[
418,
420
],
[
412,
421
],
[
411,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
425,
426
],
[
425,
427
],
[
138,
428
],
[
428,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
431,
434
],
[
431,
435
],
[
435,
436
],
[
435,
437
],
[
429,
438
],
[
428,
439
],
[
439,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
442,
444
],
[
138,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
448,
449
],
[
449,
450
],
[
448,
451
],
[
448,
452
],
[
452,
453
],
[
452,
454
],
[
446,
455
],
[
445,
456
],
[
456,
457
],
[
457,
458
],
[
457,
459
],
[
459,
460
],
[
459,
461
],
[
138,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
465,
466
],
[
466,
467
],
[
465,
468
],
[
465,
469
],
[
469,
470
],
[
469,
471
],
[
463,
472
],
[
462,
473
],
[
473,
474
],
[
474,
475
],
[
474,
476
],
[
476,
477
],
[
476,
478
],
[
138,
479
],
[
479,
480
],
[
480,
481
],
[
481,
482
],
[
482,
483
],
[
483,
484
],
[
482,
485
],
[
482,
486
],
[
486,
487
],
[
486,
488
],
[
480,
489
],
[
479,
490
],
[
490,
491
],
[
491,
492
],
[
491,
493
],
[
493,
494
],
[
493,
495
],
[
138,
496
],
[
496,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
500,
501
],
[
499,
502
],
[
499,
503
],
[
503,
504
],
[
503,
505
],
[
497,
506
],
[
496,
507
],
[
507,
508
],
[
508,
509
],
[
508,
510
],
[
510,
511
],
[
510,
512
],
[
138,
513
],
[
513,
514
],
[
514,
515
],
[
515,
516
],
[
516,
517
],
[
517,
518
],
[
516,
519
],
[
516,
520
],
[
520,
521
],
[
520,
522
],
[
514,
523
],
[
513,
524
],
[
524,
525
],
[
525,
526
],
[
525,
527
],
[
527,
528
],
[
527,
529
],
[
138,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
534,
535
],
[
533,
536
],
[
533,
537
],
[
537,
538
],
[
537,
539
],
[
531,
540
],
[
530,
541
],
[
541,
542
],
[
542,
543
],
[
542,
544
],
[
544,
545
],
[
544,
546
],
[
138,
547
],
[
547,
548
],
[
548,
549
],
[
549,
550
],
[
550,
551
],
[
551,
552
],
[
550,
553
],
[
550,
554
],
[
554,
555
],
[
554,
556
],
[
548,
557
],
[
547,
558
],
[
558,
559
],
[
559,
560
],
[
559,
561
],
[
561,
562
],
[
561,
563
],
[
138,
564
],
[
564,
565
],
[
565,
566
],
[
566,
567
],
[
567,
568
],
[
568,
569
],
[
567,
570
],
[
567,
571
],
[
571,
572
],
[
571,
573
],
[
565,
574
],
[
564,
575
],
[
575,
576
],
[
576,
577
],
[
576,
578
],
[
578,
579
],
[
578,
580
],
[
8,
581
],
[
581,
582
],
[
582,
583
],
[
583,
584
],
[
583,
585
],
[
581,
586
],
[
6,
587
],
[
587,
588
],
[
0,
589
],
[
589,
590
],
[
589,
591
]
]
| [
"import java.util.Scanner;\npublic class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nlong N=scan.nextLong();\nint k=0;\n\nfor(int i=1;i<12;i++) {\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}\n\nfor(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}\nString M=Long.toString(N-1,26);\nint U=k-M.length();\nfor(int i=0;i<U;i++){M=\"0\"+M;}\n\n String p=\"\";;\n\nfor(int i=0;i<k;i++){\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}\nSystem.out.println(p);\n }\n }\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nlong N=scan.nextLong();\nint k=0;\n\nfor(int i=1;i<12;i++) {\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}\n\nfor(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}\nString M=Long.toString(N-1,26);\nint U=k-M.length();\nfor(int i=0;i<U;i++){M=\"0\"+M;}\n\n String p=\"\";;\n\nfor(int i=0;i<k;i++){\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}\nSystem.out.println(p);\n }\n }",
"Main",
"public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nlong N=scan.nextLong();\nint k=0;\n\nfor(int i=1;i<12;i++) {\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}\n\nfor(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}\nString M=Long.toString(N-1,26);\nint U=k-M.length();\nfor(int i=0;i<U;i++){M=\"0\"+M;}\n\n String p=\"\";;\n\nfor(int i=0;i<k;i++){\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}\nSystem.out.println(p);\n }",
"main",
"{\n\n\n Scanner scan = new Scanner(System.in);\nlong N=scan.nextLong();\nint k=0;\n\nfor(int i=1;i<12;i++) {\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}\n\nfor(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}\nString M=Long.toString(N-1,26);\nint U=k-M.length();\nfor(int i=0;i<U;i++){M=\"0\"+M;}\n\n String p=\"\";;\n\nfor(int i=0;i<k;i++){\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}\nSystem.out.println(p);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long N=scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"int k=0;",
"k",
"0",
"for(int i=1;i<12;i++) {\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<12",
"i",
"12",
"i++",
"i++",
"i",
"{\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}",
"{\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}",
"if(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}",
"26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25",
"26*(Math.pow(26,i-1)-1)/25<N",
"26*(Math.pow(26,i-1)-1)/25",
"26*(Math.pow(26,i-1)-1)",
"26",
"(Math.pow(26,i-1)-1)",
"Math.pow(26,i-1)",
"Math.pow",
"Math",
"26",
"i-1",
"i",
"1",
"1",
"25",
"N",
"N<=26*(Math.pow(26,i)-1)/25",
"N",
"26*(Math.pow(26,i)-1)/25",
"26*(Math.pow(26,i)-1)",
"26",
"(Math.pow(26,i)-1)",
"Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"1",
"25",
"{k=i;}",
"k=i",
"k",
"i",
"for(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<k",
"i",
"k",
"i++",
"i++",
"i",
"{N=N-(long)Math.pow(26,i);}",
"{N=N-(long)Math.pow(26,i);}",
"N=N-(long)Math.pow(26,i)",
"N",
"N-(long)Math.pow(26,i)",
"N",
"(long)Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"String M=Long.toString(N-1,26);",
"M",
"Long.toString(N-1,26)",
"Long.toString",
"Long",
"N-1",
"N",
"1",
"26",
"int U=k-M.length();",
"U",
"k-M.length()",
"k",
"M.length()",
"M.length",
"M",
"for(int i=0;i<U;i++){M=\"0\"+M;}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<U",
"i",
"U",
"i++",
"i++",
"i",
"{M=\"0\"+M;}",
"{M=\"0\"+M;}",
"M=\"0\"+M",
"M",
"\"0\"+M",
"\"0\"",
"M",
"String p=\"\";",
"p",
"\"\"",
"for(int i=0;i<k;i++){\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<k",
"i",
"k",
"i++",
"i++",
"i",
"{\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}",
"{\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}",
"if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}",
"M.substring(i,i+1).equals(\"0\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"0\"",
"{p=p+\"a\";}",
"p=p+\"a\"",
"p",
"p+\"a\"",
"p",
"\"a\"",
"if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}",
"M.substring(i,i+1).equals(\"1\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"1\"",
"{p=p+\"b\";}",
"p=p+\"b\"",
"p",
"p+\"b\"",
"p",
"\"b\"",
"if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}",
"M.substring(i,i+1).equals(\"2\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"2\"",
"{p=p+\"c\";}",
"p=p+\"c\"",
"p",
"p+\"c\"",
"p",
"\"c\"",
"if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}",
"M.substring(i,i+1).equals(\"3\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"3\"",
"{p=p+\"d\";}",
"p=p+\"d\"",
"p",
"p+\"d\"",
"p",
"\"d\"",
"if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}",
"M.substring(i,i+1).equals(\"4\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"4\"",
"{p=p+\"e\";}",
"p=p+\"e\"",
"p",
"p+\"e\"",
"p",
"\"e\"",
"if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}",
"M.substring(i,i+1).equals(\"5\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"5\"",
"{p=p+\"f\";}",
"p=p+\"f\"",
"p",
"p+\"f\"",
"p",
"\"f\"",
"if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}",
"M.substring(i,i+1).equals(\"6\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"6\"",
"{p=p+\"g\";}",
"p=p+\"g\"",
"p",
"p+\"g\"",
"p",
"\"g\"",
"if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}",
"M.substring(i,i+1).equals(\"7\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"7\"",
"{p=p+\"h\";}",
"p=p+\"h\"",
"p",
"p+\"h\"",
"p",
"\"h\"",
"if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}",
"M.substring(i,i+1).equals(\"8\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"8\"",
"{p=p+\"i\";}",
"p=p+\"i\"",
"p",
"p+\"i\"",
"p",
"\"i\"",
"if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}",
"M.substring(i,i+1).equals(\"9\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"9\"",
"{p=p+\"j\";}",
"p=p+\"j\"",
"p",
"p+\"j\"",
"p",
"\"j\"",
"if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}",
"M.substring(i,i+1).equals(\"a\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"a\"",
"{p=p+\"k\";}",
"p=p+\"k\"",
"p",
"p+\"k\"",
"p",
"\"k\"",
"if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}",
"M.substring(i,i+1).equals(\"b\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"b\"",
"{p=p+\"l\";}",
"p=p+\"l\"",
"p",
"p+\"l\"",
"p",
"\"l\"",
"if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}",
"M.substring(i,i+1).equals(\"c\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"c\"",
"{p=p+\"m\";}",
"p=p+\"m\"",
"p",
"p+\"m\"",
"p",
"\"m\"",
"if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}",
"M.substring(i,i+1).equals(\"d\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"d\"",
"{p=p+\"n\";}",
"p=p+\"n\"",
"p",
"p+\"n\"",
"p",
"\"n\"",
"if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}",
"M.substring(i,i+1).equals(\"e\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"e\"",
"{p=p+\"o\";}",
"p=p+\"o\"",
"p",
"p+\"o\"",
"p",
"\"o\"",
"if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}",
"M.substring(i,i+1).equals(\"f\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"f\"",
"{p=p+\"p\";}",
"p=p+\"p\"",
"p",
"p+\"p\"",
"p",
"\"p\"",
"if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}",
"M.substring(i,i+1).equals(\"g\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"g\"",
"{p=p+\"q\";}",
"p=p+\"q\"",
"p",
"p+\"q\"",
"p",
"\"q\"",
"if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}",
"M.substring(i,i+1).equals(\"h\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"h\"",
"{p=p+\"r\";}",
"p=p+\"r\"",
"p",
"p+\"r\"",
"p",
"\"r\"",
"if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}",
"M.substring(i,i+1).equals(\"i\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"i\"",
"{p=p+\"s\";}",
"p=p+\"s\"",
"p",
"p+\"s\"",
"p",
"\"s\"",
"if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}",
"M.substring(i,i+1).equals(\"j\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"j\"",
"{p=p+\"t\";}",
"p=p+\"t\"",
"p",
"p+\"t\"",
"p",
"\"t\"",
"if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}",
"M.substring(i,i+1).equals(\"k\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"k\"",
"{p=p+\"u\";}",
"p=p+\"u\"",
"p",
"p+\"u\"",
"p",
"\"u\"",
"if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}",
"M.substring(i,i+1).equals(\"l\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"l\"",
"{p=p+\"v\";}",
"p=p+\"v\"",
"p",
"p+\"v\"",
"p",
"\"v\"",
"if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}",
"M.substring(i,i+1).equals(\"m\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"m\"",
"{p=p+\"w\";}",
"p=p+\"w\"",
"p",
"p+\"w\"",
"p",
"\"w\"",
"if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}",
"M.substring(i,i+1).equals(\"n\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"n\"",
"{p=p+\"x\";}",
"p=p+\"x\"",
"p",
"p+\"x\"",
"p",
"\"x\"",
"if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}",
"M.substring(i,i+1).equals(\"o\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"o\"",
"{p=p+\"y\";}",
"p=p+\"y\"",
"p",
"p+\"y\"",
"p",
"\"y\"",
"if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}",
"M.substring(i,i+1).equals(\"p\")",
"M.substring(i,i+1).equals",
"M.substring(i,i+1)",
"M.substring",
"M",
"i",
"i+1",
"i",
"1",
"\"p\"",
"{p=p+\"z\";}",
"p=p+\"z\"",
"p",
"p+\"z\"",
"p",
"\"z\"",
"System.out.println(p)",
"System.out.println",
"System.out",
"System",
"System.out",
"p",
"String[] args",
"args",
"public class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nlong N=scan.nextLong();\nint k=0;\n\nfor(int i=1;i<12;i++) {\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}\n\nfor(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}\nString M=Long.toString(N-1,26);\nint U=k-M.length();\nfor(int i=0;i<U;i++){M=\"0\"+M;}\n\n String p=\"\";;\n\nfor(int i=0;i<k;i++){\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}\nSystem.out.println(p);\n }\n }",
"public class Main {\n\n\n public static void main(String[] args) {\n\n\n Scanner scan = new Scanner(System.in);\nlong N=scan.nextLong();\nint k=0;\n\nfor(int i=1;i<12;i++) {\nif(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}\n}\n\nfor(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}\nString M=Long.toString(N-1,26);\nint U=k-M.length();\nfor(int i=0;i<U;i++){M=\"0\"+M;}\n\n String p=\"\";;\n\nfor(int i=0;i<k;i++){\n if(M.substring(i,i+1).equals(\"0\")){p=p+\"a\";}\n if(M.substring(i,i+1).equals(\"1\")){p=p+\"b\";}\n if(M.substring(i,i+1).equals(\"2\")){p=p+\"c\";}\n if(M.substring(i,i+1).equals(\"3\")){p=p+\"d\";}\n if(M.substring(i,i+1).equals(\"4\")){p=p+\"e\";}\n if(M.substring(i,i+1).equals(\"5\")){p=p+\"f\";}\n if(M.substring(i,i+1).equals(\"6\")){p=p+\"g\";}\n if(M.substring(i,i+1).equals(\"7\")){p=p+\"h\";}\n if(M.substring(i,i+1).equals(\"8\")){p=p+\"i\";}\n if(M.substring(i,i+1).equals(\"9\")){p=p+\"j\";}\n if(M.substring(i,i+1).equals(\"a\")){p=p+\"k\";}\n if(M.substring(i,i+1).equals(\"b\")){p=p+\"l\";}\n if(M.substring(i,i+1).equals(\"c\")){p=p+\"m\";}\n if(M.substring(i,i+1).equals(\"d\")){p=p+\"n\";}\n if(M.substring(i,i+1).equals(\"e\")){p=p+\"o\";}\n if(M.substring(i,i+1).equals(\"f\")){p=p+\"p\";}\n if(M.substring(i,i+1).equals(\"g\")){p=p+\"q\";}\n if(M.substring(i,i+1).equals(\"h\")){p=p+\"r\";}\n if(M.substring(i,i+1).equals(\"i\")){p=p+\"s\";}\n if(M.substring(i,i+1).equals(\"j\")){p=p+\"t\";}\n if(M.substring(i,i+1).equals(\"k\")){p=p+\"u\";}\n if(M.substring(i,i+1).equals(\"l\")){p=p+\"v\";}\n if(M.substring(i,i+1).equals(\"m\")){p=p+\"w\";}\n if(M.substring(i,i+1).equals(\"n\")){p=p+\"x\";}\n if(M.substring(i,i+1).equals(\"o\")){p=p+\"y\";}\n if(M.substring(i,i+1).equals(\"p\")){p=p+\"z\";}\n\n\n}\nSystem.out.println(p);\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();
int k=0;
for(int i=1;i<12;i++) {
if(26*(Math.pow(26,i-1)-1)/25<N&&N<=26*(Math.pow(26,i)-1)/25){k=i;}
}
for(int i=1;i<k;i++){N=N-(long)Math.pow(26,i);}
String M=Long.toString(N-1,26);
int U=k-M.length();
for(int i=0;i<U;i++){M="0"+M;}
String p="";;
for(int i=0;i<k;i++){
if(M.substring(i,i+1).equals("0")){p=p+"a";}
if(M.substring(i,i+1).equals("1")){p=p+"b";}
if(M.substring(i,i+1).equals("2")){p=p+"c";}
if(M.substring(i,i+1).equals("3")){p=p+"d";}
if(M.substring(i,i+1).equals("4")){p=p+"e";}
if(M.substring(i,i+1).equals("5")){p=p+"f";}
if(M.substring(i,i+1).equals("6")){p=p+"g";}
if(M.substring(i,i+1).equals("7")){p=p+"h";}
if(M.substring(i,i+1).equals("8")){p=p+"i";}
if(M.substring(i,i+1).equals("9")){p=p+"j";}
if(M.substring(i,i+1).equals("a")){p=p+"k";}
if(M.substring(i,i+1).equals("b")){p=p+"l";}
if(M.substring(i,i+1).equals("c")){p=p+"m";}
if(M.substring(i,i+1).equals("d")){p=p+"n";}
if(M.substring(i,i+1).equals("e")){p=p+"o";}
if(M.substring(i,i+1).equals("f")){p=p+"p";}
if(M.substring(i,i+1).equals("g")){p=p+"q";}
if(M.substring(i,i+1).equals("h")){p=p+"r";}
if(M.substring(i,i+1).equals("i")){p=p+"s";}
if(M.substring(i,i+1).equals("j")){p=p+"t";}
if(M.substring(i,i+1).equals("k")){p=p+"u";}
if(M.substring(i,i+1).equals("l")){p=p+"v";}
if(M.substring(i,i+1).equals("m")){p=p+"w";}
if(M.substring(i,i+1).equals("n")){p=p+"x";}
if(M.substring(i,i+1).equals("o")){p=p+"y";}
if(M.substring(i,i+1).equals("p")){p=p+"z";}
}
System.out.println(p);
}
}
|
[
7,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
4,
18,
13,
2,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
60,
5
],
[
60,
6
],
[
6,
7
],
[
6,
8
],
[
60,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
17,
20
],
[
20,
21
],
[
21,
22
],
[
11,
23
],
[
23,
24
],
[
23,
25
],
[
11,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
38,
41
],
[
41,
42
],
[
41,
43
],
[
30,
44
],
[
44,
45
],
[
44,
46
],
[
11,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
47,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
9,
57
],
[
57,
58
],
[
0,
59
],
[
59,
60
],
[
59,
61
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"Main",
"public static final int MOD = 1000000007;",
"MOD",
"1000000007",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = Long.parseLong(sc.next());",
"n",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }",
"n--",
"n",
"long mod = n % 26;",
"mod",
"n % 26",
"n",
"26",
"sb.append((char) ('a' + mod))",
"sb.append",
"sb",
"(char) ('a' + mod)",
"'a'",
"mod",
"n /= 26",
"n",
"26",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"public class Main {\n\n public static final int MOD = 1000000007;\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n StringBuilder sb = new StringBuilder();\n while (n > 0) {\n n--;\n long mod = n % 26;\n sb.append((char) ('a' + mod));\n n /= 26;\n }\n System.out.println(sb.reverse().toString());\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static final int MOD = 1000000007;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = Long.parseLong(sc.next());
StringBuilder sb = new StringBuilder();
while (n > 0) {
n--;
long mod = n % 26;
sb.append((char) ('a' + mod));
n /= 26;
}
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,
41,
13,
20,
12,
13,
30,
41,
13,
20,
2,
13,
17,
4,
18,
13,
13,
17,
0,
18,
13,
17,
17,
0,
18,
13,
17,
17,
41,
13,
4,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
18,
13,
13,
30,
11,
1,
41,
13,
2,
13,
13,
2,
13,
13,
1,
0,
13,
13,
30,
30,
0,
18,
13,
13,
17,
29,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
13,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
42,
2,
2,
13,
13,
17,
30,
0,
13,
13,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
13,
13,
29,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
2,
13,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
2,
13,
17,
17,
2,
2,
13,
17,
17,
30,
29,
17,
29,
17,
23,
13,
12,
13,
30,
4,
18,
20,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
2,
18,
13,
13,
17,
42,
2,
13,
13,
30,
41,
13,
18,
13,
13,
0,
18,
13,
13,
18,
13,
13,
0,
18,
13,
13,
13,
40,
13,
40,
13,
23,
13,
12,
13,
30,
41,
13,
4,
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,
13,
13,
12,
13,
30,
14,
2,
2,
13,
17,
17,
30,
29,
13,
14,
2,
2,
13,
17,
17,
30,
29,
17,
14,
2,
2,
13,
17,
17,
30,
29,
2,
13,
17,
29,
17,
23,
13,
12,
13,
30,
29,
2,
4,
13,
13,
4,
13,
2,
13,
17,
23,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
41,
13,
13,
0,
13,
13,
0,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
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,
13,
12,
13,
30,
29,
4,
18,
13,
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,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
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,
18,
36,
13,
18,
13,
13,
23,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
579,
26
],
[
579,
27
],
[
27,
28
],
[
27,
29
],
[
579,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
36,
37
],
[
36,
38
],
[
32,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
39,
43
],
[
32,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
32,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
32,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
32,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
77,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
82,
84
],
[
78,
85
],
[
85,
86
],
[
85,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
78,
92
],
[
93,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
32,
99
],
[
99,
100
],
[
30,
101
],
[
101,
102
],
[
579,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
106,
110
],
[
110,
111
],
[
111,
112
],
[
105,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
114,
117
],
[
117,
118
],
[
117,
119
],
[
103,
120
],
[
120,
121
],
[
103,
122
],
[
122,
123
],
[
579,
124
],
[
124,
125
],
[
124,
126
],
[
126,
127
],
[
127,
128
],
[
127,
129
],
[
126,
130
],
[
130,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
130,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
130,
140
],
[
140,
141
],
[
141,
142
],
[
130,
143
],
[
144,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
146,
150
],
[
145,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
153,
157
],
[
152,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
151,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
126,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
167,
171
],
[
171,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
174,
176
],
[
126,
177
],
[
177,
178
],
[
124,
179
],
[
179,
180
],
[
579,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
184,
189
],
[
189,
190
],
[
190,
191
],
[
190,
192
],
[
189,
193
],
[
184,
194
],
[
194,
195
],
[
195,
196
],
[
184,
197
],
[
198,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
200,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
206,
210
],
[
199,
211
],
[
211,
212
],
[
212,
213
],
[
183,
214
],
[
214,
215
],
[
181,
216
],
[
216,
217
],
[
579,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
218,
224
],
[
224,
225
],
[
579,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
228,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
228,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
239,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
246,
247
],
[
246,
248
],
[
243,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
249,
253
],
[
253,
254
],
[
253,
255
],
[
243,
256
],
[
256,
257
],
[
257,
258
],
[
257,
259
],
[
256,
260
],
[
243,
261
],
[
261,
262
],
[
243,
263
],
[
263,
264
],
[
226,
265
],
[
265,
266
],
[
579,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
269,
274
],
[
274,
275
],
[
274,
276
],
[
269,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
277,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
281,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
290,
291
],
[
290,
292
],
[
287,
293
],
[
281,
294
],
[
294,
295
],
[
294,
296
],
[
269,
297
],
[
297,
298
],
[
297,
299
],
[
579,
300
],
[
300,
301
],
[
300,
302
],
[
302,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
303,
309
],
[
309,
310
],
[
310,
311
],
[
302,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
313,
317
],
[
312,
318
],
[
318,
319
],
[
319,
320
],
[
302,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
322,
326
],
[
321,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
302,
332
],
[
332,
333
],
[
300,
334
],
[
334,
335
],
[
579,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
341,
343
],
[
340,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
346,
348
],
[
336,
349
],
[
349,
350
],
[
336,
351
],
[
351,
352
],
[
579,
353
],
[
353,
354
],
[
353,
355
],
[
355,
356
],
[
356,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
356,
361
],
[
353,
362
],
[
362,
363
],
[
579,
364
],
[
364,
365
],
[
364,
366
],
[
366,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
367,
372
],
[
364,
373
],
[
373,
374
],
[
579,
375
],
[
375,
376
],
[
375,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
378,
383
],
[
375,
384
],
[
384,
385
],
[
579,
386
],
[
386,
387
],
[
386,
388
],
[
388,
389
],
[
389,
390
],
[
389,
391
],
[
388,
392
],
[
392,
393
],
[
392,
394
],
[
388,
395
],
[
395,
396
],
[
395,
397
],
[
386,
398
],
[
398,
399
],
[
386,
400
],
[
400,
401
],
[
579,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
406,
409
],
[
406,
410
],
[
402,
411
],
[
411,
412
],
[
402,
413
],
[
413,
414
],
[
579,
415
],
[
415,
416
],
[
415,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
420,
421
],
[
419,
422
],
[
419,
423
],
[
415,
424
],
[
424,
425
],
[
415,
426
],
[
426,
427
],
[
579,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
431,
432
],
[
432,
433
],
[
433,
434
],
[
432,
435
],
[
435,
436
],
[
436,
437
],
[
579,
438
],
[
438,
439
],
[
438,
440
],
[
440,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
442,
445
],
[
445,
446
],
[
446,
447
],
[
579,
448
],
[
448,
449
],
[
448,
450
],
[
450,
451
],
[
451,
452
],
[
452,
453
],
[
453,
454
],
[
452,
455
],
[
455,
456
],
[
456,
457
],
[
579,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
461,
462
],
[
462,
463
],
[
463,
464
],
[
579,
465
],
[
465,
466
],
[
465,
467
],
[
467,
468
],
[
468,
469
],
[
469,
470
],
[
470,
471
],
[
469,
472
],
[
465,
473
],
[
473,
474
],
[
579,
475
],
[
475,
476
],
[
475,
477
],
[
477,
478
],
[
475,
479
],
[
479,
480
],
[
475,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
481,
487
],
[
487,
488
],
[
475,
489
],
[
489,
490
],
[
489,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
494,
495
],
[
494,
496
],
[
493,
497
],
[
497,
498
],
[
498,
499
],
[
499,
500
],
[
492,
501
],
[
501,
502
],
[
502,
503
],
[
502,
504
],
[
491,
505
],
[
505,
506
],
[
506,
507
],
[
507,
508
],
[
475,
509
],
[
509,
510
],
[
509,
511
],
[
511,
512
],
[
512,
513
],
[
513,
514
],
[
514,
515
],
[
513,
516
],
[
516,
517
],
[
475,
518
],
[
518,
519
],
[
518,
520
],
[
520,
521
],
[
521,
522
],
[
522,
523
],
[
523,
524
],
[
522,
525
],
[
525,
526
],
[
475,
527
],
[
527,
528
],
[
527,
529
],
[
529,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
475,
534
],
[
534,
535
],
[
534,
536
],
[
536,
537
],
[
537,
538
],
[
538,
539
],
[
539,
540
],
[
0,
541
],
[
541,
542
],
[
541,
543
],
[
543,
544
],
[
541,
545
],
[
545,
546
],
[
541,
547
],
[
547,
548
],
[
547,
549
],
[
549,
550
],
[
550,
551
],
[
551,
552
],
[
551,
553
],
[
550,
554
],
[
549,
555
],
[
555,
556
],
[
556,
557
],
[
556,
558
],
[
555,
559
],
[
547,
560
],
[
560,
561
],
[
547,
562
],
[
562,
563
],
[
541,
564
],
[
564,
565
],
[
564,
566
],
[
566,
567
],
[
567,
568
],
[
568,
569
],
[
569,
570
],
[
569,
571
],
[
568,
572
],
[
572,
573
],
[
572,
574
],
[
564,
575
],
[
575,
576
],
[
541,
577
],
[
0,
578
],
[
578,
579
],
[
578,
580
]
]
| [
"import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\nimport java.util.*;\nimport java.math.*;\nimport java.io.*;\nimport java.text.*;\nimport java.math.BigInteger;\n\npublic class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n long n = nl();\n String ans = \"\";\n while(n>0){\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }\n\n printS(ans);\n\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}\n\n\n\nclass Pair implements Comparable<Pair>\n{\n int x,y;\n public Pair(int x,int y)\n {\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair o)\n {\n return this.y-o.y;\n }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.util.*;",
"util.*",
"java",
"import java.math.*;",
"math.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.text.*;",
"text.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n long n = nl();\n String ans = \"\";\n while(n>0){\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }\n\n printS(ans);\n\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}",
"Main",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"//Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n }",
"sieve",
"{\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n }",
"boolean[] prime = new boolean[(int)n+1];",
"prime",
"new boolean[(int)n+1]",
"(int)n+1",
"(int)n",
"1",
"Arrays.fill(prime,true)",
"Arrays.fill",
"Arrays",
"prime",
"true",
"prime[0] = false",
"prime[0]",
"prime",
"0",
"false",
"prime[1] = false",
"prime[1]",
"prime",
"1",
"false",
"long m = (long)Math.sqrt(n);",
"m",
"(long)Math.sqrt(n)",
"Math.sqrt",
"Math",
"n",
"for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i<=m",
"i",
"m",
"i++",
"i++",
"i",
"{\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"{\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }",
"if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }",
"prime[i]",
"prime",
"i",
"{\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }",
"for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }",
"int k=i*i;",
"int k=i*i;",
"k",
"i*i",
"i",
"i",
"k<=n",
"k",
"n",
"k+=i",
"k+=i",
"k",
"i",
"{\n prime[k] = false;\n }",
"{\n prime[k] = false;\n }",
"prime[k] = false",
"prime[k]",
"prime",
"k",
"false",
"return prime;",
"prime",
"long n",
"n",
"static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }",
"GCD",
"{\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }",
"if(b==0)\n {\n return a;\n }",
"b==0",
"b",
"0",
"{\n return a;\n }",
"return a;",
"a",
"return GCD(b,a%b);",
"GCD(b,a%b)",
"GCD",
"b",
"a%b",
"a",
"b",
"long a",
"a",
"long b",
"b",
"static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }",
"CountCoPrimes",
"{\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }",
"long res = n;",
"res",
"n",
"for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"{\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }",
"if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }",
"n%i==0",
"n%i",
"n",
"i",
"0",
"{\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }",
"while(n%i==0)\n {\n n/=i;\n }",
"n%i==0",
"n%i",
"n",
"i",
"0",
"{\n n/=i;\n }",
"n/=i",
"n",
"i",
"res-=res/i",
"res",
"res/i",
"res",
"i",
"if(n>1)\n {\n res-=res/n;\n }",
"n>1",
"n",
"1",
"{\n res-=res/n;\n }",
"res-=res/n",
"res",
"res/n",
"res",
"n",
"return res;",
"res",
"long n",
"n",
"static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }",
"prime",
"{\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }",
"for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }",
"int i=2;",
"int i=2;",
"i",
"2",
"i*i<=n",
"i*i",
"i",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }",
"{\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }",
"if(i%2==0 ||i%3==0)\n {\n return false;\n }",
"i%2==0 ||i%3==0",
"i%2==0",
"i%2",
"i",
"2",
"0",
"i%3==0",
"i%3",
"i",
"3",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"int n",
"n",
"public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }",
"main",
"{\n \n new Main().run();\n \n }",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }",
"reverse",
"{\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }",
"int start=0;",
"start",
"0",
"int end = a.length-1;",
"end",
"a.length-1",
"a.length",
"a",
"a.length",
"1",
"while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }",
"start!=end",
"start",
"end",
"{\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }",
"char temp = a[start];",
"temp",
"a[start]",
"a",
"start",
"a[start] = a[end]",
"a[start]",
"a",
"start",
"a[end]",
"a",
"end",
"a[end] = temp",
"a[end]",
"a",
"end",
"temp",
"start++",
"start",
"end--",
"end",
"char[] a",
"a",
"void run() throws IOException\n {\n long n = nl();\n String ans = \"\";\n while(n>0){\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }\n\n printS(ans);\n\n\n }",
"run",
"{\n long n = nl();\n String ans = \"\";\n while(n>0){\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }\n\n printS(ans);\n\n\n }",
"long n = nl();",
"n",
"nl()",
"nl",
"String ans = \"\";",
"ans",
"\"\"",
"while(n>0){\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }",
"n>0",
"n",
"0",
"{\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }",
"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",
"printS(ans)",
"printS",
"ans",
"//xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }",
"xor",
"{\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }",
"if(n%4==0)\n {\n return n;\n }",
"n%4==0",
"n%4",
"n",
"4",
"0",
"{\n return n;\n }",
"return n;",
"n",
"if(n%4==1)\n {\n return 1;\n }",
"n%4==1",
"n%4",
"n",
"4",
"1",
"{\n return 1;\n }",
"return 1;",
"1",
"if(n%4==2)\n {\n return n+1;\n }",
"n%4==2",
"n%4",
"n",
"4",
"2",
"{\n return n+1;\n }",
"return n+1;",
"n+1",
"n",
"1",
"return 0;",
"0",
"long n",
"n",
"static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }",
"xor",
"{\n return xor(b)^xor(a-1);\n }",
"return xor(b)^xor(a-1);",
"xor(b)^xor(a-1)",
"xor(b)",
"xor",
"b",
"xor(a-1)",
"xor",
"a-1",
"a",
"1",
"long a",
"a",
"long b",
"b",
"void printL(long a)\n {\n System.out.println(a);\n }",
"printL",
"{\n System.out.println(a);\n }",
"System.out.println(a)",
"System.out.println",
"System.out",
"System",
"System.out",
"a",
"long a",
"a",
"void printS(String s)\n {\n System.out.println(s);\n }",
"printS",
"{\n System.out.println(s);\n }",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String s",
"s",
"void printD(Double d)\n {\n System.out.println(d);\n }",
"printD",
"{\n System.out.println(d);\n }",
"System.out.println(d)",
"System.out.println",
"System.out",
"System",
"System.out",
"d",
"Double d",
"d",
"static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }",
"swap",
"{\n char t = c;\n c = p;\n p = t;\n }",
"char t = c;",
"t",
"c",
"c = p",
"c",
"p",
"p = t",
"p",
"t",
"char c",
"c",
"char p",
"p",
"static long max(long n,long m)\n {\n return Math.max(n,m);\n }",
"max",
"{\n return Math.max(n,m);\n }",
"return Math.max(n,m);",
"Math.max(n,m)",
"Math.max",
"Math",
"n",
"m",
"long n",
"n",
"long m",
"m",
"static long min(long n,long m)\n {\n return Math.min(n,m);\n }",
"min",
"{\n return Math.min(n,m);\n }",
"return Math.min(n,m);",
"Math.min(n,m)",
"Math.min",
"Math",
"n",
"m",
"long n",
"n",
"long m",
"m",
"double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }",
"nd",
"{\n return Double.parseDouble(in.next());\n }",
"return Double.parseDouble(in.next());",
"Double.parseDouble(in.next())",
"Double.parseDouble",
"Double",
"in.next()",
"in.next",
"in",
"int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }",
"ni",
"{\n return Integer.parseInt(in.next());\n }",
"return Integer.parseInt(in.next());",
"Integer.parseInt(in.next())",
"Integer.parseInt",
"Integer",
"in.next()",
"in.next",
"in",
"long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }",
"nl",
"{\n return Long.parseLong(in.next());\n }",
"return Long.parseLong(in.next());",
"Long.parseLong(in.next())",
"Long.parseLong",
"Long",
"in.next()",
"in.next",
"in",
"String si() throws IOException\n {\n return in.next();\n }",
"si",
"{\n return in.next();\n }",
"return in.next();",
"in.next()",
"in.next",
"in",
"static int abs(int n)\n {\n return Math.abs(n);\n }",
"abs",
"{\n return Math.abs(n);\n }",
"return Math.abs(n);",
"Math.abs(n)",
"Math.abs",
"Math",
"n",
"int n",
"n",
"static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }",
"Scanner",
"StringTokenizer st;",
"st",
"BufferedReader br;",
"br",
"public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}",
"Scanner",
"{ br = new BufferedReader(new InputStreamReader(s));}",
"br = new BufferedReader(new InputStreamReader(s))",
"br",
"new BufferedReader(new InputStreamReader(s))",
"InputStream s",
"s",
"public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }",
"st == null || !st.hasMoreTokens()",
"st == null",
"st",
"null",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt() throws IOException {return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"public long nextLong() throws IOException {return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"public String nextLine() throws IOException {return br.readLine();}",
"nextLine",
"{return br.readLine();}",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"public boolean ready() throws IOException {return br.ready();}",
"ready",
"{return br.ready();}",
"return br.ready();",
"br.ready()",
"br.ready",
"br",
"class Pair implements Comparable<Pair>\n{\n int x,y;\n public Pair(int x,int y)\n {\n this.x = x;\n this.y = y;\n }\n public int compareTo(Pair o)\n {\n return this.y-o.y;\n }\n}",
"Pair",
"int x",
"x",
"y;",
"y",
"public Pair(int x,int y)\n {\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",
"int x",
"x",
"int y",
"y",
"public int compareTo(Pair o)\n {\n return this.y-o.y;\n }",
"compareTo",
"{\n return this.y-o.y;\n }",
"return this.y-o.y;",
"this.y-o.y",
"this.y",
"this",
"this.y",
"o.y",
"o",
"o.y",
"Pair o",
"o",
"Comparable",
"public class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n long n = nl();\n String ans = \"\";\n while(n>0){\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }\n\n printS(ans);\n\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}",
"public class Main\n{ \n\n //Life's a bitch\n public static boolean[] sieve(long n)\n {\n boolean[] prime = new boolean[(int)n+1];\n Arrays.fill(prime,true);\n prime[0] = false;\n prime[1] = false;\n long m = (long)Math.sqrt(n);\n for(int i=2;i<=m;i++)\n {\n if(prime[i])\n {\n for(int k=i*i;k<=n;k+=i)\n {\n prime[k] = false;\n }\n }\n }\n return prime;\n } \n\n \n static long GCD(long a,long b)\n {\n if(b==0)\n {\n return a;\n }\n return GCD(b,a%b);\n }\n\n static long CountCoPrimes(long n)\n {\n long res = n;\n for(int i=2;i*i<=n;i++)\n {\n if(n%i==0)\n {\n while(n%i==0)\n {\n n/=i;\n }\n res-=res/i;\n }\n }\n if(n>1)\n {\n res-=res/n;\n }\n return res;\n }\n\n\n \n\n \n\n static boolean prime(int n)\n {\n for(int i=2;i*i<=n;i++)\n {\n if(i%2==0 ||i%3==0)\n {\n return false;\n }\n }\n return true;\n }\n\n \n\n\n \n \n \n public static void main(String[] args) throws IOException\n {\n \n new Main().run();\n \n }\n\n\n \n\n static void reverse(char[] a)\n {\n // char[] a = c.toCharArray();\n int start=0;\n int end = a.length-1;\n while(start!=end)\n {\n char temp = a[start];\n a[start] = a[end];\n a[end] = temp;\n start++;\n end--;\n }\n }\n\n \n\n\n \n \n Scanner in = new Scanner(System.in);\n void run() throws IOException\n {\n long n = nl();\n String ans = \"\";\n while(n>0){\n n-=1;\n ans=(char)('a'+n%26)+ans;\n n/=26;\n }\n\n printS(ans);\n\n\n }\n\n\n \n\n\n\n \n\n \n\n //xor range query\n static long xor(long n)\n {\n\n if(n%4==0)\n {\n return n;\n }\n if(n%4==1)\n {\n return 1;\n }\n if(n%4==2)\n {\n return n+1;\n }\n return 0;\n }\n\n static long xor(long a,long b)\n {\n return xor(b)^xor(a-1);\n }\n\n\n \n\n \n \n \n\n \n \n \n\n \n \n \n\n\n\n \n\n void printL(long a)\n {\n System.out.println(a);\n }\n void printS(String s)\n {\n System.out.println(s);\n }\n\n void printD(Double d)\n {\n System.out.println(d);\n }\n \n \n \n static void swap(char c,char p)\n {\n char t = c;\n c = p;\n p = t;\n }\n\n static long max(long n,long m)\n {\n return Math.max(n,m);\n }\n static long min(long n,long m)\n {\n return Math.min(n,m);\n }\n\n double nd() throws IOException\n {\n return Double.parseDouble(in.next());\n }\n int ni() throws IOException\n {\n return Integer.parseInt(in.next());\n }\n\n long nl() throws IOException\n {\n return Long.parseLong(in.next());\n }\n\n String si() throws IOException\n {\n return in.next();\n }\n\n\n \n \n static int abs(int n)\n {\n return Math.abs(n);\n }\n\n static class Scanner \n {\n StringTokenizer st;\n BufferedReader br;\n\n public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}\n\n public String next() throws IOException \n {\n while (st == null || !st.hasMoreTokens()) \n {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public int nextInt() throws IOException {return Integer.parseInt(next());}\n \n public long nextLong() throws IOException {return Long.parseLong(next());}\n\n public String nextLine() throws IOException {return br.readLine();}\n\n public boolean ready() throws IOException {return br.ready();}\n\n\n }\n\n \n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedReader;
import java.util.*;
import java.math.*;
import java.io.*;
import java.text.*;
import java.math.BigInteger;
public class Main
{
//Life's a bitch
public static boolean[] sieve(long n)
{
boolean[] prime = new boolean[(int)n+1];
Arrays.fill(prime,true);
prime[0] = false;
prime[1] = false;
long m = (long)Math.sqrt(n);
for(int i=2;i<=m;i++)
{
if(prime[i])
{
for(int k=i*i;k<=n;k+=i)
{
prime[k] = false;
}
}
}
return prime;
}
static long GCD(long a,long b)
{
if(b==0)
{
return a;
}
return GCD(b,a%b);
}
static long CountCoPrimes(long n)
{
long res = n;
for(int i=2;i*i<=n;i++)
{
if(n%i==0)
{
while(n%i==0)
{
n/=i;
}
res-=res/i;
}
}
if(n>1)
{
res-=res/n;
}
return res;
}
static boolean prime(int n)
{
for(int i=2;i*i<=n;i++)
{
if(i%2==0 ||i%3==0)
{
return false;
}
}
return true;
}
public static void main(String[] args) throws IOException
{
new Main().run();
}
static void reverse(char[] a)
{
// char[] a = c.toCharArray();
int start=0;
int end = a.length-1;
while(start!=end)
{
char temp = a[start];
a[start] = a[end];
a[end] = temp;
start++;
end--;
}
}
Scanner in = new Scanner(System.in);
void run() throws IOException
{
long n = nl();
String ans = "";
while(n>0){
n-=1;
ans=(char)('a'+n%26)+ans;
n/=26;
}
printS(ans);
}
//xor range query
static long xor(long n)
{
if(n%4==0)
{
return n;
}
if(n%4==1)
{
return 1;
}
if(n%4==2)
{
return n+1;
}
return 0;
}
static long xor(long a,long b)
{
return xor(b)^xor(a-1);
}
void printL(long a)
{
System.out.println(a);
}
void printS(String s)
{
System.out.println(s);
}
void printD(Double d)
{
System.out.println(d);
}
static void swap(char c,char p)
{
char t = c;
c = p;
p = t;
}
static long max(long n,long m)
{
return Math.max(n,m);
}
static long min(long n,long m)
{
return Math.min(n,m);
}
double nd() throws IOException
{
return Double.parseDouble(in.next());
}
int ni() throws IOException
{
return Integer.parseInt(in.next());
}
long nl() throws IOException
{
return Long.parseLong(in.next());
}
String si() throws IOException
{
return in.next();
}
static int abs(int n)
{
return Math.abs(n);
}
static class Scanner
{
StringTokenizer st;
BufferedReader br;
public Scanner(InputStream s){ br = new BufferedReader(new InputStreamReader(s));}
public String next() throws IOException
{
while (st == null || !st.hasMoreTokens())
{
st = new StringTokenizer(br.readLine());
}
return st.nextToken();
}
public int nextInt() throws IOException {return Integer.parseInt(next());}
public long nextLong() throws IOException {return Long.parseLong(next());}
public String nextLine() throws IOException {return br.readLine();}
public boolean ready() throws IOException {return br.ready();}
}
}
class Pair implements Comparable<Pair>
{
int x,y;
public Pair(int x,int y)
{
this.x = x;
this.y = y;
}
public int compareTo(Pair o)
{
return this.y-o.y;
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
20,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
40,
13,
0,
13,
2,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
2,
13,
18,
13,
13,
17,
30,
0,
13,
18,
13,
13,
30,
11,
1,
41,
13,
13,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
2,
13,
18,
13,
2,
13,
17,
0,
13,
2,
13,
18,
13,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
13,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
0,
13,
20,
41,
13,
20,
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
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
342,
17
],
[
342,
18
],
[
18,
19
],
[
342,
20
],
[
20,
21
],
[
342,
22
],
[
22,
23
],
[
342,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
26,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
26,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
40,
45
],
[
45,
46
],
[
45,
47
],
[
40,
48
],
[
48,
49
],
[
49,
50
],
[
40,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
57,
63
],
[
26,
64
],
[
64,
65
],
[
64,
66
],
[
26,
68
],
[
68,
69
],
[
68,
70
],
[
26,
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
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
26,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
26,
95
],
[
95,
96
],
[
95,
97
],
[
26,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
98,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
105,
107
],
[
98,
108
],
[
108,
109
],
[
109,
110
],
[
98,
111
],
[
112,
112
],
[
112,
113
],
[
113,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
114,
120
],
[
113,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
124,
126
],
[
113,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
133,
134
],
[
133,
135
],
[
128,
136
],
[
136,
137
],
[
137,
138
],
[
128,
139
],
[
140,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
144,
145
],
[
144,
146
],
[
146,
147
],
[
146,
148
],
[
148,
149
],
[
148,
150
],
[
150,
151
],
[
150,
152
],
[
140,
153
],
[
153,
154
],
[
153,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
127,
162
],
[
26,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
163,
173
],
[
173,
174
],
[
174,
175
],
[
163,
176
],
[
177,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
178,
181
],
[
181,
182
],
[
182,
183
],
[
181,
184
],
[
342,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
188,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
187,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
342,
201
],
[
201,
202
],
[
201,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
206,
207
],
[
205,
208
],
[
208,
209
],
[
342,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
215,
216
],
[
214,
217
],
[
217,
218
],
[
342,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
224,
225
],
[
223,
226
],
[
226,
227
],
[
342,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
231,
232
],
[
231,
233
],
[
230,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
235,
240
],
[
240,
241
],
[
240,
242
],
[
235,
243
],
[
243,
244
],
[
244,
245
],
[
235,
246
],
[
247,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
248,
252
],
[
252,
253
],
[
230,
254
],
[
254,
255
],
[
228,
256
],
[
256,
257
],
[
342,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
261,
262
],
[
261,
263
],
[
260,
265
],
[
265,
266
],
[
266,
267
],
[
267,
268
],
[
267,
269
],
[
265,
270
],
[
270,
271
],
[
270,
272
],
[
265,
273
],
[
273,
274
],
[
274,
275
],
[
265,
276
],
[
277,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
282
],
[
282,
283
],
[
260,
284
],
[
284,
285
],
[
258,
286
],
[
286,
287
],
[
342,
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
],
[
290,
314
],
[
314,
315
],
[
288,
316
],
[
316,
317
],
[
342,
318
],
[
318,
319
],
[
318,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
324,
325
],
[
324,
326
],
[
320,
327
],
[
327,
328
],
[
327,
329
],
[
320,
330
],
[
330,
331
],
[
330,
332
],
[
320,
333
],
[
333,
334
],
[
334,
335
],
[
320,
336
],
[
336,
337
],
[
337,
338
],
[
318,
339
],
[
339,
340
],
[
0,
341
],
[
341,
342
],
[
341,
343
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\n \npublic class Main {\n \n void solve() throws IOException {\n long N = nl();\n long[] d26 = new long[15];\n d26[0] = 1;\n for (int i = 1; i < 15; i++) {\n d26[i] = d26[i-1]*26;\n }\n char []alphabet = new char[26];\n char c = 'a';\n for (int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n N = N-1;\n ArrayList<Character> ans = new ArrayList<>();\n for (int i = 1; i < d26.length; i++) {\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }\n for (int i = 0; i < ans.size(); i++) {\n out.print(ans.get(i));\n }\n }\n\n \n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n \n void solve() throws IOException {\n long N = nl();\n long[] d26 = new long[15];\n d26[0] = 1;\n for (int i = 1; i < 15; i++) {\n d26[i] = d26[i-1]*26;\n }\n char []alphabet = new char[26];\n char c = 'a';\n for (int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n N = N-1;\n ArrayList<Character> ans = new ArrayList<>();\n for (int i = 1; i < d26.length; i++) {\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }\n for (int i = 0; i < ans.size(); i++) {\n out.print(ans.get(i));\n }\n }\n\n \n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}",
"Main",
"static BufferedReader in;",
"in",
"static PrintWriter out;",
"out",
"static StringTokenizer tok;",
"tok",
"void solve() throws IOException {\n long N = nl();\n long[] d26 = new long[15];\n d26[0] = 1;\n for (int i = 1; i < 15; i++) {\n d26[i] = d26[i-1]*26;\n }\n char []alphabet = new char[26];\n char c = 'a';\n for (int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n N = N-1;\n ArrayList<Character> ans = new ArrayList<>();\n for (int i = 1; i < d26.length; i++) {\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }\n for (int i = 0; i < ans.size(); i++) {\n out.print(ans.get(i));\n }\n }",
"solve",
"{\n long N = nl();\n long[] d26 = new long[15];\n d26[0] = 1;\n for (int i = 1; i < 15; i++) {\n d26[i] = d26[i-1]*26;\n }\n char []alphabet = new char[26];\n char c = 'a';\n for (int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n N = N-1;\n ArrayList<Character> ans = new ArrayList<>();\n for (int i = 1; i < d26.length; i++) {\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }\n for (int i = 0; i < ans.size(); i++) {\n out.print(ans.get(i));\n }\n }",
"long N = nl();",
"N",
"nl()",
"nl",
"long[] d26 = new long[15];",
"d26",
"new long[15]",
"15",
"d26[0] = 1",
"d26[0]",
"d26",
"0",
"1",
"for (int i = 1; i < 15; i++) {\n d26[i] = d26[i-1]*26;\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 15",
"i",
"15",
"i++",
"i++",
"i",
"{\n d26[i] = d26[i-1]*26;\n }",
"{\n d26[i] = d26[i-1]*26;\n }",
"d26[i] = d26[i-1]*26",
"d26[i]",
"d26",
"i",
"d26[i-1]*26",
"d26[i-1]",
"d26",
"i-1",
"i",
"1",
"26",
"char []alphabet = new char[26];",
"alphabet",
"new char[26]",
"26",
"char c = 'a';",
"c",
"'a'",
"for (int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n alphabet[i] = c++;\n }",
"{\n alphabet[i] = c++;\n }",
"alphabet[i] = c++",
"alphabet[i]",
"alphabet",
"i",
"c++",
"c",
"N = N-1",
"N",
"N-1",
"N",
"1",
"ArrayList<Character> ans = new ArrayList<>();",
"ans",
"new ArrayList<>()",
"for (int i = 1; i < d26.length; i++) {\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < d26.length",
"i",
"d26.length",
"d26",
"d26.length",
"i++",
"i++",
"i",
"{\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }",
"{\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }",
"if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }",
"N-d26[i] >= 0",
"N-d26[i]",
"N",
"d26[i]",
"d26",
"i",
"0",
"{\n N -= d26[i];\n }",
"N -= d26[i]",
"N",
"d26[i]",
"d26",
"i",
"{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }",
"for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }",
"int j = i;",
"int j = i;",
"j",
"i",
"j >=1",
"j",
"1",
"j--",
"j--",
"j",
"{\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }",
"{\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }",
"ans.add(alphabet[(int)(N/d26[j-1])])",
"ans.add",
"ans",
"alphabet[(int)(N/d26[j-1])]",
"alphabet",
"(int)(N/d26[j-1])",
"N",
"d26[j-1]",
"d26",
"j-1",
"j",
"1",
"N = N % d26[j-1]",
"N",
"N % d26[j-1]",
"N",
"d26[j-1]",
"d26",
"j-1",
"j",
"1",
"break;",
"for (int i = 0; i < ans.size(); i++) {\n out.print(ans.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < ans.size()",
"i",
"ans.size()",
"ans.size",
"ans",
"i++",
"i++",
"i",
"{\n out.print(ans.get(i));\n }",
"{\n out.print(ans.get(i));\n }",
"out.print(ans.get(i))",
"out.print",
"out",
"ans.get(i)",
"ans.get",
"ans",
"i",
"String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }",
"ns",
"{\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }",
"while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }",
"!tok.hasMoreTokens()",
"tok.hasMoreTokens()",
"tok.hasMoreTokens",
"tok",
"{\n tok = new StringTokenizer(in.readLine(), \" \");\n }",
"tok = new StringTokenizer(in.readLine(), \" \")",
"tok",
"new StringTokenizer(in.readLine(), \" \")",
"return tok.nextToken();",
"tok.nextToken()",
"tok.nextToken",
"tok",
"int ni() throws IOException {\n return Integer.parseInt(ns());\n }",
"ni",
"{\n return Integer.parseInt(ns());\n }",
"return Integer.parseInt(ns());",
"Integer.parseInt(ns())",
"Integer.parseInt",
"Integer",
"ns()",
"ns",
"long nl() throws IOException {\n return Long.parseLong(ns());\n }",
"nl",
"{\n return Long.parseLong(ns());\n }",
"return Long.parseLong(ns());",
"Long.parseLong(ns())",
"Long.parseLong",
"Long",
"ns()",
"ns",
"double nd() throws IOException {\n return Double.parseDouble(ns());\n }",
"nd",
"{\n return Double.parseDouble(ns());\n }",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }",
"nsa",
"{\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }",
"String[] res = new String[n];",
"res",
"new String[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = ns();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = ns();\n }",
"{\n res[i] = ns();\n }",
"res[i] = ns()",
"res[i]",
"res",
"i",
"ns()",
"ns",
"return res;",
"res",
"int n",
"n",
"int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }",
"nia",
"{\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }",
"int[] res = new int[n];",
"res",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = ni();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = ni();\n }",
"{\n res[i] = ni();\n }",
"res[i] = ni()",
"res[i]",
"res",
"i",
"ni()",
"ni",
"return res;",
"res",
"int n",
"n",
"long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }",
"nla",
"{\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }",
"long[] res = new long[n];",
"res",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n res[i] = nl();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n res[i] = nl();\n }",
"{\n res[i] = nl();\n }",
"res[i] = nl()",
"res[i]",
"res",
"i",
"nl()",
"nl",
"return res;",
"res",
"int n",
"n",
"public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }",
"main",
"{\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }",
"in = new BufferedReader(new InputStreamReader(System.in))",
"in",
"new BufferedReader(new InputStreamReader(System.in))",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"tok = new StringTokenizer(\"\")",
"tok",
"new StringTokenizer(\"\")",
"Main main = new Main();",
"main",
"new Main()",
"main.solve()",
"main.solve",
"main",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"public class Main {\n \n void solve() throws IOException {\n long N = nl();\n long[] d26 = new long[15];\n d26[0] = 1;\n for (int i = 1; i < 15; i++) {\n d26[i] = d26[i-1]*26;\n }\n char []alphabet = new char[26];\n char c = 'a';\n for (int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n N = N-1;\n ArrayList<Character> ans = new ArrayList<>();\n for (int i = 1; i < d26.length; i++) {\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }\n for (int i = 0; i < ans.size(); i++) {\n out.print(ans.get(i));\n }\n }\n\n \n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}",
"public class Main {\n \n void solve() throws IOException {\n long N = nl();\n long[] d26 = new long[15];\n d26[0] = 1;\n for (int i = 1; i < 15; i++) {\n d26[i] = d26[i-1]*26;\n }\n char []alphabet = new char[26];\n char c = 'a';\n for (int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n N = N-1;\n ArrayList<Character> ans = new ArrayList<>();\n for (int i = 1; i < d26.length; i++) {\n if(N-d26[i] >= 0){\n N -= d26[i];\n }else{\n for (int j = i; j >=1; j--) {\n // System.out.println(N);\n // System.out.println((N/d26[j-1]));\n ans.add(alphabet[(int)(N/d26[j-1])]);\n N = N % d26[j-1];\n // N -= d26[j-1] * ((N-1)/d26[j] + 1);\n }\n break;\n }\n }\n for (int i = 0; i < ans.size(); i++) {\n out.print(ans.get(i));\n }\n }\n\n \n String ns() throws IOException {\n while (!tok.hasMoreTokens()) {\n tok = new StringTokenizer(in.readLine(), \" \");\n }\n return tok.nextToken();\n }\n \n int ni() throws IOException {\n return Integer.parseInt(ns());\n }\n \n long nl() throws IOException {\n return Long.parseLong(ns());\n }\n \n double nd() throws IOException {\n return Double.parseDouble(ns());\n }\n \n String[] nsa(int n) throws IOException {\n String[] res = new String[n];\n for (int i = 0; i < n; i++) {\n res[i] = ns();\n }\n return res;\n }\n \n int[] nia(int n) throws IOException {\n int[] res = new int[n];\n for (int i = 0; i < n; i++) {\n res[i] = ni();\n }\n return res;\n }\n \n long[] nla(int n) throws IOException {\n long[] res = new long[n];\n for (int i = 0; i < n; i++) {\n res[i] = nl();\n }\n return res;\n }\n \n static BufferedReader in;\n static PrintWriter out;\n static StringTokenizer tok;\n \n public static void main(String[] args) throws IOException {\n in = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n tok = new StringTokenizer(\"\");\n Main main = new Main();\n main.solve();\n out.close();\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class Main {
void solve() throws IOException {
long N = nl();
long[] d26 = new long[15];
d26[0] = 1;
for (int i = 1; i < 15; i++) {
d26[i] = d26[i-1]*26;
}
char []alphabet = new char[26];
char c = 'a';
for (int i = 0; i < 26; i++){
alphabet[i] = c++;
}
N = N-1;
ArrayList<Character> ans = new ArrayList<>();
for (int i = 1; i < d26.length; i++) {
if(N-d26[i] >= 0){
N -= d26[i];
}else{
for (int j = i; j >=1; j--) {
// System.out.println(N);
// System.out.println((N/d26[j-1]));
ans.add(alphabet[(int)(N/d26[j-1])]);
N = N % d26[j-1];
// N -= d26[j-1] * ((N-1)/d26[j] + 1);
}
break;
}
}
for (int i = 0; i < ans.size(); i++) {
out.print(ans.get(i));
}
}
String ns() throws IOException {
while (!tok.hasMoreTokens()) {
tok = new StringTokenizer(in.readLine(), " ");
}
return tok.nextToken();
}
int ni() throws IOException {
return Integer.parseInt(ns());
}
long nl() throws IOException {
return Long.parseLong(ns());
}
double nd() throws IOException {
return Double.parseDouble(ns());
}
String[] nsa(int n) throws IOException {
String[] res = new String[n];
for (int i = 0; i < n; i++) {
res[i] = ns();
}
return res;
}
int[] nia(int n) throws IOException {
int[] res = new int[n];
for (int i = 0; i < n; i++) {
res[i] = ni();
}
return res;
}
long[] nla(int n) throws IOException {
long[] res = new long[n];
for (int i = 0; i < n; i++) {
res[i] = nl();
}
return res;
}
static BufferedReader in;
static PrintWriter out;
static StringTokenizer tok;
public static void main(String[] args) throws IOException {
in = new BufferedReader(new InputStreamReader(System.in));
out = new PrintWriter(System.out);
tok = new StringTokenizer("");
Main main = new Main();
main.solve();
out.close();
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
13,
14,
2,
13,
13,
30,
0,
13,
13,
3,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
17,
0,
13,
17,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
2,
13,
17,
14,
2,
13,
13,
30,
0,
13,
13,
0,
13,
4,
13,
13,
3,
40,
13,
0,
13,
2,
4,
18,
13,
17,
13,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
13,
0,
13,
2,
2,
13,
13,
17,
14,
13,
30,
4,
18,
18,
13,
13,
13,
30,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
35,
13,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
34,
17,
1,
29,
17,
29,
17,
23,
13,
12,
13,
30,
29,
2,
2,
13,
13,
4,
13,
13,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
2,
13,
13,
17,
30,
29,
4,
13,
13,
2,
13,
13,
30,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
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,
13,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
17,
23,
13,
12,
13,
30,
29,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
13,
18,
13,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
635,
5
],
[
635,
6
],
[
6,
7
],
[
6,
8
],
[
635,
9
],
[
9,
10
],
[
9,
11
],
[
635,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
14,
30
],
[
30,
31
],
[
30,
32
],
[
14,
33
],
[
33,
34
],
[
33,
35
],
[
14,
36
],
[
36,
37
],
[
36,
38
],
[
14,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
54,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
14,
68
],
[
68,
69
],
[
68,
70
],
[
14,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
71,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
71,
81
],
[
81,
82
],
[
82,
83
],
[
71,
84
],
[
85,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
88,
91
],
[
88,
92
],
[
14,
93
],
[
93,
94
],
[
93,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
95,
99
],
[
14,
100
],
[
100,
101
],
[
100,
102
],
[
14,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
103,
108
],
[
108,
109
],
[
108,
110
],
[
103,
111
],
[
111,
112
],
[
112,
113
],
[
103,
114
],
[
115,
115
],
[
115,
116
],
[
116,
117
],
[
116,
118
],
[
115,
119
],
[
119,
120
],
[
119,
121
],
[
115,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
128,
129
],
[
122,
130
],
[
131,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
134,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
131,
141
],
[
141,
142
],
[
142,
143
],
[
142,
144
],
[
141,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
151,
153
],
[
145,
154
],
[
115,
155
],
[
155,
156
],
[
115,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
160,
163
],
[
160,
164
],
[
159,
165
],
[
115,
166
],
[
166,
167
],
[
166,
168
],
[
115,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
169,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
176,
178
],
[
169,
179
],
[
179,
180
],
[
180,
181
],
[
169,
182
],
[
183,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
186,
190
],
[
115,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
194,
195
],
[
194,
196
],
[
193,
197
],
[
14,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
201,
206
],
[
198,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
208,
213
],
[
12,
214
],
[
214,
215
],
[
635,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
219,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
219,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
234,
235
],
[
219,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
219,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
219,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
219,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
219,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
259,
260
],
[
219,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
264,
265
],
[
219,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
219,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
219,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
219,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
284,
285
],
[
219,
286
],
[
286,
287
],
[
286,
288
],
[
288,
289
],
[
289,
290
],
[
219,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
219,
296
],
[
296,
297
],
[
296,
298
],
[
298,
299
],
[
299,
300
],
[
219,
301
],
[
301,
302
],
[
301,
303
],
[
303,
304
],
[
304,
305
],
[
219,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
309,
310
],
[
219,
311
],
[
311,
312
],
[
311,
313
],
[
313,
314
],
[
314,
315
],
[
219,
316
],
[
316,
317
],
[
316,
318
],
[
318,
319
],
[
319,
320
],
[
219,
321
],
[
321,
322
],
[
321,
323
],
[
323,
324
],
[
324,
325
],
[
219,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
219,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
219,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
219,
341
],
[
341,
342
],
[
341,
343
],
[
343,
344
],
[
344,
345
],
[
219,
346
],
[
346,
347
],
[
346,
348
],
[
348,
349
],
[
349,
350
],
[
218,
351
],
[
351,
352
],
[
216,
353
],
[
353,
354
],
[
635,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
360,
360
],
[
360,
361
],
[
360,
362
],
[
360,
363
],
[
363,
364
],
[
363,
365
],
[
363,
366
],
[
355,
367
],
[
367,
368
],
[
355,
369
],
[
369,
370
],
[
635,
371
],
[
371,
372
],
[
371,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
376,
377
],
[
376,
378
],
[
375,
379
],
[
374,
380
],
[
380,
381
],
[
381,
382
],
[
382,
383
],
[
382,
384
],
[
382,
385
],
[
385,
386
],
[
385,
387
],
[
374,
388
],
[
388,
389
],
[
389,
390
],
[
371,
391
],
[
391,
392
],
[
371,
393
],
[
393,
394
],
[
635,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
395,
402
],
[
402,
403
],
[
635,
404
],
[
404,
405
],
[
404,
406
],
[
406,
407
],
[
407,
408
],
[
408,
409
],
[
409,
410
],
[
404,
411
],
[
411,
412
],
[
635,
413
],
[
413,
414
],
[
413,
415
],
[
415,
416
],
[
416,
417
],
[
417,
418
],
[
418,
419
],
[
635,
420
],
[
420,
421
],
[
420,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
425,
426
],
[
424,
427
],
[
427,
428
],
[
428,
429
],
[
635,
430
],
[
430,
431
],
[
430,
432
],
[
432,
433
],
[
433,
434
],
[
434,
435
],
[
435,
436
],
[
434,
437
],
[
437,
438
],
[
438,
439
],
[
635,
440
],
[
440,
441
],
[
440,
442
],
[
442,
443
],
[
443,
444
],
[
444,
445
],
[
445,
446
],
[
444,
447
],
[
447,
448
],
[
448,
449
],
[
635,
450
],
[
450,
451
],
[
450,
452
],
[
452,
453
],
[
453,
454
],
[
454,
455
],
[
455,
456
],
[
454,
457
],
[
450,
458
],
[
458,
459
],
[
635,
460
],
[
460,
461
],
[
460,
462
],
[
462,
463
],
[
463,
464
],
[
464,
465
],
[
465,
466
],
[
460,
467
],
[
467,
468
],
[
635,
469
],
[
469,
470
],
[
469,
471
],
[
471,
472
],
[
472,
473
],
[
473,
474
],
[
473,
475
],
[
469,
476
],
[
476,
477
],
[
635,
478
],
[
478,
479
],
[
478,
480
],
[
480,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
483,
485
],
[
480,
486
],
[
486,
487
],
[
486,
488
],
[
488,
489
],
[
488,
490
],
[
480,
491
],
[
491,
492
],
[
492,
493
],
[
493,
494
],
[
493,
495
],
[
491,
496
],
[
496,
497
],
[
496,
498
],
[
491,
499
],
[
499,
500
],
[
500,
501
],
[
491,
502
],
[
503,
503
],
[
503,
504
],
[
504,
505
],
[
504,
506
],
[
506,
507
],
[
507,
508
],
[
506,
509
],
[
506,
510
],
[
510,
511
],
[
510,
512
],
[
480,
513
],
[
513,
514
],
[
478,
515
],
[
515,
516
],
[
635,
517
],
[
517,
518
],
[
517,
519
],
[
519,
520
],
[
520,
521
],
[
520,
522
],
[
522,
523
],
[
522,
524
],
[
519,
525
],
[
525,
526
],
[
525,
527
],
[
527,
528
],
[
527,
529
],
[
519,
530
],
[
530,
531
],
[
531,
532
],
[
532,
533
],
[
532,
534
],
[
530,
535
],
[
535,
536
],
[
535,
537
],
[
530,
538
],
[
538,
539
],
[
539,
540
],
[
530,
541
],
[
542,
542
],
[
542,
543
],
[
543,
544
],
[
543,
545
],
[
545,
546
],
[
546,
547
],
[
545,
548
],
[
545,
549
],
[
549,
550
],
[
549,
551
],
[
519,
552
],
[
552,
553
],
[
517,
554
],
[
554,
555
],
[
635,
556
],
[
556,
557
],
[
556,
558
],
[
558,
559
],
[
559,
560
],
[
559,
561
],
[
561,
562
],
[
561,
563
],
[
558,
564
],
[
564,
565
],
[
564,
566
],
[
566,
567
],
[
566,
568
],
[
558,
569
],
[
569,
570
],
[
570,
571
],
[
571,
572
],
[
571,
573
],
[
569,
574
],
[
574,
575
],
[
574,
576
],
[
569,
577
],
[
577,
578
],
[
578,
579
],
[
569,
580
],
[
581,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
584,
585
],
[
585,
586
],
[
584,
587
],
[
584,
588
],
[
588,
589
],
[
588,
590
],
[
558,
591
],
[
591,
592
],
[
556,
593
],
[
593,
594
],
[
635,
595
],
[
595,
596
],
[
595,
597
],
[
597,
598
],
[
598,
599
],
[
598,
600
],
[
600,
601
],
[
600,
602
],
[
597,
603
],
[
603,
604
],
[
603,
605
],
[
605,
606
],
[
605,
607
],
[
597,
608
],
[
608,
609
],
[
609,
610
],
[
610,
611
],
[
610,
612
],
[
608,
613
],
[
613,
614
],
[
613,
615
],
[
608,
616
],
[
616,
617
],
[
617,
618
],
[
608,
619
],
[
620,
620
],
[
620,
621
],
[
621,
622
],
[
621,
623
],
[
623,
624
],
[
624,
625
],
[
623,
626
],
[
623,
627
],
[
627,
628
],
[
627,
629
],
[
597,
630
],
[
630,
631
],
[
595,
632
],
[
632,
633
],
[
0,
634
],
[
634,
635
],
[
634,
636
]
]
| [
"import java.util.*;\n\n//update 2020/1/1 23:01\n\npublic class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long n = nextLong();\n\n boolean ok = true;\n\n if(n==1){\n ok = false;\n }\n\n String ans = \"\";\n\n long memo = 0;\n\n int lng = 0;\n\n for(int i=0;i<n;i++){\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }\n\n //i文字のaaa...名前のスタートの番号\n long start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n\n long order = n - start + 1; //同じ長さの中でorder番目\n\n //先頭を決定する。\n //何ブロック目か\n\n//lng回やる\nint cnt = lng;\nfor(int x=0;x<cnt;x++){\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}\n\n if(ok){\n System.out.println(ans);\n }\n else{\n System.out.println(\"a\");\n }\n\n }\n\n static String AAA(int block){\n switch(block){\n case 1:\n return \"a\";\n case 2:\n return \"b\";\n case 3:\n return \"c\";\n case 4:\n return \"d\";\n case 5:\n return \"e\";\n case 6:\n return \"f\";\n case 7:\n return \"g\";\n case 8:\n return \"h\";\n case 9:\n return \"i\";\n case 10:\n return \"j\";\n case 11:\n return \"k\";\n case 12:\n return \"l\";\n case 13:\n return \"m\";\n case 14:\n return \"n\";\n case 15:\n return \"o\";\n case 16:\n return \"p\";\n case 17:\n return \"q\";\n case 18:\n return \"r\";\n case 19:\n return \"s\";\n case 20:\n return \"t\";\n case 21:\n return \"u\";\n case 22:\n return \"v\";\n case 23:\n return \"w\";\n case 24:\n return \"x\";\n case 25:\n return \"y\";\n case 26:\n return \"z\";\n }\n return \"*\";\n }\n\n\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long n = nextLong();\n\n boolean ok = true;\n\n if(n==1){\n ok = false;\n }\n\n String ans = \"\";\n\n long memo = 0;\n\n int lng = 0;\n\n for(int i=0;i<n;i++){\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }\n\n //i文字のaaa...名前のスタートの番号\n long start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n\n long order = n - start + 1; //同じ長さの中でorder番目\n\n //先頭を決定する。\n //何ブロック目か\n\n//lng回やる\nint cnt = lng;\nfor(int x=0;x<cnt;x++){\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}\n\n if(ok){\n System.out.println(ans);\n }\n else{\n System.out.println(\"a\");\n }\n\n }\n\n static String AAA(int block){\n switch(block){\n case 1:\n return \"a\";\n case 2:\n return \"b\";\n case 3:\n return \"c\";\n case 4:\n return \"d\";\n case 5:\n return \"e\";\n case 6:\n return \"f\";\n case 7:\n return \"g\";\n case 8:\n return \"h\";\n case 9:\n return \"i\";\n case 10:\n return \"j\";\n case 11:\n return \"k\";\n case 12:\n return \"l\";\n case 13:\n return \"m\";\n case 14:\n return \"n\";\n case 15:\n return \"o\";\n case 16:\n return \"p\";\n case 17:\n return \"q\";\n case 18:\n return \"r\";\n case 19:\n return \"s\";\n case 20:\n return \"t\";\n case 21:\n return \"u\";\n case 22:\n return \"v\";\n case 23:\n return \"w\";\n case 24:\n return \"x\";\n case 25:\n return \"y\";\n case 26:\n return \"z\";\n }\n return \"*\";\n }\n\n\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main",
"static Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"static StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"public static void main(String[] args) {\n\n long n = nextLong();\n\n boolean ok = true;\n\n if(n==1){\n ok = false;\n }\n\n String ans = \"\";\n\n long memo = 0;\n\n int lng = 0;\n\n for(int i=0;i<n;i++){\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }\n\n //i文字のaaa...名前のスタートの番号\n long start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n\n long order = n - start + 1; //同じ長さの中でorder番目\n\n //先頭を決定する。\n //何ブロック目か\n\n//lng回やる\nint cnt = lng;\nfor(int x=0;x<cnt;x++){\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}\n\n if(ok){\n System.out.println(ans);\n }\n else{\n System.out.println(\"a\");\n }\n\n }",
"main",
"{\n\n long n = nextLong();\n\n boolean ok = true;\n\n if(n==1){\n ok = false;\n }\n\n String ans = \"\";\n\n long memo = 0;\n\n int lng = 0;\n\n for(int i=0;i<n;i++){\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }\n\n //i文字のaaa...名前のスタートの番号\n long start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n\n long order = n - start + 1; //同じ長さの中でorder番目\n\n //先頭を決定する。\n //何ブロック目か\n\n//lng回やる\nint cnt = lng;\nfor(int x=0;x<cnt;x++){\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}\n\n if(ok){\n System.out.println(ans);\n }\n else{\n System.out.println(\"a\");\n }\n\n }",
"long n = nextLong();",
"n",
"nextLong()",
"nextLong",
"boolean ok = true;",
"ok",
"true",
"if(n==1){\n ok = false;\n }",
"n==1",
"n",
"1",
"{\n ok = false;\n }",
"ok = false",
"ok",
"false",
"String ans = \"\";",
"ans",
"\"\"",
"long memo = 0;",
"memo",
"0",
"int lng = 0;",
"lng",
"0",
"for(int i=0;i<n;i++){\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }",
"{\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }",
"memo += (long)Math.pow(26,i)",
"memo",
"(long)Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }",
"n<memo",
"n",
"memo",
"{\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }",
"lng = i",
"lng",
"i",
"break;",
"long start = 1;",
"start",
"1",
"for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=(lng-1)",
"i",
"(lng-1)",
"lng",
"1",
"i++",
"i++",
"i",
"{\n start += (long)Math.pow(26,i);\n }",
"{\n start += (long)Math.pow(26,i);\n }",
"start += (long)Math.pow(26,i)",
"start",
"(long)Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"long order = n - start + 1;",
"order",
"n - start + 1",
"n - start",
"n",
"start",
"1",
"int cnt = lng;",
"cnt",
"lng",
"for(int x=0;x<cnt;x++){\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}",
"int x=0;",
"int x=0;",
"x",
"0",
"x<cnt",
"x",
"cnt",
"x++",
"x++",
"x",
"{\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}",
"{\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}",
"int block = 0;",
"block",
"0",
"memo = 1",
"memo",
"1",
"for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }",
"{\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }",
"memo += (long)Math.pow(26,lng-1)",
"memo",
"(long)Math.pow(26,lng-1)",
"Math.pow",
"Math",
"26",
"lng-1",
"lng",
"1",
"if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }",
"order<memo",
"order",
"memo",
"{\n block = i;\n ans += AAA(block);\n break;\n }",
"block = i",
"block",
"i",
"ans += AAA(block)",
"ans",
"AAA(block)",
"AAA",
"block",
"break;",
"lng--",
"lng",
"n -= (long)(Math.pow(26,lng)) * block",
"n",
"(long)(Math.pow(26,lng)) * block",
"(long)(Math.pow(26,lng))",
"Math.pow",
"Math",
"26",
"lng",
"block",
"start = 1",
"start",
"1",
"for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=(lng-1)",
"i",
"(lng-1)",
"lng",
"1",
"i++",
"i++",
"i",
"{\n start += (long)Math.pow(26,i);\n }",
"{\n start += (long)Math.pow(26,i);\n }",
"start += (long)Math.pow(26,i)",
"start",
"(long)Math.pow(26,i)",
"Math.pow",
"Math",
"26",
"i",
"order = n - start + 1",
"order",
"n - start + 1",
"n - start",
"n",
"start",
"1",
"if(ok){\n System.out.println(ans);\n }\n else{\n System.out.println(\"a\");\n }",
"ok",
"{\n System.out.println(ans);\n }",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"{\n System.out.println(\"a\");\n }",
"System.out.println(\"a\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"a\"",
"String[] args",
"args",
"static String AAA(int block){\n switch(block){\n case 1:\n return \"a\";\n case 2:\n return \"b\";\n case 3:\n return \"c\";\n case 4:\n return \"d\";\n case 5:\n return \"e\";\n case 6:\n return \"f\";\n case 7:\n return \"g\";\n case 8:\n return \"h\";\n case 9:\n return \"i\";\n case 10:\n return \"j\";\n case 11:\n return \"k\";\n case 12:\n return \"l\";\n case 13:\n return \"m\";\n case 14:\n return \"n\";\n case 15:\n return \"o\";\n case 16:\n return \"p\";\n case 17:\n return \"q\";\n case 18:\n return \"r\";\n case 19:\n return \"s\";\n case 20:\n return \"t\";\n case 21:\n return \"u\";\n case 22:\n return \"v\";\n case 23:\n return \"w\";\n case 24:\n return \"x\";\n case 25:\n return \"y\";\n case 26:\n return \"z\";\n }\n return \"*\";\n }",
"AAA",
"{\n switch(block){\n case 1:\n return \"a\";\n case 2:\n return \"b\";\n case 3:\n return \"c\";\n case 4:\n return \"d\";\n case 5:\n return \"e\";\n case 6:\n return \"f\";\n case 7:\n return \"g\";\n case 8:\n return \"h\";\n case 9:\n return \"i\";\n case 10:\n return \"j\";\n case 11:\n return \"k\";\n case 12:\n return \"l\";\n case 13:\n return \"m\";\n case 14:\n return \"n\";\n case 15:\n return \"o\";\n case 16:\n return \"p\";\n case 17:\n return \"q\";\n case 18:\n return \"r\";\n case 19:\n return \"s\";\n case 20:\n return \"t\";\n case 21:\n return \"u\";\n case 22:\n return \"v\";\n case 23:\n return \"w\";\n case 24:\n return \"x\";\n case 25:\n return \"y\";\n case 26:\n return \"z\";\n }\n return \"*\";\n }",
"switch(block){\n case 1:\n return \"a\";\n case 2:\n return \"b\";\n case 3:\n return \"c\";\n case 4:\n return \"d\";\n case 5:\n return \"e\";\n case 6:\n return \"f\";\n case 7:\n return \"g\";\n case 8:\n return \"h\";\n case 9:\n return \"i\";\n case 10:\n return \"j\";\n case 11:\n return \"k\";\n case 12:\n return \"l\";\n case 13:\n return \"m\";\n case 14:\n return \"n\";\n case 15:\n return \"o\";\n case 16:\n return \"p\";\n case 17:\n return \"q\";\n case 18:\n return \"r\";\n case 19:\n return \"s\";\n case 20:\n return \"t\";\n case 21:\n return \"u\";\n case 22:\n return \"v\";\n case 23:\n return \"w\";\n case 24:\n return \"x\";\n case 25:\n return \"y\";\n case 26:\n return \"z\";\n }",
"block",
"case 1:",
"1",
"case 1:",
"return \"a\";",
"\"a\"",
"case 2:",
"2",
"case 2:",
"return \"b\";",
"\"b\"",
"case 3:",
"3",
"case 3:",
"return \"c\";",
"\"c\"",
"case 4:",
"4",
"case 4:",
"return \"d\";",
"\"d\"",
"case 5:",
"5",
"case 5:",
"return \"e\";",
"\"e\"",
"case 6:",
"6",
"case 6:",
"return \"f\";",
"\"f\"",
"case 7:",
"7",
"case 7:",
"return \"g\";",
"\"g\"",
"case 8:",
"8",
"case 8:",
"return \"h\";",
"\"h\"",
"case 9:",
"9",
"case 9:",
"return \"i\";",
"\"i\"",
"case 10:",
"10",
"case 10:",
"return \"j\";",
"\"j\"",
"case 11:",
"11",
"case 11:",
"return \"k\";",
"\"k\"",
"case 12:",
"12",
"case 12:",
"return \"l\";",
"\"l\"",
"case 13:",
"13",
"case 13:",
"return \"m\";",
"\"m\"",
"case 14:",
"14",
"case 14:",
"return \"n\";",
"\"n\"",
"case 15:",
"15",
"case 15:",
"return \"o\";",
"\"o\"",
"case 16:",
"16",
"case 16:",
"return \"p\";",
"\"p\"",
"case 17:",
"17",
"case 17:",
"return \"q\";",
"\"q\"",
"case 18:",
"18",
"case 18:",
"return \"r\";",
"\"r\"",
"case 19:",
"19",
"case 19:",
"return \"s\";",
"\"s\"",
"case 20:",
"20",
"case 20:",
"return \"t\";",
"\"t\"",
"case 21:",
"21",
"case 21:",
"return \"u\";",
"\"u\"",
"case 22:",
"22",
"case 22:",
"return \"v\";",
"\"v\"",
"case 23:",
"23",
"case 23:",
"return \"w\";",
"\"w\"",
"case 24:",
"24",
"case 24:",
"return \"x\";",
"\"x\"",
"case 25:",
"25",
"case 25:",
"return \"y\";",
"\"y\"",
"case 26:",
"26",
"case 26:",
"return \"z\";",
"\"z\"",
"return \"*\";",
"\"*\"",
"int block",
"block",
"static int lcm(int a,int 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*gcd(a,b)",
"a",
"b",
"gcd(a,b)",
"gcd",
"a",
"b",
"int a",
"a",
"int b",
"b",
"static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }",
"gcd",
"{\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }",
"if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }",
"a%b!=0",
"a%b",
"a",
"b",
"0",
"{\n return gcd(b,a%b);\n }",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"{\n return b;\n }",
"return b;",
"b",
"int a",
"a",
"int b",
"b",
"static String toSmall(String s){\n return s.toLowerCase();\n }",
"toSmall",
"{\n return s.toLowerCase();\n }",
"return s.toLowerCase();",
"s.toLowerCase()",
"s.toLowerCase",
"s",
"String s",
"s",
"static String toBig(String s){\n return s.toUpperCase();\n }",
"toBig",
"{\n return s.toUpperCase();\n }",
"return s.toUpperCase();",
"s.toUpperCase()",
"s.toUpperCase",
"s",
"String s",
"s",
"static String next(){\n return sc.next();\n }",
"next",
"{\n return sc.next();\n }",
"return sc.next();",
"sc.next()",
"sc.next",
"sc",
"static int nextInt(){\n return Integer.parseInt(sc.next());\n }",
"nextInt",
"{\n return Integer.parseInt(sc.next());\n }",
"return Integer.parseInt(sc.next());",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"static long nextLong(){\n return Long.parseLong(sc.next());\n }",
"nextLong",
"{\n return Long.parseLong(sc.next());\n }",
"return Long.parseLong(sc.next());",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"static double nextDouble(){\n return Double.parseDouble(sc.next());\n }",
"nextDouble",
"{\n return Double.parseDouble(sc.next());\n }",
"return Double.parseDouble(sc.next());",
"Double.parseDouble(sc.next())",
"Double.parseDouble",
"Double",
"sc.next()",
"sc.next",
"sc",
"static String[] splitString(String s){\n return s.split(\"\");\n }",
"splitString",
"{\n return s.split(\"\");\n }",
"return s.split(\"\");",
"s.split(\"\")",
"s.split",
"s",
"\"\"",
"String s",
"s",
"static char[] splitChar(String s){\n return s.toCharArray();\n }",
"splitChar",
"{\n return s.toCharArray();\n }",
"return s.toCharArray();",
"s.toCharArray()",
"s.toCharArray",
"s",
"String s",
"s",
"static int charToInt(char a){\n return a - 48;\n }",
"charToInt",
"{\n return a - 48;\n }",
"return a - 48;",
"a - 48",
"a",
"48",
"char a",
"a",
"////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"int[] a",
"a",
"public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"max",
"{\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long max = a[0];",
"max",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n max = Math.max(max,a[i]);\n }",
"{\n max = Math.max(max,a[i]);\n }",
"max = Math.max(max,a[i])",
"max",
"Math.max(max,a[i])",
"Math.max",
"Math",
"max",
"a[i]",
"a",
"i",
"return max;",
"max",
"long[] a",
"a",
"////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"int min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"int[] a",
"a",
"public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"min",
"{\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }",
"int lng = a.length;",
"lng",
"a.length",
"a",
"a.length",
"long min = a[0];",
"min",
"a[0]",
"a",
"0",
"for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<lng",
"i",
"lng",
"i++",
"i++",
"i",
"{\n min = Math.min(min,a[i]);\n }",
"{\n min = Math.min(min,a[i]);\n }",
"min = Math.min(min,a[i])",
"min",
"Math.min(min,a[i])",
"Math.min",
"Math",
"min",
"a[i]",
"a",
"i",
"return min;",
"min",
"long[] a",
"a",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long n = nextLong();\n\n boolean ok = true;\n\n if(n==1){\n ok = false;\n }\n\n String ans = \"\";\n\n long memo = 0;\n\n int lng = 0;\n\n for(int i=0;i<n;i++){\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }\n\n //i文字のaaa...名前のスタートの番号\n long start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n\n long order = n - start + 1; //同じ長さの中でorder番目\n\n //先頭を決定する。\n //何ブロック目か\n\n//lng回やる\nint cnt = lng;\nfor(int x=0;x<cnt;x++){\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}\n\n if(ok){\n System.out.println(ans);\n }\n else{\n System.out.println(\"a\");\n }\n\n }\n\n static String AAA(int block){\n switch(block){\n case 1:\n return \"a\";\n case 2:\n return \"b\";\n case 3:\n return \"c\";\n case 4:\n return \"d\";\n case 5:\n return \"e\";\n case 6:\n return \"f\";\n case 7:\n return \"g\";\n case 8:\n return \"h\";\n case 9:\n return \"i\";\n case 10:\n return \"j\";\n case 11:\n return \"k\";\n case 12:\n return \"l\";\n case 13:\n return \"m\";\n case 14:\n return \"n\";\n case 15:\n return \"o\";\n case 16:\n return \"p\";\n case 17:\n return \"q\";\n case 18:\n return \"r\";\n case 19:\n return \"s\";\n case 20:\n return \"t\";\n case 21:\n return \"u\";\n case 22:\n return \"v\";\n case 23:\n return \"w\";\n case 24:\n return \"x\";\n case 25:\n return \"y\";\n case 26:\n return \"z\";\n }\n return \"*\";\n }\n\n\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"public class Main{\n\n static Scanner sc = new Scanner(System.in);\n static StringBuilder sb = new StringBuilder();\n\n public static void main(String[] args) {\n\n long n = nextLong();\n\n boolean ok = true;\n\n if(n==1){\n ok = false;\n }\n\n String ans = \"\";\n\n long memo = 0;\n\n int lng = 0;\n\n for(int i=0;i<n;i++){\n memo += (long)Math.pow(26,i);\n\n if(n<memo){\n lng = i;\n break;\n // nは26^i~26^(i+1) *** 名前はlng文字\n }\n }\n\n //i文字のaaa...名前のスタートの番号\n long start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n\n long order = n - start + 1; //同じ長さの中でorder番目\n\n //先頭を決定する。\n //何ブロック目か\n\n//lng回やる\nint cnt = lng;\nfor(int x=0;x<cnt;x++){\n////////////////////////////////////////////////\n int block = 0;\n memo = 1;\n for(int i=1;;i++){\n memo += (long)Math.pow(26,lng-1);\n if(order<memo){\n block = i;\n ans += AAA(block);\n break;\n }\n }\n\n //値の更新\n lng--;\n n -= (long)(Math.pow(26,lng)) * block;\n start = 1;\n for(int i=1;i<=(lng-1);i++){\n start += (long)Math.pow(26,i);\n }\n order = n - start + 1;\n\n////////////////////////////////////////////////\n}\n\n if(ok){\n System.out.println(ans);\n }\n else{\n System.out.println(\"a\");\n }\n\n }\n\n static String AAA(int block){\n switch(block){\n case 1:\n return \"a\";\n case 2:\n return \"b\";\n case 3:\n return \"c\";\n case 4:\n return \"d\";\n case 5:\n return \"e\";\n case 6:\n return \"f\";\n case 7:\n return \"g\";\n case 8:\n return \"h\";\n case 9:\n return \"i\";\n case 10:\n return \"j\";\n case 11:\n return \"k\";\n case 12:\n return \"l\";\n case 13:\n return \"m\";\n case 14:\n return \"n\";\n case 15:\n return \"o\";\n case 16:\n return \"p\";\n case 17:\n return \"q\";\n case 18:\n return \"r\";\n case 19:\n return \"s\";\n case 20:\n return \"t\";\n case 21:\n return \"u\";\n case 22:\n return \"v\";\n case 23:\n return \"w\";\n case 24:\n return \"x\";\n case 25:\n return \"y\";\n case 26:\n return \"z\";\n }\n return \"*\";\n }\n\n\n\n static int lcm(int a,int b){\n return a*b*gcd(a,b);\n }\n\n static int gcd(int a,int b){\n if(a%b!=0){\n return gcd(b,a%b);\n }\n else{\n return b;\n }\n }\n\n /*\n static String toSmall(String s){\n char c = s.charAt(0);\n //if(Character.isUpperCase(c)){\n if(c<=90){\n c += 32;\n }\n return String.valueOf(c);\n }\n static String toBig(String s){\n char c = s.charAt(0);\n //if(Character.isLowerCase(c)){\n if(c>=97){\n c -= 32;\n }\n return String.valueOf(c);\n }\n */\n\n static String toSmall(String s){\n return s.toLowerCase();\n }\n\n static String toBig(String s){\n return s.toUpperCase();\n }\n\n static String next(){\n return sc.next();\n }\n\n static int nextInt(){\n return Integer.parseInt(sc.next());\n }\n\n static long nextLong(){\n return Long.parseLong(sc.next());\n }\n\n static double nextDouble(){\n return Double.parseDouble(sc.next());\n }\n\n static String[] splitString(String s){\n return s.split(\"\");\n }\n\n static char[] splitChar(String s){\n return s.toCharArray();\n }\n\n static int charToInt(char a){\n return a - 48;\n }\n\n////////////////////////////////////////////\n public static int max(int[] a){\n int lng = a.length;\n int max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n public static long max(long[] a){\n int lng = a.length;\n long max = a[0];\n for(int i=1;i<lng;i++){\n max = Math.max(max,a[i]);\n }\n return max;\n }\n////////////////////////////////////////////\n\n////////////////////////////////////////////\n public static int min(int[] a){\n int lng = a.length;\n int min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n public static long min(long[] a){\n int lng = a.length;\n long min = a[0];\n for(int i=1;i<lng;i++){\n min = Math.min(min,a[i]);\n }\n return min;\n }\n////////////////////////////////////////////\n\n}",
"Main"
]
| import java.util.*;
//update 2020/1/1 23:01
public class Main{
static Scanner sc = new Scanner(System.in);
static StringBuilder sb = new StringBuilder();
public static void main(String[] args) {
long n = nextLong();
boolean ok = true;
if(n==1){
ok = false;
}
String ans = "";
long memo = 0;
int lng = 0;
for(int i=0;i<n;i++){
memo += (long)Math.pow(26,i);
if(n<memo){
lng = i;
break;
// nは26^i~26^(i+1) *** 名前はlng文字
}
}
//i文字のaaa...名前のスタートの番号
long start = 1;
for(int i=1;i<=(lng-1);i++){
start += (long)Math.pow(26,i);
}
long order = n - start + 1; //同じ長さの中でorder番目
//先頭を決定する。
//何ブロック目か
//lng回やる
int cnt = lng;
for(int x=0;x<cnt;x++){
////////////////////////////////////////////////
int block = 0;
memo = 1;
for(int i=1;;i++){
memo += (long)Math.pow(26,lng-1);
if(order<memo){
block = i;
ans += AAA(block);
break;
}
}
//値の更新
lng--;
n -= (long)(Math.pow(26,lng)) * block;
start = 1;
for(int i=1;i<=(lng-1);i++){
start += (long)Math.pow(26,i);
}
order = n - start + 1;
////////////////////////////////////////////////
}
if(ok){
System.out.println(ans);
}
else{
System.out.println("a");
}
}
static String AAA(int block){
switch(block){
case 1:
return "a";
case 2:
return "b";
case 3:
return "c";
case 4:
return "d";
case 5:
return "e";
case 6:
return "f";
case 7:
return "g";
case 8:
return "h";
case 9:
return "i";
case 10:
return "j";
case 11:
return "k";
case 12:
return "l";
case 13:
return "m";
case 14:
return "n";
case 15:
return "o";
case 16:
return "p";
case 17:
return "q";
case 18:
return "r";
case 19:
return "s";
case 20:
return "t";
case 21:
return "u";
case 22:
return "v";
case 23:
return "w";
case 24:
return "x";
case 25:
return "y";
case 26:
return "z";
}
return "*";
}
static int lcm(int a,int b){
return a*b*gcd(a,b);
}
static int gcd(int a,int b){
if(a%b!=0){
return gcd(b,a%b);
}
else{
return b;
}
}
/*
static String toSmall(String s){
char c = s.charAt(0);
//if(Character.isUpperCase(c)){
if(c<=90){
c += 32;
}
return String.valueOf(c);
}
static String toBig(String s){
char c = s.charAt(0);
//if(Character.isLowerCase(c)){
if(c>=97){
c -= 32;
}
return String.valueOf(c);
}
*/
static String toSmall(String s){
return s.toLowerCase();
}
static String toBig(String s){
return s.toUpperCase();
}
static String next(){
return sc.next();
}
static int nextInt(){
return Integer.parseInt(sc.next());
}
static long nextLong(){
return Long.parseLong(sc.next());
}
static double nextDouble(){
return Double.parseDouble(sc.next());
}
static String[] splitString(String s){
return s.split("");
}
static char[] splitChar(String s){
return s.toCharArray();
}
static int charToInt(char a){
return a - 48;
}
////////////////////////////////////////////
public static int max(int[] a){
int lng = a.length;
int max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
public static long max(long[] a){
int lng = a.length;
long max = a[0];
for(int i=1;i<lng;i++){
max = Math.max(max,a[i]);
}
return max;
}
////////////////////////////////////////////
////////////////////////////////////////////
public static int min(int[] a){
int lng = a.length;
int min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
public static long min(long[] a){
int lng = a.length;
long min = a[0];
for(int i=1;i<lng;i++){
min = Math.min(min,a[i]);
}
return min;
}
////////////////////////////////////////////
}
|
[
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,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
13,
18,
13,
2,
13,
17,
0,
13,
13,
0,
13,
17,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
13,
18,
13,
2,
13,
17,
42,
40,
4,
18,
13,
30,
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
],
[
122,
8
],
[
122,
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
],
[
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
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
56,
78
],
[
78,
79
],
[
78,
80
],
[
56,
81
],
[
81,
82
],
[
81,
83
],
[
11,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
11,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
11,
97
],
[
97,
98
],
[
98,
99
],
[
97,
100
],
[
100,
101
],
[
100,
102
],
[
102,
103
],
[
102,
104
],
[
11,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
105,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
9,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
]
| [
"import java.util.Scanner;\nimport java.util.Stack;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\n \"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Stack<String> stack = new Stack<String>();\n\n while(N>26) {\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }\n long last_remain = N%26;\n if(last_remain == 0) {\n last_remain=26;\n }\n stack.add(alphabet[(int)(last_remain-1)]);\n\n while(!stack.isEmpty()) {\n System.out.print(stack.pop());\n }\n\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.Stack;",
"Stack",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\n \"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Stack<String> stack = new Stack<String>();\n\n while(N>26) {\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }\n long last_remain = N%26;\n if(last_remain == 0) {\n last_remain=26;\n }\n stack.add(alphabet[(int)(last_remain-1)]);\n\n while(!stack.isEmpty()) {\n System.out.print(stack.pop());\n }\n\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\n \"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Stack<String> stack = new Stack<String>();\n\n while(N>26) {\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }\n long last_remain = N%26;\n if(last_remain == 0) {\n last_remain=26;\n }\n stack.add(alphabet[(int)(last_remain-1)]);\n\n while(!stack.isEmpty()) {\n System.out.print(stack.pop());\n }\n\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\n \"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Stack<String> stack = new Stack<String>();\n\n while(N>26) {\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }\n long last_remain = N%26;\n if(last_remain == 0) {\n last_remain=26;\n }\n stack.add(alphabet[(int)(last_remain-1)]);\n\n while(!stack.isEmpty()) {\n System.out.print(stack.pop());\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",
"String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\n \"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\",\n \"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\"",
"Stack<String> stack = new Stack<String>();",
"stack",
"new Stack<String>()",
"while(N>26) {\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }",
"N>26",
"N",
"26",
"{\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }",
"long remain = N%26;",
"remain",
"N%26",
"N",
"26",
"if(remain==0) {\n remain=26;\n }",
"remain==0",
"remain",
"0",
"{\n remain=26;\n }",
"remain=26",
"remain",
"26",
"stack.add(alphabet[(int)(remain-1)])",
"stack.add",
"stack",
"alphabet[(int)(remain-1)]",
"alphabet",
"(int)(remain-1)",
"remain",
"1",
"N-=remain",
"N",
"remain",
"N/=26",
"N",
"26",
"long last_remain = N%26;",
"last_remain",
"N%26",
"N",
"26",
"if(last_remain == 0) {\n last_remain=26;\n }",
"last_remain == 0",
"last_remain",
"0",
"{\n last_remain=26;\n }",
"last_remain=26",
"last_remain",
"26",
"stack.add(alphabet[(int)(last_remain-1)])",
"stack.add",
"stack",
"alphabet[(int)(last_remain-1)]",
"alphabet",
"(int)(last_remain-1)",
"last_remain",
"1",
"while(!stack.isEmpty()) {\n System.out.print(stack.pop());\n }",
"!stack.isEmpty()",
"stack.isEmpty()",
"stack.isEmpty",
"stack",
"{\n System.out.print(stack.pop());\n }",
"System.out.print(stack.pop())",
"System.out.print",
"System.out",
"System",
"System.out",
"stack.pop()",
"stack.pop",
"stack",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\n \"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Stack<String> stack = new Stack<String>();\n\n while(N>26) {\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }\n long last_remain = N%26;\n if(last_remain == 0) {\n last_remain=26;\n }\n stack.add(alphabet[(int)(last_remain-1)]);\n\n while(!stack.isEmpty()) {\n System.out.print(stack.pop());\n }\n\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n String[] alphabet = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\n \"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n Stack<String> stack = new Stack<String>();\n\n while(N>26) {\n long remain = N%26;\n if(remain==0) {\n remain=26;\n }\n stack.add(alphabet[(int)(remain-1)]);\n N-=remain;\n N/=26;\n }\n long last_remain = N%26;\n if(last_remain == 0) {\n last_remain=26;\n }\n stack.add(alphabet[(int)(last_remain-1)]);\n\n while(!stack.isEmpty()) {\n System.out.print(stack.pop());\n }\n\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
import java.util.Stack;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
String[] alphabet = {"a","b","c","d","e","f","g","h","i","j","k","l",
"m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
Stack<String> stack = new Stack<String>();
while(N>26) {
long remain = N%26;
if(remain==0) {
remain=26;
}
stack.add(alphabet[(int)(remain-1)]);
N-=remain;
N/=26;
}
long last_remain = N%26;
if(last_remain == 0) {
last_remain=26;
}
stack.add(alphabet[(int)(last_remain-1)]);
while(!stack.isEmpty()) {
System.out.print(stack.pop());
}
}
} |
[
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,
17,
14,
2,
13,
17,
30,
41,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
17,
13,
29,
41,
13,
13,
11,
1,
41,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
17,
13,
14,
2,
13,
17,
30,
40,
13,
30,
3,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
40,
13,
0,
13,
17,
30,
40,
13,
4,
18,
13,
2,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
122,
5
],
[
122,
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
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
30,
44
],
[
8,
45
],
[
45,
46
],
[
45,
47
],
[
8,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
48,
53
],
[
53,
54
],
[
54,
55
],
[
48,
56
],
[
57,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
60,
64
],
[
57,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
65,
72
],
[
72,
73
],
[
8,
74
],
[
74,
75
],
[
74,
76
],
[
8,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
94,
95
],
[
94,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
81,
100
],
[
100,
101
],
[
101,
102
],
[
100,
103
],
[
103,
104
],
[
103,
105
],
[
81,
106
],
[
106,
107
],
[
106,
108
],
[
8,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
6,
119
],
[
119,
120
],
[
0,
121
],
[
121,
122
],
[
121,
123
]
]
| [
"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 = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tint count = 1;\n\t\tif(N <= 26) {\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}\n\n\t\tlong checkDigits = N;\n\t\tfor(int i = 1; ;i++) {\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\twhile(N > 0) {\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tint count = 1;\n\t\tif(N <= 26) {\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}\n\n\t\tlong checkDigits = N;\n\t\tfor(int i = 1; ;i++) {\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\twhile(N > 0) {\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tint count = 1;\n\t\tif(N <= 26) {\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}\n\n\t\tlong checkDigits = N;\n\t\tfor(int i = 1; ;i++) {\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\twhile(N > 0) {\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\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\t\tlong N = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tint count = 1;\n\t\tif(N <= 26) {\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}\n\n\t\tlong checkDigits = N;\n\t\tfor(int i = 1; ;i++) {\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\twhile(N > 0) {\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\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 = Long.parseLong(sc.next());",
"N",
"Long.parseLong(sc.next())",
"Long.parseLong",
"Long",
"sc.next()",
"sc.next",
"sc",
"sc.close()",
"sc.close",
"sc",
"int count = 1;",
"count",
"1",
"if(N <= 26) {\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}",
"N <= 26",
"N",
"26",
"{\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}",
"int ans = (int) N - 1;",
"ans",
"(int) N - 1",
"(int) N",
"1",
"System.out.println((char)('a' + ans))",
"System.out.println",
"System.out",
"System",
"System.out",
"(char)('a' + ans)",
"'a'",
"ans",
"return;",
"long checkDigits = N;",
"checkDigits",
"N",
"for(int i = 1; ;i++) {\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i++",
"i++",
"i",
"{\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"checkDigits -= (int) Math.pow(26, i)",
"checkDigits",
"(int) Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"if(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}",
"checkDigits > 0",
"checkDigits",
"0",
"{\n\t\t\t\tcount++;\n\t\t\t}",
"count++",
"count",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"StringBuffer sb = new StringBuffer();",
"sb",
"new StringBuffer()",
"while(N > 0) {\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\n\t\t\tN /= 26;\n\t\t}",
"N > 0",
"N",
"0",
"{\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\n\t\t\tN /= 26;\n\t\t}",
"long mod = N % 26;",
"mod",
"N % 26",
"N",
"26",
"if (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }",
"mod == 0",
"mod",
"0",
"{\n N--;\n mod = 25;\n }",
"N--",
"N",
"mod = 25",
"mod",
"25",
"{\n mod--;\n }",
"mod--",
"mod",
"sb.append((char)('a' + mod))",
"sb.append",
"sb",
"(char)('a' + mod)",
"'a'",
"mod",
"N /= 26",
"N",
"26",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tint count = 1;\n\t\tif(N <= 26) {\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}\n\n\t\tlong checkDigits = N;\n\t\tfor(int i = 1; ;i++) {\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\twhile(N > 0) {\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong N = Long.parseLong(sc.next());\n\t\tsc.close();\n\n\t\tint count = 1;\n\t\tif(N <= 26) {\n\t\t\tint ans = (int) N - 1;\n\t\t\tSystem.out.println((char)('a' + ans));\n\t\t\treturn;\n\t\t}\n\n\t\tlong checkDigits = N;\n\t\tfor(int i = 1; ;i++) {\n\t\t\tcheckDigits -= (int) Math.pow(26, i);\n\t\t\tif(checkDigits > 0) {\n\t\t\t\tcount++;\n\t\t\t}else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\twhile(N > 0) {\n\t\t\tlong mod = N % 26;\n\t\t\tif (mod == 0) {\n N--;\n mod = 25;\n } else {\n mod--;\n }\n\t\t\tsb.append((char)('a' + mod));\n\t\t\tN /= 26;\n\t\t}\n\t\tSystem.out.println(sb.reverse().toString());\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = Long.parseLong(sc.next());
sc.close();
int count = 1;
if(N <= 26) {
int ans = (int) N - 1;
System.out.println((char)('a' + ans));
return;
}
long checkDigits = N;
for(int i = 1; ;i++) {
checkDigits -= (int) Math.pow(26, i);
if(checkDigits > 0) {
count++;
}else {
break;
}
}
StringBuffer sb = new StringBuffer();
while(N > 0) {
long mod = N % 26;
if (mod == 0) {
N--;
mod = 25;
} else {
mod--;
}
sb.append((char)('a' + mod));
N /= 26;
}
System.out.println(sb.reverse().toString());
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
4,
18,
17,
41,
13,
18,
13,
13,
12,
13,
30,
38,
30,
41,
13,
20,
4,
18,
18,
13,
13,
4,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
20,
42,
2,
17,
13,
30,
4,
18,
13,
18,
13,
2,
13,
13,
0,
13,
2,
2,
13,
17,
13,
29,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
71,
11
],
[
11,
12
],
[
11,
13
],
[
13,
14
],
[
13,
15
],
[
71,
16
],
[
16,
17
],
[
16,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
33
],
[
16,
34
],
[
34,
35
],
[
71,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
47,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
46,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
38,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
36,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String... args) throws Exception {\n\t\ttry (Scanner scn = new Scanner(System.in)){\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}\n\t\t/*\n\t\tfor(int i=17576; i<=(17576) + 26*26 + 26*2; i++) {\n\t\t\tSystem.out.println(i + \": \" + to26Str(i));\n\t\t}\n\t\t*/\n\t}\n\t// zを0、aを1に割り当てる\n\tstatic final char[] chars = \"zabcdefghijklmnopqrstuvwxy\".toCharArray();\n\tstatic final int radix = chars.length;\n\n\tpublic static String to26Str(long num) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tdo {\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t} while(0 < num);\n\n\t\treturn sb.reverse().toString();\n\t}\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String... args) throws Exception {\n\t\ttry (Scanner scn = new Scanner(System.in)){\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}\n\t\t/*\n\t\tfor(int i=17576; i<=(17576) + 26*26 + 26*2; i++) {\n\t\t\tSystem.out.println(i + \": \" + to26Str(i));\n\t\t}\n\t\t*/\n\t}\n\t// zを0、aを1に割り当てる\n\tstatic final char[] chars = \"zabcdefghijklmnopqrstuvwxy\".toCharArray();\n\tstatic final int radix = chars.length;\n\n\tpublic static String to26Str(long num) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tdo {\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t} while(0 < num);\n\n\t\treturn sb.reverse().toString();\n\t}\n\n}",
"Main",
"// zを0、aを1に割り当てる\n\tstatic final char[] chars = \"zabcdefghijklmnopqrstuvwxy\".toCharArray();",
"chars",
"\"zabcdefghijklmnopqrstuvwxy\".toCharArray()",
"\"zabcdefghijklmnopqrstuvwxy\".toCharArray",
"\"zabcdefghijklmnopqrstuvwxy\"",
"static final int radix = chars.length;",
"radix",
"chars.length",
"chars",
"chars.length",
"public static void main(String... args) throws Exception {\n\t\ttry (Scanner scn = new Scanner(System.in)){\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}\n\t\t/*\n\t\tfor(int i=17576; i<=(17576) + 26*26 + 26*2; i++) {\n\t\t\tSystem.out.println(i + \": \" + to26Str(i));\n\t\t}\n\t\t*/\n\t}",
"main",
"{\n\t\ttry (Scanner scn = new Scanner(System.in)){\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}\n\t\t/*\n\t\tfor(int i=17576; i<=(17576) + 26*26 + 26*2; i++) {\n\t\t\tSystem.out.println(i + \": \" + to26Str(i));\n\t\t}\n\t\t*/\n\t}",
"try (Scanner scn = new Scanner(System.in)){\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}",
"{\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}",
"Scanner scn = new Scanner(System.in)",
"Scanner scn = new Scanner(System.in)",
"new Scanner(System.in)",
"System.out.println(to26Str(scn.nextLong()))",
"System.out.println",
"System.out",
"System",
"System.out",
"to26Str(scn.nextLong())",
"to26Str",
"scn.nextLong()",
"scn.nextLong",
"scn",
"String... args",
"args",
"public static String to26Str(long num) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tdo {\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t} while(0 < num);\n\n\t\treturn sb.reverse().toString();\n\t}",
"to26Str",
"{\n\t\tStringBuilder sb = new StringBuilder();\n\t\tdo {\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t} while(0 < num);\n\n\t\treturn sb.reverse().toString();\n\t}",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"do {\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t} while(0 < num);",
"0 < num",
"0",
"num",
"{\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t}",
"sb.append(chars[(int)(num % radix)])",
"sb.append",
"sb",
"chars[(int)(num % radix)]",
"chars",
"(int)(num % radix)",
"num",
"radix",
"num = (num-1) / radix",
"num",
"(num-1) / radix",
"(num-1)",
"num",
"1",
"radix",
"return sb.reverse().toString();",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"long num",
"num",
"public class Main {\n\n\tpublic static void main(String... args) throws Exception {\n\t\ttry (Scanner scn = new Scanner(System.in)){\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}\n\t\t/*\n\t\tfor(int i=17576; i<=(17576) + 26*26 + 26*2; i++) {\n\t\t\tSystem.out.println(i + \": \" + to26Str(i));\n\t\t}\n\t\t*/\n\t}\n\t// zを0、aを1に割り当てる\n\tstatic final char[] chars = \"zabcdefghijklmnopqrstuvwxy\".toCharArray();\n\tstatic final int radix = chars.length;\n\n\tpublic static String to26Str(long num) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tdo {\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t} while(0 < num);\n\n\t\treturn sb.reverse().toString();\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String... args) throws Exception {\n\t\ttry (Scanner scn = new Scanner(System.in)){\n\t\t\tSystem.out.println(to26Str(scn.nextLong()));\n\t\t}\n\t\t/*\n\t\tfor(int i=17576; i<=(17576) + 26*26 + 26*2; i++) {\n\t\t\tSystem.out.println(i + \": \" + to26Str(i));\n\t\t}\n\t\t*/\n\t}\n\t// zを0、aを1に割り当てる\n\tstatic final char[] chars = \"zabcdefghijklmnopqrstuvwxy\".toCharArray();\n\tstatic final int radix = chars.length;\n\n\tpublic static String to26Str(long num) {\n\t\tStringBuilder sb = new StringBuilder();\n\t\tdo {\n\t\t\tsb.append(chars[(int)(num % radix)]);\n\t\t\tnum = (num-1) / radix;\t// 0(z)のとき桁上りしない\n\t\t} while(0 < num);\n\n\t\treturn sb.reverse().toString();\n\t}\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String... args) throws Exception {
try (Scanner scn = new Scanner(System.in)){
System.out.println(to26Str(scn.nextLong()));
}
/*
for(int i=17576; i<=(17576) + 26*26 + 26*2; i++) {
System.out.println(i + ": " + to26Str(i));
}
*/
}
// zを0、aを1に割り当てる
static final char[] chars = "zabcdefghijklmnopqrstuvwxy".toCharArray();
static final int radix = chars.length;
public static String to26Str(long num) {
StringBuilder sb = new StringBuilder();
do {
sb.append(chars[(int)(num % radix)]);
num = (num-1) / radix; // 0(z)のとき桁上りしない
} while(0 < num);
return sb.reverse().toString();
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
17,
41,
13,
20,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
17,
13,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
4,
18,
13,
18,
13,
13,
41,
13,
20,
42,
17,
30,
14,
2,
13,
17,
30,
4,
18,
13,
4,
18,
13,
2,
13,
17,
3,
41,
13,
2,
13,
13,
14,
2,
13,
17,
30,
0,
13,
17,
4,
18,
13,
4,
18,
13,
2,
13,
17,
41,
13,
2,
2,
13,
13,
13,
14,
2,
13,
17,
30,
4,
18,
13,
4,
18,
13,
2,
13,
17,
3,
0,
13,
13,
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
],
[
159,
11
],
[
159,
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,
30
],
[
30,
31
],
[
30,
32
],
[
14,
34
],
[
34,
35
],
[
34,
36
],
[
14,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
37,
45
],
[
45,
46
],
[
46,
47
],
[
37,
48
],
[
49,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
49,
57
],
[
57,
58
],
[
58,
59
],
[
58,
60
],
[
57,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
49,
67
],
[
67,
68
],
[
68,
69
],
[
67,
70
],
[
70,
71
],
[
70,
72
],
[
14,
73
],
[
73,
74
],
[
73,
75
],
[
14,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
90,
92
],
[
83,
93
],
[
78,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
78,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
78,
107
],
[
107,
108
],
[
108,
109
],
[
107,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
113,
115
],
[
78,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
118,
122
],
[
78,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
123,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
128,
131
],
[
131,
132
],
[
132,
133
],
[
131,
134
],
[
134,
135
],
[
134,
136
],
[
127,
137
],
[
78,
138
],
[
138,
139
],
[
138,
140
],
[
14,
141
],
[
141,
142
],
[
142,
143
],
[
141,
144
],
[
14,
145
],
[
145,
146
],
[
145,
147
],
[
145,
148
],
[
149,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
150,
155
],
[
12,
156
],
[
156,
157
],
[
0,
158
],
[
158,
159
],
[
158,
160
]
]
| [
"import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tlong a = 26;\n\t\t\n\t\tchar[] al = new char[26];\n\t\tString[] alp = new String[26]; \n\t\tArrayList<String> alph = new ArrayList<String>();\n\t\tfor(int i = 0; i<26;i++) {\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}\n\t\t\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\t//141167095653375\n\t\t\n\t\twhile(true) {\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}\n\t\tCollections.reverse(list);\n\t\tfor(String item:list) {\n\t\t\tSystem.out.print(item);\n\t\t}\n\t}\n\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tlong a = 26;\n\t\t\n\t\tchar[] al = new char[26];\n\t\tString[] alp = new String[26]; \n\t\tArrayList<String> alph = new ArrayList<String>();\n\t\tfor(int i = 0; i<26;i++) {\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}\n\t\t\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\t//141167095653375\n\t\t\n\t\twhile(true) {\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}\n\t\tCollections.reverse(list);\n\t\tfor(String item:list) {\n\t\t\tSystem.out.print(item);\n\t\t}\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tlong a = 26;\n\t\t\n\t\tchar[] al = new char[26];\n\t\tString[] alp = new String[26]; \n\t\tArrayList<String> alph = new ArrayList<String>();\n\t\tfor(int i = 0; i<26;i++) {\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}\n\t\t\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\t//141167095653375\n\t\t\n\t\twhile(true) {\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}\n\t\tCollections.reverse(list);\n\t\tfor(String item:list) {\n\t\t\tSystem.out.print(item);\n\t\t}\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tlong a = 26;\n\t\t\n\t\tchar[] al = new char[26];\n\t\tString[] alp = new String[26]; \n\t\tArrayList<String> alph = new ArrayList<String>();\n\t\tfor(int i = 0; i<26;i++) {\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}\n\t\t\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\t//141167095653375\n\t\t\n\t\twhile(true) {\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}\n\t\tCollections.reverse(list);\n\t\tfor(String item:list) {\n\t\t\tSystem.out.print(item);\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",
"long a = 26;",
"a",
"26",
"char[] al = new char[26];",
"al",
"new char[26]",
"26",
"String[] alp = new String[26];",
"alp",
"new String[26]",
"26",
"ArrayList<String> alph = new ArrayList<String>();",
"alph",
"new ArrayList<String>()",
"for(int i = 0; i<26;i++) {\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}",
"{\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}",
"al[i] = (char)(97+i)",
"al[i]",
"al",
"i",
"(char)(97+i)",
"97",
"i",
"alp[i] = String.valueOf(al[i])",
"alp[i]",
"alp",
"i",
"String.valueOf(al[i])",
"String.valueOf",
"String",
"al[i]",
"al",
"i",
"alph.add(alp[i])",
"alph.add",
"alph",
"alp[i]",
"alp",
"i",
"ArrayList<String> list = new ArrayList<String>();",
"list",
"new ArrayList<String>()",
"while(true) {\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}",
"true",
"{\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}",
"if(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}",
"n < 27",
"n",
"27",
"{\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}",
"list.add(alph.get((int)n-1))",
"list.add",
"list",
"alph.get((int)n-1)",
"alph.get",
"alph",
"(int)n-1",
"(int)n",
"1",
"break;",
"long end = n % a;",
"end",
"n % a",
"n",
"a",
"if(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}",
"end == 0",
"end",
"0",
"{\n\t\t\t\tend = 26;\n\t\t\t}",
"end = 26",
"end",
"26",
"list.add(alph.get((int)end-1))",
"list.add",
"list",
"alph.get((int)end-1)",
"alph.get",
"alph",
"(int)end-1",
"(int)end",
"1",
"long ans = (n-end) / a;",
"ans",
"(n-end) / a",
"(n-end)",
"n",
"end",
"a",
"if(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}",
"ans < 27",
"ans",
"27",
"{\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}",
"list.add(alph.get((int)ans-1))",
"list.add",
"list",
"alph.get((int)ans-1)",
"alph.get",
"alph",
"(int)ans-1",
"(int)ans",
"1",
"break;",
"n = ans",
"n",
"ans",
"Collections.reverse(list)",
"Collections.reverse",
"Collections",
"list",
"for(String item:list) {\n\t\t\tSystem.out.print(item);\n\t\t}",
"String item",
"list",
"{\n\t\t\tSystem.out.print(item);\n\t\t}",
"{\n\t\t\tSystem.out.print(item);\n\t\t}",
"System.out.print(item)",
"System.out.print",
"System.out",
"System",
"System.out",
"item",
"String[] args",
"args",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tlong a = 26;\n\t\t\n\t\tchar[] al = new char[26];\n\t\tString[] alp = new String[26]; \n\t\tArrayList<String> alph = new ArrayList<String>();\n\t\tfor(int i = 0; i<26;i++) {\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}\n\t\t\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\t//141167095653375\n\t\t\n\t\twhile(true) {\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}\n\t\tCollections.reverse(list);\n\t\tfor(String item:list) {\n\t\t\tSystem.out.print(item);\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = scan.nextLong();\n\t\tlong a = 26;\n\t\t\n\t\tchar[] al = new char[26];\n\t\tString[] alp = new String[26]; \n\t\tArrayList<String> alph = new ArrayList<String>();\n\t\tfor(int i = 0; i<26;i++) {\n\t\t\tal[i] = (char)(97+i);\n\t\t\talp[i] = String.valueOf(al[i]);\n\t\t\talph.add(alp[i]);\n\t\t}\n\t\t\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\t\n\t\t//141167095653375\n\t\t\n\t\twhile(true) {\n\t\t\tif(n < 27) {\n\t\t\t\tlist.add(alph.get((int)n-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tlong end = n % a;\n\t\t\t\n\t\t\tif(end == 0) {\n\t\t\t\tend = 26;\n\t\t\t}\n\t\t\t//System.out.println(end);\n\t\t\tlist.add(alph.get((int)end-1));\n\t\t\tlong ans = (n-end) / a;\n\t\t\t//System.out.println(ans);\n\t\t\tif(ans < 27) {\n\t\t\t\tlist.add(alph.get((int)ans-1));\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = ans;\n\t\t\t\t\n\t\t}\n\t\tCollections.reverse(list);\n\t\tfor(String item:list) {\n\t\t\tSystem.out.print(item);\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner scan = new Scanner(System.in);
long n = scan.nextLong();
long a = 26;
char[] al = new char[26];
String[] alp = new String[26];
ArrayList<String> alph = new ArrayList<String>();
for(int i = 0; i<26;i++) {
al[i] = (char)(97+i);
alp[i] = String.valueOf(al[i]);
alph.add(alp[i]);
}
ArrayList<String> list = new ArrayList<String>();
//141167095653375
while(true) {
if(n < 27) {
list.add(alph.get((int)n-1));
break;
}
long end = n % a;
if(end == 0) {
end = 26;
}
//System.out.println(end);
list.add(alph.get((int)end-1));
long ans = (n-end) / a;
//System.out.println(ans);
if(ans < 27) {
list.add(alph.get((int)ans-1));
break;
}
n = ans;
}
Collections.reverse(list);
for(String item:list) {
System.out.print(item);
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
41,
13,
41,
13,
12,
13,
30,
4,
13,
18,
13,
13,
18,
13,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
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,
2,
17,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
13,
4,
18,
13,
17,
13,
4,
18,
13,
12,
13,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
129,
20
],
[
129,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
129,
26
],
[
26,
27
],
[
129,
28
],
[
28,
29
],
[
129,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
38,
39
],
[
38,
40
],
[
129,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
43,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
41,
54
],
[
54,
55
],
[
41,
56
],
[
56,
57
],
[
129,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
64,
66
],
[
60,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
60,
72
],
[
72,
73
],
[
72,
74
],
[
60,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
89,
91
],
[
79,
92
],
[
92,
93
],
[
92,
94
],
[
60,
95
],
[
95,
96
],
[
96,
97
],
[
95,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
98,
102
],
[
60,
103
],
[
103,
104
],
[
104,
105
],
[
129,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
115,
116
],
[
114,
117
],
[
106,
118
],
[
118,
119
],
[
129,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
120,
126
],
[
126,
127
],
[
0,
128
],
[
128,
129
],
[
128,
130
]
]
| [
"\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\n\nimport java.math.BigInteger;\nimport java.util.*;\nimport java.util.stream.Collectors;\n\npublic class Main {\n long MOD = (long) 1e9 + 7;\n\n InputStream in;\n OutputStream out;\n\n public Main() {\n this(System.in, System.out);\n }\n\n public Main(InputStream in, OutputStream out) {\n this.in = in;\n this.out = out;\n }\n\n void run() {\n Scanner sc = new Scanner(this.in);\n PrintWriter out = new PrintWriter(this.out);\n\n // write your code\n long n = sc.nextLong();\n LinkedList<String> ans = new LinkedList<>();\n\n do {\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n } while (n != 0);\n\n\n out.println(String.join(\"\", ans));\n\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.*;",
"util.*",
"java",
"import java.util.stream.Collectors;",
"Collectors",
"java.util.stream",
"public class Main {\n long MOD = (long) 1e9 + 7;\n\n InputStream in;\n OutputStream out;\n\n public Main() {\n this(System.in, System.out);\n }\n\n public Main(InputStream in, OutputStream out) {\n this.in = in;\n this.out = out;\n }\n\n void run() {\n Scanner sc = new Scanner(this.in);\n PrintWriter out = new PrintWriter(this.out);\n\n // write your code\n long n = sc.nextLong();\n LinkedList<String> ans = new LinkedList<>();\n\n do {\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n } while (n != 0);\n\n\n out.println(String.join(\"\", ans));\n\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main",
"long MOD = (long) 1e9 + 7;",
"MOD",
"(long) 1e9 + 7",
"(long) 1e9",
"7",
"InputStream in;",
"in",
"OutputStream out;",
"out",
"public Main() {\n this(System.in, System.out);\n }",
"Main",
"{\n this(System.in, System.out);\n }",
"this(System.in, System.out)",
"this",
"System.in",
"System",
"System.in",
"System.out",
"System",
"System.out",
"public Main(InputStream in, OutputStream out) {\n this.in = in;\n this.out = out;\n }",
"Main",
"{\n this.in = in;\n this.out = out;\n }",
"this.in = in",
"this.in",
"this",
"this.in",
"in",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"InputStream in",
"in",
"OutputStream out",
"out",
"void run() {\n Scanner sc = new Scanner(this.in);\n PrintWriter out = new PrintWriter(this.out);\n\n // write your code\n long n = sc.nextLong();\n LinkedList<String> ans = new LinkedList<>();\n\n do {\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n } while (n != 0);\n\n\n out.println(String.join(\"\", ans));\n\n out.flush();\n }",
"run",
"{\n Scanner sc = new Scanner(this.in);\n PrintWriter out = new PrintWriter(this.out);\n\n // write your code\n long n = sc.nextLong();\n LinkedList<String> ans = new LinkedList<>();\n\n do {\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n } while (n != 0);\n\n\n out.println(String.join(\"\", ans));\n\n out.flush();\n }",
"Scanner sc = new Scanner(this.in);",
"sc",
"new Scanner(this.in)",
"PrintWriter out = new PrintWriter(this.out);",
"out",
"new PrintWriter(this.out)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"LinkedList<String> ans = new LinkedList<>();",
"ans",
"new LinkedList<>()",
"do {\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n } while (n != 0);",
"n != 0",
"n",
"0",
"{\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n }",
"n--",
"n",
"ans.addFirst(\"\" + (char)('a' + n % 26))",
"ans.addFirst",
"ans",
"\"\" + (char)('a' + n % 26)",
"\"\"",
"(char)('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"out.println(String.join(\"\", ans))",
"out.println",
"out",
"String.join(\"\", ans)",
"String.join",
"String",
"\"\"",
"ans",
"out.flush()",
"out.flush",
"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",
"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",
"public class Main {\n long MOD = (long) 1e9 + 7;\n\n InputStream in;\n OutputStream out;\n\n public Main() {\n this(System.in, System.out);\n }\n\n public Main(InputStream in, OutputStream out) {\n this.in = in;\n this.out = out;\n }\n\n void run() {\n Scanner sc = new Scanner(this.in);\n PrintWriter out = new PrintWriter(this.out);\n\n // write your code\n long n = sc.nextLong();\n LinkedList<String> ans = new LinkedList<>();\n\n do {\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n } while (n != 0);\n\n\n out.println(String.join(\"\", ans));\n\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"public class Main {\n long MOD = (long) 1e9 + 7;\n\n InputStream in;\n OutputStream out;\n\n public Main() {\n this(System.in, System.out);\n }\n\n public Main(InputStream in, OutputStream out) {\n this.in = in;\n this.out = out;\n }\n\n void run() {\n Scanner sc = new Scanner(this.in);\n PrintWriter out = new PrintWriter(this.out);\n\n // write your code\n long n = sc.nextLong();\n LinkedList<String> ans = new LinkedList<>();\n\n do {\n n--;\n ans.addFirst(\"\" + (char)('a' + n % 26));\n n /= 26;\n } while (n != 0);\n\n\n out.println(String.join(\"\", ans));\n\n out.flush();\n }\n\n void debug(Object... os) {\n System.err.println(Arrays.deepToString(os));\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n}",
"Main"
]
|
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.math.BigInteger;
import java.util.*;
import java.util.stream.Collectors;
public class Main {
long MOD = (long) 1e9 + 7;
InputStream in;
OutputStream out;
public Main() {
this(System.in, System.out);
}
public Main(InputStream in, OutputStream out) {
this.in = in;
this.out = out;
}
void run() {
Scanner sc = new Scanner(this.in);
PrintWriter out = new PrintWriter(this.out);
// write your code
long n = sc.nextLong();
LinkedList<String> ans = new LinkedList<>();
do {
n--;
ans.addFirst("" + (char)('a' + n % 26));
n /= 26;
} while (n != 0);
out.println(String.join("", ans));
out.flush();
}
void debug(Object... os) {
System.err.println(Arrays.deepToString(os));
}
public static void main(String[] args) {
new Main().run();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
4,
13,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
29,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
15,
17
],
[
8,
18
],
[
18,
19
],
[
18,
20
],
[
8,
21
],
[
21,
22
],
[
21,
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
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
33,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
8,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
6,
59
],
[
59,
60
],
[
71,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
61,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long pre_total = 0;\n long total = 0;\n int mojisuu = 0;\n\n long n = sc.nextLong();\n StringBuilder val = new StringBuilder();\n\n\n while(n>0){\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }\n\n\n\n\n //0x61 = 97 = a\n\n System.out.println(val.reverse());\n }\n\n\n\n\n\n\n\n\n static char alpha(int n){\n return (char)(n+97);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long pre_total = 0;\n long total = 0;\n int mojisuu = 0;\n\n long n = sc.nextLong();\n StringBuilder val = new StringBuilder();\n\n\n while(n>0){\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }\n\n\n\n\n //0x61 = 97 = a\n\n System.out.println(val.reverse());\n }\n\n\n\n\n\n\n\n\n static char alpha(int n){\n return (char)(n+97);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long pre_total = 0;\n long total = 0;\n int mojisuu = 0;\n\n long n = sc.nextLong();\n StringBuilder val = new StringBuilder();\n\n\n while(n>0){\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }\n\n\n\n\n //0x61 = 97 = a\n\n System.out.println(val.reverse());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long pre_total = 0;\n long total = 0;\n int mojisuu = 0;\n\n long n = sc.nextLong();\n StringBuilder val = new StringBuilder();\n\n\n while(n>0){\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }\n\n\n\n\n //0x61 = 97 = a\n\n System.out.println(val.reverse());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long pre_total = 0;",
"pre_total",
"0",
"long total = 0;",
"total",
"0",
"int mojisuu = 0;",
"mojisuu",
"0",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder val = new StringBuilder();",
"val",
"new StringBuilder()",
"while(n>0){\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }",
"n>0",
"n",
"0",
"{\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }",
"val.append(alpha((int)((n-1)%26)))",
"val.append",
"val",
"alpha((int)((n-1)%26))",
"alpha",
"(int)((n-1)%26)",
"(n-1)",
"n",
"1",
"26",
"n = (n-1) /26",
"n",
"(n-1) /26",
"(n-1)",
"n",
"1",
"26",
"System.out.println(val.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"val.reverse()",
"val.reverse",
"val",
"String[] args",
"args",
"static char alpha(int n){\n return (char)(n+97);\n }",
"alpha",
"{\n return (char)(n+97);\n }",
"return (char)(n+97);",
"(char)(n+97)",
"n",
"97",
"int n",
"n",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long pre_total = 0;\n long total = 0;\n int mojisuu = 0;\n\n long n = sc.nextLong();\n StringBuilder val = new StringBuilder();\n\n\n while(n>0){\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }\n\n\n\n\n //0x61 = 97 = a\n\n System.out.println(val.reverse());\n }\n\n\n\n\n\n\n\n\n static char alpha(int n){\n return (char)(n+97);\n }\n}",
"public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n long pre_total = 0;\n long total = 0;\n int mojisuu = 0;\n\n long n = sc.nextLong();\n StringBuilder val = new StringBuilder();\n\n\n while(n>0){\n val.append(alpha((int)((n-1)%26)));\n n = (n-1) /26;\n }\n\n\n\n\n //0x61 = 97 = a\n\n System.out.println(val.reverse());\n }\n\n\n\n\n\n\n\n\n static char alpha(int n){\n return (char)(n+97);\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long pre_total = 0;
long total = 0;
int mojisuu = 0;
long n = sc.nextLong();
StringBuilder val = new StringBuilder();
while(n>0){
val.append(alpha((int)((n-1)%26)));
n = (n-1) /26;
}
//0x61 = 97 = a
System.out.println(val.reverse());
}
static char alpha(int n){
return (char)(n+97);
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
0,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
17,
13,
14,
2,
13,
17,
30,
0,
18,
13,
13,
18,
13,
2,
13,
17,
41,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
3,
0,
13,
18,
13,
2,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
2,
2,
2,
13,
17,
17,
13,
0,
13,
17,
14,
2,
13,
17,
30,
3,
42,
2,
4,
18,
13,
13,
30,
0,
13,
2,
17,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
2,
2,
2,
13,
17,
17,
17,
41,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
13,
18,
13,
13,
30,
0,
13,
2,
13,
17,
3,
4,
18,
18,
13,
13,
13,
41,
13,
2,
2,
2,
13,
2,
18,
13,
2,
13,
17,
17,
17,
17,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
220,
5
],
[
220,
6
],
[
6,
7
],
[
220,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
10,
19
],
[
19,
20
],
[
19,
21
],
[
10,
23
],
[
23,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
23,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
30,
32
],
[
23,
33
],
[
33,
34
],
[
34,
35
],
[
23,
36
],
[
37,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
42,
45
],
[
42,
46
],
[
37,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
52,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
10,
61
],
[
61,
62
],
[
61,
63
],
[
10,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
64,
73
],
[
73,
74
],
[
73,
75
],
[
64,
76
],
[
76,
77
],
[
77,
78
],
[
64,
79
],
[
80,
80
],
[
80,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
84,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
87,
93
],
[
10,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
98,
100
],
[
10,
101
],
[
101,
102
],
[
101,
103
],
[
10,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
110,
114
],
[
109,
115
],
[
106,
116
],
[
116,
117
],
[
116,
118
],
[
106,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
119,
123
],
[
123,
124
],
[
10,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
126,
130
],
[
125,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
134,
136
],
[
10,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
8,
143
],
[
143,
144
],
[
220,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
156,
157
],
[
156,
158
],
[
155,
159
],
[
154,
160
],
[
147,
161
],
[
161,
162
],
[
161,
163
],
[
147,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
164,
173
],
[
173,
174
],
[
173,
175
],
[
164,
176
],
[
176,
177
],
[
177,
178
],
[
164,
179
],
[
180,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
184,
185
],
[
184,
186
],
[
181,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
190,
191
],
[
190,
192
],
[
187,
193
],
[
147,
194
],
[
194,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
194,
199
],
[
147,
200
],
[
200,
201
],
[
200,
202
],
[
202,
203
],
[
203,
204
],
[
204,
205
],
[
204,
206
],
[
206,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
209,
211
],
[
206,
212
],
[
203,
213
],
[
202,
214
],
[
147,
215
],
[
215,
216
],
[
145,
217
],
[
217,
218
],
[
0,
219
],
[
219,
220
],
[
219,
221
]
]
| [
"\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tgeta = new long[14];\n\t\tfor(int i = 0; i < geta.length; i++){\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tn -= geta[len - 1];\n\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\twhile(result.length() < len){\n\t\t\tresult = \"a\" + result;\n\t\t}\n\t\tSystem.out.println(result);\n//\t\tgeta = new long[14];\n//\t\tfor(int i = 0; i < geta.length; i++){\n//\t\t\tgeta[i] = (long)Math.pow(26, i);\n//\t\t\tif(i >= 1){\n//\t\t\t\tgeta[i] += geta[i - 1];\n//\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n//\t\t}\n//\n//\n//\t\tSystem.out.println(solve(n));\n\n//\t\tif(n == 0){\n//\t\t\tSystem.out.println('a');\n//\t\t\treturn;\n//\t\t}\n//\n//\t\tString name = \"\";\n//\t\twhile(n > 0){\n//\t\t\tchar tmp = (char)(n%26 + 'a' - 1);\n//\t\t\tif(n%26 == 0){\n//\t\t\t\ttmp = 'z';\n//\t\t\t}\n//\t\t\tname = tmp + name;\n//\n//\t\t\tn /= 26;\n//\t\t}\n//\n//\t\tSystem.out.println(name);\n\t}\n\n\tstatic long[] geta;\n\tstatic String solve(long num){\n\t\tif(num <= 26){\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}\n\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(len);\n\n\t\tString result = (char)(num / (geta[len - 1] - 1) + 'a')+\"\";// + solve(num % geta[len - 1] - 1);\n\n\t\treturn result;\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tgeta = new long[14];\n\t\tfor(int i = 0; i < geta.length; i++){\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tn -= geta[len - 1];\n\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\twhile(result.length() < len){\n\t\t\tresult = \"a\" + result;\n\t\t}\n\t\tSystem.out.println(result);\n//\t\tgeta = new long[14];\n//\t\tfor(int i = 0; i < geta.length; i++){\n//\t\t\tgeta[i] = (long)Math.pow(26, i);\n//\t\t\tif(i >= 1){\n//\t\t\t\tgeta[i] += geta[i - 1];\n//\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n//\t\t}\n//\n//\n//\t\tSystem.out.println(solve(n));\n\n//\t\tif(n == 0){\n//\t\t\tSystem.out.println('a');\n//\t\t\treturn;\n//\t\t}\n//\n//\t\tString name = \"\";\n//\t\twhile(n > 0){\n//\t\t\tchar tmp = (char)(n%26 + 'a' - 1);\n//\t\t\tif(n%26 == 0){\n//\t\t\t\ttmp = 'z';\n//\t\t\t}\n//\t\t\tname = tmp + name;\n//\n//\t\t\tn /= 26;\n//\t\t}\n//\n//\t\tSystem.out.println(name);\n\t}\n\n\tstatic long[] geta;\n\tstatic String solve(long num){\n\t\tif(num <= 26){\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}\n\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(len);\n\n\t\tString result = (char)(num / (geta[len - 1] - 1) + 'a')+\"\";// + solve(num % geta[len - 1] - 1);\n\n\t\treturn result;\n\t}\n}",
"Main",
"static long[] geta;",
"geta",
"public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tgeta = new long[14];\n\t\tfor(int i = 0; i < geta.length; i++){\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tn -= geta[len - 1];\n\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\twhile(result.length() < len){\n\t\t\tresult = \"a\" + result;\n\t\t}\n\t\tSystem.out.println(result);\n//\t\tgeta = new long[14];\n//\t\tfor(int i = 0; i < geta.length; i++){\n//\t\t\tgeta[i] = (long)Math.pow(26, i);\n//\t\t\tif(i >= 1){\n//\t\t\t\tgeta[i] += geta[i - 1];\n//\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n//\t\t}\n//\n//\n//\t\tSystem.out.println(solve(n));\n\n//\t\tif(n == 0){\n//\t\t\tSystem.out.println('a');\n//\t\t\treturn;\n//\t\t}\n//\n//\t\tString name = \"\";\n//\t\twhile(n > 0){\n//\t\t\tchar tmp = (char)(n%26 + 'a' - 1);\n//\t\t\tif(n%26 == 0){\n//\t\t\t\ttmp = 'z';\n//\t\t\t}\n//\t\t\tname = tmp + name;\n//\n//\t\t\tn /= 26;\n//\t\t}\n//\n//\t\tSystem.out.println(name);\n\t}",
"main",
"{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tgeta = new long[14];\n\t\tfor(int i = 0; i < geta.length; i++){\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tn -= geta[len - 1];\n\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\twhile(result.length() < len){\n\t\t\tresult = \"a\" + result;\n\t\t}\n\t\tSystem.out.println(result);\n//\t\tgeta = new long[14];\n//\t\tfor(int i = 0; i < geta.length; i++){\n//\t\t\tgeta[i] = (long)Math.pow(26, i);\n//\t\t\tif(i >= 1){\n//\t\t\t\tgeta[i] += geta[i - 1];\n//\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n//\t\t}\n//\n//\n//\t\tSystem.out.println(solve(n));\n\n//\t\tif(n == 0){\n//\t\t\tSystem.out.println('a');\n//\t\t\treturn;\n//\t\t}\n//\n//\t\tString name = \"\";\n//\t\twhile(n > 0){\n//\t\t\tchar tmp = (char)(n%26 + 'a' - 1);\n//\t\t\tif(n%26 == 0){\n//\t\t\t\ttmp = 'z';\n//\t\t\t}\n//\t\t\tname = tmp + name;\n//\n//\t\t\tn /= 26;\n//\t\t}\n//\n//\t\tSystem.out.println(name);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"geta = new long[14]",
"geta",
"new long[14]",
"14",
"for(int i = 0; i < geta.length; i++){\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < geta.length",
"i",
"geta.length",
"geta",
"geta.length",
"i++",
"i++",
"i",
"{\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}",
"{\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}",
"geta[i] = (long)Math.pow(26, i)",
"geta[i]",
"geta",
"i",
"(long)Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"if(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}",
"i >= 1",
"i",
"1",
"{\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}",
"geta[i] += geta[i - 1]",
"geta[i]",
"geta",
"i",
"geta[i - 1]",
"geta",
"i - 1",
"i",
"1",
"int len = 0;",
"len",
"0",
"for(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = geta.length - 1;",
"int i = geta.length - 1;",
"i",
"geta.length - 1",
"geta.length",
"geta",
"geta.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}",
"n >= geta[i]",
"n",
"geta[i]",
"geta",
"i",
"{\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}",
"len = i + 1",
"len",
"i + 1",
"i",
"1",
"break;",
"n -= geta[len - 1]",
"n",
"geta[len - 1]",
"geta",
"len - 1",
"len",
"1",
"String result = \"\";",
"result",
"\"\"",
"while(true){\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"true",
"{\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"result = (char)(n % 26 + 'a') + result",
"result",
"(char)(n % 26 + 'a') + result",
"(char)(n % 26 + 'a')",
"n % 26",
"n",
"26",
"'a'",
"result",
"n /= 26",
"n",
"26",
"if(n == 0){\n\t\t\t\tbreak;\n\t\t\t}",
"n == 0",
"n",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"while(result.length() < len){\n\t\t\tresult = \"a\" + result;\n\t\t}",
"result.length() < len",
"result.length()",
"result.length",
"result",
"len",
"{\n\t\t\tresult = \"a\" + result;\n\t\t}",
"result = \"a\" + result",
"result",
"\"a\" + result",
"\"a\"",
"result",
"System.out.println(result)",
"System.out.println",
"System.out",
"System",
"System.out",
"result",
"String[] args",
"args",
"static String solve(long num){\n\t\tif(num <= 26){\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}\n\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(len);\n\n\t\tString result = (char)(num / (geta[len - 1] - 1) + 'a')+\"\";// + solve(num % geta[len - 1] - 1);\n\n\t\treturn result;\n\t}",
"solve",
"{\n\t\tif(num <= 26){\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}\n\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(len);\n\n\t\tString result = (char)(num / (geta[len - 1] - 1) + 'a')+\"\";// + solve(num % geta[len - 1] - 1);\n\n\t\treturn result;\n\t}",
"if(num <= 26){\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}",
"num <= 26",
"num",
"26",
"{\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}",
"return (char)(num + 'a' - 1) + \"\";",
"(char)(num + 'a' - 1) + \"\"",
"(char)(num + 'a' - 1)",
"num + 'a'",
"num",
"'a'",
"1",
"\"\"",
"int len = 0;",
"len",
"0",
"for(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i = geta.length - 1;",
"int i = geta.length - 1;",
"i",
"geta.length - 1",
"geta.length",
"geta",
"geta.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"if(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}",
"num >= geta[i]",
"num",
"geta[i]",
"geta",
"i",
"{\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}",
"len = i + 1",
"len",
"i + 1",
"i",
"1",
"break;",
"System.out.println(len)",
"System.out.println",
"System.out",
"System",
"System.out",
"len",
"String result = (char)(num / (geta[len - 1] - 1) + 'a')+\"\";",
"result",
"(char)(num / (geta[len - 1] - 1) + 'a')+\"\"",
"(char)(num / (geta[len - 1] - 1) + 'a')",
"num / (geta[len - 1] - 1)",
"num",
"(geta[len - 1] - 1)",
"geta[len - 1]",
"geta",
"len - 1",
"len",
"1",
"1",
"'a'",
"\"\"",
"return result;",
"result",
"long num",
"num",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tgeta = new long[14];\n\t\tfor(int i = 0; i < geta.length; i++){\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tn -= geta[len - 1];\n\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\twhile(result.length() < len){\n\t\t\tresult = \"a\" + result;\n\t\t}\n\t\tSystem.out.println(result);\n//\t\tgeta = new long[14];\n//\t\tfor(int i = 0; i < geta.length; i++){\n//\t\t\tgeta[i] = (long)Math.pow(26, i);\n//\t\t\tif(i >= 1){\n//\t\t\t\tgeta[i] += geta[i - 1];\n//\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n//\t\t}\n//\n//\n//\t\tSystem.out.println(solve(n));\n\n//\t\tif(n == 0){\n//\t\t\tSystem.out.println('a');\n//\t\t\treturn;\n//\t\t}\n//\n//\t\tString name = \"\";\n//\t\twhile(n > 0){\n//\t\t\tchar tmp = (char)(n%26 + 'a' - 1);\n//\t\t\tif(n%26 == 0){\n//\t\t\t\ttmp = 'z';\n//\t\t\t}\n//\t\t\tname = tmp + name;\n//\n//\t\t\tn /= 26;\n//\t\t}\n//\n//\t\tSystem.out.println(name);\n\t}\n\n\tstatic long[] geta;\n\tstatic String solve(long num){\n\t\tif(num <= 26){\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}\n\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(len);\n\n\t\tString result = (char)(num / (geta[len - 1] - 1) + 'a')+\"\";// + solve(num % geta[len - 1] - 1);\n\n\t\treturn result;\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tgeta = new long[14];\n\t\tfor(int i = 0; i < geta.length; i++){\n\t\t\tgeta[i] = (long)Math.pow(26, i);\n\t\t\tif(i >= 1){\n\t\t\t\tgeta[i] += geta[i - 1];\n\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n\t\t}\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(n >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tn -= geta[len - 1];\n\n\t\tString result = \"\";\n\t\twhile(true){\n\t\t\tresult = (char)(n % 26 + 'a') + result;\n\t\t\tn /= 26;\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\twhile(result.length() < len){\n\t\t\tresult = \"a\" + result;\n\t\t}\n\t\tSystem.out.println(result);\n//\t\tgeta = new long[14];\n//\t\tfor(int i = 0; i < geta.length; i++){\n//\t\t\tgeta[i] = (long)Math.pow(26, i);\n//\t\t\tif(i >= 1){\n//\t\t\t\tgeta[i] += geta[i - 1];\n//\t\t\t}\n//\t\t\tSystem.out.println(geta[i]);\n//\t\t}\n//\n//\n//\t\tSystem.out.println(solve(n));\n\n//\t\tif(n == 0){\n//\t\t\tSystem.out.println('a');\n//\t\t\treturn;\n//\t\t}\n//\n//\t\tString name = \"\";\n//\t\twhile(n > 0){\n//\t\t\tchar tmp = (char)(n%26 + 'a' - 1);\n//\t\t\tif(n%26 == 0){\n//\t\t\t\ttmp = 'z';\n//\t\t\t}\n//\t\t\tname = tmp + name;\n//\n//\t\t\tn /= 26;\n//\t\t}\n//\n//\t\tSystem.out.println(name);\n\t}\n\n\tstatic long[] geta;\n\tstatic String solve(long num){\n\t\tif(num <= 26){\n\t\t\treturn (char)(num + 'a' - 1) + \"\";\n\t\t}\n\n\t\tint len = 0;\n\t\tfor(int i = geta.length - 1; i >= 0; i--){\n\t\t\tif(num >= geta[i]){\n\t\t\t\tlen = i + 1;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(len);\n\n\t\tString result = (char)(num / (geta[len - 1] - 1) + 'a')+\"\";// + solve(num % geta[len - 1] - 1);\n\n\t\treturn result;\n\t}\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
geta = new long[14];
for(int i = 0; i < geta.length; i++){
geta[i] = (long)Math.pow(26, i);
if(i >= 1){
geta[i] += geta[i - 1];
}
// System.out.println(geta[i]);
}
int len = 0;
for(int i = geta.length - 1; i >= 0; i--){
if(n >= geta[i]){
len = i + 1;
break;
}
}
n -= geta[len - 1];
String result = "";
while(true){
result = (char)(n % 26 + 'a') + result;
n /= 26;
if(n == 0){
break;
}
}
while(result.length() < len){
result = "a" + result;
}
System.out.println(result);
// geta = new long[14];
// for(int i = 0; i < geta.length; i++){
// geta[i] = (long)Math.pow(26, i);
// if(i >= 1){
// geta[i] += geta[i - 1];
// }
// System.out.println(geta[i]);
// }
//
//
// System.out.println(solve(n));
// if(n == 0){
// System.out.println('a');
// return;
// }
//
// String name = "";
// while(n > 0){
// char tmp = (char)(n%26 + 'a' - 1);
// if(n%26 == 0){
// tmp = 'z';
// }
// name = tmp + name;
//
// n /= 26;
// }
//
// System.out.println(name);
}
static long[] geta;
static String solve(long num){
if(num <= 26){
return (char)(num + 'a' - 1) + "";
}
int len = 0;
for(int i = geta.length - 1; i >= 0; i--){
if(num >= geta[i]){
len = i + 1;
break;
}
}
System.out.println(len);
String result = (char)(num / (geta[len - 1] - 1) + 'a')+"";// + solve(num % geta[len - 1] - 1);
return result;
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
40,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
0,
13,
18,
13,
13,
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
],
[
88,
5
],
[
88,
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
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
29,
30
],
[
29,
31
],
[
24,
32
],
[
32,
33
],
[
33,
34
],
[
24,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
53,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
53,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
63,
65
],
[
53,
66
],
[
66,
67
],
[
66,
68
],
[
8,
69
],
[
69,
70
],
[
69,
71
],
[
8,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
8,
79
],
[
79,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
79,
84
],
[
6,
85
],
[
85,
86
],
[
0,
87
],
[
87,
88
],
[
87,
89
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n String[] list = new String[26];\n char tmp = 'a';\n for (int i = 0; i < 26; i++) {\n list[i] = String.valueOf(tmp++);\n }\n\n String ans = \"\";\n while (n > 0) {\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }\n\n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n String[] list = new String[26];\n char tmp = 'a';\n for (int i = 0; i < 26; i++) {\n list[i] = String.valueOf(tmp++);\n }\n\n String ans = \"\";\n while (n > 0) {\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }\n\n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\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[] list = new String[26];\n char tmp = 'a';\n for (int i = 0; i < 26; i++) {\n list[i] = String.valueOf(tmp++);\n }\n\n String ans = \"\";\n while (n > 0) {\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }\n\n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }",
"main",
"{\n\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n String[] list = new String[26];\n char tmp = 'a';\n for (int i = 0; i < 26; i++) {\n list[i] = String.valueOf(tmp++);\n }\n\n String ans = \"\";\n while (n > 0) {\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }\n\n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String[] list = new String[26];",
"list",
"new String[26]",
"26",
"char tmp = 'a';",
"tmp",
"'a'",
"for (int i = 0; i < 26; i++) {\n list[i] = String.valueOf(tmp++);\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n list[i] = String.valueOf(tmp++);\n }",
"{\n list[i] = String.valueOf(tmp++);\n }",
"list[i] = String.valueOf(tmp++)",
"list[i]",
"list",
"i",
"String.valueOf(tmp++)",
"String.valueOf",
"String",
"tmp++",
"tmp",
"String ans = \"\";",
"ans",
"\"\"",
"while (n > 0) {\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }",
"n--",
"n",
"int mod = (int) (n % 26);",
"mod",
"(int) (n % 26)",
"n",
"26",
"ans += list[mod]",
"ans",
"list[mod]",
"list",
"mod",
"n /= 26",
"n",
"26",
"StringBuffer str = new StringBuffer(ans);",
"str",
"new StringBuffer(ans)",
"String s = str.reverse().toString();",
"s",
"str.reverse().toString()",
"str.reverse().toString",
"str.reverse()",
"str.reverse",
"str",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n String[] list = new String[26];\n char tmp = 'a';\n for (int i = 0; i < 26; i++) {\n list[i] = String.valueOf(tmp++);\n }\n\n String ans = \"\";\n while (n > 0) {\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }\n\n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n\n String[] list = new String[26];\n char tmp = 'a';\n for (int i = 0; i < 26; i++) {\n list[i] = String.valueOf(tmp++);\n }\n\n String ans = \"\";\n while (n > 0) {\n n--;\n int mod = (int) (n % 26);\n ans += list[mod];\n n /= 26;\n }\n\n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\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();
String[] list = new String[26];
char tmp = 'a';
for (int i = 0; i < 26; i++) {
list[i] = String.valueOf(tmp++);
}
String ans = "";
while (n > 0) {
n--;
int mod = (int) (n % 26);
ans += list[mod];
n /= 26;
}
StringBuffer str = new StringBuffer(ans);
String s = str.reverse().toString();
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,
6,
13,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
41,
13,
12,
13,
30,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
13,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
17,
30,
0,
13,
17,
14,
2,
2,
13,
13,
13,
30,
0,
13,
13,
40,
13,
3,
0,
13,
2,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
13,
17,
13,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
13,
20,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
13,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
29,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
42,
2,
13,
17,
30,
41,
13,
2,
13,
13,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
0,
13,
8,
4,
18,
13,
18,
13,
13,
20,
0,
13,
20,
41,
13,
4,
18,
13,
4,
13,
4,
18,
13,
14,
40,
4,
18,
13,
4,
13,
2,
2,
4,
18,
13,
13,
17,
12,
13,
30,
4,
18,
20,
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,
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,
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,
20,
13,
41,
13,
4,
13,
41,
13,
17,
42,
2,
13,
13,
30,
14,
40,
4,
13,
13,
0,
18,
13,
40,
13,
13,
0,
13,
4,
13,
29,
8,
2,
13,
13,
13,
4,
18,
13,
13,
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,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
4,
18,
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,
13,
29,
13,
23,
13,
23,
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,
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,
13,
29,
13,
23,
13,
23,
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,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13,
6,
13,
41,
13,
41,
13,
12,
13,
30,
29,
13,
12,
13,
30,
29,
13,
12,
13,
30,
0,
18,
36,
13,
13,
0,
18,
36,
13,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
2,
13,
17,
13,
12,
13,
30,
29,
2,
2,
4,
18,
13,
17,
8,
2,
13,
17,
17,
4,
18,
13,
12,
13,
30,
14,
2,
36,
13,
29,
17,
14,
2,
13,
13,
30,
41,
13,
13,
14,
8,
2,
13,
17,
40,
4,
18,
13,
18,
13,
13,
2,
18,
13,
13,
17,
29,
17,
14,
8,
2,
13,
17,
40,
4,
18,
13,
18,
13,
13,
2,
18,
13,
13,
17,
29,
17,
29,
17,
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
],
[
19,
20
],
[
19,
21
],
[
0,
22
],
[
22,
23
],
[
22,
24
],
[
0,
25
],
[
25,
26
],
[
25,
27
],
[
0,
28
],
[
28,
29
],
[
28,
30
],
[
0,
31
],
[
918,
32
],
[
918,
33
],
[
33,
34
],
[
33,
35
],
[
918,
36
],
[
36,
37
],
[
36,
38
],
[
918,
39
],
[
39,
40
],
[
918,
41
],
[
41,
42
],
[
918,
43
],
[
43,
44
],
[
43,
45
],
[
918,
46
],
[
46,
47
],
[
46,
48
],
[
918,
49
],
[
49,
50
],
[
49,
51
],
[
918,
52
],
[
52,
53
],
[
52,
54
],
[
918,
56
],
[
56,
57
],
[
56,
58
],
[
918,
59
],
[
59,
60
],
[
59,
61
],
[
918,
62
],
[
62,
63
],
[
918,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
70,
78
],
[
78,
79
],
[
79,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
918,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
87,
92
],
[
92,
93
],
[
92,
94
],
[
87,
95
],
[
95,
96
],
[
95,
97
],
[
87,
98
],
[
98,
99
],
[
98,
100
],
[
87,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
104,
106
],
[
103,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
108,
112
],
[
107,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
113,
117
],
[
117,
118
],
[
107,
119
],
[
87,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
122,
124
],
[
87,
125
],
[
125,
126
],
[
125,
127
],
[
87,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
134,
135
],
[
134,
136
],
[
129,
137
],
[
137,
138
],
[
138,
139
],
[
129,
140
],
[
141,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
146,
146
],
[
146,
147
],
[
146,
148
],
[
146,
149
],
[
142,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
152,
154
],
[
141,
155
],
[
155,
156
],
[
155,
157
],
[
87,
158
],
[
158,
159
],
[
159,
160
],
[
158,
161
],
[
85,
162
],
[
162,
163
],
[
918,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
170,
171
],
[
170,
172
],
[
166,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
180,
182
],
[
179,
183
],
[
178,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
177,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
177,
199
],
[
199,
200
],
[
199,
201
],
[
166,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
164,
206
],
[
206,
207
],
[
164,
208
],
[
208,
209
],
[
918,
210
],
[
210,
211
],
[
210,
212
],
[
212,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
220,
222
],
[
217,
223
],
[
223,
224
],
[
223,
225
],
[
217,
226
],
[
226,
227
],
[
226,
228
],
[
212,
229
],
[
229,
230
],
[
210,
231
],
[
231,
232
],
[
210,
233
],
[
233,
234
],
[
918,
235
],
[
235,
236
],
[
235,
237
],
[
237,
238
],
[
238,
239
],
[
238,
240
],
[
240,
241
],
[
241,
242
],
[
242,
243
],
[
240,
244
],
[
244,
245
],
[
244,
246
],
[
240,
247
],
[
237,
248
],
[
248,
249
],
[
248,
250
],
[
237,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
237,
256
],
[
256,
257
],
[
237,
258
],
[
258,
259
],
[
259,
260
],
[
237,
261
],
[
261,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
261,
266
],
[
266,
267
],
[
266,
268
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
269,
273
],
[
268,
274
],
[
918,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
278,
279
],
[
279,
280
],
[
275,
281
],
[
281,
282
],
[
918,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
286,
291
],
[
291,
292
],
[
285,
293
],
[
293,
294
],
[
294,
295
],
[
294,
296
],
[
293,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
301,
307
],
[
307,
308
],
[
308,
309
],
[
308,
310
],
[
310,
311
],
[
311,
312
],
[
310,
313
],
[
297,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
314,
318
],
[
318,
319
],
[
319,
320
],
[
285,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
918,
326
],
[
326,
327
],
[
326,
328
],
[
328,
329
],
[
329,
330
],
[
330,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
331,
335
],
[
335,
336
],
[
335,
337
],
[
326,
338
],
[
338,
339
],
[
918,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
342,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
348,
349
],
[
348,
350
],
[
350,
351
],
[
347,
352
],
[
352,
353
],
[
346,
354
],
[
354,
355
],
[
354,
356
],
[
342,
357
],
[
357,
358
],
[
918,
359
],
[
359,
360
],
[
359,
361
],
[
361,
362
],
[
362,
363
],
[
363,
364
],
[
364,
365
],
[
363,
366
],
[
366,
367
],
[
918,
368
],
[
368,
369
],
[
368,
370
],
[
370,
371
],
[
371,
372
],
[
372,
373
],
[
918,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
377,
379
],
[
379,
380
],
[
376,
381
],
[
381,
382
],
[
381,
383
],
[
376,
384
],
[
384,
385
],
[
385,
386
],
[
386,
387
],
[
386,
388
],
[
384,
389
],
[
389,
390
],
[
390,
391
],
[
391,
392
],
[
390,
393
],
[
389,
394
],
[
394,
395
],
[
394,
396
],
[
396,
397
],
[
376,
398
],
[
398,
399
],
[
399,
400
],
[
400,
401
],
[
918,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
405,
406
],
[
405,
407
],
[
404,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
404,
413
],
[
413,
414
],
[
413,
415
],
[
404,
416
],
[
416,
417
],
[
417,
418
],
[
417,
419
],
[
416,
420
],
[
420,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
421,
426
],
[
426,
427
],
[
427,
428
],
[
427,
429
],
[
429,
430
],
[
426,
431
],
[
420,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
404,
436
],
[
436,
437
],
[
437,
438
],
[
438,
439
],
[
438,
440
],
[
437,
441
],
[
437,
442
],
[
442,
443
],
[
443,
444
],
[
442,
445
],
[
442,
446
],
[
402,
447
],
[
447,
448
],
[
918,
449
],
[
449,
450
],
[
449,
451
],
[
451,
452
],
[
452,
453
],
[
452,
454
],
[
451,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
456,
461
],
[
461,
462
],
[
461,
463
],
[
456,
464
],
[
464,
465
],
[
465,
466
],
[
456,
467
],
[
467,
468
],
[
468,
469
],
[
469,
470
],
[
469,
471
],
[
468,
472
],
[
472,
473
],
[
472,
474
],
[
451,
475
],
[
475,
476
],
[
449,
477
],
[
477,
478
],
[
449,
479
],
[
479,
480
],
[
918,
481
],
[
481,
482
],
[
481,
483
],
[
483,
484
],
[
484,
485
],
[
484,
486
],
[
483,
488
],
[
488,
489
],
[
489,
490
],
[
490,
491
],
[
490,
492
],
[
488,
493
],
[
493,
494
],
[
493,
495
],
[
488,
496
],
[
496,
497
],
[
497,
498
],
[
488,
499
],
[
499,
500
],
[
500,
501
],
[
501,
502
],
[
501,
503
],
[
500,
504
],
[
504,
505
],
[
483,
506
],
[
506,
507
],
[
481,
508
],
[
508,
509
],
[
918,
510
],
[
510,
511
],
[
510,
512
],
[
512,
513
],
[
513,
514
],
[
513,
515
],
[
512,
516
],
[
516,
517
],
[
517,
518
],
[
518,
519
],
[
518,
520
],
[
516,
521
],
[
521,
522
],
[
521,
523
],
[
516,
524
],
[
524,
525
],
[
525,
526
],
[
516,
527
],
[
527,
528
],
[
528,
529
],
[
529,
530
],
[
528,
531
],
[
531,
532
],
[
512,
533
],
[
533,
534
],
[
510,
535
],
[
535,
536
],
[
918,
537
],
[
537,
538
],
[
537,
539
],
[
539,
540
],
[
540,
541
],
[
540,
542
],
[
539,
544
],
[
544,
545
],
[
545,
546
],
[
546,
547
],
[
546,
548
],
[
544,
549
],
[
549,
550
],
[
549,
551
],
[
544,
552
],
[
552,
553
],
[
553,
554
],
[
544,
555
],
[
555,
556
],
[
556,
557
],
[
557,
558
],
[
557,
559
],
[
556,
560
],
[
560,
561
],
[
560,
562
],
[
539,
563
],
[
563,
564
],
[
537,
565
],
[
565,
566
],
[
537,
567
],
[
567,
568
],
[
918,
569
],
[
569,
570
],
[
569,
571
],
[
571,
572
],
[
572,
573
],
[
572,
574
],
[
571,
575
],
[
575,
576
],
[
571,
577
],
[
577,
578
],
[
577,
579
],
[
571,
580
],
[
580,
581
],
[
581,
582
],
[
582,
583
],
[
583,
584
],
[
583,
585
],
[
585,
586
],
[
582,
587
],
[
587,
588
],
[
581,
589
],
[
589,
590
],
[
590,
591
],
[
591,
592
],
[
592,
593
],
[
592,
594
],
[
591,
595
],
[
595,
596
],
[
595,
597
],
[
590,
598
],
[
598,
599
],
[
598,
600
],
[
571,
601
],
[
601,
602
],
[
602,
603
],
[
602,
604
],
[
601,
605
],
[
605,
606
],
[
606,
607
],
[
606,
608
],
[
605,
609
],
[
609,
610
],
[
609,
611
],
[
611,
612
],
[
571,
613
],
[
613,
614
],
[
613,
615
],
[
615,
616
],
[
616,
617
],
[
617,
618
],
[
618,
619
],
[
618,
620
],
[
617,
621
],
[
621,
622
],
[
621,
623
],
[
616,
624
],
[
624,
625
],
[
625,
626
],
[
625,
627
],
[
627,
628
],
[
628,
629
],
[
628,
630
],
[
627,
631
],
[
631,
632
],
[
631,
633
],
[
616,
634
],
[
634,
635
],
[
635,
636
],
[
636,
637
],
[
636,
638
],
[
638,
639
],
[
636,
640
],
[
615,
641
],
[
641,
642
],
[
641,
643
],
[
643,
644
],
[
918,
645
],
[
645,
646
],
[
645,
647
],
[
647,
648
],
[
648,
649
],
[
648,
650
],
[
647,
652
],
[
652,
653
],
[
653,
654
],
[
654,
655
],
[
654,
656
],
[
652,
657
],
[
657,
658
],
[
657,
659
],
[
652,
660
],
[
660,
661
],
[
661,
662
],
[
652,
663
],
[
663,
664
],
[
664,
665
],
[
665,
666
],
[
665,
667
],
[
664,
668
],
[
668,
669
],
[
647,
670
],
[
670,
671
],
[
645,
672
],
[
672,
673
],
[
918,
674
],
[
674,
675
],
[
674,
676
],
[
676,
677
],
[
677,
678
],
[
677,
679
],
[
676,
681
],
[
681,
682
],
[
682,
683
],
[
683,
684
],
[
683,
685
],
[
681,
686
],
[
686,
687
],
[
686,
688
],
[
681,
689
],
[
689,
690
],
[
690,
691
],
[
681,
692
],
[
692,
693
],
[
693,
694
],
[
694,
695
],
[
694,
696
],
[
693,
697
],
[
697,
698
],
[
697,
699
],
[
676,
700
],
[
700,
701
],
[
674,
702
],
[
702,
703
],
[
674,
704
],
[
704,
705
],
[
918,
706
],
[
706,
707
],
[
706,
708
],
[
708,
709
],
[
709,
710
],
[
709,
711
],
[
708,
712
],
[
712,
713
],
[
708,
714
],
[
714,
715
],
[
714,
716
],
[
708,
717
],
[
717,
718
],
[
718,
719
],
[
719,
720
],
[
720,
721
],
[
720,
722
],
[
722,
723
],
[
719,
724
],
[
724,
725
],
[
718,
726
],
[
726,
727
],
[
727,
728
],
[
728,
729
],
[
729,
730
],
[
729,
731
],
[
728,
732
],
[
732,
733
],
[
732,
734
],
[
727,
735
],
[
735,
736
],
[
735,
737
],
[
708,
738
],
[
738,
739
],
[
739,
740
],
[
739,
741
],
[
738,
742
],
[
742,
743
],
[
743,
744
],
[
743,
745
],
[
742,
746
],
[
746,
747
],
[
746,
748
],
[
748,
749
],
[
708,
750
],
[
750,
751
],
[
750,
752
],
[
752,
753
],
[
753,
754
],
[
754,
755
],
[
755,
756
],
[
755,
757
],
[
754,
758
],
[
758,
759
],
[
758,
760
],
[
753,
761
],
[
761,
762
],
[
762,
763
],
[
762,
764
],
[
764,
765
],
[
765,
766
],
[
765,
767
],
[
764,
768
],
[
768,
769
],
[
768,
770
],
[
753,
771
],
[
771,
772
],
[
772,
773
],
[
773,
774
],
[
773,
775
],
[
775,
776
],
[
773,
777
],
[
752,
778
],
[
778,
779
],
[
778,
780
],
[
780,
781
],
[
918,
782
],
[
782,
783
],
[
782,
784
],
[
784,
785
],
[
785,
786
],
[
786,
787
],
[
787,
788
],
[
787,
789
],
[
785,
790
],
[
790,
791
],
[
791,
792
],
[
790,
793
],
[
782,
794
],
[
794,
795
],
[
918,
796
],
[
796,
797
],
[
796,
798
],
[
798,
799
],
[
796,
800
],
[
800,
801
],
[
796,
802
],
[
802,
803
],
[
802,
804
],
[
804,
805
],
[
805,
806
],
[
796,
807
],
[
807,
808
],
[
807,
809
],
[
809,
810
],
[
810,
811
],
[
796,
812
],
[
812,
813
],
[
812,
814
],
[
814,
815
],
[
815,
816
],
[
816,
817
],
[
816,
818
],
[
815,
819
],
[
814,
820
],
[
820,
821
],
[
821,
822
],
[
821,
823
],
[
820,
824
],
[
812,
825
],
[
825,
826
],
[
812,
827
],
[
827,
828
],
[
796,
829
],
[
829,
830
],
[
829,
831
],
[
831,
832
],
[
832,
833
],
[
834,
834
],
[
834,
835
],
[
834,
836
],
[
834,
837
],
[
796,
838
],
[
838,
839
],
[
838,
840
],
[
840,
841
],
[
841,
842
],
[
842,
843
],
[
843,
844
],
[
844,
845
],
[
845,
846
],
[
843,
847
],
[
842,
848
],
[
848,
849
],
[
849,
850
],
[
849,
851
],
[
848,
852
],
[
848,
853
],
[
853,
854
],
[
854,
855
],
[
796,
856
],
[
856,
857
],
[
856,
858
],
[
858,
859
],
[
859,
860
],
[
860,
861
],
[
860,
862
],
[
859,
863
],
[
863,
864
],
[
858,
865
],
[
865,
866
],
[
866,
867
],
[
866,
868
],
[
865,
869
],
[
869,
870
],
[
870,
871
],
[
870,
872
],
[
869,
873
],
[
873,
874
],
[
874,
875
],
[
875,
876
],
[
875,
877
],
[
874,
878
],
[
878,
879
],
[
879,
880
],
[
880,
881
],
[
879,
882
],
[
882,
883
],
[
882,
884
],
[
874,
885
],
[
885,
886
],
[
886,
887
],
[
886,
888
],
[
885,
889
],
[
873,
890
],
[
890,
891
],
[
869,
892
],
[
892,
893
],
[
893,
894
],
[
894,
895
],
[
894,
896
],
[
893,
897
],
[
897,
898
],
[
898,
899
],
[
899,
900
],
[
898,
901
],
[
901,
902
],
[
901,
903
],
[
893,
904
],
[
904,
905
],
[
905,
906
],
[
905,
907
],
[
904,
908
],
[
892,
909
],
[
909,
910
],
[
869,
911
],
[
911,
912
],
[
858,
913
],
[
913,
914
],
[
856,
915
],
[
915,
916
],
[
0,
917
],
[
917,
918
],
[
917,
919
]
]
| [
"import java.io.ByteArrayInputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.InputMismatchException;\nimport java.util.List;\nimport java.util.Map;\n\npublic class Main {\n\n\tprivate static final String NO = \"NO\";\n\tprivate static final String YES = \"YES\";\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tprivate static final long MOD = 1000000007;\n\tprivate static final long inf = 100000000000L;\n\n\tvoid solve() {\n\t\tint T = 1;\n\t\tfor (int i = 0; i < T; i++)\n\t\t\tsolve(i);\n\t}\n\n\tvoid solve(int T) {\n\t\tlong n = nl();\n\t\tlong sum = 0;\n\t\tlong p = 1;\n\t\tint cnt = 1;\n\t\twhile (true) {\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}\n\t\tn-=sum+1;\n\t\tchar ans[] = new char[cnt];\n\t\tfor (int i=0; i<cnt; i++) {\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tout.println(new String(ans));\n\t}\n\n\t// a^b\n\tlong power(long a, long b) {\n\t\tlong x = 1, y = a;\n\t\twhile (b > 0) {\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}\n\t\treturn x % MOD;\n\t}\n\n\tprivate long gcd(long a, long b) {\n\t\twhile (a != 0) {\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}\n\t\treturn b;\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\tprivate boolean vis[];\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n) {\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate List<Integer> na2(int n) {\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta.add(ni());\n\t\treturn a;\n\t}\n\n\tprivate int[][] na(int n, int m) {\n\t\tint[][] a = new int[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = na(m);\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long[] nl(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n\n\tprivate long[][] nl(int n, int m) {\n\t\tlong[][] a = new long[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl(m);\n\t\treturn a;\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic class Pair<K, V> {\n\n\t\t/**\n\t\t * Key of this <code>Pair</code>.\n\t\t */\n\t\tprivate K key;\n\n\t\t/**\n\t\t * Gets the key for this pair.\n\t\t * \n\t\t * @return key for this pair\n\t\t */\n\t\tpublic K getKey() {\n\t\t\treturn key;\n\t\t}\n\n\t\t/**\n\t\t * Value of this this <code>Pair</code>.\n\t\t */\n\t\tprivate V value;\n\n\t\t/**\n\t\t * Gets the value for this pair.\n\t\t * \n\t\t * @return value for this pair\n\t\t */\n\t\tpublic V getValue() {\n\t\t\treturn value;\n\t\t}\n\n\t\t/**\n\t\t * Creates a new pair\n\t\t * \n\t\t * @param key The key for this pair\n\t\t * @param value The value to use for this pair\n\t\t */\n\t\tpublic Pair(K key, V value) {\n\t\t\tthis.key = key;\n\t\t\tthis.value = value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * <code>String</code> representation of this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The default name/value delimiter '=' is always used.\n\t\t * </p>\n\t\t *\n\t\t * @return <code>String</code> representation of this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic String toString() {\n\t\t\treturn key + \"=\" + value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Generate a hash code for this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The hash code is calculated using both the name and the value of the\n\t\t * <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * @return hash code for this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic int hashCode() {\n\t\t\t// name's hashCode is multiplied by an arbitrary prime number (13)\n\t\t\t// in order to make sure there is a difference in the hashCode between\n\t\t\t// these two parameters:\n\t\t\t// name: a value: aa\n\t\t\t// name: aa value: a\n\t\t\treturn key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Test this <code>Pair</code> for equality with another <code>Object</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * If the <code>Object</code> to be tested is not a <code>Pair</code> or is\n\t\t * <code>null</code>, then this method returns <code>false</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * Two <code>Pair</code>s are considered equal if and only if both the names and\n\t\t * values are equal.\n\t\t * </p>\n\t\t *\n\t\t * @param o the <code>Object</code> to test for equality with this\n\t\t * <code>Pair</code>\n\t\t * @return <code>true</code> if the given <code>Object</code> is equal to this\n\t\t * <code>Pair</code> else <code>false</code>\n\t\t */\n\t\t@Override\n\t\tpublic boolean equals(Object o) {\n\t\t\tif (this == o)\n\t\t\t\treturn true;\n\t\t\tif (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n}",
"import java.io.ByteArrayInputStream;",
"ByteArrayInputStream",
"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.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.InputMismatchException;",
"InputMismatchException",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"public class Main {\n\n\tprivate static final String NO = \"NO\";\n\tprivate static final String YES = \"YES\";\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tprivate static final long MOD = 1000000007;\n\tprivate static final long inf = 100000000000L;\n\n\tvoid solve() {\n\t\tint T = 1;\n\t\tfor (int i = 0; i < T; i++)\n\t\t\tsolve(i);\n\t}\n\n\tvoid solve(int T) {\n\t\tlong n = nl();\n\t\tlong sum = 0;\n\t\tlong p = 1;\n\t\tint cnt = 1;\n\t\twhile (true) {\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}\n\t\tn-=sum+1;\n\t\tchar ans[] = new char[cnt];\n\t\tfor (int i=0; i<cnt; i++) {\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tout.println(new String(ans));\n\t}\n\n\t// a^b\n\tlong power(long a, long b) {\n\t\tlong x = 1, y = a;\n\t\twhile (b > 0) {\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}\n\t\treturn x % MOD;\n\t}\n\n\tprivate long gcd(long a, long b) {\n\t\twhile (a != 0) {\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}\n\t\treturn b;\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\tprivate boolean vis[];\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n) {\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate List<Integer> na2(int n) {\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta.add(ni());\n\t\treturn a;\n\t}\n\n\tprivate int[][] na(int n, int m) {\n\t\tint[][] a = new int[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = na(m);\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long[] nl(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n\n\tprivate long[][] nl(int n, int m) {\n\t\tlong[][] a = new long[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl(m);\n\t\treturn a;\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic class Pair<K, V> {\n\n\t\t/**\n\t\t * Key of this <code>Pair</code>.\n\t\t */\n\t\tprivate K key;\n\n\t\t/**\n\t\t * Gets the key for this pair.\n\t\t * \n\t\t * @return key for this pair\n\t\t */\n\t\tpublic K getKey() {\n\t\t\treturn key;\n\t\t}\n\n\t\t/**\n\t\t * Value of this this <code>Pair</code>.\n\t\t */\n\t\tprivate V value;\n\n\t\t/**\n\t\t * Gets the value for this pair.\n\t\t * \n\t\t * @return value for this pair\n\t\t */\n\t\tpublic V getValue() {\n\t\t\treturn value;\n\t\t}\n\n\t\t/**\n\t\t * Creates a new pair\n\t\t * \n\t\t * @param key The key for this pair\n\t\t * @param value The value to use for this pair\n\t\t */\n\t\tpublic Pair(K key, V value) {\n\t\t\tthis.key = key;\n\t\t\tthis.value = value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * <code>String</code> representation of this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The default name/value delimiter '=' is always used.\n\t\t * </p>\n\t\t *\n\t\t * @return <code>String</code> representation of this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic String toString() {\n\t\t\treturn key + \"=\" + value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Generate a hash code for this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The hash code is calculated using both the name and the value of the\n\t\t * <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * @return hash code for this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic int hashCode() {\n\t\t\t// name's hashCode is multiplied by an arbitrary prime number (13)\n\t\t\t// in order to make sure there is a difference in the hashCode between\n\t\t\t// these two parameters:\n\t\t\t// name: a value: aa\n\t\t\t// name: aa value: a\n\t\t\treturn key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Test this <code>Pair</code> for equality with another <code>Object</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * If the <code>Object</code> to be tested is not a <code>Pair</code> or is\n\t\t * <code>null</code>, then this method returns <code>false</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * Two <code>Pair</code>s are considered equal if and only if both the names and\n\t\t * values are equal.\n\t\t * </p>\n\t\t *\n\t\t * @param o the <code>Object</code> to test for equality with this\n\t\t * <code>Pair</code>\n\t\t * @return <code>true</code> if the given <code>Object</code> is equal to this\n\t\t * <code>Pair</code> else <code>false</code>\n\t\t */\n\t\t@Override\n\t\tpublic boolean equals(Object o) {\n\t\t\tif (this == o)\n\t\t\t\treturn true;\n\t\t\tif (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n}",
"Main",
"private static final String NO = \"NO\";",
"NO",
"\"NO\"",
"private static final String YES = \"YES\";",
"YES",
"\"YES\"",
"InputStream is;",
"is",
"PrintWriter out;",
"out",
"String INPUT = \"\";",
"INPUT",
"\"\"",
"private static final long MOD = 1000000007;",
"MOD",
"1000000007",
"private static final long inf = 100000000000L;",
"inf",
"100000000000L",
"private byte[] inbuf = new byte[1024];",
"inbuf",
"new byte[1024]",
"1024",
"public int lenbuf = 0",
"lenbuf",
"0",
"ptrbuf = 0;",
"ptrbuf",
"0",
"private boolean vis[];",
"vis",
"void solve() {\n\t\tint T = 1;\n\t\tfor (int i = 0; i < T; i++)\n\t\t\tsolve(i);\n\t}",
"solve",
"{\n\t\tint T = 1;\n\t\tfor (int i = 0; i < T; i++)\n\t\t\tsolve(i);\n\t}",
"int T = 1;",
"T",
"1",
"for (int i = 0; i < T; i++)\n\t\t\tsolve(i);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < T",
"i",
"T",
"i++",
"i++",
"i",
"solve(i);",
"solve(i)",
"solve",
"i",
"void solve(int T) {\n\t\tlong n = nl();\n\t\tlong sum = 0;\n\t\tlong p = 1;\n\t\tint cnt = 1;\n\t\twhile (true) {\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}\n\t\tn-=sum+1;\n\t\tchar ans[] = new char[cnt];\n\t\tfor (int i=0; i<cnt; i++) {\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tout.println(new String(ans));\n\t}",
"solve",
"{\n\t\tlong n = nl();\n\t\tlong sum = 0;\n\t\tlong p = 1;\n\t\tint cnt = 1;\n\t\twhile (true) {\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}\n\t\tn-=sum+1;\n\t\tchar ans[] = new char[cnt];\n\t\tfor (int i=0; i<cnt; i++) {\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tout.println(new String(ans));\n\t}",
"long n = nl();",
"n",
"nl()",
"nl",
"long sum = 0;",
"sum",
"0",
"long p = 1;",
"p",
"1",
"int cnt = 1;",
"cnt",
"1",
"while (true) {\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}",
"true",
"{\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}",
"p *= 26",
"p",
"26",
"if (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;",
"sum + p < n",
"sum + p",
"sum",
"p",
"n",
"{\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}",
"sum += p",
"sum",
"p",
"cnt++",
"cnt",
"break;",
"n-=sum+1",
"n",
"sum+1",
"sum",
"1",
"char ans[] = new char[cnt];",
"ans",
"new char[cnt]",
"cnt",
"for (int i=0; i<cnt; i++) {\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<cnt",
"i",
"cnt",
"i++",
"i++",
"i",
"{\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}",
"{\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}",
"ans[cnt-1-i]=(char) ('a'+n%26)",
"ans[cnt-1-i]",
"ans",
"cnt-1-i",
"cnt-1-i",
"cnt",
"1",
"i",
"(char) ('a'+n%26)",
"'a'",
"n%26",
"n",
"26",
"n/=26",
"n",
"26",
"out.println(new String(ans))",
"out.println",
"out",
"new String(ans)",
"int T",
"T",
"// a^b\n\tlong power(long a, long b) {\n\t\tlong x = 1, y = a;\n\t\twhile (b > 0) {\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}\n\t\treturn x % MOD;\n\t}",
"power",
"{\n\t\tlong x = 1, y = a;\n\t\twhile (b > 0) {\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}\n\t\treturn x % MOD;\n\t}",
"long x = 1",
"x",
"1",
"y = a;",
"y",
"a",
"while (b > 0) {\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}",
"b > 0",
"b",
"0",
"{\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}",
"if (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}",
"b % 2 != 0",
"b % 2",
"b",
"2",
"0",
"{\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}",
"x = (x * y) % MOD",
"x",
"(x * y) % MOD",
"(x * y)",
"x",
"y",
"MOD",
"y = (y * y) % MOD",
"y",
"(y * y) % MOD",
"(y * y)",
"y",
"y",
"MOD",
"b /= 2",
"b",
"2",
"return x % MOD;",
"x % MOD",
"x",
"MOD",
"long a",
"a",
"long b",
"b",
"private long gcd(long a, long b) {\n\t\twhile (a != 0) {\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}\n\t\treturn b;\n\t}",
"gcd",
"{\n\t\twhile (a != 0) {\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}\n\t\treturn b;\n\t}",
"while (a != 0) {\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}",
"a != 0",
"a",
"0",
"{\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}",
"long tmp = b % a;",
"tmp",
"b % a",
"b",
"a",
"b = a",
"b",
"a",
"a = tmp",
"a",
"tmp",
"return b;",
"b",
"long a",
"a",
"long b",
"b",
"void run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}",
"run",
"{\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}",
"is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes())",
"is",
"INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes())",
"INPUT.isEmpty()",
"INPUT.isEmpty",
"INPUT",
"System.in",
"System",
"System.in",
"new ByteArrayInputStream(INPUT.getBytes())",
"out = new PrintWriter(System.out)",
"out",
"new PrintWriter(System.out)",
"long s = System.currentTimeMillis();",
"s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"solve()",
"solve",
"out.flush()",
"out.flush",
"out",
"if (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");",
"!INPUT.isEmpty()",
"INPUT.isEmpty()",
"INPUT.isEmpty",
"INPUT",
"tr(System.currentTimeMillis() - s + \"ms\")",
"tr",
"System.currentTimeMillis() - s + \"ms\"",
"System.currentTimeMillis() - s",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"s",
"\"ms\"",
"public static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}",
"main",
"{\n\t\tnew Main().run();\n\t}",
"new Main().run()",
"new Main().run",
"new Main()",
"String[] args",
"args",
"private int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}",
"readByte",
"{\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}",
"if (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();",
"lenbuf == -1",
"lenbuf",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}",
"ptrbuf >= lenbuf",
"ptrbuf",
"lenbuf",
"{\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}",
"ptrbuf = 0",
"ptrbuf",
"0",
"try {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}",
"catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}",
"IOException e",
"{\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t}",
"lenbuf = is.read(inbuf)",
"lenbuf",
"is.read(inbuf)",
"is.read",
"is",
"inbuf",
"if (lenbuf <= 0)\n\t\t\t\treturn -1;",
"lenbuf <= 0",
"lenbuf",
"0",
"return -1;",
"-1",
"1",
"return inbuf[ptrbuf++];",
"inbuf[ptrbuf++]",
"inbuf",
"ptrbuf++",
"ptrbuf",
"private boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}",
"isSpaceChar",
"{\n\t\treturn !(c >= 33 && c <= 126);\n\t}",
"return !(c >= 33 && c <= 126);",
"!(c >= 33 && c <= 126)",
"(c >= 33 && c <= 126)",
"c >= 33",
"c",
"33",
"c <= 126",
"c",
"126",
"int c",
"c",
"private int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}",
"skip",
"{\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}",
"int b;",
"b",
"while ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;",
"(b = readByte()) != -1 && isSpaceChar(b)",
"(b = readByte()) != -1",
"(b = readByte())",
"b",
"readByte()",
"readByte",
"-1",
"1",
"isSpaceChar(b)",
"isSpaceChar",
"b",
"return b;",
"b",
"private double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}",
"nd",
"{\n\t\treturn Double.parseDouble(ns());\n\t}",
"return Double.parseDouble(ns());",
"Double.parseDouble(ns())",
"Double.parseDouble",
"Double",
"ns()",
"ns",
"private char nc() {\n\t\treturn (char) skip();\n\t}",
"nc",
"{\n\t\treturn (char) skip();\n\t}",
"return (char) skip();",
"(char) skip()",
"skip",
"private String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"ns",
"{\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}",
"int b = skip();",
"b",
"skip()",
"skip",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"{ // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\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",
"private char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n) {\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}",
"ns",
"{\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n) {\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}",
"char[] buf = new char[n];",
"buf",
"new char[n]",
"n",
"int b = skip()",
"b",
"skip()",
"skip",
"p = 0;",
"p",
"0",
"while (p < n) {\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}",
"p < n",
"p",
"n",
"{\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}",
"if (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;",
"!(isSpaceChar(b))",
"(isSpaceChar(b))",
"isSpaceChar",
"b",
"buf[p++] = (char) b",
"buf[p++]",
"buf",
"p++",
"p",
"(char) b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return n == p ? buf : Arrays.copyOf(buf, p);",
"n == p ? buf : Arrays.copyOf(buf, p)",
"n == p",
"n",
"p",
"buf",
"Arrays.copyOf(buf, p)",
"Arrays.copyOf",
"Arrays",
"buf",
"p",
"int n",
"n",
"private char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}",
"nm",
"{\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}",
"char[][] map = new char[n][];",
"map",
"new char[n][]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"map[i] = ns(m);",
"map[i] = ns(m)",
"map[i]",
"map",
"i",
"ns(m)",
"ns",
"m",
"return map;",
"map",
"int n",
"n",
"int m",
"m",
"private int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = ni();",
"a[i] = ni()",
"a[i]",
"a",
"i",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"private List<Integer> na2(int n) {\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta.add(ni());\n\t\treturn a;\n\t}",
"na2",
"{\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta.add(ni());\n\t\treturn a;\n\t}",
"List<Integer> a = new ArrayList<Integer>();",
"a",
"new ArrayList<Integer>()",
"for (int i = 0; i < n; i++)\n\t\t\ta.add(ni());",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a.add(ni());",
"a.add(ni())",
"a.add",
"a",
"ni()",
"ni",
"return a;",
"a",
"int n",
"n",
"private int[][] na(int n, int m) {\n\t\tint[][] a = new int[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = na(m);\n\t\treturn a;\n\t}",
"na",
"{\n\t\tint[][] a = new int[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = na(m);\n\t\treturn a;\n\t}",
"int[][] a = new int[n][];",
"a",
"new int[n][]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = na(m);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = na(m);",
"a[i] = na(m)",
"a[i]",
"a",
"i",
"na(m)",
"na",
"m",
"return a;",
"a",
"int n",
"n",
"int m",
"m",
"private int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"ni",
"{\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"int num = 0",
"num",
"0",
"b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;",
"(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 == '-') {\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",
"while (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"true",
"{\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"if (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t}",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private long[] nl(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"nl",
"{\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl();",
"a[i] = nl()",
"a[i]",
"a",
"i",
"nl()",
"nl",
"return a;",
"a",
"int n",
"n",
"private long[][] nl(int n, int m) {\n\t\tlong[][] a = new long[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl(m);\n\t\treturn a;\n\t}",
"nl",
"{\n\t\tlong[][] a = new long[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl(m);\n\t\treturn a;\n\t}",
"long[][] a = new long[n][];",
"a",
"new long[n][]",
"n",
"for (int i = 0; i < n; i++)\n\t\t\ta[i] = nl(m);",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nl(m);",
"a[i] = nl(m)",
"a[i]",
"a",
"i",
"nl(m)",
"nl",
"m",
"return a;",
"a",
"int n",
"n",
"int m",
"m",
"private long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"nl",
"{\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}",
"long num = 0;",
"num",
"0",
"int b;",
"b",
"boolean minus = false;",
"minus",
"false",
"while ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;",
"(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 == '-') {\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",
"while (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"true",
"{\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}",
"if (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}",
"b >= '0' && b <= '9'",
"b >= '0'",
"b",
"'0'",
"b <= '9'",
"b",
"'9'",
"{\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t}",
"num = num * 10 + (b - '0')",
"num",
"num * 10 + (b - '0')",
"num * 10",
"num",
"10",
"(b - '0')",
"b",
"'0'",
"{\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}",
"return minus ? -num : num;",
"minus ? -num : num",
"minus",
"-num",
"num",
"num",
"b = readByte()",
"b",
"readByte()",
"readByte",
"private static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}",
"tr",
"{\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}",
"System.out.println(Arrays.deepToString(o))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.deepToString(o)",
"Arrays.deepToString",
"Arrays",
"o",
"Object... o",
"o",
"public class Pair<K, V> {\n\n\t\t/**\n\t\t * Key of this <code>Pair</code>.\n\t\t */\n\t\tprivate K key;\n\n\t\t/**\n\t\t * Gets the key for this pair.\n\t\t * \n\t\t * @return key for this pair\n\t\t */\n\t\tpublic K getKey() {\n\t\t\treturn key;\n\t\t}\n\n\t\t/**\n\t\t * Value of this this <code>Pair</code>.\n\t\t */\n\t\tprivate V value;\n\n\t\t/**\n\t\t * Gets the value for this pair.\n\t\t * \n\t\t * @return value for this pair\n\t\t */\n\t\tpublic V getValue() {\n\t\t\treturn value;\n\t\t}\n\n\t\t/**\n\t\t * Creates a new pair\n\t\t * \n\t\t * @param key The key for this pair\n\t\t * @param value The value to use for this pair\n\t\t */\n\t\tpublic Pair(K key, V value) {\n\t\t\tthis.key = key;\n\t\t\tthis.value = value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * <code>String</code> representation of this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The default name/value delimiter '=' is always used.\n\t\t * </p>\n\t\t *\n\t\t * @return <code>String</code> representation of this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic String toString() {\n\t\t\treturn key + \"=\" + value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Generate a hash code for this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The hash code is calculated using both the name and the value of the\n\t\t * <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * @return hash code for this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic int hashCode() {\n\t\t\t// name's hashCode is multiplied by an arbitrary prime number (13)\n\t\t\t// in order to make sure there is a difference in the hashCode between\n\t\t\t// these two parameters:\n\t\t\t// name: a value: aa\n\t\t\t// name: aa value: a\n\t\t\treturn key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Test this <code>Pair</code> for equality with another <code>Object</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * If the <code>Object</code> to be tested is not a <code>Pair</code> or is\n\t\t * <code>null</code>, then this method returns <code>false</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * Two <code>Pair</code>s are considered equal if and only if both the names and\n\t\t * values are equal.\n\t\t * </p>\n\t\t *\n\t\t * @param o the <code>Object</code> to test for equality with this\n\t\t * <code>Pair</code>\n\t\t * @return <code>true</code> if the given <code>Object</code> is equal to this\n\t\t * <code>Pair</code> else <code>false</code>\n\t\t */\n\t\t@Override\n\t\tpublic boolean equals(Object o) {\n\t\t\tif (this == o)\n\t\t\t\treturn true;\n\t\t\tif (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}",
"Pair",
"/**\n\t\t * Key of this <code>Pair</code>.\n\t\t */\n\t\tprivate K key;",
"key",
"/**\n\t\t * Value of this this <code>Pair</code>.\n\t\t */\n\t\tprivate V value;",
"value",
"/**\n\t\t * Gets the key for this pair.\n\t\t * \n\t\t * @return key for this pair\n\t\t */\n\t\tpublic K getKey() {\n\t\t\treturn key;\n\t\t}",
"getKey",
"{\n\t\t\treturn key;\n\t\t}",
"return key;",
"key",
"/**\n\t\t * Gets the value for this pair.\n\t\t * \n\t\t * @return value for this pair\n\t\t */\n\t\tpublic V getValue() {\n\t\t\treturn value;\n\t\t}",
"getValue",
"{\n\t\t\treturn value;\n\t\t}",
"return value;",
"value",
"/**\n\t\t * Creates a new pair\n\t\t * \n\t\t * @param key The key for this pair\n\t\t * @param value The value to use for this pair\n\t\t */\n\t\tpublic Pair(K key, V value) {\n\t\t\tthis.key = key;\n\t\t\tthis.value = value;\n\t\t}",
"Pair",
"{\n\t\t\tthis.key = key;\n\t\t\tthis.value = value;\n\t\t}",
"this.key = key",
"this.key",
"this",
"this.key",
"key",
"this.value = value",
"this.value",
"this",
"this.value",
"value",
"K key",
"key",
"V value",
"value",
"/**\n\t\t * <p>\n\t\t * <code>String</code> representation of this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The default name/value delimiter '=' is always used.\n\t\t * </p>\n\t\t *\n\t\t * @return <code>String</code> representation of this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic String toString() {\n\t\t\treturn key + \"=\" + value;\n\t\t}",
"toString",
"{\n\t\t\treturn key + \"=\" + value;\n\t\t}",
"return key + \"=\" + value;",
"key + \"=\" + value",
"key + \"=\" + value",
"key",
"\"=\"",
"value",
"/**\n\t\t * <p>\n\t\t * Generate a hash code for this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The hash code is calculated using both the name and the value of the\n\t\t * <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * @return hash code for this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic int hashCode() {\n\t\t\t// name's hashCode is multiplied by an arbitrary prime number (13)\n\t\t\t// in order to make sure there is a difference in the hashCode between\n\t\t\t// these two parameters:\n\t\t\t// name: a value: aa\n\t\t\t// name: aa value: a\n\t\t\treturn key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n\t\t}",
"hashCode",
"{\n\t\t\t// name's hashCode is multiplied by an arbitrary prime number (13)\n\t\t\t// in order to make sure there is a difference in the hashCode between\n\t\t\t// these two parameters:\n\t\t\t// name: a value: aa\n\t\t\t// name: aa value: a\n\t\t\treturn key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n\t\t}",
"return key.hashCode() * 13 + (value == null ? 0 : value.hashCode());",
"key.hashCode() * 13 + (value == null ? 0 : value.hashCode())",
"key.hashCode() * 13",
"key.hashCode()",
"key.hashCode",
"key",
"13",
"(value == null ? 0 : value.hashCode())",
"value == null",
"value",
"null",
"0",
"value.hashCode()",
"value.hashCode",
"value",
"/**\n\t\t * <p>\n\t\t * Test this <code>Pair</code> for equality with another <code>Object</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * If the <code>Object</code> to be tested is not a <code>Pair</code> or is\n\t\t * <code>null</code>, then this method returns <code>false</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * Two <code>Pair</code>s are considered equal if and only if both the names and\n\t\t * values are equal.\n\t\t * </p>\n\t\t *\n\t\t * @param o the <code>Object</code> to test for equality with this\n\t\t * <code>Pair</code>\n\t\t * @return <code>true</code> if the given <code>Object</code> is equal to this\n\t\t * <code>Pair</code> else <code>false</code>\n\t\t */\n\t\t@Override\n\t\tpublic boolean equals(Object o) {\n\t\t\tif (this == o)\n\t\t\t\treturn true;\n\t\t\tif (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}",
"equals",
"{\n\t\t\tif (this == o)\n\t\t\t\treturn true;\n\t\t\tif (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}",
"if (this == o)\n\t\t\t\treturn true;",
"this == o",
"this",
"o",
"return true;",
"true",
"if (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}",
"o instanceof Pair",
"o",
"Pair",
"{\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}",
"Pair pair = (Pair) o;",
"pair",
"(Pair) o",
"if (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;",
"key != null ? !key.equals(pair.key) : pair.key != null",
"key != null",
"key",
"null",
"!key.equals(pair.key)",
"key.equals(pair.key)",
"key.equals",
"key",
"pair.key",
"pair",
"pair.key",
"pair.key != null",
"pair.key",
"pair",
"pair.key",
"null",
"return false;",
"false",
"if (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;",
"value != null ? !value.equals(pair.value) : pair.value != null",
"value != null",
"value",
"null",
"!value.equals(pair.value)",
"value.equals(pair.value)",
"value.equals",
"value",
"pair.value",
"pair",
"pair.value",
"pair.value != null",
"pair.value",
"pair",
"pair.value",
"null",
"return false;",
"false",
"return true;",
"true",
"return false;",
"false",
"Object o",
"o",
"public class Main {\n\n\tprivate static final String NO = \"NO\";\n\tprivate static final String YES = \"YES\";\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tprivate static final long MOD = 1000000007;\n\tprivate static final long inf = 100000000000L;\n\n\tvoid solve() {\n\t\tint T = 1;\n\t\tfor (int i = 0; i < T; i++)\n\t\t\tsolve(i);\n\t}\n\n\tvoid solve(int T) {\n\t\tlong n = nl();\n\t\tlong sum = 0;\n\t\tlong p = 1;\n\t\tint cnt = 1;\n\t\twhile (true) {\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}\n\t\tn-=sum+1;\n\t\tchar ans[] = new char[cnt];\n\t\tfor (int i=0; i<cnt; i++) {\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tout.println(new String(ans));\n\t}\n\n\t// a^b\n\tlong power(long a, long b) {\n\t\tlong x = 1, y = a;\n\t\twhile (b > 0) {\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}\n\t\treturn x % MOD;\n\t}\n\n\tprivate long gcd(long a, long b) {\n\t\twhile (a != 0) {\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}\n\t\treturn b;\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\tprivate boolean vis[];\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n) {\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate List<Integer> na2(int n) {\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta.add(ni());\n\t\treturn a;\n\t}\n\n\tprivate int[][] na(int n, int m) {\n\t\tint[][] a = new int[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = na(m);\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long[] nl(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n\n\tprivate long[][] nl(int n, int m) {\n\t\tlong[][] a = new long[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl(m);\n\t\treturn a;\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic class Pair<K, V> {\n\n\t\t/**\n\t\t * Key of this <code>Pair</code>.\n\t\t */\n\t\tprivate K key;\n\n\t\t/**\n\t\t * Gets the key for this pair.\n\t\t * \n\t\t * @return key for this pair\n\t\t */\n\t\tpublic K getKey() {\n\t\t\treturn key;\n\t\t}\n\n\t\t/**\n\t\t * Value of this this <code>Pair</code>.\n\t\t */\n\t\tprivate V value;\n\n\t\t/**\n\t\t * Gets the value for this pair.\n\t\t * \n\t\t * @return value for this pair\n\t\t */\n\t\tpublic V getValue() {\n\t\t\treturn value;\n\t\t}\n\n\t\t/**\n\t\t * Creates a new pair\n\t\t * \n\t\t * @param key The key for this pair\n\t\t * @param value The value to use for this pair\n\t\t */\n\t\tpublic Pair(K key, V value) {\n\t\t\tthis.key = key;\n\t\t\tthis.value = value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * <code>String</code> representation of this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The default name/value delimiter '=' is always used.\n\t\t * </p>\n\t\t *\n\t\t * @return <code>String</code> representation of this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic String toString() {\n\t\t\treturn key + \"=\" + value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Generate a hash code for this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The hash code is calculated using both the name and the value of the\n\t\t * <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * @return hash code for this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic int hashCode() {\n\t\t\t// name's hashCode is multiplied by an arbitrary prime number (13)\n\t\t\t// in order to make sure there is a difference in the hashCode between\n\t\t\t// these two parameters:\n\t\t\t// name: a value: aa\n\t\t\t// name: aa value: a\n\t\t\treturn key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Test this <code>Pair</code> for equality with another <code>Object</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * If the <code>Object</code> to be tested is not a <code>Pair</code> or is\n\t\t * <code>null</code>, then this method returns <code>false</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * Two <code>Pair</code>s are considered equal if and only if both the names and\n\t\t * values are equal.\n\t\t * </p>\n\t\t *\n\t\t * @param o the <code>Object</code> to test for equality with this\n\t\t * <code>Pair</code>\n\t\t * @return <code>true</code> if the given <code>Object</code> is equal to this\n\t\t * <code>Pair</code> else <code>false</code>\n\t\t */\n\t\t@Override\n\t\tpublic boolean equals(Object o) {\n\t\t\tif (this == o)\n\t\t\t\treturn true;\n\t\t\tif (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n}",
"public class Main {\n\n\tprivate static final String NO = \"NO\";\n\tprivate static final String YES = \"YES\";\n\tInputStream is;\n\tPrintWriter out;\n\tString INPUT = \"\";\n\n\tprivate static final long MOD = 1000000007;\n\tprivate static final long inf = 100000000000L;\n\n\tvoid solve() {\n\t\tint T = 1;\n\t\tfor (int i = 0; i < T; i++)\n\t\t\tsolve(i);\n\t}\n\n\tvoid solve(int T) {\n\t\tlong n = nl();\n\t\tlong sum = 0;\n\t\tlong p = 1;\n\t\tint cnt = 1;\n\t\twhile (true) {\n\t\t\tp *= 26;\n\t\t\tif (sum + p < n) {\n\t\t\t\tsum += p;\n\t\t\t\tcnt++;\n\t\t\t}\n\t\t\telse\n\t\t\t\tbreak;\n//\t\t\ttr(sum);\n\t\t}\n\t\tn-=sum+1;\n\t\tchar ans[] = new char[cnt];\n\t\tfor (int i=0; i<cnt; i++) {\n\t\t\tans[cnt-1-i]=(char) ('a'+n%26);\n\t\t\tn/=26;\n\t\t}\n\t\t\n\t\tout.println(new String(ans));\n\t}\n\n\t// a^b\n\tlong power(long a, long b) {\n\t\tlong x = 1, y = a;\n\t\twhile (b > 0) {\n\t\t\tif (b % 2 != 0) {\n\t\t\t\tx = (x * y) % MOD;\n\t\t\t}\n\t\t\ty = (y * y) % MOD;\n\t\t\tb /= 2;\n\t\t}\n\t\treturn x % MOD;\n\t}\n\n\tprivate long gcd(long a, long b) {\n\t\twhile (a != 0) {\n\t\t\tlong tmp = b % a;\n\t\t\tb = a;\n\t\t\ta = tmp;\n\t\t}\n\t\treturn b;\n\t}\n\n\tvoid run() throws Exception {\n\t\tis = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());\n\t\tout = new PrintWriter(System.out);\n\n\t\tlong s = System.currentTimeMillis();\n\t\tsolve();\n\t\tout.flush();\n\t\tif (!INPUT.isEmpty())\n\t\t\ttr(System.currentTimeMillis() - s + \"ms\");\n\t}\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tnew Main().run();\n\t}\n\n\tprivate byte[] inbuf = new byte[1024];\n\tpublic int lenbuf = 0, ptrbuf = 0;\n\tprivate boolean vis[];\n\n\tprivate int readByte() {\n\t\tif (lenbuf == -1)\n\t\t\tthrow new InputMismatchException();\n\t\tif (ptrbuf >= lenbuf) {\n\t\t\tptrbuf = 0;\n\t\t\ttry {\n\t\t\t\tlenbuf = is.read(inbuf);\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new InputMismatchException();\n\t\t\t}\n\t\t\tif (lenbuf <= 0)\n\t\t\t\treturn -1;\n\t\t}\n\t\treturn inbuf[ptrbuf++];\n\t}\n\n\tprivate boolean isSpaceChar(int c) {\n\t\treturn !(c >= 33 && c <= 126);\n\t}\n\n\tprivate int skip() {\n\t\tint b;\n\t\twhile ((b = readByte()) != -1 && isSpaceChar(b))\n\t\t\t;\n\t\treturn b;\n\t}\n\n\tprivate double nd() {\n\t\treturn Double.parseDouble(ns());\n\t}\n\n\tprivate char nc() {\n\t\treturn (char) skip();\n\t}\n\n\tprivate String ns() {\n\t\tint b = skip();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (!(isSpaceChar(b))) { // when nextLine, (isSpaceChar(b) && b != '\n\t\t\t\t\t\t\t\t\t// ')\n\t\t\tsb.appendCodePoint(b);\n\t\t\tb = readByte();\n\t\t}\n\t\treturn sb.toString();\n\t}\n\n\tprivate char[] ns(int n) {\n\t\tchar[] buf = new char[n];\n\t\tint b = skip(), p = 0;\n\t\twhile (p < n) {\n\t\t\tif (!(isSpaceChar(b)))\n\t\t\t\tbuf[p++] = (char) b;\n\t\t\tb = readByte();\n\t\t}\n\t\treturn n == p ? buf : Arrays.copyOf(buf, p);\n\t}\n\n\tprivate char[][] nm(int n, int m) {\n\t\tchar[][] map = new char[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\tmap[i] = ns(m);\n\t\treturn map;\n\t}\n\n\tprivate int[] na(int n) {\n\t\tint[] a = new int[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = ni();\n\t\treturn a;\n\t}\n\n\tprivate List<Integer> na2(int n) {\n\t\tList<Integer> a = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta.add(ni());\n\t\treturn a;\n\t}\n\n\tprivate int[][] na(int n, int m) {\n\t\tint[][] a = new int[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = na(m);\n\t\treturn a;\n\t}\n\n\tprivate int ni() {\n\t\tint num = 0, b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate long[] nl(int n) {\n\t\tlong[] a = new long[n];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl();\n\t\treturn a;\n\t}\n\n\tprivate long[][] nl(int n, int m) {\n\t\tlong[][] a = new long[n][];\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ta[i] = nl(m);\n\t\treturn a;\n\t}\n\n\tprivate long nl() {\n\t\tlong num = 0;\n\t\tint b;\n\t\tboolean minus = false;\n\t\twhile ((b = readByte()) != -1 && !((b >= '0' && b <= '9') || b == '-'))\n\t\t\t;\n\t\tif (b == '-') {\n\t\t\tminus = true;\n\t\t\tb = readByte();\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (b >= '0' && b <= '9') {\n\t\t\t\tnum = num * 10 + (b - '0');\n\t\t\t} else {\n\t\t\t\treturn minus ? -num : num;\n\t\t\t}\n\t\t\tb = readByte();\n\t\t}\n\t}\n\n\tprivate static void tr(Object... o) {\n\t\tSystem.out.println(Arrays.deepToString(o));\n\t}\n\n\tpublic class Pair<K, V> {\n\n\t\t/**\n\t\t * Key of this <code>Pair</code>.\n\t\t */\n\t\tprivate K key;\n\n\t\t/**\n\t\t * Gets the key for this pair.\n\t\t * \n\t\t * @return key for this pair\n\t\t */\n\t\tpublic K getKey() {\n\t\t\treturn key;\n\t\t}\n\n\t\t/**\n\t\t * Value of this this <code>Pair</code>.\n\t\t */\n\t\tprivate V value;\n\n\t\t/**\n\t\t * Gets the value for this pair.\n\t\t * \n\t\t * @return value for this pair\n\t\t */\n\t\tpublic V getValue() {\n\t\t\treturn value;\n\t\t}\n\n\t\t/**\n\t\t * Creates a new pair\n\t\t * \n\t\t * @param key The key for this pair\n\t\t * @param value The value to use for this pair\n\t\t */\n\t\tpublic Pair(K key, V value) {\n\t\t\tthis.key = key;\n\t\t\tthis.value = value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * <code>String</code> representation of this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The default name/value delimiter '=' is always used.\n\t\t * </p>\n\t\t *\n\t\t * @return <code>String</code> representation of this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic String toString() {\n\t\t\treturn key + \"=\" + value;\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Generate a hash code for this <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * The hash code is calculated using both the name and the value of the\n\t\t * <code>Pair</code>.\n\t\t * </p>\n\t\t *\n\t\t * @return hash code for this <code>Pair</code>\n\t\t */\n\t\t@Override\n\t\tpublic int hashCode() {\n\t\t\t// name's hashCode is multiplied by an arbitrary prime number (13)\n\t\t\t// in order to make sure there is a difference in the hashCode between\n\t\t\t// these two parameters:\n\t\t\t// name: a value: aa\n\t\t\t// name: aa value: a\n\t\t\treturn key.hashCode() * 13 + (value == null ? 0 : value.hashCode());\n\t\t}\n\n\t\t/**\n\t\t * <p>\n\t\t * Test this <code>Pair</code> for equality with another <code>Object</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * If the <code>Object</code> to be tested is not a <code>Pair</code> or is\n\t\t * <code>null</code>, then this method returns <code>false</code>.\n\t\t * </p>\n\t\t *\n\t\t * <p>\n\t\t * Two <code>Pair</code>s are considered equal if and only if both the names and\n\t\t * values are equal.\n\t\t * </p>\n\t\t *\n\t\t * @param o the <code>Object</code> to test for equality with this\n\t\t * <code>Pair</code>\n\t\t * @return <code>true</code> if the given <code>Object</code> is equal to this\n\t\t * <code>Pair</code> else <code>false</code>\n\t\t */\n\t\t@Override\n\t\tpublic boolean equals(Object o) {\n\t\t\tif (this == o)\n\t\t\t\treturn true;\n\t\t\tif (o instanceof Pair) {\n\t\t\t\tPair pair = (Pair) o;\n\t\t\t\tif (key != null ? !key.equals(pair.key) : pair.key != null)\n\t\t\t\t\treturn false;\n\t\t\t\tif (value != null ? !value.equals(pair.value) : pair.value != null)\n\t\t\t\t\treturn false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t}\n\t}\n\n}",
"Main"
]
| import java.io.ByteArrayInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.InputMismatchException;
import java.util.List;
import java.util.Map;
public class Main {
private static final String NO = "NO";
private static final String YES = "YES";
InputStream is;
PrintWriter out;
String INPUT = "";
private static final long MOD = 1000000007;
private static final long inf = 100000000000L;
void solve() {
int T = 1;
for (int i = 0; i < T; i++)
solve(i);
}
void solve(int T) {
long n = nl();
long sum = 0;
long p = 1;
int cnt = 1;
while (true) {
p *= 26;
if (sum + p < n) {
sum += p;
cnt++;
}
else
break;
// tr(sum);
}
n-=sum+1;
char ans[] = new char[cnt];
for (int i=0; i<cnt; i++) {
ans[cnt-1-i]=(char) ('a'+n%26);
n/=26;
}
out.println(new String(ans));
}
// a^b
long power(long a, long b) {
long x = 1, y = a;
while (b > 0) {
if (b % 2 != 0) {
x = (x * y) % MOD;
}
y = (y * y) % MOD;
b /= 2;
}
return x % MOD;
}
private long gcd(long a, long b) {
while (a != 0) {
long tmp = b % a;
b = a;
a = tmp;
}
return b;
}
void run() throws Exception {
is = INPUT.isEmpty() ? System.in : new ByteArrayInputStream(INPUT.getBytes());
out = new PrintWriter(System.out);
long s = System.currentTimeMillis();
solve();
out.flush();
if (!INPUT.isEmpty())
tr(System.currentTimeMillis() - s + "ms");
}
public static void main(String[] args) throws Exception {
new Main().run();
}
private byte[] inbuf = new byte[1024];
public int lenbuf = 0, ptrbuf = 0;
private boolean vis[];
private int readByte() {
if (lenbuf == -1)
throw new InputMismatchException();
if (ptrbuf >= lenbuf) {
ptrbuf = 0;
try {
lenbuf = is.read(inbuf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (lenbuf <= 0)
return -1;
}
return inbuf[ptrbuf++];
}
private boolean isSpaceChar(int c) {
return !(c >= 33 && c <= 126);
}
private int skip() {
int b;
while ((b = readByte()) != -1 && isSpaceChar(b))
;
return b;
}
private double nd() {
return Double.parseDouble(ns());
}
private char nc() {
return (char) skip();
}
private 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();
}
private char[] ns(int n) {
char[] buf = new char[n];
int b = skip(), p = 0;
while (p < n) {
if (!(isSpaceChar(b)))
buf[p++] = (char) b;
b = readByte();
}
return n == p ? buf : Arrays.copyOf(buf, p);
}
private char[][] nm(int n, int m) {
char[][] map = new char[n][];
for (int i = 0; i < n; i++)
map[i] = ns(m);
return map;
}
private int[] na(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = ni();
return a;
}
private List<Integer> na2(int n) {
List<Integer> a = new ArrayList<Integer>();
for (int i = 0; i < n; i++)
a.add(ni());
return a;
}
private int[][] na(int n, int m) {
int[][] a = new int[n][];
for (int i = 0; i < n; i++)
a[i] = na(m);
return a;
}
private 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();
}
}
private long[] nl(int n) {
long[] a = new long[n];
for (int i = 0; i < n; i++)
a[i] = nl();
return a;
}
private long[][] nl(int n, int m) {
long[][] a = new long[n][];
for (int i = 0; i < n; i++)
a[i] = nl(m);
return a;
}
private 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 * 10 + (b - '0');
} else {
return minus ? -num : num;
}
b = readByte();
}
}
private static void tr(Object... o) {
System.out.println(Arrays.deepToString(o));
}
public class Pair<K, V> {
/**
* Key of this <code>Pair</code>.
*/
private K key;
/**
* Gets the key for this pair.
*
* @return key for this pair
*/
public K getKey() {
return key;
}
/**
* Value of this this <code>Pair</code>.
*/
private V value;
/**
* Gets the value for this pair.
*
* @return value for this pair
*/
public V getValue() {
return value;
}
/**
* Creates a new pair
*
* @param key The key for this pair
* @param value The value to use for this pair
*/
public Pair(K key, V value) {
this.key = key;
this.value = value;
}
/**
* <p>
* <code>String</code> representation of this <code>Pair</code>.
* </p>
*
* <p>
* The default name/value delimiter '=' is always used.
* </p>
*
* @return <code>String</code> representation of this <code>Pair</code>
*/
@Override
public String toString() {
return key + "=" + value;
}
/**
* <p>
* Generate a hash code for this <code>Pair</code>.
* </p>
*
* <p>
* The hash code is calculated using both the name and the value of the
* <code>Pair</code>.
* </p>
*
* @return hash code for this <code>Pair</code>
*/
@Override
public int hashCode() {
// name's hashCode is multiplied by an arbitrary prime number (13)
// in order to make sure there is a difference in the hashCode between
// these two parameters:
// name: a value: aa
// name: aa value: a
return key.hashCode() * 13 + (value == null ? 0 : value.hashCode());
}
/**
* <p>
* Test this <code>Pair</code> for equality with another <code>Object</code>.
* </p>
*
* <p>
* If the <code>Object</code> to be tested is not a <code>Pair</code> or is
* <code>null</code>, then this method returns <code>false</code>.
* </p>
*
* <p>
* Two <code>Pair</code>s are considered equal if and only if both the names and
* values are equal.
* </p>
*
* @param o the <code>Object</code> to test for equality with this
* <code>Pair</code>
* @return <code>true</code> if the given <code>Object</code> is equal to this
* <code>Pair</code> else <code>false</code>
*/
@Override
public boolean equals(Object o) {
if (this == o)
return true;
if (o instanceof Pair) {
Pair pair = (Pair) o;
if (key != null ? !key.equals(pair.key) : pair.key != null)
return false;
if (value != null ? !value.equals(pair.value) : pair.value != null)
return false;
return true;
}
return false;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
18,
13,
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
],
[
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
],
[
17,
19
],
[
19,
20
],
[
19,
21
],
[
19,
22
],
[
19,
23
],
[
19,
24
],
[
19,
25
],
[
19,
26
],
[
19,
27
],
[
19,
28
],
[
19,
29
],
[
19,
30
],
[
19,
31
],
[
19,
32
],
[
19,
33
],
[
19,
34
],
[
19,
35
],
[
19,
36
],
[
19,
37
],
[
19,
38
],
[
19,
39
],
[
19,
40
],
[
19,
41
],
[
19,
42
],
[
19,
43
],
[
19,
44
],
[
19,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
69,
71
],
[
53,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
74,
80
],
[
53,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
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.*;\n \npublic class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n\n String[] str = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\n String ans = \"\";\n\n while (n > 0) {\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }\n\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n\n String[] str = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\n String ans = \"\";\n\n while (n > 0) {\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }\n\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n\n String[] str = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\n String ans = \"\";\n\n while (n > 0) {\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }\n\n System.out.println(ans);\n }",
"main",
"{\n\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n\n String[] str = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\n String ans = \"\";\n\n while (n > 0) {\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }\n\n System.out.println(ans);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long n = scan.nextLong();",
"n",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String[] str = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};",
"str",
"{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"String ans = \"\";",
"ans",
"\"\"",
"while (n > 0) {\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }",
"n > 0",
"n",
"0",
"{\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }",
"int r = (int)(n % 26l);",
"r",
"(int)(n % 26l)",
"n",
"26l",
"if (r == 0) {\n r = 26;\n n = n - 1l;\n }",
"r == 0",
"r",
"0",
"{\n r = 26;\n n = n - 1l;\n }",
"r = 26",
"r",
"26",
"n = n - 1l",
"n",
"n - 1l",
"n",
"1l",
"ans = str[r - 1] + ans",
"ans",
"str[r - 1] + ans",
"str[r - 1]",
"str",
"r - 1",
"r",
"1",
"ans",
"n = n / 26l",
"n",
"n / 26l",
"n",
"26l",
"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\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n\n String[] str = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\n String ans = \"\";\n\n while (n > 0) {\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }\n\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n long n = scan.nextLong();\n\n String[] str = {\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\n String ans = \"\";\n\n while (n > 0) {\n int r = (int)(n % 26l);\n if (r == 0) {\n r = 26;\n n = n - 1l;\n }\n ans = str[r - 1] + ans;\n n = n / 26l;\n }\n\n System.out.println(ans);\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[] str = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"};
String ans = "";
while (n > 0) {
int r = (int)(n % 26l);
if (r == 0) {
r = 26;
n = n - 1l;
}
ans = str[r - 1] + ans;
n = n / 26l;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
11,
1,
2,
13,
17,
30,
30,
0,
13,
17,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
41,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
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
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
30,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
26,
38
],
[
38,
39
],
[
38,
40
],
[
8,
41
],
[
41,
42
],
[
41,
43
],
[
8,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
48,
52
],
[
44,
53
],
[
53,
54
],
[
53,
55
],
[
44,
56
],
[
56,
57
],
[
57,
58
],
[
44,
59
],
[
60,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
8,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.*;\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 = sc.nextLong();\n \tArrayList<Character> name = new ArrayList<>();\n\n \tfor(;n>0;){\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }\n \tString dog = \"\";\n \tfor(int i=name.size()-1;i>=0;i--){\n dog += String.valueOf(name.get(i));\n }\n\t\t// 出力\n\t\tSystem.out.println(dog);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong n = sc.nextLong();\n \tArrayList<Character> name = new ArrayList<>();\n\n \tfor(;n>0;){\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }\n \tString dog = \"\";\n \tfor(int i=name.size()-1;i>=0;i--){\n dog += String.valueOf(name.get(i));\n }\n\t\t// 出力\n\t\tSystem.out.println(dog);\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 = sc.nextLong();\n \tArrayList<Character> name = new ArrayList<>();\n\n \tfor(;n>0;){\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }\n \tString dog = \"\";\n \tfor(int i=name.size()-1;i>=0;i--){\n dog += String.valueOf(name.get(i));\n }\n\t\t// 出力\n\t\tSystem.out.println(dog);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// 整数の入力\n\t\tlong n = sc.nextLong();\n \tArrayList<Character> name = new ArrayList<>();\n\n \tfor(;n>0;){\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }\n \tString dog = \"\";\n \tfor(int i=name.size()-1;i>=0;i--){\n dog += String.valueOf(name.get(i));\n }\n\t\t// 出力\n\t\tSystem.out.println(dog);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"ArrayList<Character> name = new ArrayList<>();",
"name",
"new ArrayList<>()",
"for(;n>0;){\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }",
";",
"n>0",
"n",
"0",
"{\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }",
"{\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }",
"n -= 1",
"n",
"1",
"name.add((char)(n%26+97))",
"name.add",
"name",
"(char)(n%26+97)",
"n%26",
"n",
"26",
"97",
"n /= 26",
"n",
"26",
"String dog = \"\";",
"dog",
"\"\"",
"for(int i=name.size()-1;i>=0;i--){\n dog += String.valueOf(name.get(i));\n }",
"int i=name.size()-1;",
"int i=name.size()-1;",
"i",
"name.size()-1",
"name.size()",
"name.size",
"name",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n dog += String.valueOf(name.get(i));\n }",
"{\n dog += String.valueOf(name.get(i));\n }",
"dog += String.valueOf(name.get(i))",
"dog",
"String.valueOf(name.get(i))",
"String.valueOf",
"String",
"name.get(i)",
"name.get",
"name",
"i",
"System.out.println(dog)",
"System.out.println",
"System.out",
"System",
"System.out",
"dog",
"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 = sc.nextLong();\n \tArrayList<Character> name = new ArrayList<>();\n\n \tfor(;n>0;){\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }\n \tString dog = \"\";\n \tfor(int i=name.size()-1;i>=0;i--){\n dog += String.valueOf(name.get(i));\n }\n\t\t// 出力\n\t\tSystem.out.println(dog);\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 = sc.nextLong();\n \tArrayList<Character> name = new ArrayList<>();\n\n \tfor(;n>0;){\n n -= 1;\n name.add((char)(n%26+97));\n n /= 26;\n }\n \tString dog = \"\";\n \tfor(int i=name.size()-1;i>=0;i--){\n dog += String.valueOf(name.get(i));\n }\n\t\t// 出力\n\t\tSystem.out.println(dog);\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();
ArrayList<Character> name = new ArrayList<>();
for(;n>0;){
n -= 1;
name.add((char)(n%26+97));
n /= 26;
}
String dog = "";
for(int i=name.size()-1;i>=0;i--){
dog += String.valueOf(name.get(i));
}
// 出力
System.out.println(dog);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
0,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
29,
23,
13,
12,
13,
30,
41,
13,
2,
2,
2,
13,
17,
17,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
2,
4,
18,
13,
13,
13,
0,
13,
2,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
4,
13,
2,
13,
17,
13,
29,
13,
23,
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
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
8,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
6,
39
],
[
39,
40
],
[
103,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
48,
50
],
[
47,
51
],
[
46,
52
],
[
43,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
63,
65
],
[
43,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
68,
73
],
[
43,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
43,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
81,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
43,
96
],
[
96,
97
],
[
41,
98
],
[
98,
99
],
[
41,
100
],
[
100,
101
],
[
0,
102
],
[
102,
103
],
[
102,
104
]
]
| [
"import java.util.*;\n\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = Long.parseLong(scanner.nextLine());\n\n String name = \"\";\n\n name = calc(N, name);\n\n System.out.println(name);\n scanner.close();\n return;\n }\n\n public static String calc(long N, String name){\n char c = (char) (N % 26 + 'a' - 1);\n if( N%26 == 0){\n c = 'z';\n N -= 26;\n }\n name = String.valueOf(c) + name;\n N = N - N%26;\n if(N / 26 > 0){\n name = calc(N / 26, name);\n }\n return name;\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = Long.parseLong(scanner.nextLine());\n\n String name = \"\";\n\n name = calc(N, name);\n\n System.out.println(name);\n scanner.close();\n return;\n }\n\n public static String calc(long N, String name){\n char c = (char) (N % 26 + 'a' - 1);\n if( N%26 == 0){\n c = 'z';\n N -= 26;\n }\n name = String.valueOf(c) + name;\n N = N - N%26;\n if(N / 26 > 0){\n name = calc(N / 26, name);\n }\n return name;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = Long.parseLong(scanner.nextLine());\n\n String name = \"\";\n\n name = calc(N, name);\n\n System.out.println(name);\n scanner.close();\n return;\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n long N = Long.parseLong(scanner.nextLine());\n\n String name = \"\";\n\n name = calc(N, name);\n\n System.out.println(name);\n scanner.close();\n return;\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long N = Long.parseLong(scanner.nextLine());",
"N",
"Long.parseLong(scanner.nextLine())",
"Long.parseLong",
"Long",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"String name = \"\";",
"name",
"\"\"",
"name = calc(N, name)",
"name",
"calc(N, name)",
"calc",
"N",
"name",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"scanner.close()",
"scanner.close",
"scanner",
"return;",
"String[] args",
"args",
"public static String calc(long N, String name){\n char c = (char) (N % 26 + 'a' - 1);\n if( N%26 == 0){\n c = 'z';\n N -= 26;\n }\n name = String.valueOf(c) + name;\n N = N - N%26;\n if(N / 26 > 0){\n name = calc(N / 26, name);\n }\n return name;\n }",
"calc",
"{\n char c = (char) (N % 26 + 'a' - 1);\n if( N%26 == 0){\n c = 'z';\n N -= 26;\n }\n name = String.valueOf(c) + name;\n N = N - N%26;\n if(N / 26 > 0){\n name = calc(N / 26, name);\n }\n return name;\n }",
"char c = (char) (N % 26 + 'a' - 1);",
"c",
"(char) (N % 26 + 'a' - 1)",
"N % 26 + 'a'",
"N % 26",
"N",
"26",
"'a'",
"1",
"if( N%26 == 0){\n c = 'z';\n N -= 26;\n }",
"N%26 == 0",
"N%26",
"N",
"26",
"0",
"{\n c = 'z';\n N -= 26;\n }",
"c = 'z'",
"c",
"'z'",
"N -= 26",
"N",
"26",
"name = String.valueOf(c) + name",
"name",
"String.valueOf(c) + name",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"name",
"N = N - N%26",
"N",
"N - N%26",
"N",
"N%26",
"N",
"26",
"if(N / 26 > 0){\n name = calc(N / 26, name);\n }",
"N / 26 > 0",
"N / 26",
"N",
"26",
"0",
"{\n name = calc(N / 26, name);\n }",
"name = calc(N / 26, name)",
"name",
"calc(N / 26, name)",
"calc",
"N / 26",
"N",
"26",
"name",
"return name;",
"name",
"long N",
"N",
"String name",
"name",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = Long.parseLong(scanner.nextLine());\n\n String name = \"\";\n\n name = calc(N, name);\n\n System.out.println(name);\n scanner.close();\n return;\n }\n\n public static String calc(long N, String name){\n char c = (char) (N % 26 + 'a' - 1);\n if( N%26 == 0){\n c = 'z';\n N -= 26;\n }\n name = String.valueOf(c) + name;\n N = N - N%26;\n if(N / 26 > 0){\n name = calc(N / 26, name);\n }\n return name;\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = Long.parseLong(scanner.nextLine());\n\n String name = \"\";\n\n name = calc(N, name);\n\n System.out.println(name);\n scanner.close();\n return;\n }\n\n public static String calc(long N, String name){\n char c = (char) (N % 26 + 'a' - 1);\n if( N%26 == 0){\n c = 'z';\n N -= 26;\n }\n name = String.valueOf(c) + name;\n N = N - N%26;\n if(N / 26 > 0){\n name = calc(N / 26, name);\n }\n return name;\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long N = Long.parseLong(scanner.nextLine());
String name = "";
name = calc(N, name);
System.out.println(name);
scanner.close();
return;
}
public static String calc(long N, String name){
char c = (char) (N % 26 + 'a' - 1);
if( N%26 == 0){
c = 'z';
N -= 26;
}
name = String.valueOf(c) + name;
N = N - N%26;
if(N / 26 > 0){
name = calc(N / 26, name);
}
return name;
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
14,
2,
13,
13,
30,
0,
13,
4,
18,
13,
2,
2,
13,
13,
17,
4,
18,
18,
13,
13,
13,
30,
41,
13,
2,
13,
17,
41,
13,
13,
41,
13,
17,
42,
17,
30,
41,
13,
2,
13,
13,
41,
13,
2,
13,
13,
0,
13,
4,
18,
13,
2,
13,
13,
0,
13,
2,
13,
13,
14,
2,
13,
17,
30,
3,
0,
13,
2,
13,
17,
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
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
25,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
34,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
45,
50
],
[
30,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
54,
56
],
[
51,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
60,
61
],
[
60,
62
],
[
51,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
65,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
73,
75
],
[
65,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
65,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
65,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
65,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
97,
99
],
[
51,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
100,
105
],
[
6,
106
],
[
106,
107
],
[
0,
108
],
[
108,
109
],
[
108,
110
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong num = in.nextLong();\n\t\tString s;\n\t\tlong firstIndexAlpha = (long) 'a'; // アルファベットの最初の文字\n\t\tlong sizeAlpha = 26; // アルファベットの個数\n\t\tif (num <= 0) {\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t} else if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong num = in.nextLong();\n\t\tString s;\n\t\tlong firstIndexAlpha = (long) 'a'; // アルファベットの最初の文字\n\t\tlong sizeAlpha = 26; // アルファベットの個数\n\t\tif (num <= 0) {\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t} else if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong num = in.nextLong();\n\t\tString s;\n\t\tlong firstIndexAlpha = (long) 'a'; // アルファベットの最初の文字\n\t\tlong sizeAlpha = 26; // アルファベットの個数\n\t\tif (num <= 0) {\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t} else if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}\n\t}",
"main",
"{\n\t\tScanner in = new Scanner(System.in);\n\t\tlong num = in.nextLong();\n\t\tString s;\n\t\tlong firstIndexAlpha = (long) 'a'; // アルファベットの最初の文字\n\t\tlong sizeAlpha = 26; // アルファベットの個数\n\t\tif (num <= 0) {\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t} else if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}\n\t}",
"Scanner in = new Scanner(System.in);",
"in",
"new Scanner(System.in)",
"long num = in.nextLong();",
"num",
"in.nextLong()",
"in.nextLong",
"in",
"String s;",
"s",
"long firstIndexAlpha = (long) 'a';",
"firstIndexAlpha",
"(long) 'a'",
"long sizeAlpha = 26;",
"sizeAlpha",
"26",
"if (num <= 0) {\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t} else if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}",
"num <= 0",
"num",
"0",
"{\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t}",
"if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}",
"num <= sizeAlpha",
"num",
"sizeAlpha",
"{\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t}",
"s = String.valueOf((char) (firstIndexAlpha + num - 1))",
"s",
"String.valueOf((char) (firstIndexAlpha + num - 1))",
"String.valueOf",
"String",
"(char) (firstIndexAlpha + num - 1)",
"firstIndexAlpha + num",
"firstIndexAlpha",
"num",
"1",
"System.out.println(s)",
"System.out.println",
"System.out",
"System",
"System.out",
"s",
"{\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}",
"long offset = num - 1;",
"offset",
"num - 1",
"num",
"1",
"long tmp = offset;",
"tmp",
"offset",
"String str = \"\";",
"str",
"\"\"",
"while (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}",
"true",
"{\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}",
"long div = tmp / sizeAlpha;",
"div",
"tmp / sizeAlpha",
"tmp",
"sizeAlpha",
"long mod = tmp % sizeAlpha;",
"mod",
"tmp % sizeAlpha",
"tmp",
"sizeAlpha",
"s = String.valueOf((char) (firstIndexAlpha + mod))",
"s",
"String.valueOf((char) (firstIndexAlpha + mod))",
"String.valueOf",
"String",
"(char) (firstIndexAlpha + mod)",
"firstIndexAlpha",
"mod",
"str = s + str",
"str",
"s + str",
"s",
"str",
"if (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"div <= 0",
"div",
"0",
"{\n\t\t\t\t\tbreak;\n\t\t\t\t}",
"break;",
"tmp = (div - 1)",
"tmp",
"(div - 1)",
"div",
"1",
"System.out.println(str)",
"System.out.println",
"System.out",
"System",
"System.out",
"str",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong num = in.nextLong();\n\t\tString s;\n\t\tlong firstIndexAlpha = (long) 'a'; // アルファベットの最初の文字\n\t\tlong sizeAlpha = 26; // アルファベットの個数\n\t\tif (num <= 0) {\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t} else if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tlong num = in.nextLong();\n\t\tString s;\n\t\tlong firstIndexAlpha = (long) 'a'; // アルファベットの最初の文字\n\t\tlong sizeAlpha = 26; // アルファベットの個数\n\t\tif (num <= 0) {\n\t\t\t/* 0以下はブランクで返す */\n\t\t\t\n\n\t\t} else if (num <= sizeAlpha) {\n\t\t\t/* 1~26までの処理 */\n\t\t\ts = String.valueOf((char) (firstIndexAlpha + num - 1));\n\t\t\tSystem.out.println(s);\n\n\t\t} else {\n\t\t\t/* 27以上の処理 */\n\n\t\t\tlong offset = num - 1; // 0からの連番に補正した値\n\t\t\tlong tmp = offset;\n\t\t\tString str = \"\";\n\t\t\twhile (true) {\n\t\t\t\tlong div = tmp / sizeAlpha; // 商\n\t\t\t\tlong mod = tmp % sizeAlpha; // あまり\n\t\t\t\t/* 1~26までの処理 */\n\t\t\t\ts = String.valueOf((char) (firstIndexAlpha + mod));\n\t\t\t\tstr = s + str;\n\t\t\t\tif (div <= 0) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\ttmp = (div - 1);\n\t\t\t}\n\t\t\tSystem.out.println(str);\n\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
long num = in.nextLong();
String s;
long firstIndexAlpha = (long) 'a'; // アルファベットの最初の文字
long sizeAlpha = 26; // アルファベットの個数
if (num <= 0) {
/* 0以下はブランクで返す */
} else if (num <= sizeAlpha) {
/* 1~26までの処理 */
s = String.valueOf((char) (firstIndexAlpha + num - 1));
System.out.println(s);
} else {
/* 27以上の処理 */
long offset = num - 1; // 0からの連番に補正した値
long tmp = offset;
String str = "";
while (true) {
long div = tmp / sizeAlpha; // 商
long mod = tmp % sizeAlpha; // あまり
/* 1~26までの処理 */
s = String.valueOf((char) (firstIndexAlpha + mod));
str = s + str;
if (div <= 0) {
break;
}
tmp = (div - 1);
}
System.out.println(str);
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
13,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
13,
29,
4,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
18,
13,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
2,
18,
13,
13,
17,
4,
18,
18,
13,
13,
17,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
41,
13,
2,
17,
13,
0,
13,
2,
13,
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,
0,
13,
20,
23,
13,
12,
13,
30,
42,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
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
],
[
414,
14
],
[
414,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
24,
24
],
[
24,
25
],
[
24,
26
],
[
24,
27
],
[
15,
28
],
[
28,
29
],
[
15,
30
],
[
30,
31
],
[
414,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
34,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
42,
45
],
[
45,
46
],
[
45,
47
],
[
32,
48
],
[
48,
49
],
[
32,
50
],
[
50,
51
],
[
414,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
60,
68
],
[
68,
69
],
[
69,
70
],
[
60,
71
],
[
72,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
73,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
52,
84
],
[
84,
85
],
[
414,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
88,
94
],
[
94,
95
],
[
95,
96
],
[
96,
97
],
[
96,
98
],
[
94,
99
],
[
99,
100
],
[
99,
101
],
[
94,
102
],
[
102,
103
],
[
103,
104
],
[
94,
105
],
[
106,
106
],
[
106,
107
],
[
107,
108
],
[
108,
109
],
[
109,
110
],
[
109,
111
],
[
107,
112
],
[
112,
113
],
[
113,
114
],
[
112,
115
],
[
115,
116
],
[
115,
117
],
[
86,
118
],
[
118,
119
],
[
414,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
122,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
133,
134
],
[
133,
135
],
[
128,
136
],
[
136,
137
],
[
137,
138
],
[
128,
139
],
[
140,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
141,
146
],
[
146,
147
],
[
146,
148
],
[
120,
149
],
[
149,
150
],
[
414,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
154,
156
],
[
156,
157
],
[
156,
158
],
[
153,
159
],
[
159,
160
],
[
160,
161
],
[
161,
162
],
[
161,
163
],
[
159,
164
],
[
164,
165
],
[
164,
166
],
[
159,
167
],
[
167,
168
],
[
168,
169
],
[
159,
170
],
[
171,
171
],
[
171,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
172,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
153,
182
],
[
182,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
182,
187
],
[
151,
188
],
[
188,
189
],
[
414,
190
],
[
190,
191
],
[
190,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
195,
196
],
[
195,
197
],
[
192,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
198,
203
],
[
203,
204
],
[
203,
205
],
[
198,
206
],
[
206,
207
],
[
207,
208
],
[
198,
209
],
[
210,
210
],
[
210,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
213,
215
],
[
211,
216
],
[
216,
217
],
[
217,
218
],
[
217,
219
],
[
216,
220
],
[
192,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
221,
226
],
[
190,
227
],
[
227,
228
],
[
414,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
232,
234
],
[
234,
235
],
[
234,
236
],
[
231,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
237,
242
],
[
242,
243
],
[
242,
244
],
[
237,
245
],
[
245,
246
],
[
246,
247
],
[
237,
248
],
[
249,
249
],
[
249,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
252,
254
],
[
250,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
231,
260
],
[
260,
261
],
[
261,
262
],
[
262,
263
],
[
262,
264
],
[
260,
265
],
[
229,
266
],
[
266,
267
],
[
414,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
274,
275
],
[
274,
276
],
[
276,
277
],
[
277,
278
],
[
270,
279
],
[
279,
280
],
[
279,
281
],
[
270,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
282,
286
],
[
286,
287
],
[
287,
288
],
[
286,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
291,
293
],
[
286,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
296,
298
],
[
286,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
301,
303
],
[
286,
304
],
[
304,
305
],
[
304,
306
],
[
306,
307
],
[
306,
308
],
[
270,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
309,
314
],
[
268,
315
],
[
315,
316
],
[
414,
317
],
[
317,
318
],
[
317,
319
],
[
319,
320
],
[
317,
321
],
[
321,
322
],
[
317,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
326,
327
],
[
326,
328
],
[
317,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
332,
334
],
[
329,
335
],
[
335,
336
],
[
317,
337
],
[
337,
338
],
[
337,
339
],
[
339,
340
],
[
340,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
341,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
340,
349
],
[
349,
350
],
[
350,
351
],
[
351,
352
],
[
351,
353
],
[
353,
354
],
[
354,
355
],
[
355,
356
],
[
350,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
339,
361
],
[
361,
362
],
[
362,
363
],
[
363,
364
],
[
317,
365
],
[
365,
366
],
[
365,
367
],
[
367,
368
],
[
368,
369
],
[
369,
370
],
[
370,
371
],
[
369,
372
],
[
372,
373
],
[
317,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
378,
379
],
[
379,
380
],
[
378,
381
],
[
381,
382
],
[
317,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
388,
389
],
[
387,
390
],
[
390,
391
],
[
317,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
394,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
401,
402
],
[
402,
403
],
[
403,
404
],
[
398,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
409,
410
],
[
394,
411
],
[
411,
412
],
[
0,
413
],
[
413,
414
],
[
413,
415
]
]
| [
"\nimport java.io.*;\nimport java.util.Arrays;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main\n{\n public static void print(String str,int val){\n System.out.println(str+\" \"+val);\n }\n\n public int gcd(int a, int b) {\n if (b==0) return a;\n return gcd(b,a%b);\n }\n\n public static void debug(long[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(int[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(arr[i]);\n }\n }\n\n public static void print(int[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(long[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n public FastReader(String path) throws FileNotFoundException {\n br = new BufferedReader(new FileReader(path));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n\n public static void main(String[] args)\n {\n FastReader s=new FastReader();\n long n = s.nextLong();\n String ans =\"\";\n while (n!=0){\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }\n System.out.println(ans);\n\n\n\n\n\n }\n\n\n\n\n// OutputStream out = new BufferedOutputStream( System.out );\n// for(int i=1;i<n;i++){\n// out.write((arr[i]+\" \").getBytes());\n//}\n// out.flush();\n\n // long start = System.currentTimeMillis();\n// long end = System.currentTimeMillis();\n// System.out.println((end - start) + \"ms\");\n\n\n\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main\n{\n public static void print(String str,int val){\n System.out.println(str+\" \"+val);\n }\n\n public int gcd(int a, int b) {\n if (b==0) return a;\n return gcd(b,a%b);\n }\n\n public static void debug(long[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(int[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(arr[i]);\n }\n }\n\n public static void print(int[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(long[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n public FastReader(String path) throws FileNotFoundException {\n br = new BufferedReader(new FileReader(path));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n\n public static void main(String[] args)\n {\n FastReader s=new FastReader();\n long n = s.nextLong();\n String ans =\"\";\n while (n!=0){\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }\n System.out.println(ans);\n\n\n\n\n\n }\n\n\n\n\n// OutputStream out = new BufferedOutputStream( System.out );\n// for(int i=1;i<n;i++){\n// out.write((arr[i]+\" \").getBytes());\n//}\n// out.flush();\n\n // long start = System.currentTimeMillis();\n// long end = System.currentTimeMillis();\n// System.out.println((end - start) + \"ms\");\n\n\n\n}",
"Main",
"public static void print(String str,int val){\n System.out.println(str+\" \"+val);\n }",
"print",
"{\n System.out.println(str+\" \"+val);\n }",
"System.out.println(str+\" \"+val)",
"System.out.println",
"System.out",
"System",
"System.out",
"str+\" \"+val",
"str+\" \"+val",
"str",
"\" \"",
"val",
"String str",
"str",
"int val",
"val",
"public int gcd(int a, int b) {\n if (b==0) return a;\n return gcd(b,a%b);\n }",
"gcd",
"{\n if (b==0) return a;\n return gcd(b,a%b);\n }",
"if (b==0) return a;",
"b==0",
"b",
"0",
"return a;",
"a",
"return gcd(b,a%b);",
"gcd(b,a%b)",
"gcd",
"b",
"a%b",
"a",
"b",
"int a",
"a",
"int b",
"b",
"public static void debug(long[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }",
"debug",
"{\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }",
"int len = arr.length;",
"len",
"arr.length",
"arr",
"arr.length",
"for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"{\n System.out.println(Arrays.toString(arr[i]));\n }",
"{\n System.out.println(Arrays.toString(arr[i]));\n }",
"System.out.println(Arrays.toString(arr[i]))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr[i])",
"Arrays.toString",
"Arrays",
"arr[i]",
"arr",
"i",
"long[][] arr",
"arr",
"public static void debug(int[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }",
"debug",
"{\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }",
"int len = arr.length;",
"len",
"arr.length",
"arr",
"arr.length",
"for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"{\n System.out.println(Arrays.toString(arr[i]));\n }",
"{\n System.out.println(Arrays.toString(arr[i]));\n }",
"System.out.println(Arrays.toString(arr[i]))",
"System.out.println",
"System.out",
"System",
"System.out",
"Arrays.toString(arr[i])",
"Arrays.toString",
"Arrays",
"arr[i]",
"arr",
"i",
"int[][] arr",
"arr",
"public static void debug(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(arr[i]);\n }\n }",
"debug",
"{\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(arr[i]);\n }\n }",
"int len = arr.length;",
"len",
"arr.length",
"arr",
"arr.length",
"for(int i=0;i<len;i++){\n System.out.println(arr[i]);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"{\n System.out.println(arr[i]);\n }",
"{\n System.out.println(arr[i]);\n }",
"System.out.println(arr[i])",
"System.out.println",
"System.out",
"System",
"System.out",
"arr[i]",
"arr",
"i",
"String[] arr",
"arr",
"public static void print(int[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }",
"print",
"{\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }",
"int len = arr.length;",
"len",
"arr.length",
"arr",
"arr.length",
"for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"{\n System.out.print(arr[i]+\" \");\n }",
"{\n System.out.print(arr[i]+\" \");\n }",
"System.out.print(arr[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]+\" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"System.out.print('\\n')",
"System.out.print",
"System.out",
"System",
"System.out",
"'\\n'",
"int[] arr",
"arr",
"public static void print(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }",
"print",
"{\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }",
"int len = arr.length;",
"len",
"arr.length",
"arr",
"arr.length",
"for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"{\n System.out.print(arr[i]+\" \");\n }",
"{\n System.out.print(arr[i]+\" \");\n }",
"System.out.print(arr[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]+\" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"System.out.print('\\n')",
"System.out.print",
"System.out",
"System",
"System.out",
"'\\n'",
"String[] arr",
"arr",
"public static void print(long[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }",
"print",
"{\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }",
"int len = arr.length;",
"len",
"arr.length",
"arr",
"arr.length",
"for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<len",
"i",
"len",
"i++",
"i++",
"i",
"{\n System.out.print(arr[i]+\" \");\n }",
"{\n System.out.print(arr[i]+\" \");\n }",
"System.out.print(arr[i]+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"arr[i]+\" \"",
"arr[i]",
"arr",
"i",
"\" \"",
"System.out.print('\\n')",
"System.out.print",
"System.out",
"System",
"System.out",
"'\\n'",
"long[] arr",
"arr",
"public static void main(String[] args)\n {\n FastReader s=new FastReader();\n long n = s.nextLong();\n String ans =\"\";\n while (n!=0){\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }\n System.out.println(ans);\n\n\n\n\n\n }",
"main",
"{\n FastReader s=new FastReader();\n long n = s.nextLong();\n String ans =\"\";\n while (n!=0){\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }\n System.out.println(ans);\n\n\n\n\n\n }",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"long n = s.nextLong();",
"n",
"s.nextLong()",
"s.nextLong",
"s",
"String ans =\"\";",
"ans",
"\"\"",
"while (n!=0){\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }",
"n!=0",
"n",
"0",
"{\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }",
"n--",
"n",
"int rem = (int)(n%26);",
"rem",
"(int)(n%26)",
"n",
"26",
"char ch = (char)('a'+rem);",
"ch",
"(char)('a'+rem)",
"'a'",
"rem",
"ans= ch+ans",
"ans",
"ch+ans",
"ch",
"ans",
"n = (n/26)",
"n",
"(n/26)",
"n",
"26",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n public FastReader(String path) throws FileNotFoundException {\n br = new BufferedReader(new FileReader(path));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader()\n {\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))",
"public FastReader(String path) throws FileNotFoundException {\n br = new BufferedReader(new FileReader(path));\n }",
"FastReader",
"{\n br = new BufferedReader(new FileReader(path));\n }",
"br = new BufferedReader(new FileReader(path))",
"br",
"new BufferedReader(new FileReader(path))",
"String path",
"path",
"String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }",
"try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\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 {\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"nextLine",
"{\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }",
"String str = \"\";",
"str",
"\"\"",
"try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }",
"catch (IOException e)\n {\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 public static void print(String str,int val){\n System.out.println(str+\" \"+val);\n }\n\n public int gcd(int a, int b) {\n if (b==0) return a;\n return gcd(b,a%b);\n }\n\n public static void debug(long[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(int[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(arr[i]);\n }\n }\n\n public static void print(int[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(long[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n public FastReader(String path) throws FileNotFoundException {\n br = new BufferedReader(new FileReader(path));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n\n public static void main(String[] args)\n {\n FastReader s=new FastReader();\n long n = s.nextLong();\n String ans =\"\";\n while (n!=0){\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }\n System.out.println(ans);\n\n\n\n\n\n }\n\n\n\n\n// OutputStream out = new BufferedOutputStream( System.out );\n// for(int i=1;i<n;i++){\n// out.write((arr[i]+\" \").getBytes());\n//}\n// out.flush();\n\n // long start = System.currentTimeMillis();\n// long end = System.currentTimeMillis();\n// System.out.println((end - start) + \"ms\");\n\n\n\n}",
"public class Main\n{\n public static void print(String str,int val){\n System.out.println(str+\" \"+val);\n }\n\n public int gcd(int a, int b) {\n if (b==0) return a;\n return gcd(b,a%b);\n }\n\n public static void debug(long[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(int[][] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(Arrays.toString(arr[i]));\n }\n }\n public static void debug(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.println(arr[i]);\n }\n }\n\n public static void print(int[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(String[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n public static void print(long[] arr){\n int len = arr.length;\n for(int i=0;i<len;i++){\n System.out.print(arr[i]+\" \");\n }\n System.out.print('\\n');\n }\n\n static class FastReader\n {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader()\n {\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }\n public FastReader(String path) throws FileNotFoundException {\n br = new BufferedReader(new FileReader(path));\n }\n\n String next()\n {\n while (st == null || !st.hasMoreElements())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\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 nextLine()\n {\n String str = \"\";\n try\n {\n str = br.readLine();\n }\n catch (IOException e)\n {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n\n public static void main(String[] args)\n {\n FastReader s=new FastReader();\n long n = s.nextLong();\n String ans =\"\";\n while (n!=0){\n n--;\n int rem = (int)(n%26);\n char ch = (char)('a'+rem);\n ans= ch+ans;\n n = (n/26);\n }\n System.out.println(ans);\n\n\n\n\n\n }\n\n\n\n\n// OutputStream out = new BufferedOutputStream( System.out );\n// for(int i=1;i<n;i++){\n// out.write((arr[i]+\" \").getBytes());\n//}\n// out.flush();\n\n // long start = System.currentTimeMillis();\n// long end = System.currentTimeMillis();\n// System.out.println((end - start) + \"ms\");\n\n\n\n}",
"Main"
]
|
import java.io.*;
import java.util.Arrays;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main
{
public static void print(String str,int val){
System.out.println(str+" "+val);
}
public int gcd(int a, int b) {
if (b==0) return a;
return gcd(b,a%b);
}
public static void debug(long[][] arr){
int len = arr.length;
for(int i=0;i<len;i++){
System.out.println(Arrays.toString(arr[i]));
}
}
public static void debug(int[][] arr){
int len = arr.length;
for(int i=0;i<len;i++){
System.out.println(Arrays.toString(arr[i]));
}
}
public static void debug(String[] arr){
int len = arr.length;
for(int i=0;i<len;i++){
System.out.println(arr[i]);
}
}
public static void print(int[] arr){
int len = arr.length;
for(int i=0;i<len;i++){
System.out.print(arr[i]+" ");
}
System.out.print('\n');
}
public static void print(String[] arr){
int len = arr.length;
for(int i=0;i<len;i++){
System.out.print(arr[i]+" ");
}
System.out.print('\n');
}
public static void print(long[] arr){
int len = arr.length;
for(int i=0;i<len;i++){
System.out.print(arr[i]+" ");
}
System.out.print('\n');
}
static class FastReader
{
BufferedReader br;
StringTokenizer st;
public FastReader()
{
br = new BufferedReader(new
InputStreamReader(System.in));
}
public FastReader(String path) throws FileNotFoundException {
br = new BufferedReader(new FileReader(path));
}
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(String[] args)
{
FastReader s=new FastReader();
long n = s.nextLong();
String ans ="";
while (n!=0){
n--;
int rem = (int)(n%26);
char ch = (char)('a'+rem);
ans= ch+ans;
n = (n/26);
}
System.out.println(ans);
}
// OutputStream out = new BufferedOutputStream( System.out );
// for(int i=1;i<n;i++){
// out.write((arr[i]+" ").getBytes());
//}
// out.flush();
// long start = System.currentTimeMillis();
// long end = System.currentTimeMillis();
// System.out.println((end - start) + "ms");
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
13,
17,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
17,
13,
0,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
484,
11
],
[
484,
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
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
31,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
40,
42
],
[
37,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
31,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
48,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
57,
58
],
[
57,
59
],
[
54,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
62,
64
],
[
48,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
65,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
71,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
65,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
82,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
88,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
96,
98
],
[
82,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
100,
104
],
[
99,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
105,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
99,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
116,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
125,
127
],
[
122,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
116,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
133,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
142,
143
],
[
142,
144
],
[
139,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
147,
149
],
[
133,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
150,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
159,
161
],
[
156,
162
],
[
162,
163
],
[
162,
164
],
[
164,
165
],
[
164,
166
],
[
150,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
168,
172
],
[
167,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
176,
177
],
[
176,
178
],
[
173,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
181,
183
],
[
167,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
186,
188
],
[
185,
189
],
[
184,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
193,
195
],
[
190,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
198,
200
],
[
184,
201
],
[
201,
202
],
[
202,
203
],
[
203,
204
],
[
203,
205
],
[
202,
206
],
[
201,
207
],
[
207,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
210,
212
],
[
207,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
215,
217
],
[
201,
218
],
[
218,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
219,
223
],
[
218,
224
],
[
224,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
227,
229
],
[
224,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
232,
234
],
[
218,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
236,
240
],
[
235,
241
],
[
241,
242
],
[
242,
243
],
[
242,
244
],
[
244,
245
],
[
244,
246
],
[
241,
247
],
[
247,
248
],
[
247,
249
],
[
249,
250
],
[
249,
251
],
[
235,
252
],
[
252,
253
],
[
253,
254
],
[
254,
255
],
[
254,
256
],
[
253,
257
],
[
252,
258
],
[
258,
259
],
[
259,
260
],
[
259,
261
],
[
261,
262
],
[
261,
263
],
[
258,
264
],
[
264,
265
],
[
264,
266
],
[
266,
267
],
[
266,
268
],
[
252,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
270,
274
],
[
269,
275
],
[
275,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
275,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
283,
285
],
[
269,
286
],
[
286,
287
],
[
287,
288
],
[
288,
289
],
[
288,
290
],
[
287,
291
],
[
286,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
295,
297
],
[
292,
298
],
[
298,
299
],
[
298,
300
],
[
300,
301
],
[
300,
302
],
[
286,
303
],
[
303,
304
],
[
304,
305
],
[
305,
306
],
[
305,
307
],
[
304,
308
],
[
303,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
312,
314
],
[
309,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
317,
319
],
[
303,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
321,
325
],
[
320,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
329,
330
],
[
329,
331
],
[
326,
332
],
[
332,
333
],
[
332,
334
],
[
334,
335
],
[
334,
336
],
[
320,
337
],
[
337,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
337,
343
],
[
343,
344
],
[
344,
345
],
[
344,
346
],
[
346,
347
],
[
346,
348
],
[
343,
349
],
[
349,
350
],
[
349,
351
],
[
351,
352
],
[
351,
353
],
[
337,
354
],
[
354,
355
],
[
355,
356
],
[
356,
357
],
[
356,
358
],
[
355,
359
],
[
354,
360
],
[
360,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
363,
365
],
[
360,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
368,
370
],
[
354,
371
],
[
371,
372
],
[
372,
373
],
[
373,
374
],
[
373,
375
],
[
372,
376
],
[
371,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
380,
382
],
[
377,
383
],
[
383,
384
],
[
383,
385
],
[
385,
386
],
[
385,
387
],
[
371,
388
],
[
388,
389
],
[
389,
390
],
[
390,
391
],
[
390,
392
],
[
389,
393
],
[
388,
394
],
[
394,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
397,
399
],
[
394,
400
],
[
400,
401
],
[
400,
402
],
[
402,
403
],
[
402,
404
],
[
388,
405
],
[
405,
406
],
[
406,
407
],
[
407,
408
],
[
407,
409
],
[
406,
410
],
[
405,
411
],
[
411,
412
],
[
412,
413
],
[
412,
414
],
[
414,
415
],
[
414,
416
],
[
411,
417
],
[
417,
418
],
[
417,
419
],
[
419,
420
],
[
419,
421
],
[
405,
422
],
[
422,
423
],
[
423,
424
],
[
424,
425
],
[
424,
426
],
[
423,
427
],
[
422,
428
],
[
428,
429
],
[
429,
430
],
[
429,
431
],
[
431,
432
],
[
431,
433
],
[
428,
434
],
[
434,
435
],
[
434,
436
],
[
436,
437
],
[
436,
438
],
[
422,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
441,
443
],
[
440,
444
],
[
439,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
448,
449
],
[
448,
450
],
[
445,
451
],
[
451,
452
],
[
451,
453
],
[
453,
454
],
[
453,
455
],
[
439,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
457,
461
],
[
456,
462
],
[
462,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
465,
467
],
[
462,
468
],
[
468,
469
],
[
468,
470
],
[
470,
471
],
[
471,
472
],
[
471,
473
],
[
470,
474
],
[
14,
475
],
[
475,
476
],
[
476,
477
],
[
477,
478
],
[
477,
479
],
[
475,
480
],
[
12,
481
],
[
481,
482
],
[
0,
483
],
[
483,
484
],
[
483,
485
]
]
| [
"import java.util.*;\nimport java.math.RoundingMode;\nimport java.math.BigDecimal;\n \n \n \npublic class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n>0) {\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.math.RoundingMode;",
"RoundingMode",
"java.math",
"import java.math.BigDecimal;",
"BigDecimal",
"java.math",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n>0) {\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\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\tString ans = \"\";\n\t\twhile(n>0) {\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\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\tString ans = \"\";\n\t\twhile(n>0) {\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\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",
"String ans = \"\";",
"ans",
"\"\"",
"while(n>0) {\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\n\t\t}",
"n>0",
"n",
"0",
"{\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\n\t\t}",
"if(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==1",
"n%26",
"n",
"26",
"1",
"{\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans = 'a'+ans",
"ans",
"'a'+ans",
"'a'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==2",
"n%26",
"n",
"26",
"2",
"{\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='b'+ans",
"ans",
"'b'+ans",
"'b'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==3",
"n%26",
"n",
"26",
"3",
"{\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='c'+ans",
"ans",
"'c'+ans",
"'c'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==4",
"n%26",
"n",
"26",
"4",
"{\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='d'+ans",
"ans",
"'d'+ans",
"'d'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==5",
"n%26",
"n",
"26",
"5",
"{\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='e'+ans",
"ans",
"'e'+ans",
"'e'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==6",
"n%26",
"n",
"26",
"6",
"{\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='f'+ans",
"ans",
"'f'+ans",
"'f'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==7",
"n%26",
"n",
"26",
"7",
"{\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='g'+ans",
"ans",
"'g'+ans",
"'g'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==8",
"n%26",
"n",
"26",
"8",
"{\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='h'+ans",
"ans",
"'h'+ans",
"'h'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==9",
"n%26",
"n",
"26",
"9",
"{\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='i'+ans",
"ans",
"'i'+ans",
"'i'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==10",
"n%26",
"n",
"26",
"10",
"{\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='j'+ans",
"ans",
"'j'+ans",
"'j'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==11",
"n%26",
"n",
"26",
"11",
"{\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='k'+ans",
"ans",
"'k'+ans",
"'k'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==12",
"n%26",
"n",
"26",
"12",
"{\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='l'+ans",
"ans",
"'l'+ans",
"'l'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==13",
"n%26",
"n",
"26",
"13",
"{\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='m'+ans",
"ans",
"'m'+ans",
"'m'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==14",
"n%26",
"n",
"26",
"14",
"{\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='n'+ans",
"ans",
"'n'+ans",
"'n'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==15",
"n%26",
"n",
"26",
"15",
"{\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='o'+ans",
"ans",
"'o'+ans",
"'o'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==16",
"n%26",
"n",
"26",
"16",
"{\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='p'+ans",
"ans",
"'p'+ans",
"'p'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==17",
"n%26",
"n",
"26",
"17",
"{\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='q'+ans",
"ans",
"'q'+ans",
"'q'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==18",
"n%26",
"n",
"26",
"18",
"{\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='r'+ans",
"ans",
"'r'+ans",
"'r'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==19",
"n%26",
"n",
"26",
"19",
"{\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='s'+ans",
"ans",
"'s'+ans",
"'s'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==20",
"n%26",
"n",
"26",
"20",
"{\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='t'+ans",
"ans",
"'t'+ans",
"'t'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==21",
"n%26",
"n",
"26",
"21",
"{\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='u'+ans",
"ans",
"'u'+ans",
"'u'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==22",
"n%26",
"n",
"26",
"22",
"{\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='v'+ans",
"ans",
"'v'+ans",
"'v'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==23",
"n%26",
"n",
"26",
"23",
"{\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='w'+ans",
"ans",
"'w'+ans",
"'w'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==24",
"n%26",
"n",
"26",
"24",
"{\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='x'+ans",
"ans",
"'x'+ans",
"'x'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==25",
"n%26",
"n",
"26",
"25",
"{\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}",
"ans='y'+ans",
"ans",
"'y'+ans",
"'y'",
"ans",
"n=n/26",
"n",
"n/26",
"n",
"26",
"if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"n%26==0",
"n%26",
"n",
"26",
"0",
"{\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}",
"ans='z'+ans",
"ans",
"'z'+ans",
"'z'",
"ans",
"n=n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n>0) {\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t }\n}",
"public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\t\tString ans = \"\";\n\t\twhile(n>0) {\n\t\t\tif(n%26==1) {\n\t\t\t\tans = 'a'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==2) {\n\t\t\t\tans='b'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==3) {\n\t\t\t\tans='c'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==4) {\n\t\t\t\tans='d'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==5) {\n\t\t\t\tans='e'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==6) {\n\t\t\t\tans='f'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==7) {\n\t\t\t\tans='g'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==8) {\n\t\t\t\tans='h'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==9) {\n\t\t\t\tans='i'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==10) {\n\t\t\t\tans='j'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==11) {\n\t\t\t\tans='k'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==12) {\n\t\t\t\tans='l'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==13) {\n\t\t\t\tans='m'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==14) {\n\t\t\t\tans='n'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==15) {\n\t\t\t\tans='o'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==16) {\n\t\t\t\tans='p'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==17) {\n\t\t\t\tans='q'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==18) {\n\t\t\t\tans='r'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==19) {\n\t\t\t\tans='s'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==20) {\n\t\t\t\tans='t'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==21) {\n\t\t\t\tans='u'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==22) {\n\t\t\t\tans='v'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==23) {\n\t\t\t\tans='w'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==24) {\n\t\t\t\tans='x'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==25) {\n\t\t\t\tans='y'+ans;\n\t\t\t\tn=n/26;\n\t\t\t\t\n\t\t\t}\n\t\t\telse if(n%26==0) {\n\t\t\t\tans='z'+ans;\n\t\t\t\tn=n/26-1;\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(ans);\n\t }\n}",
"Main"
]
| import java.util.*;
import java.math.RoundingMode;
import java.math.BigDecimal;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
String ans = "";
while(n>0) {
if(n%26==1) {
ans = 'a'+ans;
n=n/26;
}
else if(n%26==2) {
ans='b'+ans;
n=n/26;
}
else if(n%26==3) {
ans='c'+ans;
n=n/26;
}
else if(n%26==4) {
ans='d'+ans;
n=n/26;
}
else if(n%26==5) {
ans='e'+ans;
n=n/26;
}
else if(n%26==6) {
ans='f'+ans;
n=n/26;
}
else if(n%26==7) {
ans='g'+ans;
n=n/26;
}
else if(n%26==8) {
ans='h'+ans;
n=n/26;
}
else if(n%26==9) {
ans='i'+ans;
n=n/26;
}
else if(n%26==10) {
ans='j'+ans;
n=n/26;
}
else if(n%26==11) {
ans='k'+ans;
n=n/26;
}
else if(n%26==12) {
ans='l'+ans;
n=n/26;
}
else if(n%26==13) {
ans='m'+ans;
n=n/26;
}
else if(n%26==14) {
ans='n'+ans;
n=n/26;
}
else if(n%26==15) {
ans='o'+ans;
n=n/26;
}
else if(n%26==16) {
ans='p'+ans;
n=n/26;
}
else if(n%26==17) {
ans='q'+ans;
n=n/26;
}
else if(n%26==18) {
ans='r'+ans;
n=n/26;
}
else if(n%26==19) {
ans='s'+ans;
n=n/26;
}
else if(n%26==20) {
ans='t'+ans;
n=n/26;
}
else if(n%26==21) {
ans='u'+ans;
n=n/26;
}
else if(n%26==22) {
ans='v'+ans;
n=n/26;
}
else if(n%26==23) {
ans='w'+ans;
n=n/26;
}
else if(n%26==24) {
ans='x'+ans;
n=n/26;
}
else if(n%26==25) {
ans='y'+ans;
n=n/26;
}
else if(n%26==0) {
ans='z'+ans;
n=n/26-1;
}
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
2,
13,
13,
30,
30,
40,
13,
0,
13,
17,
0,
13,
13,
0,
13,
13,
41,
13,
2,
2,
13,
13,
17,
41,
13,
4,
13,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
17,
29,
2,
4,
13,
2,
13,
17,
2,
13,
17,
2,
17,
2,
13,
17,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
102,
5
],
[
102,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
16,
20
],
[
10,
21
],
[
21,
22
],
[
21,
23
],
[
10,
24
],
[
24,
25
],
[
24,
26
],
[
10,
27
],
[
27,
28
],
[
27,
29
],
[
10,
30
],
[
30,
31
],
[
30,
32
],
[
10,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
35,
37
],
[
33,
38
],
[
39,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
45,
47
],
[
39,
48
],
[
48,
49
],
[
48,
50
],
[
10,
51
],
[
51,
52
],
[
51,
53
],
[
54,
54
],
[
54,
55
],
[
54,
56
],
[
54,
57
],
[
10,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
60,
62
],
[
60,
63
],
[
10,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
6,
70
],
[
70,
71
],
[
102,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
75,
79
],
[
79,
80
],
[
80,
81
],
[
74,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
83,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
94,
96
],
[
72,
97
],
[
97,
98
],
[
72,
99
],
[
99,
100
],
[
0,
101
],
[
101,
102
],
[
101,
103
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }\n }\n\n private static String dfs(long n, int k) {\n if (k <= 0) {\n return \"\";\n }\n return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }\n }\n\n private static String dfs(long n, int k) {\n if (k <= 0) {\n return \"\";\n }\n return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));\n }\n\n}",
"Main",
"public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }\n }",
"main",
"{\n try (Scanner sc = new Scanner(System.in)) {\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }",
"{\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"long N = sc.nextLong() - 0;",
"N",
"sc.nextLong() - 0",
"sc.nextLong()",
"sc.nextLong",
"sc",
"0",
"int k = 1;",
"k",
"1",
"long n = 26;",
"n",
"26",
"long sum = 26;",
"sum",
"26",
"long prev = 0;",
"prev",
"0",
"for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }",
";",
"N > sum",
"N",
"sum",
"{\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }",
"{\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }",
"k++",
"k",
"n *= 26",
"n",
"26",
"prev = sum",
"prev",
"sum",
"sum += n",
"sum",
"n",
"long N2 = N - prev - 1;",
"N2",
"N - prev - 1",
"N - prev - 1",
"N",
"prev",
"1",
"String name = dfs(N2, k);",
"name",
"dfs(N2, k)",
"dfs",
"N2",
"k",
"System.out.println(name)",
"System.out.println",
"System.out",
"System",
"System.out",
"name",
"String[] args",
"args",
"private static String dfs(long n, int k) {\n if (k <= 0) {\n return \"\";\n }\n return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));\n }",
"dfs",
"{\n if (k <= 0) {\n return \"\";\n }\n return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));\n }",
"if (k <= 0) {\n return \"\";\n }",
"k <= 0",
"k",
"0",
"{\n return \"\";\n }",
"return \"\";",
"\"\"",
"return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));",
"dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)))",
"dfs(n / 26, k - 1)",
"dfs",
"n / 26",
"n",
"26",
"k - 1",
"k",
"1",
"(char) ('a' + ((n % 26)))",
"'a'",
"((n % 26))",
"n",
"26",
"long n",
"n",
"int k",
"k",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }\n }\n\n private static String dfs(long n, int k) {\n if (k <= 0) {\n return \"\";\n }\n return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));\n }\n\n}",
"public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n long N = sc.nextLong() - 0;\n int k = 1;\n long n = 26;\n long sum = 26;\n long prev = 0;\n for (; N > sum;) {\n k++;\n n *= 26;\n prev = sum;\n sum += n;\n }\n\n long N2 = N - prev - 1;\n String name = dfs(N2, k);\n\n System.out.println(name);\n }\n }\n\n private static String dfs(long n, int k) {\n if (k <= 0) {\n return \"\";\n }\n return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
long N = sc.nextLong() - 0;
int k = 1;
long n = 26;
long sum = 26;
long prev = 0;
for (; N > sum;) {
k++;
n *= 26;
prev = sum;
sum += n;
}
long N2 = N - prev - 1;
String name = dfs(N2, k);
System.out.println(name);
}
}
private static String dfs(long n, int k) {
if (k <= 0) {
return "";
}
return dfs(n / 26, k - 1) + (char) ('a' + ((n % 26)));
}
}
|
[
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,
6,
13,
12,
13,
30,
41,
13,
18,
13,
13,
41,
13,
18,
13,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
4,
18,
13,
17,
13,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
17,
2,
2,
2,
13,
17,
17,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
4,
18,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
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,
38,
5,
13,
30,
37,
20,
30,
4,
18,
18,
36,
13,
13,
6,
13,
41,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
18,
36,
13,
13,
23,
13,
12,
13,
30,
4,
13,
20,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
13,
17,
4,
18,
13,
0,
13,
17,
29,
36,
23,
13,
12,
13,
30,
14,
40,
13,
30,
4,
13,
17,
29,
4,
13,
13,
23,
13,
12,
13,
30,
29,
4,
13,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
4,
18,
13,
0,
13,
17,
14,
13,
30,
38,
5,
13,
30,
37,
20,
30,
4,
18,
13,
29,
36,
12,
13,
30,
38,
5,
13,
30,
37,
20,
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
],
[
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
],
[
340,
47
],
[
340,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
50,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
50,
61
],
[
61,
62
],
[
61,
63
],
[
50,
64
],
[
64,
65
],
[
64,
66
],
[
50,
67
],
[
67,
68
],
[
67,
69
],
[
50,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
70,
74
],
[
70,
75
],
[
50,
76
],
[
76,
77
],
[
77,
78
],
[
48,
79
],
[
79,
80
],
[
340,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
85,
91
],
[
91,
92
],
[
91,
93
],
[
85,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
99,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
104,
108
],
[
103,
109
],
[
98,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
85,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
83,
123
],
[
123,
124
],
[
83,
125
],
[
125,
126
],
[
83,
127
],
[
127,
128
],
[
340,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
131,
133
],
[
129,
134
],
[
134,
135
],
[
134,
136
],
[
129,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
140,
141
],
[
140,
142
],
[
137,
143
],
[
143,
144
],
[
129,
145
],
[
145,
146
],
[
145,
147
],
[
147,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
154,
155
],
[
155,
156
],
[
148,
157
],
[
157,
158
],
[
158,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
158,
164
],
[
164,
165
],
[
165,
166
],
[
165,
167
],
[
147,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
129,
172
],
[
172,
173
],
[
172,
174
],
[
174,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
176,
179
],
[
179,
180
],
[
129,
181
],
[
181,
182
],
[
181,
183
],
[
183,
184
],
[
184,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
184,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
129,
196
],
[
340,
197
],
[
197,
198
],
[
197,
199
],
[
199,
200
],
[
197,
201
],
[
201,
202
],
[
201,
203
],
[
197,
204
],
[
204,
205
],
[
204,
206
],
[
197,
207
],
[
207,
208
],
[
207,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
210,
214
],
[
207,
215
],
[
215,
216
],
[
197,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
217,
223
],
[
223,
224
],
[
197,
225
],
[
225,
226
],
[
225,
227
],
[
227,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
232,
233
],
[
228,
234
],
[
234,
235
],
[
235,
236
],
[
236,
237
],
[
235,
238
],
[
234,
239
],
[
239,
240
],
[
239,
241
],
[
227,
242
],
[
242,
243
],
[
225,
244
],
[
244,
245
],
[
197,
246
],
[
246,
247
],
[
246,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
253,
254
],
[
249,
255
],
[
255,
256
],
[
256,
257
],
[
257,
258
],
[
256,
259
],
[
256,
260
],
[
256,
261
],
[
261,
262
],
[
262,
263
],
[
255,
264
],
[
264,
265
],
[
264,
266
],
[
248,
267
],
[
267,
268
],
[
246,
269
],
[
269,
270
],
[
197,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
274,
275
],
[
275,
276
],
[
274,
277
],
[
277,
278
],
[
278,
279
],
[
278,
280
],
[
273,
281
],
[
281,
282
],
[
282,
283
],
[
282,
284
],
[
271,
285
],
[
285,
286
],
[
197,
287
],
[
287,
288
],
[
287,
289
],
[
289,
290
],
[
290,
291
],
[
291,
292
],
[
291,
293
],
[
293,
294
],
[
294,
295
],
[
293,
296
],
[
287,
297
],
[
297,
298
],
[
197,
299
],
[
299,
300
],
[
299,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
304,
305
],
[
305,
306
],
[
301,
307
],
[
307,
308
],
[
307,
309
],
[
301,
310
],
[
310,
311
],
[
310,
312
],
[
312,
313
],
[
313,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
317,
318
],
[
313,
319
],
[
319,
320
],
[
320,
321
],
[
321,
322
],
[
301,
323
],
[
323,
324
],
[
197,
325
],
[
325,
326
],
[
325,
327
],
[
327,
328
],
[
328,
329
],
[
329,
330
],
[
329,
331
],
[
331,
332
],
[
332,
333
],
[
328,
334
],
[
334,
335
],
[
335,
336
],
[
336,
337
],
[
197,
338
],
[
0,
339
],
[
339,
340
],
[
339,
341
]
]
| [
"import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedOutputStream;\nimport java.io.UncheckedIOException;\nimport java.util.Objects;\nimport java.nio.charset.Charset;\nimport java.util.StringTokenizer;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author mikit\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long n = in.longs();\n StringBuilder name = new StringBuilder();\n while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n out.ans(name).ln();\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(Object obj) {\n return ans(Objects.toString(obj));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}\n",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.OutputStream;",
"OutputStream",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.BufferedOutputStream;",
"BufferedOutputStream",
"java.io",
"import java.io.UncheckedIOException;",
"UncheckedIOException",
"java.io",
"import java.util.Objects;",
"Objects",
"java.util",
"import java.nio.charset.Charset;",
"Charset",
"java.nio.charset",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.io.Writer;",
"Writer",
"java.io",
"import java.io.OutputStreamWriter;",
"OutputStreamWriter",
"java.io",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long n = in.longs();\n StringBuilder name = new StringBuilder();\n while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n out.ans(name).ln();\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(Object obj) {\n return ans(Objects.toString(obj));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }",
"main",
"{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }",
"InputStream inputStream = System.in;",
"inputStream",
"System.in",
"System",
"System.in",
"OutputStream outputStream = System.out;",
"outputStream",
"System.out",
"System",
"System.out",
"LightScanner in = new LightScanner(inputStream);",
"in",
"new LightScanner(inputStream)",
"LightWriter out = new LightWriter(outputStream);",
"out",
"new LightWriter(outputStream)",
"COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();",
"solver",
"new COneQuadrillionAndOneDalmatians()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long n = in.longs();\n StringBuilder name = new StringBuilder();\n while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n out.ans(name).ln();\n }\n\n }",
"COneQuadrillionAndOneDalmatians",
"public void solve(int testNumber, LightScanner in, LightWriter out) {\n long n = in.longs();\n StringBuilder name = new StringBuilder();\n while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n out.ans(name).ln();\n }",
"solve",
"{\n long n = in.longs();\n StringBuilder name = new StringBuilder();\n while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n out.ans(name).ln();\n }",
"long n = in.longs();",
"n",
"in.longs()",
"in.longs",
"in",
"StringBuilder name = new StringBuilder();",
"name",
"new StringBuilder()",
"while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }",
"n > 0",
"n",
"0",
"{\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }",
"name.insert(0, (char) ((n + 25) % 26 + 'a'))",
"name.insert",
"name",
"0",
"(char) ((n + 25) % 26 + 'a')",
"(n + 25) % 26",
"(n + 25)",
"n",
"25",
"26",
"'a'",
"n = (n - 1) / 26",
"n",
"(n - 1) / 26",
"(n - 1)",
"n",
"1",
"26",
"out.ans(name).ln()",
"out.ans(name).ln",
"out.ans(name)",
"out.ans",
"out",
"name",
"int testNumber",
"testNumber",
"LightScanner in",
"in",
"LightWriter out",
"out",
"static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"LightScanner",
"{\n reader = new BufferedReader(new InputStreamReader(in));\n }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"InputStream in",
"in",
"public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }",
"string",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(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 UncheckedIOException(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 UncheckedIOException(e);\n }\n }",
"try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"catch (IOException e) {\n throw new UncheckedIOException(e);\n }",
"IOException e",
"{\n throw new UncheckedIOException(e);\n }",
"throw new UncheckedIOException(e);",
"new UncheckedIOException(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",
"public long longs() {\n return Long.parseLong(string());\n }",
"longs",
"{\n return Long.parseLong(string());\n }",
"return Long.parseLong(string());",
"Long.parseLong(string())",
"Long.parseLong",
"Long",
"string()",
"string",
"public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n this.reader.close();\n }",
"this.reader.close()",
"this.reader.close",
"this.reader",
"this",
"this.reader",
"AutoCloseable",
"static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(Object obj) {\n return ans(Objects.toString(obj));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }",
"LightWriter",
"private final Writer out;",
"out",
"private boolean autoflush = false;",
"autoflush",
"false",
"private boolean breaked = true;",
"breaked",
"true",
"public LightWriter(Writer out) {\n this.out = out;\n }",
"LightWriter",
"{\n this.out = out;\n }",
"this.out = out",
"this.out",
"this",
"this.out",
"out",
"Writer out",
"out",
"public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"LightWriter",
"{\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }",
"this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()))",
"this",
"new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset())",
"OutputStream out",
"out",
"public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(c);\n breaked = false;\n }",
"out.write(c)",
"out.write",
"out",
"c",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"char c",
"c",
"public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"print",
"{\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }",
"try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.write(s, 0, s.length());\n breaked = false;\n }",
"out.write(s, 0, s.length())",
"out.write",
"out",
"s",
"0",
"s.length()",
"s.length",
"s",
"breaked = false",
"breaked",
"false",
"return this;",
"this",
"String s",
"s",
"public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"ans",
"{\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }",
"if (!breaked) {\n print(' ');\n }",
"!breaked",
"breaked",
"{\n print(' ');\n }",
"print(' ')",
"print",
"' '",
"return print(s);",
"print(s)",
"print",
"s",
"String s",
"s",
"public LightWriter ans(Object obj) {\n return ans(Objects.toString(obj));\n }",
"ans",
"{\n return ans(Objects.toString(obj));\n }",
"return ans(Objects.toString(obj));",
"ans(Objects.toString(obj))",
"ans",
"Objects.toString(obj)",
"Objects.toString",
"Objects",
"obj",
"Object obj",
"obj",
"public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"ln",
"{\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }",
"print(System.lineSeparator())",
"print",
"System.lineSeparator()",
"System.lineSeparator",
"System",
"breaked = true",
"breaked",
"true",
"if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"autoflush",
"{\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.flush();\n }",
"out.flush()",
"out.flush",
"out",
"return this;",
"this",
"public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"close",
"{\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }",
"try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }",
"IOException ex",
"{\n throw new UncheckedIOException(ex);\n }",
"throw new UncheckedIOException(ex);",
"new UncheckedIOException(ex)",
"{\n out.close();\n }",
"out.close()",
"out.close",
"out",
"AutoCloseable",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long n = in.longs();\n StringBuilder name = new StringBuilder();\n while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n out.ans(name).ln();\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(Object obj) {\n return ans(Objects.toString(obj));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n LightScanner in = new LightScanner(inputStream);\n LightWriter out = new LightWriter(outputStream);\n COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class COneQuadrillionAndOneDalmatians {\n public void solve(int testNumber, LightScanner in, LightWriter out) {\n long n = in.longs();\n StringBuilder name = new StringBuilder();\n while (n > 0) {\n name.insert(0, (char) ((n + 25) % 26 + 'a'));\n n = (n - 1) / 26;\n }\n out.ans(name).ln();\n }\n\n }\n\n static class LightScanner implements AutoCloseable {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public LightScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n }\n\n public String string() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new UncheckedIOException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long longs() {\n return Long.parseLong(string());\n }\n\n public void close() {\n try {\n this.reader.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n\n static class LightWriter implements AutoCloseable {\n private final Writer out;\n private boolean autoflush = false;\n private boolean breaked = true;\n\n public LightWriter(Writer out) {\n this.out = out;\n }\n\n public LightWriter(OutputStream out) {\n this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));\n }\n\n public LightWriter print(char c) {\n try {\n out.write(c);\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter print(String s) {\n try {\n out.write(s, 0, s.length());\n breaked = false;\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n return this;\n }\n\n public LightWriter ans(String s) {\n if (!breaked) {\n print(' ');\n }\n return print(s);\n }\n\n public LightWriter ans(Object obj) {\n return ans(Objects.toString(obj));\n }\n\n public LightWriter ln() {\n print(System.lineSeparator());\n breaked = true;\n if (autoflush) {\n try {\n out.flush();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n return this;\n }\n\n public void close() {\n try {\n out.close();\n } catch (IOException ex) {\n throw new UncheckedIOException(ex);\n }\n }\n\n }\n}",
"Main"
]
| import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.BufferedOutputStream;
import java.io.UncheckedIOException;
import java.util.Objects;
import java.nio.charset.Charset;
import java.util.StringTokenizer;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.io.BufferedReader;
import java.io.InputStream;
/**
* Built using CHelper plug-in
* Actual solution is at the top
*
* @author mikit
*/
public class Main {
public static void main(String[] args) {
InputStream inputStream = System.in;
OutputStream outputStream = System.out;
LightScanner in = new LightScanner(inputStream);
LightWriter out = new LightWriter(outputStream);
COneQuadrillionAndOneDalmatians solver = new COneQuadrillionAndOneDalmatians();
solver.solve(1, in, out);
out.close();
}
static class COneQuadrillionAndOneDalmatians {
public void solve(int testNumber, LightScanner in, LightWriter out) {
long n = in.longs();
StringBuilder name = new StringBuilder();
while (n > 0) {
name.insert(0, (char) ((n + 25) % 26 + 'a'));
n = (n - 1) / 26;
}
out.ans(name).ln();
}
}
static class LightScanner implements AutoCloseable {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public LightScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
}
public String string() {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new UncheckedIOException(e);
}
}
return tokenizer.nextToken();
}
public long longs() {
return Long.parseLong(string());
}
public void close() {
try {
this.reader.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
static class LightWriter implements AutoCloseable {
private final Writer out;
private boolean autoflush = false;
private boolean breaked = true;
public LightWriter(Writer out) {
this.out = out;
}
public LightWriter(OutputStream out) {
this(new OutputStreamWriter(new BufferedOutputStream(out), Charset.defaultCharset()));
}
public LightWriter print(char c) {
try {
out.write(c);
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter print(String s) {
try {
out.write(s, 0, s.length());
breaked = false;
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
return this;
}
public LightWriter ans(String s) {
if (!breaked) {
print(' ');
}
return print(s);
}
public LightWriter ans(Object obj) {
return ans(Objects.toString(obj));
}
public LightWriter ln() {
print(System.lineSeparator());
breaked = true;
if (autoflush) {
try {
out.flush();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
return this;
}
public void close() {
try {
out.close();
} catch (IOException ex) {
throw new UncheckedIOException(ex);
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
42,
2,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
13,
17,
3,
41,
13,
2,
13,
17,
4,
18,
13,
18,
13,
13,
14,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
13,
0,
13,
17,
30,
0,
13,
2,
13,
13,
40,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
13,
0,
13,
17,
30,
0,
13,
2,
2,
13,
13,
13,
40,
13,
29,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
41,
13,
20,
17,
41,
13,
41,
13,
12,
13,
30,
4,
13,
18,
13,
13,
12,
13,
30,
0,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
40,
17,
37,
20,
14,
2,
13,
13,
30,
0,
13,
17,
38,
5,
13,
30,
37,
20,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
29,
40,
17,
29,
18,
13,
40,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
20,
42,
40,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
41,
13,
4,
13,
42,
4,
13,
13,
0,
13,
4,
13,
41,
13,
17,
14,
2,
13,
17,
30,
0,
13,
40,
17,
0,
13,
4,
13,
41,
13,
17,
42,
40,
4,
13,
13,
30,
14,
2,
2,
13,
17,
2,
13,
17,
37,
20,
0,
13,
17,
0,
13,
2,
13,
17,
0,
13,
4,
13,
29,
2,
13,
13,
12,
13,
30,
29,
4,
18,
13,
4,
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,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
14,
26
],
[
26,
27
],
[
26,
28
],
[
14,
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
],
[
14,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
63,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
68,
71
],
[
67,
72
],
[
62,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
75,
77
],
[
62,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
81,
82
],
[
81,
83
],
[
62,
84
],
[
84,
85
],
[
85,
86
],
[
85,
87
],
[
84,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
84,
96
],
[
96,
97
],
[
96,
98
],
[
14,
99
],
[
99,
100
],
[
100,
101
],
[
99,
102
],
[
102,
103
],
[
103,
104
],
[
14,
105
],
[
105,
106
],
[
106,
107
],
[
12,
108
],
[
108,
109
],
[
10,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
112,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
121,
127
],
[
127,
128
],
[
128,
129
],
[
128,
130
],
[
130,
131
],
[
130,
132
],
[
127,
133
],
[
133,
134
],
[
133,
135
],
[
121,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
139,
140
],
[
139,
141
],
[
136,
142
],
[
142,
143
],
[
112,
144
],
[
144,
145
],
[
110,
146
],
[
146,
147
],
[
110,
148
],
[
148,
149
],
[
10,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
156,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
161,
167
],
[
167,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
171,
172
],
[
171,
173
],
[
170,
174
],
[
167,
175
],
[
175,
176
],
[
175,
177
],
[
161,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
178,
186
],
[
186,
187
],
[
152,
188
],
[
188,
189
],
[
150,
190
],
[
190,
191
],
[
150,
192
],
[
192,
193
],
[
150,
194
],
[
194,
195
],
[
10,
196
],
[
196,
197
],
[
196,
198
],
[
198,
199
],
[
196,
200
],
[
200,
201
],
[
200,
202
],
[
196,
204
],
[
204,
205
],
[
196,
206
],
[
206,
207
],
[
196,
208
],
[
208,
209
],
[
208,
210
],
[
210,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
213,
215
],
[
196,
216
],
[
216,
217
],
[
216,
218
],
[
218,
219
],
[
219,
220
],
[
219,
221
],
[
216,
222
],
[
222,
223
],
[
196,
224
],
[
224,
225
],
[
224,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
230,
231
],
[
227,
232
],
[
232,
233
],
[
226,
234
],
[
234,
235
],
[
235,
236
],
[
235,
237
],
[
234,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
238,
242
],
[
242,
243
],
[
243,
244
],
[
243,
245
],
[
245,
246
],
[
246,
247
],
[
242,
248
],
[
248,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
251,
254
],
[
238,
255
],
[
255,
256
],
[
256,
257
],
[
256,
258
],
[
255,
259
],
[
259,
260
],
[
260,
261
],
[
226,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
196,
267
],
[
267,
268
],
[
267,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
272,
273
],
[
269,
274
],
[
274,
275
],
[
275,
276
],
[
275,
277
],
[
274,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
269,
282
],
[
282,
283
],
[
282,
284
],
[
269,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
285,
290
],
[
290,
291
],
[
291,
292
],
[
292,
293
],
[
291,
294
],
[
290,
295
],
[
295,
296
],
[
295,
297
],
[
297,
298
],
[
269,
299
],
[
299,
300
],
[
300,
301
],
[
301,
302
],
[
196,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
308,
309
],
[
305,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
314
],
[
314,
315
],
[
314,
316
],
[
316,
317
],
[
305,
318
],
[
318,
319
],
[
318,
320
],
[
305,
321
],
[
321,
322
],
[
322,
323
],
[
323,
324
],
[
323,
325
],
[
321,
326
],
[
326,
327
],
[
327,
328
],
[
328,
329
],
[
327,
330
],
[
326,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
305,
335
],
[
335,
336
],
[
336,
337
],
[
337,
338
],
[
196,
339
],
[
339,
340
],
[
339,
341
],
[
341,
342
],
[
342,
343
],
[
342,
344
],
[
344,
345
],
[
341,
346
],
[
346,
347
],
[
347,
348
],
[
347,
349
],
[
346,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
341,
354
],
[
354,
355
],
[
354,
356
],
[
341,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
357,
361
],
[
361,
362
],
[
362,
363
],
[
362,
364
],
[
364,
365
],
[
361,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
341,
370
],
[
370,
371
],
[
370,
372
],
[
341,
373
],
[
373,
374
],
[
374,
375
],
[
375,
376
],
[
375,
377
],
[
373,
378
],
[
378,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
380,
384
],
[
384,
385
],
[
384,
386
],
[
379,
387
],
[
387,
388
],
[
378,
389
],
[
389,
390
],
[
389,
391
],
[
378,
392
],
[
392,
393
],
[
392,
394
],
[
394,
395
],
[
394,
396
],
[
378,
397
],
[
397,
398
],
[
397,
399
],
[
399,
400
],
[
341,
401
],
[
401,
402
],
[
402,
403
],
[
402,
404
],
[
196,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
407,
412
],
[
412,
413
],
[
413,
414
],
[
413,
415
],
[
412,
416
],
[
416,
417
],
[
416,
418
],
[
418,
419
],
[
407,
420
],
[
420,
421
],
[
420,
422
],
[
407,
423
],
[
423,
424
],
[
424,
425
],
[
424,
426
],
[
423,
427
],
[
427,
428
],
[
428,
429
],
[
428,
430
],
[
430,
431
],
[
427,
432
],
[
432,
433
],
[
432,
434
],
[
434,
435
],
[
407,
436
],
[
436,
437
],
[
436,
438
],
[
407,
439
],
[
439,
440
],
[
440,
441
],
[
441,
442
],
[
441,
443
],
[
439,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
447,
448
],
[
447,
449
],
[
446,
450
],
[
450,
451
],
[
450,
452
],
[
445,
453
],
[
453,
454
],
[
444,
455
],
[
455,
456
],
[
455,
457
],
[
444,
458
],
[
458,
459
],
[
458,
460
],
[
460,
461
],
[
460,
462
],
[
444,
463
],
[
463,
464
],
[
463,
465
],
[
465,
466
],
[
407,
467
],
[
467,
468
],
[
468,
469
],
[
468,
470
],
[
196,
471
],
[
471,
472
],
[
471,
473
],
[
473,
474
],
[
474,
475
],
[
475,
476
],
[
476,
477
],
[
475,
478
],
[
478,
479
],
[
196,
480
],
[
480,
481
],
[
480,
482
],
[
482,
483
],
[
483,
484
],
[
487,
485
],
[
497,
486
],
[
494,
487
],
[
487,
488
],
[
488,
489
],
[
488,
490
],
[
487,
491
],
[
491,
492
],
[
491,
493
],
[
494,
494
],
[
494,
495
],
[
494,
496
],
[
497,
497
],
[
497,
498
],
[
497,
499
],
[
487,
500
],
[
500,
501
],
[
500,
502
],
[
502,
503
],
[
480,
504
],
[
504,
505
],
[
196,
506
],
[
506,
507
],
[
506,
508
],
[
508,
509
],
[
509,
510
],
[
511,
511
],
[
511,
512
],
[
512,
513
],
[
512,
514
],
[
511,
515
],
[
515,
516
],
[
515,
517
],
[
511,
518
],
[
518,
519
],
[
518,
520
],
[
520,
521
],
[
506,
522
],
[
522,
523
],
[
196,
524
],
[
524,
525
],
[
524,
526
],
[
526,
527
],
[
527,
528
],
[
527,
529
],
[
526,
531
],
[
531,
532
],
[
532,
533
],
[
533,
534
],
[
533,
535
],
[
531,
536
],
[
536,
537
],
[
536,
538
],
[
531,
539
],
[
539,
540
],
[
540,
541
],
[
531,
542
],
[
543,
543
],
[
543,
544
],
[
544,
545
],
[
545,
546
],
[
545,
547
],
[
544,
548
],
[
548,
549
],
[
526,
550
],
[
550,
551
],
[
524,
552
],
[
552,
553
],
[
196,
554
],
[
554,
555
],
[
554,
556
],
[
556,
557
],
[
557,
558
],
[
557,
559
],
[
556,
561
],
[
561,
562
],
[
562,
563
],
[
563,
564
],
[
563,
565
],
[
561,
566
],
[
566,
567
],
[
566,
568
],
[
561,
569
],
[
569,
570
],
[
570,
571
],
[
561,
572
],
[
573,
573
],
[
573,
574
],
[
574,
575
],
[
575,
576
],
[
575,
577
],
[
574,
578
],
[
578,
579
],
[
556,
580
],
[
580,
581
],
[
554,
582
],
[
582,
583
]
]
| [
"\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n PrintWriter out = new PrintWriter(System.out);\n Reader s = new Reader();\n long n = s.l();\n StringBuffer ans = new StringBuffer();\n String [] arr = {\"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\"};\n while (n != 0) {\n if (n == 26) {\n ans.append('z');\n break;\n }\n long x = n%26;\n ans.append(arr[(int)x]);\n if (x == 0) {\n n = n/26-1;\n } else n /=26;\n }\n out.println(ans.reverse());\n out.flush();\n }\n\n private static int power(int a, int n) {\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a);\n n /= 2;\n } else {\n result = (result * a);\n n--;\n }\n }\n return result;\n }\n\n private static int power(int a, int n, int p) {\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a) % p;\n n /= 2;\n } else {\n result = (result * a) % p;\n n--;\n }\n }\n return result;\n }\n\n static class Reader {\n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar, numChars;\n\n public Reader() {\n this(System.in);\n }\n\n public Reader(InputStream is) {\n mIs = is;\n }\n\n public int read() {\n if (numChars == -1) throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) 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 String s() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public long l() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int i() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double d() throws IOException {\n return Double.parseDouble(s());\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int[] arr(int n) {\n int[] ret = new int[n];\n for (int i = 0; i < n; i++) {\n ret[i] = i();\n }\n return ret;\n }\n\n public long[] arrLong(int n) {\n long[] ret = new long[n];\n for (int i = 0; i < n; i++) {\n ret[i] = l();\n }\n return ret;\n }\n }\n // static class pairLong implements Comparator<pairLong> {\n// long first, second;\n//\n// pairLong() {\n// }\n//\n// pairLong(long first, long second) {\n// this.first = first;\n// this.second = second;\n// }\n//\n// @Override\n// public int compare(pairLong p1, pairLong p2) {\n// if (p1.first == p2.first) {\n// if(p1.second > p2.second) return 1;\n// else return -1;\n// }\n// if(p1.first > p2.first) return 1;\n// else return -1;\n// }\n// }\n// static class pair implements Comparator<pair> {\n// int first, second;\n//\n// pair() {\n// }\n//\n// pair(int first, int second) {\n// this.first = first;\n// this.second = second;\n// }\n//\n// @Override\n// public int compare(pair p1, pair p2) {\n// if (p1.first == p2.first) return p1.second - p2.second;\n// return p1.first - p2.first;\n// }\n// }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"class Main {\n public static void main(String[] args) throws IOException {\n PrintWriter out = new PrintWriter(System.out);\n Reader s = new Reader();\n long n = s.l();\n StringBuffer ans = new StringBuffer();\n String [] arr = {\"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\"};\n while (n != 0) {\n if (n == 26) {\n ans.append('z');\n break;\n }\n long x = n%26;\n ans.append(arr[(int)x]);\n if (x == 0) {\n n = n/26-1;\n } else n /=26;\n }\n out.println(ans.reverse());\n out.flush();\n }\n\n private static int power(int a, int n) {\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a);\n n /= 2;\n } else {\n result = (result * a);\n n--;\n }\n }\n return result;\n }\n\n private static int power(int a, int n, int p) {\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a) % p;\n n /= 2;\n } else {\n result = (result * a) % p;\n n--;\n }\n }\n return result;\n }\n\n static class Reader {\n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar, numChars;\n\n public Reader() {\n this(System.in);\n }\n\n public Reader(InputStream is) {\n mIs = is;\n }\n\n public int read() {\n if (numChars == -1) throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) 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 String s() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public long l() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int i() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double d() throws IOException {\n return Double.parseDouble(s());\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int[] arr(int n) {\n int[] ret = new int[n];\n for (int i = 0; i < n; i++) {\n ret[i] = i();\n }\n return ret;\n }\n\n public long[] arrLong(int n) {\n long[] ret = new long[n];\n for (int i = 0; i < n; i++) {\n ret[i] = l();\n }\n return ret;\n }\n }\n // static class pairLong implements Comparator<pairLong> {\n// long first, second;\n//\n// pairLong() {\n// }\n//\n// pairLong(long first, long second) {\n// this.first = first;\n// this.second = second;\n// }\n//\n// @Override\n// public int compare(pairLong p1, pairLong p2) {\n// if (p1.first == p2.first) {\n// if(p1.second > p2.second) return 1;\n// else return -1;\n// }\n// if(p1.first > p2.first) return 1;\n// else return -1;\n// }\n// }\n// static class pair implements Comparator<pair> {\n// int first, second;\n//\n// pair() {\n// }\n//\n// pair(int first, int second) {\n// this.first = first;\n// this.second = second;\n// }\n//\n// @Override\n// public int compare(pair p1, pair p2) {\n// if (p1.first == p2.first) return p1.second - p2.second;\n// return p1.first - p2.first;\n// }\n// }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n PrintWriter out = new PrintWriter(System.out);\n Reader s = new Reader();\n long n = s.l();\n StringBuffer ans = new StringBuffer();\n String [] arr = {\"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\"};\n while (n != 0) {\n if (n == 26) {\n ans.append('z');\n break;\n }\n long x = n%26;\n ans.append(arr[(int)x]);\n if (x == 0) {\n n = n/26-1;\n } else n /=26;\n }\n out.println(ans.reverse());\n out.flush();\n }",
"main",
"{\n PrintWriter out = new PrintWriter(System.out);\n Reader s = new Reader();\n long n = s.l();\n StringBuffer ans = new StringBuffer();\n String [] arr = {\"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\"};\n while (n != 0) {\n if (n == 26) {\n ans.append('z');\n break;\n }\n long x = n%26;\n ans.append(arr[(int)x]);\n if (x == 0) {\n n = n/26-1;\n } else n /=26;\n }\n out.println(ans.reverse());\n out.flush();\n }",
"PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"Reader s = new Reader();",
"s",
"new Reader()",
"long n = s.l();",
"n",
"s.l()",
"s.l",
"s",
"StringBuffer ans = new StringBuffer();",
"ans",
"new StringBuffer()",
"String [] arr = {\"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\"};",
"arr",
"{\"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\"",
"\"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 (n != 0) {\n if (n == 26) {\n ans.append('z');\n break;\n }\n long x = n%26;\n ans.append(arr[(int)x]);\n if (x == 0) {\n n = n/26-1;\n } else n /=26;\n }",
"n != 0",
"n",
"0",
"{\n if (n == 26) {\n ans.append('z');\n break;\n }\n long x = n%26;\n ans.append(arr[(int)x]);\n if (x == 0) {\n n = n/26-1;\n } else n /=26;\n }",
"if (n == 26) {\n ans.append('z');\n break;\n }",
"n == 26",
"n",
"26",
"{\n ans.append('z');\n break;\n }",
"ans.append('z')",
"ans.append",
"ans",
"'z'",
"break;",
"long x = n%26;",
"x",
"n%26",
"n",
"26",
"ans.append(arr[(int)x])",
"ans.append",
"ans",
"arr[(int)x]",
"arr",
"(int)x",
"if (x == 0) {\n n = n/26-1;\n } else n /=26;",
"x == 0",
"x",
"0",
"{\n n = n/26-1;\n }",
"n = n/26-1",
"n",
"n/26-1",
"n/26",
"n",
"26",
"1",
"n /=26",
"n",
"26",
"out.println(ans.reverse())",
"out.println",
"out",
"ans.reverse()",
"ans.reverse",
"ans",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"private static int power(int a, int n) {\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a);\n n /= 2;\n } else {\n result = (result * a);\n n--;\n }\n }\n return result;\n }",
"power",
"{\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a);\n n /= 2;\n } else {\n result = (result * a);\n n--;\n }\n }\n return result;\n }",
"int result = 1;",
"result",
"1",
"while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a);\n n /= 2;\n } else {\n result = (result * a);\n n--;\n }\n }",
"n > 0",
"n",
"0",
"{\n if (n % 2 == 0) {\n a = (a * a);\n n /= 2;\n } else {\n result = (result * a);\n n--;\n }\n }",
"if (n % 2 == 0) {\n a = (a * a);\n n /= 2;\n } else {\n result = (result * a);\n n--;\n }",
"n % 2 == 0",
"n % 2",
"n",
"2",
"0",
"{\n a = (a * a);\n n /= 2;\n }",
"a = (a * a)",
"a",
"(a * a)",
"a",
"a",
"n /= 2",
"n",
"2",
"{\n result = (result * a);\n n--;\n }",
"result = (result * a)",
"result",
"(result * a)",
"result",
"a",
"n--",
"n",
"return result;",
"result",
"int a",
"a",
"int n",
"n",
"private static int power(int a, int n, int p) {\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a) % p;\n n /= 2;\n } else {\n result = (result * a) % p;\n n--;\n }\n }\n return result;\n }",
"power",
"{\n int result = 1;\n while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a) % p;\n n /= 2;\n } else {\n result = (result * a) % p;\n n--;\n }\n }\n return result;\n }",
"int result = 1;",
"result",
"1",
"while (n > 0) {\n if (n % 2 == 0) {\n a = (a * a) % p;\n n /= 2;\n } else {\n result = (result * a) % p;\n n--;\n }\n }",
"n > 0",
"n",
"0",
"{\n if (n % 2 == 0) {\n a = (a * a) % p;\n n /= 2;\n } else {\n result = (result * a) % p;\n n--;\n }\n }",
"if (n % 2 == 0) {\n a = (a * a) % p;\n n /= 2;\n } else {\n result = (result * a) % p;\n n--;\n }",
"n % 2 == 0",
"n % 2",
"n",
"2",
"0",
"{\n a = (a * a) % p;\n n /= 2;\n }",
"a = (a * a) % p",
"a",
"(a * a) % p",
"(a * a)",
"a",
"a",
"p",
"n /= 2",
"n",
"2",
"{\n result = (result * a) % p;\n n--;\n }",
"result = (result * a) % p",
"result",
"(result * a) % p",
"(result * a)",
"result",
"a",
"p",
"n--",
"n",
"return result;",
"result",
"int a",
"a",
"int n",
"n",
"int p",
"p",
"static class Reader {\n private InputStream mIs;\n private byte[] buf = new byte[1024];\n private int curChar, numChars;\n\n public Reader() {\n this(System.in);\n }\n\n public Reader(InputStream is) {\n mIs = is;\n }\n\n public int read() {\n if (numChars == -1) throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) return -1;\n }\n return buf[curChar++];\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) 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 String s() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public long l() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public int i() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public double d() throws IOException {\n return Double.parseDouble(s());\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int[] arr(int n) {\n int[] ret = new int[n];\n for (int i = 0; i < n; i++) {\n ret[i] = i();\n }\n return ret;\n }\n\n public long[] arrLong(int n) {\n long[] ret = new long[n];\n for (int i = 0; i < n; i++) {\n ret[i] = l();\n }\n return ret;\n }\n }",
"Reader",
"private InputStream mIs;",
"mIs",
"private byte[] buf = new byte[1024];",
"buf",
"new byte[1024]",
"1024",
"private int curChar",
"curChar",
"numChars;",
"numChars",
"public Reader() {\n this(System.in);\n }",
"Reader",
"{\n this(System.in);\n }",
"this(System.in)",
"this",
"System.in",
"System",
"System.in",
"public Reader(InputStream is) {\n mIs = is;\n }",
"Reader",
"{\n mIs = is;\n }",
"mIs = is",
"mIs",
"is",
"InputStream is",
"is",
"public int read() {\n if (numChars == -1) throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) return -1;\n }\n return buf[curChar++];\n }",
"read",
"{\n if (numChars == -1) throw new InputMismatchException();\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) return -1;\n }\n return buf[curChar++];\n }",
"if (numChars == -1) throw new InputMismatchException();",
"numChars == -1",
"numChars",
"-1",
"1",
"throw new InputMismatchException();",
"new InputMismatchException()",
"if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) return -1;\n }",
"curChar >= numChars",
"curChar",
"numChars",
"{\n curChar = 0;\n try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) return -1;\n }",
"curChar = 0",
"curChar",
"0",
"try {\n numChars = mIs.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }",
"catch (IOException e) {\n throw new InputMismatchException();\n }",
"IOException e",
"{\n throw new InputMismatchException();\n }",
"throw new InputMismatchException();",
"new InputMismatchException()",
"{\n numChars = mIs.read(buf);\n }",
"numChars = mIs.read(buf)",
"numChars",
"mIs.read(buf)",
"mIs.read",
"mIs",
"buf",
"if (numChars <= 0) return -1;",
"numChars <= 0",
"numChars",
"0",
"return -1;",
"-1",
"1",
"return buf[curChar++];",
"buf[curChar++]",
"buf",
"curChar++",
"curChar",
"public String nextLine() {\n int c = read();\n while (isSpaceChar(c)) 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)) 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)) 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 String s() {\n int c = read();\n while (isSpaceChar(c)) 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 }",
"s",
"{\n int c = read();\n while (isSpaceChar(c)) 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)) c = read();",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"c = read()",
"c",
"read()",
"read",
"StringBuilder res = new StringBuilder();",
"res",
"new StringBuilder()",
"do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n res.appendCodePoint(c);\n c = read();\n }",
"res.appendCodePoint(c)",
"res.appendCodePoint",
"res",
"c",
"c = read()",
"c",
"read()",
"read",
"return res.toString();",
"res.toString()",
"res.toString",
"res",
"public long l() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"l",
"{\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) 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') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') 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 int i() {\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"i",
"{\n int c = read();\n while (isSpaceChar(c)) c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }",
"int c = read();",
"c",
"read()",
"read",
"while (isSpaceChar(c)) 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') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));",
"!isSpaceChar(c)",
"isSpaceChar(c)",
"isSpaceChar",
"c",
"{\n if (c < '0' || c > '9') throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }",
"if (c < '0' || c > '9') 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 d() throws IOException {\n return Double.parseDouble(s());\n }",
"d",
"{\n return Double.parseDouble(s());\n }",
"return Double.parseDouble(s());",
"Double.parseDouble(s())",
"Double.parseDouble",
"Double",
"s()",
"s",
"public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"isSpaceChar",
"{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }",
"return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == '\\t'",
"c == '\\r'",
"c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1",
"c == ' '",
"c",
"' '",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == '\\t'",
"c",
"'\\t'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"isEndOfLine",
"{\n return c == '\\n' || c == '\\r' || c == -1;\n }",
"return c == '\\n' || c == '\\r' || c == -1;",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n' || c == '\\r' || c == -1",
"c == '\\n'",
"c",
"'\\n'",
"c == '\\r'",
"c",
"'\\r'",
"c == -1",
"c",
"-1",
"1",
"int c",
"c",
"public int[] arr(int n) {\n int[] ret = new int[n];\n for (int i = 0; i < n; i++) {\n ret[i] = i();\n }\n return ret;\n }",
"arr",
"{\n int[] ret = new int[n];\n for (int i = 0; i < n; i++) {\n ret[i] = i();\n }\n return ret;\n }",
"int[] ret = new int[n];",
"ret",
"new int[n]",
"n",
"for (int i = 0; i < n; i++) {\n ret[i] = i();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ret[i] = i();\n }",
"{\n ret[i] = i();\n }",
"ret[i] = i()",
"ret[i]",
"ret",
"i",
"i()",
"i",
"return ret;",
"ret",
"int n",
"n",
"public long[] arrLong(int n) {\n long[] ret = new long[n];\n for (int i = 0; i < n; i++) {\n ret[i] = l();\n }\n return ret;\n }",
"arrLong",
"{\n long[] ret = new long[n];\n for (int i = 0; i < n; i++) {\n ret[i] = l();\n }\n return ret;\n }",
"long[] ret = new long[n];",
"ret",
"new long[n]",
"n",
"for (int i = 0; i < n; i++) {\n ret[i] = l();\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"{\n ret[i] = l();\n }",
"{\n ret[i] = l();\n }",
"ret[i] = l()",
"ret[i]",
"ret",
"i",
"l()",
"l",
"return ret;",
"ret",
"int n",
"n"
]
|
import java.util.*;
import java.io.*;
import java.math.*;
class Main {
public static void main(String[] args) throws IOException {
PrintWriter out = new PrintWriter(System.out);
Reader s = new Reader();
long n = s.l();
StringBuffer ans = new StringBuffer();
String [] arr = {"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 (n != 0) {
if (n == 26) {
ans.append('z');
break;
}
long x = n%26;
ans.append(arr[(int)x]);
if (x == 0) {
n = n/26-1;
} else n /=26;
}
out.println(ans.reverse());
out.flush();
}
private static int power(int a, int n) {
int result = 1;
while (n > 0) {
if (n % 2 == 0) {
a = (a * a);
n /= 2;
} else {
result = (result * a);
n--;
}
}
return result;
}
private static int power(int a, int n, int p) {
int result = 1;
while (n > 0) {
if (n % 2 == 0) {
a = (a * a) % p;
n /= 2;
} else {
result = (result * a) % p;
n--;
}
}
return result;
}
static class Reader {
private InputStream mIs;
private byte[] buf = new byte[1024];
private int curChar, numChars;
public Reader() {
this(System.in);
}
public Reader(InputStream is) {
mIs = is;
}
public int read() {
if (numChars == -1) throw new InputMismatchException();
if (curChar >= numChars) {
curChar = 0;
try {
numChars = mIs.read(buf);
} catch (IOException e) {
throw new InputMismatchException();
}
if (numChars <= 0) return -1;
}
return buf[curChar++];
}
public String nextLine() {
int c = read();
while (isSpaceChar(c)) c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isEndOfLine(c));
return res.toString();
}
public String s() {
int c = read();
while (isSpaceChar(c)) c = read();
StringBuilder res = new StringBuilder();
do {
res.appendCodePoint(c);
c = read();
} while (!isSpaceChar(c));
return res.toString();
}
public long l() {
int c = read();
while (isSpaceChar(c)) c = read();
int sgn = 1;
if (c == '-') {
sgn = -1;
c = read();
}
long res = 0;
do {
if (c < '0' || c > '9') throw new InputMismatchException();
res *= 10;
res += c - '0';
c = read();
} while (!isSpaceChar(c));
return res * sgn;
}
public int i() {
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 double d() throws IOException {
return Double.parseDouble(s());
}
public boolean isSpaceChar(int c) {
return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
}
public boolean isEndOfLine(int c) {
return c == '\n' || c == '\r' || c == -1;
}
public int[] arr(int n) {
int[] ret = new int[n];
for (int i = 0; i < n; i++) {
ret[i] = i();
}
return ret;
}
public long[] arrLong(int n) {
long[] ret = new long[n];
for (int i = 0; i < n; i++) {
ret[i] = l();
}
return ret;
}
}
// static class pairLong implements Comparator<pairLong> {
// long first, second;
//
// pairLong() {
// }
//
// pairLong(long first, long second) {
// this.first = first;
// this.second = second;
// }
//
// @Override
// public int compare(pairLong p1, pairLong p2) {
// if (p1.first == p2.first) {
// if(p1.second > p2.second) return 1;
// else return -1;
// }
// if(p1.first > p2.first) return 1;
// else return -1;
// }
// }
// static class pair implements Comparator<pair> {
// int first, second;
//
// pair() {
// }
//
// pair(int first, int second) {
// this.first = first;
// this.second = second;
// }
//
// @Override
// public int compare(pair p1, pair p2) {
// if (p1.first == p2.first) return p1.second - p2.second;
// return p1.first - p2.first;
// }
// }
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
40,
13,
4,
18,
13,
2,
17,
2,
13,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
44,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"\nimport java.util.Scanner;\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\n StringBuilder builder = new StringBuilder();\n while (N > 0) {\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }\n\n System.out.println(builder.reverse());\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\n StringBuilder builder = new StringBuilder();\n while (N > 0) {\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }\n\n System.out.println(builder.reverse());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n\n StringBuilder builder = new StringBuilder();\n while (N > 0) {\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }\n\n System.out.println(builder.reverse());\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n\n long N = scanner.nextLong();\n\n StringBuilder builder = new StringBuilder();\n while (N > 0) {\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }\n\n System.out.println(builder.reverse());\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"long N = scanner.nextLong();",
"N",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"while (N > 0) {\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }",
"N > 0",
"N",
"0",
"{\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }",
"N--",
"N",
"builder.append((char)('a' + N % 26))",
"builder.append",
"builder",
"(char)('a' + N % 26)",
"'a'",
"N % 26",
"N",
"26",
"N /= 26",
"N",
"26",
"System.out.println(builder.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"builder.reverse()",
"builder.reverse",
"builder",
"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\n StringBuilder builder = new StringBuilder();\n while (N > 0) {\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }\n\n System.out.println(builder.reverse());\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\n StringBuilder builder = new StringBuilder();\n while (N > 0) {\n N--;\n builder.append((char)('a' + N % 26));\n N /= 26;\n }\n\n System.out.println(builder.reverse());\n }\n}",
"Main"
]
|
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
long N = scanner.nextLong();
StringBuilder builder = new StringBuilder();
while (N > 0) {
N--;
builder.append((char)('a' + N % 26));
N /= 26;
}
System.out.println(builder.reverse());
}
}
|
[
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,
4,
18,
13,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
40,
13,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
41,
13,
2,
13,
17,
0,
13,
18,
13,
13,
0,
13,
17,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
106,
20
],
[
106,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
23,
35
],
[
35,
36
],
[
35,
37
],
[
23,
39
],
[
39,
40
],
[
39,
41
],
[
23,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
47,
48
],
[
47,
49
],
[
42,
50
],
[
50,
51
],
[
51,
52
],
[
42,
53
],
[
54,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
23,
64
],
[
64,
65
],
[
64,
66
],
[
23,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
67,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
76,
78
],
[
71,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
81,
83
],
[
71,
84
],
[
84,
85
],
[
84,
86
],
[
23,
87
],
[
87,
88
],
[
87,
89
],
[
23,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
23,
97
],
[
97,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
97,
102
],
[
21,
103
],
[
103,
104
],
[
0,
105
],
[
105,
106
],
[
105,
107
]
]
| [
"\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Scanner;\n \npublic class Main { \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(n>0){\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }\n \n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }\n}",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.HashMap;",
"HashMap",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.Map;",
"Map",
"java.util",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main { \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(n>0){\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }\n \n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(n>0){\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }\n \n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(n>0){\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }\n \n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\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[] list = new String[26];",
"list",
"new String[26]",
"26",
"char temp = 'a';",
"temp",
"'a'",
"for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"{\n list[i] = String.valueOf(temp++);\n }",
"{\n list[i] = String.valueOf(temp++);\n }",
"list[i] = String.valueOf(temp++)",
"list[i]",
"list",
"i",
"String.valueOf(temp++)",
"String.valueOf",
"String",
"temp++",
"temp",
"String ans = \"\";",
"ans",
"\"\"",
"while(n>0){\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }",
"n>0",
"n",
"0",
"{\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }",
"n--",
"n",
"int mod = (int) (n%26);",
"mod",
"(int) (n%26)",
"n",
"26",
"ans +=list[mod]",
"ans",
"list[mod]",
"list",
"mod",
"n/=26",
"n",
"26",
"StringBuffer str = new StringBuffer(ans);",
"str",
"new StringBuffer(ans)",
"String s = str.reverse().toString();",
"s",
"str.reverse().toString()",
"str.reverse().toString",
"str.reverse()",
"str.reverse",
"str",
"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 = Long.parseLong(sc.next());\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(n>0){\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }\n \n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }\n}",
"public class Main { \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n String[] list = new String[26];\n char temp = 'a';\n for(int i=0;i<26;i++){\n list[i] = String.valueOf(temp++);\n }\n\n String ans = \"\";\n while(n>0){\n n--;\n int mod = (int) (n%26);\n ans +=list[mod];\n n/=26;\n }\n \n StringBuffer str = new StringBuffer(ans);\n String s = str.reverse().toString();\n System.out.println(s);\n }\n}",
"Main"
]
|
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long n = Long.parseLong(sc.next());
String[] list = new String[26];
char temp = 'a';
for(int i=0;i<26;i++){
list[i] = String.valueOf(temp++);
}
String ans = "";
while(n>0){
n--;
int mod = (int) (n%26);
ans +=list[mod];
n/=26;
}
StringBuffer str = new StringBuffer(ans);
String s = str.reverse().toString();
System.out.println(s);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
20,
42,
2,
13,
17,
30,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
2,
17,
13,
0,
13,
2,
2,
13,
17,
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,
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
]
| [
[
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
],
[
11,
22
],
[
22,
23
],
[
22,
24
],
[
11,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
40,
41
],
[
40,
42
],
[
29,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
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
],
[
7,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
66,
68
],
[
62,
69
],
[
69,
70
],
[
69,
71
],
[
62,
73
],
[
73,
74
],
[
73,
75
],
[
62,
76
],
[
76,
77
],
[
76,
78
],
[
62,
79
],
[
79,
80
],
[
79,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
82,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
96,
97
],
[
97,
98
],
[
98,
99
],
[
93,
100
],
[
100,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
104,
105
],
[
103,
106
],
[
89,
107
],
[
107,
108
],
[
108,
109
],
[
108,
110
],
[
107,
111
],
[
111,
112
],
[
112,
113
],
[
81,
114
],
[
114,
115
],
[
62,
116
],
[
116,
117
],
[
116,
118
],
[
118,
119
],
[
119,
120
],
[
120,
121
],
[
119,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
125,
126
],
[
119,
127
],
[
127,
128
],
[
128,
129
],
[
62,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
138,
140
],
[
130,
141
],
[
141,
142
],
[
62,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
147,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
153,
155
],
[
146,
156
],
[
156,
157
],
[
145,
158
],
[
158,
159
],
[
159,
160
],
[
62,
161
],
[
161,
162
],
[
161,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
166,
167
],
[
164,
168
],
[
168,
169
],
[
163,
170
],
[
170,
171
],
[
170,
172
],
[
163,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
163,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
177,
181
],
[
181,
182
],
[
182,
183
],
[
183,
184
],
[
182,
185
],
[
181,
186
],
[
186,
187
],
[
186,
188
],
[
188,
189
],
[
163,
190
],
[
190,
191
],
[
191,
192
],
[
192,
193
],
[
62,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
197,
201
],
[
201,
202
],
[
196,
203
],
[
203,
204
],
[
203,
205
],
[
196,
206
],
[
206,
207
],
[
206,
208
],
[
196,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
196,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
213,
217
],
[
217,
218
],
[
218,
219
],
[
218,
220
],
[
217,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
196,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
227,
229
],
[
226,
230
],
[
230,
231
],
[
230,
232
],
[
225,
233
],
[
233,
234
],
[
234,
235
],
[
196,
236
],
[
236,
237
],
[
236,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
244,
246
],
[
239,
247
],
[
247,
248
],
[
248,
249
],
[
248,
250
],
[
247,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
253,
255
],
[
239,
256
],
[
256,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
257,
262
],
[
262,
263
],
[
263,
264
],
[
263,
265
],
[
256,
266
],
[
266,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
270,
271
],
[
268,
272
],
[
256,
273
],
[
273,
274
],
[
274,
275
],
[
238,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
62,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
282,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
291,
292
],
[
291,
293
],
[
288,
294
],
[
294,
295
],
[
294,
296
],
[
296,
297
],
[
296,
298
],
[
287,
299
],
[
299,
300
],
[
282,
301
],
[
301,
302
],
[
62,
303
],
[
303,
304
],
[
303,
305
],
[
305,
306
],
[
306,
307
],
[
307,
308
],
[
308,
309
],
[
307,
310
],
[
310,
311
]
]
| [
"\n\nimport java.util.*;\nimport java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n int mod ;\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n mod = (int)((n-1)%26);\n sb.append(((char)('a'+mod)));\n n = (n-1)/26;\n }\n System.out.println(sb.reverse().toString());\n\n }\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 private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n private boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }\n\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\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\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n int mod ;\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n mod = (int)((n-1)%26);\n sb.append(((char)('a'+mod)));\n n = (n-1)/26;\n }\n System.out.println(sb.reverse().toString());\n\n }\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 private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n private boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }\n\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\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\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n int mod ;\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n mod = (int)((n-1)%26);\n sb.append(((char)('a'+mod)));\n n = (n-1)/26;\n }\n System.out.println(sb.reverse().toString());\n\n }",
"main",
"{\n FastScanner fs = new FastScanner();\n long n = fs.nextLong();\n int mod ;\n StringBuilder sb = new StringBuilder();\n while(n > 0){\n mod = (int)((n-1)%26);\n sb.append(((char)('a'+mod)));\n n = (n-1)/26;\n }\n System.out.println(sb.reverse().toString());\n\n }",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"long n = fs.nextLong();",
"n",
"fs.nextLong()",
"fs.nextLong",
"fs",
"int mod ;",
"mod",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(n > 0){\n mod = (int)((n-1)%26);\n sb.append(((char)('a'+mod)));\n n = (n-1)/26;\n }",
"n > 0",
"n",
"0",
"{\n mod = (int)((n-1)%26);\n sb.append(((char)('a'+mod)));\n n = (n-1)/26;\n }",
"mod = (int)((n-1)%26)",
"mod",
"(int)((n-1)%26)",
"(n-1)",
"n",
"1",
"26",
"sb.append(((char)('a'+mod)))",
"sb.append",
"sb",
"((char)('a'+mod))",
"'a'",
"mod",
"n = (n-1)/26",
"n",
"(n-1)/26",
"(n-1)",
"n",
"1",
"26",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String[] args",
"args",
"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 private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n\n private int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }\n\n private boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }\n\n public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }\n\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\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\n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"hasNextByte",
"{\n if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }",
"if (ptr < buflen) {\n return true;\n } else {\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr < buflen",
"ptr",
"buflen",
"{\n return true;\n }",
"return true;",
"true",
"{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }",
"ptr = 0",
"ptr",
"0",
"try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n buflen = in.read(buffer);\n }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n return false;\n }",
"buflen <= 0",
"buflen",
"0",
"{\n return false;\n }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }",
"readByte",
"{\n if (hasNextByte()) return buffer[ptr++];\n else return -1;\n }",
"if (hasNextByte()) return buffer[ptr++];\n else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private boolean isPrintableChar(int c) {\n return 33 <= c && c <= 126;\n }",
"isPrintableChar",
"{\n return 33 <= c && c <= 126;\n }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }",
"hasNext",
"{\n while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n return hasNextByte();\n }",
"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() {\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"
]
|
import java.util.*;
import java.io.*;
class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
long n = fs.nextLong();
int mod ;
StringBuilder sb = new StringBuilder();
while(n > 0){
mod = (int)((n-1)%26);
sb.append(((char)('a'+mod)));
n = (n-1)/26;
}
System.out.println(sb.reverse().toString());
}
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) return buffer[ptr++];
else return -1;
}
private 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,
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 \n public class Main {\n public static void main(String args[]) {\n char[] ch = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n Scanner scan = new Scanner(System.in);\n \n long n = scan.nextLong();\n \n StringBuilder sb = new StringBuilder();\n int t;\n for (; n > 0; n = (n - 1) / 26) {\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }\n \n System.out.println(sb.reverse().toString());\n }\n }\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[]) {\n char[] ch = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n Scanner scan = new Scanner(System.in);\n \n long n = scan.nextLong();\n \n StringBuilder sb = new StringBuilder();\n int t;\n for (; n > 0; n = (n - 1) / 26) {\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }\n \n System.out.println(sb.reverse().toString());\n }\n }",
"Main",
"public static void main(String args[]) {\n char[] ch = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n Scanner scan = new Scanner(System.in);\n \n long n = scan.nextLong();\n \n StringBuilder sb = new StringBuilder();\n int t;\n for (; n > 0; n = (n - 1) / 26) {\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }\n \n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n char[] ch = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n Scanner scan = new Scanner(System.in);\n \n long n = scan.nextLong();\n \n StringBuilder sb = new StringBuilder();\n int t;\n for (; n > 0; n = (n - 1) / 26) {\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }\n \n System.out.println(sb.reverse().toString());\n }",
"char[] ch = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();",
"ch",
"\"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 sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int t;",
"t",
"for (; n > 0; n = (n - 1) / 26) {\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }",
";",
"n > 0",
"n",
"0",
"n = (n - 1) / 26",
"n = (n - 1) / 26",
"n",
"(n - 1) / 26",
"(n - 1)",
"n",
"1",
"26",
"{\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }",
"{\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }",
"t = (int) ((n - 1) % 26)",
"t",
"(int) ((n - 1) % 26)",
"(n - 1)",
"n",
"1",
"26",
"sb.append(ch[t])",
"sb.append",
"sb",
"ch[t]",
"ch",
"t",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n char[] ch = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n Scanner scan = new Scanner(System.in);\n \n long n = scan.nextLong();\n \n StringBuilder sb = new StringBuilder();\n int t;\n for (; n > 0; n = (n - 1) / 26) {\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }\n \n System.out.println(sb.reverse().toString());\n }\n }",
"public class Main {\n public static void main(String args[]) {\n char[] ch = \"abcdefghijklmnopqrstuvwxyz\".toCharArray();\n \n Scanner scan = new Scanner(System.in);\n \n long n = scan.nextLong();\n \n StringBuilder sb = new StringBuilder();\n int t;\n for (; n > 0; n = (n - 1) / 26) {\n t = (int) ((n - 1) % 26);\n sb.append(ch[t]);\n }\n \n System.out.println(sb.reverse().toString());\n }\n }",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String args[]) {
char[] ch = "abcdefghijklmnopqrstuvwxyz".toCharArray();
Scanner scan = new Scanner(System.in);
long n = scan.nextLong();
StringBuilder sb = new StringBuilder();
int t;
for (; n > 0; n = (n - 1) / 26) {
t = (int) ((n - 1) % 26);
sb.append(ch[t]);
}
System.out.println(sb.reverse().toString());
}
}
|
[
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,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
4,
18,
13,
2,
13,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
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
],
[
72,
8
],
[
72,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
20,
23
],
[
23,
24
],
[
24,
25
],
[
11,
26
],
[
26,
27
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
33,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
33,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
11,
54
],
[
54,
55
],
[
55,
56
],
[
11,
57
],
[
57,
58
],
[
58,
59
],
[
57,
60
],
[
60,
61
],
[
61,
62
],
[
11,
63
],
[
63,
64
],
[
64,
65
],
[
11,
66
],
[
66,
67
],
[
67,
68
],
[
9,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String ars[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n //String str[]=br.readLine().split(\" \");\n long n=Long.parseLong(br.readLine());\n //int k=Integer.parseInt(str[1]);\n StringBuffer sb=new StringBuffer();\n while(n>0)\n {\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }\n sb.reverse();\n pw.println(sb.toString());\n pw.flush();\n pw.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"public class Main\n{\n public static void main(String ars[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n //String str[]=br.readLine().split(\" \");\n long n=Long.parseLong(br.readLine());\n //int k=Integer.parseInt(str[1]);\n StringBuffer sb=new StringBuffer();\n while(n>0)\n {\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }\n sb.reverse();\n pw.println(sb.toString());\n pw.flush();\n pw.close();\n }\n}",
"Main",
"public static void main(String ars[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n //String str[]=br.readLine().split(\" \");\n long n=Long.parseLong(br.readLine());\n //int k=Integer.parseInt(str[1]);\n StringBuffer sb=new StringBuffer();\n while(n>0)\n {\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }\n sb.reverse();\n pw.println(sb.toString());\n pw.flush();\n pw.close();\n }",
"main",
"{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n //String str[]=br.readLine().split(\" \");\n long n=Long.parseLong(br.readLine());\n //int k=Integer.parseInt(str[1]);\n StringBuffer sb=new StringBuffer();\n while(n>0)\n {\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }\n sb.reverse();\n pw.println(sb.toString());\n pw.flush();\n pw.close();\n }",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"PrintWriter pw=new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"long n=Long.parseLong(br.readLine());",
"n",
"Long.parseLong(br.readLine())",
"Long.parseLong",
"Long",
"br.readLine()",
"br.readLine",
"br",
"StringBuffer sb=new StringBuffer();",
"sb",
"new StringBuffer()",
"while(n>0)\n {\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }",
"n>0",
"n",
"0",
"{\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }",
"int mod=(int)((n-1)%26);",
"mod",
"(int)((n-1)%26)",
"(n-1)",
"n",
"1",
"26",
"sb.append((char)(mod+97))",
"sb.append",
"sb",
"(char)(mod+97)",
"mod",
"97",
"n=(n-1)/26",
"n",
"(n-1)/26",
"(n-1)",
"n",
"1",
"26",
"sb.reverse()",
"sb.reverse",
"sb",
"pw.println(sb.toString())",
"pw.println",
"pw",
"sb.toString()",
"sb.toString",
"sb",
"pw.flush()",
"pw.flush",
"pw",
"pw.close()",
"pw.close",
"pw",
"String ars[]",
"ars",
"public class Main\n{\n public static void main(String ars[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n //String str[]=br.readLine().split(\" \");\n long n=Long.parseLong(br.readLine());\n //int k=Integer.parseInt(str[1]);\n StringBuffer sb=new StringBuffer();\n while(n>0)\n {\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }\n sb.reverse();\n pw.println(sb.toString());\n pw.flush();\n pw.close();\n }\n}",
"public class Main\n{\n public static void main(String ars[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n //String str[]=br.readLine().split(\" \");\n long n=Long.parseLong(br.readLine());\n //int k=Integer.parseInt(str[1]);\n StringBuffer sb=new StringBuffer();\n while(n>0)\n {\n int mod=(int)((n-1)%26);\n sb.append((char)(mod+97));\n n=(n-1)/26;\n }\n sb.reverse();\n pw.println(sb.toString());\n pw.flush();\n pw.close();\n }\n}",
"Main"
]
| import java.util.*;
import java.io.*;
public class Main
{
public static void main(String ars[])throws Exception
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
PrintWriter pw=new PrintWriter(System.out);
//String str[]=br.readLine().split(" ");
long n=Long.parseLong(br.readLine());
//int k=Integer.parseInt(str[1]);
StringBuffer sb=new StringBuffer();
while(n>0)
{
int mod=(int)((n-1)%26);
sb.append((char)(mod+97));
n=(n-1)/26;
}
sb.reverse();
pw.println(sb.toString());
pw.flush();
pw.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
4,
18,
13,
2,
17,
13,
13,
14,
2,
13,
17,
30,
3,
40,
13,
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
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
25,
26
],
[
25,
27
],
[
22,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
28,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
22,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
42,
44
],
[
38,
45
],
[
22,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
50,
51
],
[
22,
52
],
[
52,
53
],
[
22,
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\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String ans = \"\";\n while (true) {\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\n }\n System.out.println(ans);\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String ans = \"\";\n while (true) {\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\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 String ans = \"\";\n while (true) {\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String ans = \"\";\n while (true) {\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\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",
"String ans = \"\";",
"ans",
"\"\"",
"while (true) {\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\n }",
"true",
"{\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\n }",
"long c = n % 26;",
"c",
"n % 26",
"n",
"26",
"if (c == 0) {\n c = 26;\n }",
"c == 0",
"c",
"0",
"{\n c = 26;\n }",
"c = 26",
"c",
"26",
"ans = String.valueOf((char)(0x60 + c)) + ans",
"ans",
"String.valueOf((char)(0x60 + c)) + ans",
"String.valueOf((char)(0x60 + c))",
"String.valueOf",
"String",
"(char)(0x60 + c)",
"0x60",
"c",
"ans",
"if (n <= 26) {\n break;\n }",
"n <= 26",
"n",
"26",
"{\n break;\n }",
"break;",
"n--",
"n",
"n /= 26",
"n",
"26",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String ans = \"\";\n while (true) {\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n String ans = \"\";\n while (true) {\n long c = n % 26;\n if (c == 0) {\n c = 26;\n }\n ans = String.valueOf((char)(0x60 + c)) + ans;\n if (n <= 26) {\n break;\n }\n n--;\n n /= 26;\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();
String ans = "";
while (true) {
long c = n % 26;
if (c == 0) {
c = 26;
}
ans = String.valueOf((char)(0x60 + c)) + ans;
if (n <= 26) {
break;
}
n--;
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,
20,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
0,
18,
13,
13,
2,
13,
17,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
4,
18,
13,
13,
14,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
41,
13,
4,
18,
13,
11,
1,
41,
13,
2,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
13,
4,
18,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
27,
35
],
[
35,
36
],
[
36,
37
],
[
27,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
43,
45
],
[
14,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
14,
51
],
[
51,
52
],
[
51,
53
],
[
14,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
61,
63
],
[
58,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
58,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
68,
72
],
[
72,
73
],
[
72,
74
],
[
74,
75
],
[
74,
76
],
[
58,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
14,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
14,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
87,
94
],
[
94,
95
],
[
94,
96
],
[
87,
97
],
[
97,
98
],
[
98,
99
],
[
87,
100
],
[
101,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
101,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
108,
113
],
[
113,
114
],
[
113,
115
],
[
14,
116
],
[
116,
117
],
[
117,
118
],
[
12,
119
],
[
119,
120
]
]
| [
"/*package whatever //do not write package name here */\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\nclass Main {\n\tpublic static void main (String[] args) {\n// \t\tSystem.out.println(\"GfG!\");\n Scanner input=new Scanner(System.in);\n char[] array=new char[26];\n array[0]='z';\n for(int i=1;i<26;i++)\n array[i]=(char)(i+96);\n /*for(int i=0;i<26;i++)\n System.out.print(array[i] + \" \");*/\n long n=input.nextLong();\n List<Integer> list=new ArrayList<Integer>();\n while(n>0)\n {\n long x=n%26;\n list.add((int)x);\n if(x==0)\n n=n-26;\n n=n/26;\n }\n // System.out.println(list);\n int size=list.size();\n for(int i=size-1;i>=0;i--)\n {\n int x=list.get(i);\n System.out.print(array[x]);\n }\n input.close();\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.*;",
"lang.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main {\n\tpublic static void main (String[] args) {\n// \t\tSystem.out.println(\"GfG!\");\n Scanner input=new Scanner(System.in);\n char[] array=new char[26];\n array[0]='z';\n for(int i=1;i<26;i++)\n array[i]=(char)(i+96);\n /*for(int i=0;i<26;i++)\n System.out.print(array[i] + \" \");*/\n long n=input.nextLong();\n List<Integer> list=new ArrayList<Integer>();\n while(n>0)\n {\n long x=n%26;\n list.add((int)x);\n if(x==0)\n n=n-26;\n n=n/26;\n }\n // System.out.println(list);\n int size=list.size();\n for(int i=size-1;i>=0;i--)\n {\n int x=list.get(i);\n System.out.print(array[x]);\n }\n input.close();\n\t}\n}",
"Main",
"public static void main (String[] args) {\n// \t\tSystem.out.println(\"GfG!\");\n Scanner input=new Scanner(System.in);\n char[] array=new char[26];\n array[0]='z';\n for(int i=1;i<26;i++)\n array[i]=(char)(i+96);\n /*for(int i=0;i<26;i++)\n System.out.print(array[i] + \" \");*/\n long n=input.nextLong();\n List<Integer> list=new ArrayList<Integer>();\n while(n>0)\n {\n long x=n%26;\n list.add((int)x);\n if(x==0)\n n=n-26;\n n=n/26;\n }\n // System.out.println(list);\n int size=list.size();\n for(int i=size-1;i>=0;i--)\n {\n int x=list.get(i);\n System.out.print(array[x]);\n }\n input.close();\n\t}",
"main",
"{\n// \t\tSystem.out.println(\"GfG!\");\n Scanner input=new Scanner(System.in);\n char[] array=new char[26];\n array[0]='z';\n for(int i=1;i<26;i++)\n array[i]=(char)(i+96);\n /*for(int i=0;i<26;i++)\n System.out.print(array[i] + \" \");*/\n long n=input.nextLong();\n List<Integer> list=new ArrayList<Integer>();\n while(n>0)\n {\n long x=n%26;\n list.add((int)x);\n if(x==0)\n n=n-26;\n n=n/26;\n }\n // System.out.println(list);\n int size=list.size();\n for(int i=size-1;i>=0;i--)\n {\n int x=list.get(i);\n System.out.print(array[x]);\n }\n input.close();\n\t}",
"Scanner input=new Scanner(System.in);",
"input",
"new Scanner(System.in)",
"char[] array=new char[26];",
"array",
"new char[26]",
"26",
"array[0]='z'",
"array[0]",
"array",
"0",
"'z'",
"for(int i=1;i<26;i++)\n array[i]=(char)(i+96);",
"int i=1;",
"int i=1;",
"i",
"1",
"i<26",
"i",
"26",
"i++",
"i++",
"i",
"array[i]=(char)(i+96);",
"array[i]=(char)(i+96)",
"array[i]",
"array",
"i",
"(char)(i+96)",
"i",
"96",
"long n=input.nextLong();",
"n",
"input.nextLong()",
"input.nextLong",
"input",
"List<Integer> list=new ArrayList<Integer>();",
"list",
"new ArrayList<Integer>()",
"while(n>0)\n {\n long x=n%26;\n list.add((int)x);\n if(x==0)\n n=n-26;\n n=n/26;\n }",
"n>0",
"n",
"0",
"{\n long x=n%26;\n list.add((int)x);\n if(x==0)\n n=n-26;\n n=n/26;\n }",
"long x=n%26;",
"x",
"n%26",
"n",
"26",
"list.add((int)x)",
"list.add",
"list",
"(int)x",
"if(x==0)\n n=n-26;",
"x==0",
"x",
"0",
"n=n-26",
"n",
"n-26",
"n",
"26",
"n=n/26",
"n",
"n/26",
"n",
"26",
"int size=list.size();",
"size",
"list.size()",
"list.size",
"list",
"for(int i=size-1;i>=0;i--)\n {\n int x=list.get(i);\n System.out.print(array[x]);\n }",
"int i=size-1;",
"int i=size-1;",
"i",
"size-1",
"size",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n int x=list.get(i);\n System.out.print(array[x]);\n }",
"{\n int x=list.get(i);\n System.out.print(array[x]);\n }",
"int x=list.get(i);",
"x",
"list.get(i)",
"list.get",
"list",
"i",
"System.out.print(array[x])",
"System.out.print",
"System.out",
"System",
"System.out",
"array[x]",
"array",
"x",
"input.close()",
"input.close",
"input",
"String[] args",
"args"
]
| /*package whatever //do not write package name here */
import java.util.*;
import java.lang.*;
import java.io.*;
class Main {
public static void main (String[] args) {
// System.out.println("GfG!");
Scanner input=new Scanner(System.in);
char[] array=new char[26];
array[0]='z';
for(int i=1;i<26;i++)
array[i]=(char)(i+96);
/*for(int i=0;i<26;i++)
System.out.print(array[i] + " ");*/
long n=input.nextLong();
List<Integer> list=new ArrayList<Integer>();
while(n>0)
{
long x=n%26;
list.add((int)x);
if(x==0)
n=n-26;
n=n/26;
}
// System.out.println(list);
int size=list.size();
for(int i=size-1;i>=0;i--)
{
int x=list.get(i);
System.out.print(array[x]);
}
input.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
2,
13,
13,
17,
30,
0,
13,
13,
3,
0,
13,
13,
0,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
2,
2,
13,
17,
17,
0,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
97,
5
],
[
97,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
14,
18
],
[
8,
19
],
[
19,
20
],
[
19,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
8,
25
],
[
25,
26
],
[
25,
27
],
[
8,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
29,
34
],
[
34,
35
],
[
34,
36
],
[
29,
37
],
[
37,
38
],
[
38,
39
],
[
29,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
42,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
41,
53
],
[
53,
54
],
[
53,
55
],
[
41,
56
],
[
56,
57
],
[
56,
58
],
[
8,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
67,
68
],
[
67,
69
],
[
62,
70
],
[
70,
71
],
[
71,
72
],
[
62,
73
],
[
74,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
74,
83
],
[
83,
84
],
[
83,
85
],
[
8,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
91,
92
],
[
92,
93
],
[
6,
94
],
[
94,
95
],
[
0,
96
],
[
96,
97
],
[
96,
98
]
]
| [
"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() - 1;\n long base = 26;\n int idx = 0;\n long[] counts = new long[10];\n for (int i = 0; i < 11; i++) {\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i <= idx; i++) {\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }\n System.out.println(sb.reverse());\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() - 1;\n long base = 26;\n int idx = 0;\n long[] counts = new long[10];\n for (int i = 0; i < 11; i++) {\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i <= idx; i++) {\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }\n System.out.println(sb.reverse());\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong() - 1;\n long base = 26;\n int idx = 0;\n long[] counts = new long[10];\n for (int i = 0; i < 11; i++) {\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i <= idx; i++) {\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }\n System.out.println(sb.reverse());\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong() - 1;\n long base = 26;\n int idx = 0;\n long[] counts = new long[10];\n for (int i = 0; i < 11; i++) {\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i <= idx; i++) {\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }\n System.out.println(sb.reverse());\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",
"long base = 26;",
"base",
"26",
"int idx = 0;",
"idx",
"0",
"long[] counts = new long[10];",
"counts",
"new long[10]",
"10",
"for (int i = 0; i < 11; i++) {\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 11",
"i",
"11",
"i++",
"i++",
"i",
"{\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }",
"{\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }",
"if (n - base < 0) {\n idx = i;\n break;\n }",
"n - base < 0",
"n - base",
"n",
"base",
"0",
"{\n idx = i;\n break;\n }",
"idx = i",
"idx",
"i",
"break;",
"n -= base",
"n",
"base",
"base *= 26",
"base",
"26",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 0; i <= idx; i++) {\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i <= idx",
"i",
"idx",
"i++",
"i++",
"i",
"{\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }",
"{\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }",
"sb.append((char)(n % 26 + 'a'))",
"sb.append",
"sb",
"(char)(n % 26 + 'a')",
"n % 26",
"n",
"26",
"'a'",
"n /= 26",
"n",
"26",
"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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong() - 1;\n long base = 26;\n int idx = 0;\n long[] counts = new long[10];\n for (int i = 0; i < 11; i++) {\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i <= idx; i++) {\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }\n System.out.println(sb.reverse());\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong() - 1;\n long base = 26;\n int idx = 0;\n long[] counts = new long[10];\n for (int i = 0; i < 11; i++) {\n if (n - base < 0) {\n idx = i;\n break;\n }\n n -= base;\n base *= 26;\n }\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i <= idx; i++) {\n sb.append((char)(n % 26 + 'a'));\n n /= 26;\n }\n System.out.println(sb.reverse());\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() - 1;
long base = 26;
int idx = 0;
long[] counts = new long[10];
for (int i = 0; i < 11; i++) {
if (n - base < 0) {
idx = i;
break;
}
n -= base;
base *= 26;
}
StringBuilder sb = new StringBuilder();
for (int i = 0; i <= idx; i++) {
sb.append((char)(n % 26 + 'a'));
n /= 26;
}
System.out.println(sb.reverse());
}
} |
[
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,
2,
4,
18,
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,
41,
13,
20,
42,
2,
13,
17,
30,
4,
18,
13,
2,
13,
17,
0,
13,
17,
40,
13,
4,
18,
13,
13,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
13,
4,
18,
18,
13,
13,
18,
13,
13,
23,
13,
6,
13,
41,
13,
17,
41,
13,
17,
12,
13,
30,
0,
13,
20,
0,
13,
17,
23,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
14,
2,
2,
13,
17,
40,
4,
18,
13,
30,
38,
5,
13,
30,
37,
20,
30,
29,
4,
18,
13,
29,
4,
18,
13,
17,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
16,
17
],
[
16,
18
],
[
0,
19
],
[
280,
20
],
[
280,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
29,
33
],
[
23,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
36,
38
],
[
36,
39
],
[
36,
40
],
[
36,
41
],
[
36,
42
],
[
36,
43
],
[
36,
44
],
[
36,
45
],
[
36,
46
],
[
36,
47
],
[
36,
48
],
[
36,
49
],
[
36,
50
],
[
36,
51
],
[
36,
52
],
[
36,
53
],
[
36,
54
],
[
36,
55
],
[
36,
56
],
[
36,
57
],
[
36,
58
],
[
36,
59
],
[
36,
60
],
[
36,
61
],
[
36,
62
],
[
23,
63
],
[
63,
64
],
[
63,
65
],
[
23,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
71,
74
],
[
74,
75
],
[
74,
76
],
[
70,
77
],
[
77,
78
],
[
77,
79
],
[
70,
80
],
[
80,
81
],
[
23,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
23,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
90,
94
],
[
86,
95
],
[
95,
96
],
[
95,
97
],
[
86,
98
],
[
98,
99
],
[
99,
100
],
[
86,
101
],
[
102,
102
],
[
102,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
105,
108
],
[
102,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
21,
117
],
[
117,
118
],
[
280,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
124,
126
],
[
119,
127
],
[
127,
128
],
[
127,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
133,
135
],
[
127,
136
],
[
136,
137
],
[
119,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
142,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
141,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
154,
155
],
[
155,
156
],
[
151,
157
],
[
157,
158
],
[
158,
159
],
[
158,
160
],
[
140,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
119,
165
],
[
165,
166
],
[
165,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
168,
177
],
[
177,
178
],
[
178,
179
],
[
179,
180
],
[
179,
181
],
[
181,
182
],
[
182,
183
],
[
178,
184
],
[
184,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
167,
189
],
[
189,
190
],
[
190,
191
],
[
191,
192
],
[
190,
193
],
[
119,
194
],
[
194,
195
],
[
194,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
198,
201
],
[
201,
202
],
[
119,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
206,
207
],
[
207,
208
],
[
208,
209
],
[
207,
210
],
[
210,
211
],
[
119,
212
],
[
212,
213
],
[
212,
214
],
[
214,
215
],
[
215,
216
],
[
216,
217
],
[
217,
218
],
[
216,
219
],
[
219,
220
],
[
119,
221
],
[
221,
222
],
[
221,
223
],
[
223,
224
],
[
224,
225
],
[
224,
226
],
[
223,
228
],
[
228,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
228,
236
],
[
236,
237
],
[
237,
238
],
[
228,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
241,
243
],
[
240,
244
],
[
244,
245
],
[
223,
246
],
[
246,
247
],
[
221,
248
],
[
248,
249
],
[
119,
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
],
[
268,
269
],
[
269,
270
],
[
270,
271
],
[
270,
272
],
[
269,
273
],
[
273,
274
],
[
252,
275
],
[
275,
276
],
[
250,
277
],
[
277,
278
],
[
0,
279
],
[
279,
280
],
[
279,
281
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong n = sc.nextLong()-1;\n\t\tString[] a = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tArrayList<Long> list = new ArrayList<>();\n\t\twhile(n >= 26) {\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}\n\t\tlist.add(n);\n\t\tfor(int i = list.size()-1; i >= 0; i--) {\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong n = sc.nextLong()-1;\n\t\tString[] a = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tArrayList<Long> list = new ArrayList<>();\n\t\twhile(n >= 26) {\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}\n\t\tlist.add(n);\n\t\tfor(int i = list.size()-1; i >= 0; i--) {\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong n = sc.nextLong()-1;\n\t\tString[] a = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tArrayList<Long> list = new ArrayList<>();\n\t\twhile(n >= 26) {\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}\n\t\tlist.add(n);\n\t\tfor(int i = list.size()-1; i >= 0; i--) {\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}\n\t\t\n\t}",
"main",
"{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong n = sc.nextLong()-1;\n\t\tString[] a = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tArrayList<Long> list = new ArrayList<>();\n\t\twhile(n >= 26) {\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}\n\t\tlist.add(n);\n\t\tfor(int i = list.size()-1; i >= 0; i--) {\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}\n\t\t\n\t}",
"FastScanner sc = new FastScanner(System.in);",
"sc",
"new FastScanner(System.in)",
"long n = sc.nextLong()-1;",
"n",
"sc.nextLong()-1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"1",
"String[] a = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"a",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"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\"",
"ArrayList<Long> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"while(n >= 26) {\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}",
"n >= 26",
"n",
"26",
"{\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}",
"list.add(n % 26)",
"list.add",
"list",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"n--",
"n",
"list.add(n)",
"list.add",
"list",
"n",
"for(int i = list.size()-1; i >= 0; i--) {\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\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\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}",
"{\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}",
"long x = list.get(i);",
"x",
"list.get(i)",
"list.get",
"list",
"i",
"System.out.print(a[(int)x])",
"System.out.print",
"System.out",
"System",
"System.out",
"a[(int)x]",
"a",
"(int)x",
"String[] args",
"args",
"static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}",
"FastScanner",
"private BufferedReader reader = null;",
"reader",
"null",
"private StringTokenizer tokenizer = null;",
"tokenizer",
"null",
"public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"FastScanner",
"{\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }",
"reader = new BufferedReader(new InputStreamReader(in))",
"reader",
"new BufferedReader(new InputStreamReader(in))",
"tokenizer = null",
"tokenizer",
"null",
"InputStream in",
"in",
"public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"next",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t }",
"tokenizer = new StringTokenizer(reader.readLine())",
"tokenizer",
"new StringTokenizer(reader.readLine())",
"return tokenizer.nextToken();",
"tokenizer.nextToken()",
"tokenizer.nextToken",
"tokenizer",
"public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"nextLine",
"{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }",
"if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens()",
"tokenizer.hasMoreTokens",
"tokenizer",
"{\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }",
"try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }",
"IOException e",
"{\n\t throw new RuntimeException(e);\n\t }",
"throw new RuntimeException(e);",
"new RuntimeException(e)",
"{\n\t return reader.readLine();\n\t }",
"return reader.readLine();",
"reader.readLine()",
"reader.readLine",
"reader",
"return tokenizer.nextToken(\"\\n\");",
"tokenizer.nextToken(\"\\n\")",
"tokenizer.nextToken",
"tokenizer",
"\"\\n\"",
"public long nextLong() {\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",
"public int nextInt() {\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",
"public double nextDouble() {\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",
"public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"nextIntArray",
"{\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }",
"int[] a = new int[n];",
"a",
"new int[n]",
"n",
"for (int i = 0; i < n; i++)\n\t a[i] = nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < n",
"i",
"n",
"i++",
"i++",
"i",
"a[i] = nextInt();",
"a[i] = nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"nextLongArray",
"{\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }",
"long[] a = new long[n];",
"a",
"new long[n]",
"n",
"for (int i = 0; i < n; i++)\n\t 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",
"int n",
"n",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong n = sc.nextLong()-1;\n\t\tString[] a = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tArrayList<Long> list = new ArrayList<>();\n\t\twhile(n >= 26) {\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}\n\t\tlist.add(n);\n\t\tfor(int i = list.size()-1; i >= 0; i--) {\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tlong n = sc.nextLong()-1;\n\t\tString[] a = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\"\n\t\t\t\t,\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n\t\tArrayList<Long> list = new ArrayList<>();\n\t\twhile(n >= 26) {\n\t\t\tlist.add(n % 26);\n\t\t\tn /= 26;\n\t\t\tn--;\n\t\t}\n\t\tlist.add(n);\n\t\tfor(int i = list.size()-1; i >= 0; i--) {\n\t\t\tlong x = list.get(i);\n\t\t\tSystem.out.print(a[(int)x]);\n\t\t}\n\t\t\n\t}\n\t\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
FastScanner sc = new FastScanner(System.in);
long n = sc.nextLong()-1;
String[] a = {"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<Long> list = new ArrayList<>();
while(n >= 26) {
list.add(n % 26);
n /= 26;
n--;
}
list.add(n);
for(int i = list.size()-1; i >= 0; i--) {
long x = list.get(i);
System.out.print(a[(int)x]);
}
}
static class FastScanner {
private BufferedReader reader = null;
private StringTokenizer tokenizer = null;
public FastScanner(InputStream in) {
reader = new BufferedReader(new InputStreamReader(in));
tokenizer = null;
}
public String next() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
tokenizer = new StringTokenizer(reader.readLine());
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken();
}
public String nextLine() {
if (tokenizer == null || !tokenizer.hasMoreTokens()) {
try {
return reader.readLine();
} catch (IOException e) {
throw new RuntimeException(e);
}
}
return tokenizer.nextToken("\n");
}
public long nextLong() {
return Long.parseLong(next());
}
public int nextInt() {
return Integer.parseInt(next());
}
public double nextDouble() {
return Double.parseDouble(next());
}
public int[] nextIntArray(int n) {
int[] a = new int[n];
for (int i = 0; i < n; i++)
a[i] = nextInt();
return a;
}
public long[] nextLongArray(int n) {
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,
29,
8,
2,
2,
13,
13,
17,
2,
2,
13,
13,
8,
2,
13,
17,
40,
13,
13,
2,
13,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
2,
4,
18,
13,
17,
41,
13,
20,
41,
13,
39,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
17,
42,
2,
13,
17,
30,
41,
13,
4,
13,
13,
17,
4,
18,
13,
18,
13,
13,
0,
13,
2,
2,
13,
17,
17,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
18,
13,
13,
4,
18,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
124,
5
],
[
124,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
10,
16
],
[
16,
17
],
[
17,
18
],
[
17,
19
],
[
16,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
20,
26
],
[
10,
27
],
[
27,
28
],
[
27,
29
],
[
6,
30
],
[
30,
31
],
[
6,
32
],
[
32,
33
],
[
124,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
40,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
42,
46
],
[
36,
47
],
[
47,
48
],
[
47,
49
],
[
36,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
52,
55
],
[
52,
56
],
[
52,
57
],
[
52,
58
],
[
52,
59
],
[
52,
60
],
[
52,
61
],
[
52,
62
],
[
52,
63
],
[
52,
64
],
[
52,
65
],
[
52,
66
],
[
52,
67
],
[
52,
68
],
[
52,
69
],
[
52,
70
],
[
52,
71
],
[
52,
72
],
[
52,
73
],
[
52,
74
],
[
52,
75
],
[
52,
76
],
[
52,
77
],
[
52,
78
],
[
36,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
86,
88
],
[
86,
89
],
[
83,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
93,
94
],
[
93,
95
],
[
83,
96
],
[
96,
97
],
[
96,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
36,
103
],
[
103,
104
],
[
103,
105
],
[
105,
106
],
[
106,
107
],
[
36,
108
],
[
108,
109
],
[
108,
110
],
[
36,
111
],
[
111,
112
],
[
112,
113
],
[
113,
114
],
[
113,
115
],
[
111,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
34,
121
],
[
121,
122
],
[
0,
123
],
[
123,
124
],
[
123,
125
]
]
| [
"import java.util.*;\npublic class Main {\n public static long mod(long x, long y) {\n return x%y<0?x%y+(y<0?-y:y):x%y;\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong()-1;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }\n\t\tString ans = sb.toString();\n StringBuffer sf = new StringBuffer(ans);\n\t\tSystem.out.println(sf.reverse().toString());\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static long mod(long x, long y) {\n return x%y<0?x%y+(y<0?-y:y):x%y;\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong()-1;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }\n\t\tString ans = sb.toString();\n StringBuffer sf = new StringBuffer(ans);\n\t\tSystem.out.println(sf.reverse().toString());\n\t}\n}",
"Main",
"public static long mod(long x, long y) {\n return x%y<0?x%y+(y<0?-y:y):x%y;\n }",
"mod",
"{\n return x%y<0?x%y+(y<0?-y:y):x%y;\n }",
"return x%y<0?x%y+(y<0?-y:y):x%y;",
"x%y<0?x%y+(y<0?-y:y):x%y",
"x%y<0",
"x%y",
"x",
"y",
"0",
"x%y+(y<0?-y:y)",
"x%y",
"x",
"y",
"(y<0?-y:y)",
"y<0",
"y",
"0",
"-y",
"y",
"y",
"x%y",
"x",
"y",
"long x",
"x",
"long y",
"y",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong()-1;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }\n\t\tString ans = sb.toString();\n StringBuffer sf = new StringBuffer(ans);\n\t\tSystem.out.println(sf.reverse().toString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong()-1;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }\n\t\tString ans = sb.toString();\n StringBuffer sf = new StringBuffer(ans);\n\t\tSystem.out.println(sf.reverse().toString());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong()-1;",
"a",
"sc.nextLong()-1",
"sc.nextLong()",
"sc.nextLong",
"sc",
"1",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};",
"str",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }",
"a>=0",
"a",
"0",
"{int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }",
"int b = (int)mod(a,26);",
"b",
"(int)mod(a,26)",
"mod",
"a",
"26",
"sb.append(str[b])",
"sb.append",
"sb",
"str[b]",
"str",
"b",
"a=a/26-1",
"a",
"a/26-1",
"a/26",
"a",
"26",
"1",
"String ans = sb.toString();",
"ans",
"sb.toString()",
"sb.toString",
"sb",
"StringBuffer sf = new StringBuffer(ans);",
"sf",
"new StringBuffer(ans)",
"System.out.println(sf.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sf.reverse().toString()",
"sf.reverse().toString",
"sf.reverse()",
"sf.reverse",
"sf",
"String[] args",
"args",
"public class Main {\n public static long mod(long x, long y) {\n return x%y<0?x%y+(y<0?-y:y):x%y;\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong()-1;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }\n\t\tString ans = sb.toString();\n StringBuffer sf = new StringBuffer(ans);\n\t\tSystem.out.println(sf.reverse().toString());\n\t}\n}",
"public class Main {\n public static long mod(long x, long y) {\n return x%y<0?x%y+(y<0?-y:y):x%y;\n } \n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong a = sc.nextLong()-1;\n\t\tStringBuilder sb = new StringBuilder();\n String str[] = {\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"};\n while(a>=0){int b = (int)mod(a,26); \n sb.append(str[b]);\n a=a/26-1;\n }\n\t\tString ans = sb.toString();\n StringBuffer sf = new StringBuffer(ans);\n\t\tSystem.out.println(sf.reverse().toString());\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static long mod(long x, long y) {
return x%y<0?x%y+(y<0?-y:y):x%y;
}
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
long a = sc.nextLong()-1;
StringBuilder sb = new StringBuilder();
String str[] = {"a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"};
while(a>=0){int b = (int)mod(a,26);
sb.append(str[b]);
a=a/26-1;
}
String ans = sb.toString();
StringBuffer sf = new StringBuffer(ans);
System.out.println(sf.reverse().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,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
41,
13,
2,
2,
17,
13,
17,
4,
18,
13,
13,
0,
13,
17,
4,
18,
13,
2,
2,
17,
13,
17,
41,
13,
20,
42,
40,
4,
18,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
12,
13,
30,
38,
5,
13,
30,
30,
42,
2,
2,
13,
17,
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,
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
],
[
152,
20
],
[
152,
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
],
[
40,
42
],
[
42,
43
],
[
42,
44
],
[
39,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
53,
55
],
[
39,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
58,
62
],
[
39,
63
],
[
63,
64
],
[
64,
65
],
[
63,
66
],
[
39,
67
],
[
67,
68
],
[
67,
69
],
[
23,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
73,
77
],
[
23,
78
],
[
78,
79
],
[
78,
80
],
[
23,
81
],
[
81,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
81,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
87,
90
],
[
90,
91
],
[
91,
92
],
[
23,
93
],
[
93,
94
],
[
94,
95
],
[
23,
96
],
[
96,
97
],
[
97,
98
],
[
21,
99
],
[
99,
100
],
[
152,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
101,
106
],
[
106,
107
],
[
101,
108
],
[
108,
109
],
[
108,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
112,
114
],
[
111,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
116,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
110,
129
],
[
129,
130
],
[
130,
131
],
[
131,
132
],
[
101,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
137,
140
],
[
140,
141
],
[
101,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
146,
149
],
[
149,
150
],
[
0,
151
],
[
151,
152
],
[
151,
153
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Stack;\nimport java.util.StringTokenizer;\n\npublic class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long n = sc.nextLong();\n\n Stack<Character> stack = new Stack<>();\n while (n > 26) {\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }\n //System.out.println((char)('a' + n - 1));\n stack.push((char)('a' + n - 1));\n\n PrintWriter pw = new PrintWriter(System.out);\n while (!stack.empty()) {\n pw.print(stack.pop());\n }\n\n pw.println();\n pw.flush();\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\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.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.Stack;",
"Stack",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long n = sc.nextLong();\n\n Stack<Character> stack = new Stack<>();\n while (n > 26) {\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }\n //System.out.println((char)('a' + n - 1));\n stack.push((char)('a' + n - 1));\n\n PrintWriter pw = new PrintWriter(System.out);\n while (!stack.empty()) {\n pw.print(stack.pop());\n }\n\n pw.println();\n pw.flush();\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\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 MyScanner sc = new MyScanner();\n\n long n = sc.nextLong();\n\n Stack<Character> stack = new Stack<>();\n while (n > 26) {\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }\n //System.out.println((char)('a' + n - 1));\n stack.push((char)('a' + n - 1));\n\n PrintWriter pw = new PrintWriter(System.out);\n while (!stack.empty()) {\n pw.print(stack.pop());\n }\n\n pw.println();\n pw.flush();\n }",
"main",
"{\n MyScanner sc = new MyScanner();\n\n long n = sc.nextLong();\n\n Stack<Character> stack = new Stack<>();\n while (n > 26) {\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }\n //System.out.println((char)('a' + n - 1));\n stack.push((char)('a' + n - 1));\n\n PrintWriter pw = new PrintWriter(System.out);\n while (!stack.empty()) {\n pw.print(stack.pop());\n }\n\n pw.println();\n pw.flush();\n }",
"MyScanner sc = new MyScanner();",
"sc",
"new MyScanner()",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"Stack<Character> stack = new Stack<>();",
"stack",
"new Stack<>()",
"while (n > 26) {\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }",
"n > 26",
"n",
"26",
"{\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }",
"int t = (int)(n % 26);",
"t",
"(int)(n % 26)",
"n",
"26",
"if (t == 0) {\n t = 26;\n n -= 26;\n }",
"t == 0",
"t",
"0",
"{\n t = 26;\n n -= 26;\n }",
"t = 26",
"t",
"26",
"n -= 26",
"n",
"26",
"char c = (char)('a' + t - 1);",
"c",
"(char)('a' + t - 1)",
"'a' + t",
"'a'",
"t",
"1",
"stack.push(c)",
"stack.push",
"stack",
"c",
"n /= 26",
"n",
"26",
"stack.push((char)('a' + n - 1))",
"stack.push",
"stack",
"(char)('a' + n - 1)",
"'a' + n",
"'a'",
"n",
"1",
"PrintWriter pw = new PrintWriter(System.out);",
"pw",
"new PrintWriter(System.out)",
"while (!stack.empty()) {\n pw.print(stack.pop());\n }",
"!stack.empty()",
"stack.empty()",
"stack.empty",
"stack",
"{\n pw.print(stack.pop());\n }",
"pw.print(stack.pop())",
"pw.print",
"pw",
"stack.pop()",
"stack.pop",
"stack",
"pw.println()",
"pw.println",
"pw",
"pw.flush()",
"pw.flush",
"pw",
"String[] args",
"args",
"static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\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 }",
"MyScanner",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);",
"reader",
"new BufferedReader(new InputStreamReader(System.in), 1 << 15)",
"StringTokenizer tokenizer;",
"tokenizer",
"String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }",
"next",
"{\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }\n return tokenizer.nextToken();\n }",
"try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\n }",
"catch (IOException ignored) {\n }",
"IOException ignored",
"{\n }",
"{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n }",
"while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }",
"tokenizer == null || !tokenizer.hasMoreTokens()",
"tokenizer == null",
"tokenizer",
"null",
"!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() {\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 public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long n = sc.nextLong();\n\n Stack<Character> stack = new Stack<>();\n while (n > 26) {\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }\n //System.out.println((char)('a' + n - 1));\n stack.push((char)('a' + n - 1));\n\n PrintWriter pw = new PrintWriter(System.out);\n while (!stack.empty()) {\n pw.print(stack.pop());\n }\n\n pw.println();\n pw.flush();\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\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 public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n\n long n = sc.nextLong();\n\n Stack<Character> stack = new Stack<>();\n while (n > 26) {\n int t = (int)(n % 26);\n if (t == 0) {\n t = 26;\n n -= 26;\n }\n\n char c = (char)('a' + t - 1);\n //System.out.println(c);\n stack.push(c);\n //n -= 26;\n n /= 26;\n }\n //System.out.println((char)('a' + n - 1));\n stack.push((char)('a' + n - 1));\n\n PrintWriter pw = new PrintWriter(System.out);\n while (!stack.empty()) {\n pw.print(stack.pop());\n }\n\n pw.println();\n pw.flush();\n }\n\n static class MyScanner {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);\n StringTokenizer tokenizer;\n\n String next() {\n try {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n tokenizer = new StringTokenizer(reader.readLine());\n }\n } catch (IOException ignored) {\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.InputStreamReader;
import java.io.PrintWriter;
import java.util.Stack;
import java.util.StringTokenizer;
public class Main {
public static void main(String[] args) {
MyScanner sc = new MyScanner();
long n = sc.nextLong();
Stack<Character> stack = new Stack<>();
while (n > 26) {
int t = (int)(n % 26);
if (t == 0) {
t = 26;
n -= 26;
}
char c = (char)('a' + t - 1);
//System.out.println(c);
stack.push(c);
//n -= 26;
n /= 26;
}
//System.out.println((char)('a' + n - 1));
stack.push((char)('a' + n - 1));
PrintWriter pw = new PrintWriter(System.out);
while (!stack.empty()) {
pw.print(stack.pop());
}
pw.println();
pw.flush();
}
static class MyScanner {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in), 1 << 15);
StringTokenizer tokenizer;
String next() {
try {
while (tokenizer == null || !tokenizer.hasMoreTokens()) {
tokenizer = new StringTokenizer(reader.readLine());
}
} catch (IOException ignored) {
}
return tokenizer.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
long nextLong() {
return Long.parseLong(next());
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
41,
13,
4,
13,
13,
4,
18,
13,
17,
13,
0,
13,
2,
13,
17,
41,
13,
4,
13,
13,
4,
18,
13,
17,
13,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
41,
13,
17,
41,
13,
4,
18,
13,
13,
29,
4,
18,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
96,
5
],
[
96,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
34,
38
],
[
38,
39
],
[
38,
40
],
[
24,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
24,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
46,
50
],
[
24,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
8,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
61,
65
],
[
8,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
68,
70
],
[
66,
71
],
[
71,
72
],
[
72,
73
],
[
6,
74
],
[
74,
75
],
[
96,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
79,
81
],
[
78,
82
],
[
82,
83
],
[
82,
84
],
[
84,
85
],
[
85,
86
],
[
84,
87
],
[
78,
88
],
[
88,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
76,
93
],
[
93,
94
],
[
0,
95
],
[
95,
96
],
[
95,
97
]
]
| [
"import java.util.*;\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 // 命名\n StringBuilder sb = new StringBuilder();\n while(N > 26){\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }\n String last = getChar((int)N);\n sb.insert(0, last);\n \n // 出力\n System.out.println(sb.toString());\n }\n \n // 番号の文字をString型で返す関数\n public static String getChar(int num){\n String charList = \" abcdefghijklmnopqrstuvwxyz\";\n char c = charList.charAt(num);\n \n return String.valueOf(c);\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n // 入力\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n \n // 命名\n StringBuilder sb = new StringBuilder();\n while(N > 26){\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }\n String last = getChar((int)N);\n sb.insert(0, last);\n \n // 出力\n System.out.println(sb.toString());\n }\n \n // 番号の文字をString型で返す関数\n public static String getChar(int num){\n String charList = \" abcdefghijklmnopqrstuvwxyz\";\n char c = charList.charAt(num);\n \n return String.valueOf(c);\n }\n\n}",
"Main",
"public static void main(String[] args){\n // 入力\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n \n // 命名\n StringBuilder sb = new StringBuilder();\n while(N > 26){\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }\n String last = getChar((int)N);\n sb.insert(0, last);\n \n // 出力\n System.out.println(sb.toString());\n }",
"main",
"{\n // 入力\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n \n // 命名\n StringBuilder sb = new StringBuilder();\n while(N > 26){\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }\n String last = getChar((int)N);\n sb.insert(0, last);\n \n // 出力\n System.out.println(sb.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()",
"while(N > 26){\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }",
"N > 26",
"N",
"26",
"{\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }",
"int amari = (int)(N % 26);",
"amari",
"(int)(N % 26)",
"N",
"26",
"if(amari == 0){\n amari = 26;\n N -= 26;\n }",
"amari == 0",
"amari",
"0",
"{\n amari = 26;\n N -= 26;\n }",
"amari = 26",
"amari",
"26",
"N -= 26",
"N",
"26",
"String s = getChar(amari);",
"s",
"getChar(amari)",
"getChar",
"amari",
"sb.insert(0, s)",
"sb.insert",
"sb",
"0",
"s",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"String last = getChar((int)N);",
"last",
"getChar((int)N)",
"getChar",
"(int)N",
"sb.insert(0, last)",
"sb.insert",
"sb",
"0",
"last",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"// 番号の文字をString型で返す関数\n public static String getChar(int num){\n String charList = \" abcdefghijklmnopqrstuvwxyz\";\n char c = charList.charAt(num);\n \n return String.valueOf(c);\n }",
"getChar",
"{\n String charList = \" abcdefghijklmnopqrstuvwxyz\";\n char c = charList.charAt(num);\n \n return String.valueOf(c);\n }",
"String charList = \" abcdefghijklmnopqrstuvwxyz\";",
"charList",
"\" abcdefghijklmnopqrstuvwxyz\"",
"char c = charList.charAt(num);",
"c",
"charList.charAt(num)",
"charList.charAt",
"charList",
"num",
"return String.valueOf(c);",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"int num",
"num",
"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 // 命名\n StringBuilder sb = new StringBuilder();\n while(N > 26){\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }\n String last = getChar((int)N);\n sb.insert(0, last);\n \n // 出力\n System.out.println(sb.toString());\n }\n \n // 番号の文字をString型で返す関数\n public static String getChar(int num){\n String charList = \" abcdefghijklmnopqrstuvwxyz\";\n char c = charList.charAt(num);\n \n return String.valueOf(c);\n }\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 // 命名\n StringBuilder sb = new StringBuilder();\n while(N > 26){\n int amari = (int)(N % 26);\n if(amari == 0){\n amari = 26;\n N -= 26;\n }\n String s = getChar(amari);\n sb.insert(0, s);\n N = N / 26;\n }\n String last = getChar((int)N);\n sb.insert(0, last);\n \n // 出力\n System.out.println(sb.toString());\n }\n \n // 番号の文字をString型で返す関数\n public static String getChar(int num){\n String charList = \" abcdefghijklmnopqrstuvwxyz\";\n char c = charList.charAt(num);\n \n return String.valueOf(c);\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
// 入力
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
// 命名
StringBuilder sb = new StringBuilder();
while(N > 26){
int amari = (int)(N % 26);
if(amari == 0){
amari = 26;
N -= 26;
}
String s = getChar(amari);
sb.insert(0, s);
N = N / 26;
}
String last = getChar((int)N);
sb.insert(0, last);
// 出力
System.out.println(sb.toString());
}
// 番号の文字をString型で返す関数
public static String getChar(int num){
String charList = " abcdefghijklmnopqrstuvwxyz";
char c = charList.charAt(num);
return String.valueOf(c);
}
} |
[
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,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
55,
5
],
[
55,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
24,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
24,
35
],
[
35,
36
],
[
35,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
8,
49
],
[
49,
50
],
[
50,
51
],
[
6,
52
],
[
52,
53
],
[
0,
54
],
[
54,
55
],
[
54,
56
]
]
| [
"// 提出時に消す\n\n\nimport java.util.Scanner;\n\n// 提出時にMainに変更する\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\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 = ans.reverse();\n\n System.out.println(ans);\n\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\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 = ans.reverse();\n\n System.out.println(ans);\n\n sc.close();\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\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 = ans.reverse();\n\n System.out.println(ans);\n\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\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 = ans.reverse();\n\n System.out.println(ans);\n\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder 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 = ans.reverse()",
"ans",
"ans.reverse()",
"ans.reverse",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\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 = ans.reverse();\n\n System.out.println(ans);\n\n sc.close();\n }\n}",
"public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n long n = sc.nextLong();\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 = ans.reverse();\n\n System.out.println(ans);\n\n sc.close();\n }\n}",
"Main"
]
| // 提出時に消す
import java.util.Scanner;
// 提出時にMainに変更する
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
StringBuilder ans = new StringBuilder();
while (n != 0) {
n--;
ans.append((char) ('a' + n % 26));
n /= 26;
}
ans = ans.reverse();
System.out.println(ans);
sc.close();
}
} |
[
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,
17,
2,
13,
17,
0,
13,
17,
11,
1,
41,
13,
2,
4,
18,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
18,
13,
13,
4,
18,
13,
13,
23,
13
]
| [
[
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
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
23,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
37,
39
],
[
8,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
44,
48
],
[
40,
49
],
[
49,
50
],
[
49,
51
],
[
40,
52
],
[
52,
53
],
[
53,
54
],
[
40,
55
],
[
56,
56
],
[
56,
57
],
[
57,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
57,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
6,
66
],
[
66,
67
]
]
| [
"import java.util.*;\n\nclass Main {\n public static void main(String[] args) throws Exception{\n\t Scanner sc = new Scanner(System.in);\n\t\tlong N=sc.nextLong();\n\t\tsc.close();\n\t\tString t=\"\";\n\t\twhile(N>0){\n\t\t N--;\n\t\t t+=(char)('a'+N%26);\n\t\t N/=26;\n\t\t}\n\t\tfor(int i=t.length()-1;i>=0;i--) {\n\t\t\tSystem.out.print(t.charAt(i));\n\t\t}\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) throws Exception{\n\t Scanner sc = new Scanner(System.in);\n\t\tlong N=sc.nextLong();\n\t\tsc.close();\n\t\tString t=\"\";\n\t\twhile(N>0){\n\t\t N--;\n\t\t t+=(char)('a'+N%26);\n\t\t N/=26;\n\t\t}\n\t\tfor(int i=t.length()-1;i>=0;i--) {\n\t\t\tSystem.out.print(t.charAt(i));\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception{\n\t Scanner sc = new Scanner(System.in);\n\t\tlong N=sc.nextLong();\n\t\tsc.close();\n\t\tString t=\"\";\n\t\twhile(N>0){\n\t\t N--;\n\t\t t+=(char)('a'+N%26);\n\t\t N/=26;\n\t\t}\n\t\tfor(int i=t.length()-1;i>=0;i--) {\n\t\t\tSystem.out.print(t.charAt(i));\n\t\t}\n\t}",
"main",
"{\n\t Scanner sc = new Scanner(System.in);\n\t\tlong N=sc.nextLong();\n\t\tsc.close();\n\t\tString t=\"\";\n\t\twhile(N>0){\n\t\t N--;\n\t\t t+=(char)('a'+N%26);\n\t\t N/=26;\n\t\t}\n\t\tfor(int i=t.length()-1;i>=0;i--) {\n\t\t\tSystem.out.print(t.charAt(i));\n\t\t}\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N=sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"sc.close()",
"sc.close",
"sc",
"String t=\"\";",
"t",
"\"\"",
"while(N>0){\n\t\t N--;\n\t\t t+=(char)('a'+N%26);\n\t\t N/=26;\n\t\t}",
"N>0",
"N",
"0",
"{\n\t\t N--;\n\t\t t+=(char)('a'+N%26);\n\t\t N/=26;\n\t\t}",
"N--",
"N",
"t+=(char)('a'+N%26)",
"t",
"(char)('a'+N%26)",
"'a'",
"N%26",
"N",
"26",
"N/=26",
"N",
"26",
"for(int i=t.length()-1;i>=0;i--) {\n\t\t\tSystem.out.print(t.charAt(i));\n\t\t}",
"int i=t.length()-1;",
"int i=t.length()-1;",
"i",
"t.length()-1",
"t.length()",
"t.length",
"t",
"1",
"i>=0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tSystem.out.print(t.charAt(i));\n\t\t}",
"{\n\t\t\tSystem.out.print(t.charAt(i));\n\t\t}",
"System.out.print(t.charAt(i))",
"System.out.print",
"System.out",
"System",
"System.out",
"t.charAt(i)",
"t.charAt",
"t",
"i",
"String[] args",
"args"
]
| import java.util.*;
class Main {
public static void main(String[] args) throws Exception{
Scanner sc = new Scanner(System.in);
long N=sc.nextLong();
sc.close();
String t="";
while(N>0){
N--;
t+=(char)('a'+N%26);
N/=26;
}
for(int i=t.length()-1;i>=0;i--) {
System.out.print(t.charAt(i));
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
40,
13,
41,
13,
4,
18,
13,
41,
13,
20,
41,
13,
17,
42,
17,
30,
40,
13,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
4,
18,
13,
17,
14,
2,
2,
2,
13,
17,
17,
17,
30,
3,
0,
13,
2,
2,
13,
17,
17,
30,
4,
18,
13,
13,
14,
2,
2,
13,
17,
17,
30,
3,
0,
13,
17,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
18,
13,
2,
4,
18,
13,
13,
17,
4,
18,
18,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
139,
5
],
[
139,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
8,
43
],
[
43,
44
],
[
43,
45
],
[
8,
46
],
[
46,
47
],
[
46,
48
],
[
8,
49
],
[
49,
50
],
[
49,
51
],
[
51,
52
],
[
52,
53
],
[
51,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
51,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
63,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
69,
75
],
[
68,
76
],
[
76,
77
],
[
63,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
80,
84
],
[
59,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
86,
89
],
[
85,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
92,
94
],
[
91,
95
],
[
90,
96
],
[
96,
97
],
[
85,
98
],
[
98,
99
],
[
98,
100
],
[
8,
101
],
[
101,
102
],
[
101,
103
],
[
8,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
117,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
122,
127
],
[
8,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
128,
133
],
[
133,
134
],
[
134,
135
],
[
6,
136
],
[
136,
137
],
[
0,
138
],
[
138,
139
],
[
138,
140
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n char alphabet[] = new char[26];\n\n char c = 'a';\n\n for(int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n\n long n = sc.nextLong();\n\n List<Integer> list = new ArrayList<>();\n\n int k = 0;\n while(true){\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n\n for(int j = 0; j < k ; j++){\n sb.append(alphabet[list.get(j) - 1]);\n }\n\n System.out.println(sb.reverse());\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n char alphabet[] = new char[26];\n\n char c = 'a';\n\n for(int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n\n long n = sc.nextLong();\n\n List<Integer> list = new ArrayList<>();\n\n int k = 0;\n while(true){\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n\n for(int j = 0; j < k ; j++){\n sb.append(alphabet[list.get(j) - 1]);\n }\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 char alphabet[] = new char[26];\n\n char c = 'a';\n\n for(int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n\n long n = sc.nextLong();\n\n List<Integer> list = new ArrayList<>();\n\n int k = 0;\n while(true){\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n\n for(int j = 0; j < k ; j++){\n sb.append(alphabet[list.get(j) - 1]);\n }\n\n System.out.println(sb.reverse());\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n char alphabet[] = new char[26];\n\n char c = 'a';\n\n for(int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n\n long n = sc.nextLong();\n\n List<Integer> list = new ArrayList<>();\n\n int k = 0;\n while(true){\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n\n for(int j = 0; j < k ; j++){\n sb.append(alphabet[list.get(j) - 1]);\n }\n\n System.out.println(sb.reverse());\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"char alphabet[] = new char[26];",
"alphabet",
"new char[26]",
"26",
"char c = 'a';",
"c",
"'a'",
"for(int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 26",
"i",
"26",
"i++",
"i++",
"i",
"{\n alphabet[i] = c++;\n }",
"{\n alphabet[i] = c++;\n }",
"alphabet[i] = c++",
"alphabet[i]",
"alphabet",
"i",
"c++",
"c",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"List<Integer> list = new ArrayList<>();",
"list",
"new ArrayList<>()",
"int k = 0;",
"k",
"0",
"while(true){\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }",
"true",
"{\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }",
"k++",
"k",
"long p = n % 26;",
"p",
"n % 26",
"n",
"26",
"if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }",
"p == 0",
"p",
"0",
"{\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }",
"list.add(26)",
"list.add",
"list",
"26",
"if((n / 26) - 1 == 0){\n break;\n }",
"(n / 26) - 1 == 0",
"(n / 26) - 1",
"(n / 26)",
"n",
"26",
"1",
"0",
"{\n break;\n }",
"break;",
"n = (n / 26) - 1",
"n",
"(n / 26) - 1",
"(n / 26)",
"n",
"26",
"1",
"{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }",
"list.add((int)p)",
"list.add",
"list",
"(int)p",
"if(n / 26 == 0){\n break;\n }",
"n / 26 == 0",
"n / 26",
"n",
"26",
"0",
"{\n break;\n }",
"break;",
"n /= 26",
"n",
"26",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for(int j = 0; j < k ; j++){\n sb.append(alphabet[list.get(j) - 1]);\n }",
"int j = 0;",
"int j = 0;",
"j",
"0",
"j < k",
"j",
"k",
"j++",
"j++",
"j",
"{\n sb.append(alphabet[list.get(j) - 1]);\n }",
"{\n sb.append(alphabet[list.get(j) - 1]);\n }",
"sb.append(alphabet[list.get(j) - 1])",
"sb.append",
"sb",
"alphabet[list.get(j) - 1]",
"alphabet",
"list.get(j) - 1",
"list.get(j)",
"list.get",
"list",
"j",
"1",
"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 public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n char alphabet[] = new char[26];\n\n char c = 'a';\n\n for(int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n\n long n = sc.nextLong();\n\n List<Integer> list = new ArrayList<>();\n\n int k = 0;\n while(true){\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n\n for(int j = 0; j < k ; j++){\n sb.append(alphabet[list.get(j) - 1]);\n }\n\n System.out.println(sb.reverse());\n\n }\n}",
"public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n char alphabet[] = new char[26];\n\n char c = 'a';\n\n for(int i = 0; i < 26; i++){\n alphabet[i] = c++;\n }\n\n long n = sc.nextLong();\n\n List<Integer> list = new ArrayList<>();\n\n int k = 0;\n while(true){\n k++;\n long p = n % 26;\n\n if(p == 0) {\n list.add(26);\n if((n / 26) - 1 == 0){\n break;\n }\n n = (n / 26) - 1;\n }else{\n list.add((int)p);\n if(n / 26 == 0){\n break;\n }\n n /= 26;\n }\n }\n\n StringBuilder sb = new StringBuilder();\n\n for(int j = 0; j < k ; j++){\n sb.append(alphabet[list.get(j) - 1]);\n }\n\n System.out.println(sb.reverse());\n\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
char alphabet[] = new char[26];
char c = 'a';
for(int i = 0; i < 26; i++){
alphabet[i] = c++;
}
long n = sc.nextLong();
List<Integer> list = new ArrayList<>();
int k = 0;
while(true){
k++;
long p = n % 26;
if(p == 0) {
list.add(26);
if((n / 26) - 1 == 0){
break;
}
n = (n / 26) - 1;
}else{
list.add((int)p);
if(n / 26 == 0){
break;
}
n /= 26;
}
}
StringBuilder sb = new StringBuilder();
for(int j = 0; j < k ; j++){
sb.append(alphabet[list.get(j) - 1]);
}
System.out.println(sb.reverse());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
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,
20,
42,
2,
2,
13,
17,
17,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
41,
13,
13,
4,
18,
13,
18,
13,
2,
13,
17,
0,
13,
2,
13,
17,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
41,
13,
13,
4,
18,
13,
18,
13,
2,
13,
17,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
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
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
30,
32
],
[
32,
33
],
[
33,
34
],
[
26,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
37,
40
],
[
37,
41
],
[
37,
42
],
[
37,
43
],
[
37,
44
],
[
37,
45
],
[
37,
46
],
[
37,
47
],
[
37,
48
],
[
37,
49
],
[
37,
50
],
[
37,
51
],
[
37,
52
],
[
37,
53
],
[
37,
54
],
[
37,
55
],
[
37,
56
],
[
37,
57
],
[
37,
58
],
[
37,
59
],
[
37,
60
],
[
37,
61
],
[
37,
62
],
[
37,
63
],
[
26,
64
],
[
64,
65
],
[
64,
66
],
[
26,
67
],
[
67,
68
],
[
67,
69
],
[
26,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
79,
81
],
[
76,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
82,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
86,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
76,
95
],
[
95,
96
],
[
95,
97
],
[
76,
98
],
[
98,
99
],
[
99,
100
],
[
98,
101
],
[
101,
102
],
[
101,
103
],
[
103,
104
],
[
103,
105
],
[
76,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
108,
110
],
[
26,
111
],
[
111,
112
],
[
111,
113
],
[
113,
114
],
[
113,
115
],
[
26,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
26,
124
],
[
124,
125
],
[
124,
126
],
[
26,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
132,
134
],
[
26,
135
],
[
135,
136
],
[
135,
137
],
[
26,
138
],
[
138,
139
],
[
138,
140
],
[
140,
141
],
[
141,
142
],
[
142,
143
],
[
143,
144
],
[
26,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
147,
149
],
[
145,
150
],
[
24,
151
],
[
151,
152
]
]
| [
"import java.util.Scanner;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Comparator;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n String[] alp = {\"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 dec = 0;\n StringBuilder sb = new StringBuilder();\n while(N / 27 > 0){\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n N = N - 1;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n N = N / 26; \n }\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n StringBuffer str = new StringBuffer(sb);\n String Name = str.reverse().toString();\n System.out.println(Name);\n }\n}\n",
"import java.util.Scanner;",
"Scanner",
"java.util",
"import java.util.List;",
"List",
"java.util",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.Comparator;",
"Comparator",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.util.Collections;",
"Collections",
"java.util",
"import java.util.*;",
"util.*",
"java",
"class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n String[] alp = {\"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 dec = 0;\n StringBuilder sb = new StringBuilder();\n while(N / 27 > 0){\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n N = N - 1;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n N = N / 26; \n }\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n StringBuffer str = new StringBuffer(sb);\n String Name = str.reverse().toString();\n System.out.println(Name);\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n String[] alp = {\"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 dec = 0;\n StringBuilder sb = new StringBuilder();\n while(N / 27 > 0){\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n N = N - 1;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n N = N / 26; \n }\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n StringBuffer str = new StringBuffer(sb);\n String Name = str.reverse().toString();\n System.out.println(Name);\n }",
"main",
"{\n Scanner scan = new Scanner(System.in);\n long N = scan.nextLong();\n String[] alp = {\"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 dec = 0;\n StringBuilder sb = new StringBuilder();\n while(N / 27 > 0){\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n N = N - 1;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n N = N / 26; \n }\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n StringBuffer str = new StringBuffer(sb);\n String Name = str.reverse().toString();\n System.out.println(Name);\n }",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"long N = scan.nextLong();",
"N",
"scan.nextLong()",
"scan.nextLong",
"scan",
"String[] alp = {\"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",
"{\"a\",\"b\",\"c\",\"d\",\"e\",\"f\",\"g\",\"h\",\"i\",\"j\",\"k\",\"l\",\"m\",\"n\",\"o\",\"p\",\"q\",\"r\",\"s\",\"t\",\"u\",\"v\",\"w\",\"x\",\"y\",\"z\"}",
"\"a\"",
"\"b\"",
"\"c\"",
"\"d\"",
"\"e\"",
"\"f\"",
"\"g\"",
"\"h\"",
"\"i\"",
"\"j\"",
"\"k\"",
"\"l\"",
"\"m\"",
"\"n\"",
"\"o\"",
"\"p\"",
"\"q\"",
"\"r\"",
"\"s\"",
"\"t\"",
"\"u\"",
"\"v\"",
"\"w\"",
"\"x\"",
"\"y\"",
"\"z\"",
"long dec = 0;",
"dec",
"0",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(N / 27 > 0){\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n N = N - 1;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n N = N / 26; \n }",
"N / 27 > 0",
"N / 27",
"N",
"27",
"0",
"{\n dec = N % 26;\n if (dec == 0) {\n dec = 26;\n N = N - 1;\n }\n int d = (int)dec;\n sb.append(alp[d - 1]);\n N = N / 26; \n }",
"dec = N % 26",
"dec",
"N % 26",
"N",
"26",
"if (dec == 0) {\n dec = 26;\n N = N - 1;\n }",
"dec == 0",
"dec",
"0",
"{\n dec = 26;\n N = N - 1;\n }",
"dec = 26",
"dec",
"26",
"N = N - 1",
"N",
"N - 1",
"N",
"1",
"int d = (int)dec;",
"d",
"(int)dec",
"sb.append(alp[d - 1])",
"sb.append",
"sb",
"alp[d - 1]",
"alp",
"d - 1",
"d",
"1",
"N = N / 26",
"N",
"N / 26",
"N",
"26",
"dec = N % 26",
"dec",
"N % 26",
"N",
"26",
"if (dec == 0) {\n dec = 26;\n }",
"dec == 0",
"dec",
"0",
"{\n dec = 26;\n }",
"dec = 26",
"dec",
"26",
"int d = (int)dec;",
"d",
"(int)dec",
"sb.append(alp[d - 1])",
"sb.append",
"sb",
"alp[d - 1]",
"alp",
"d - 1",
"d",
"1",
"StringBuffer str = new StringBuffer(sb);",
"str",
"new StringBuffer(sb)",
"String Name = str.reverse().toString();",
"Name",
"str.reverse().toString()",
"str.reverse().toString",
"str.reverse()",
"str.reverse",
"str",
"System.out.println(Name)",
"System.out.println",
"System.out",
"System",
"System.out",
"Name",
"String[] args",
"args"
]
| import java.util.Scanner;
import java.util.List;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Arrays;
import java.util.Collections;
import java.util.*;
class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
long N = scan.nextLong();
String[] alp = {"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 dec = 0;
StringBuilder sb = new StringBuilder();
while(N / 27 > 0){
dec = N % 26;
if (dec == 0) {
dec = 26;
N = N - 1;
}
int d = (int)dec;
sb.append(alp[d - 1]);
N = N / 26;
}
dec = N % 26;
if (dec == 0) {
dec = 26;
}
int d = (int)dec;
sb.append(alp[d - 1]);
StringBuffer str = new StringBuffer(sb);
String Name = str.reverse().toString();
System.out.println(Name);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
13,
23,
13,
12,
13,
30,
4,
18,
18,
13,
13,
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,
13,
4,
13,
12,
13,
30,
29,
20,
23,
13,
12,
13,
30,
29,
4,
13,
4,
13,
12,
13,
30,
29,
20,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
29,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
13,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13,
13,
29,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
29,
4,
18,
13,
17,
13,
23,
13,
12,
13,
30,
4,
13,
4,
13,
23,
13,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
41,
13,
20,
41,
13,
4,
13,
17,
11,
1,
41,
13,
17,
2,
13,
4,
18,
13,
1,
40,
13,
30,
30,
4,
18,
13,
2,
13,
17,
4,
18,
13,
13,
4,
18,
13,
17,
17,
41,
13,
17,
42,
17,
30,
41,
13,
2,
4,
18,
13,
17,
13,
4,
18,
13,
17,
2,
13,
17,
14,
2,
13,
13,
30,
40,
13,
30,
3,
4,
13,
13,
4,
13,
13,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
4,
13,
13,
0,
13,
2,
4,
18,
13,
13,
13,
0,
13,
17,
4,
13,
13,
6,
13,
41,
13,
20,
41,
13,
17,
41,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
38,
5,
13,
30,
0,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
13,
30,
3,
0,
13,
4,
18,
13,
12,
13,
30,
29,
2,
13,
13,
12,
13,
30,
14,
4,
13,
30,
41,
13,
4,
18,
13,
13,
40,
13,
29,
13,
30,
37,
20,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
423,
11
],
[
423,
12
],
[
12,
13
],
[
12,
14
],
[
423,
15
],
[
15,
16
],
[
15,
17
],
[
423,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
423,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
24,
31
],
[
31,
32
],
[
423,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
33,
42
],
[
42,
43
],
[
423,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
423,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
58,
59
],
[
423,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
64,
67
],
[
67,
68
],
[
423,
69
],
[
69,
70
],
[
69,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
423,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
77,
82
],
[
82,
83
],
[
423,
84
],
[
84,
85
],
[
84,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
423,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
92,
97
],
[
97,
98
],
[
423,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
111,
113
],
[
109,
114
],
[
114,
115
],
[
114,
116
],
[
116,
117
],
[
117,
118
],
[
109,
119
],
[
119,
120
],
[
120,
121
],
[
109,
122
],
[
123,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
124,
127
],
[
127,
128
],
[
128,
129
],
[
127,
130
],
[
130,
131
],
[
131,
132
],
[
130,
133
],
[
101,
134
],
[
134,
135
],
[
423,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
142,
144
],
[
144,
145
],
[
138,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
146,
151
],
[
151,
152
],
[
151,
153
],
[
153,
154
],
[
154,
155
],
[
146,
156
],
[
156,
157
],
[
157,
158
],
[
146,
159
],
[
160,
160
],
[
160,
161
],
[
161,
162
],
[
162,
163
],
[
161,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
167,
168
],
[
168,
169
],
[
167,
170
],
[
138,
171
],
[
171,
172
],
[
423,
173
],
[
173,
174
],
[
173,
175
],
[
175,
176
],
[
176,
177
],
[
177,
178
],
[
178,
179
],
[
177,
180
],
[
177,
181
],
[
173,
182
],
[
182,
183
],
[
423,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
189,
190
],
[
188,
191
],
[
188,
192
],
[
184,
193
],
[
193,
194
],
[
423,
195
],
[
195,
196
],
[
195,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
200,
201
],
[
199,
202
],
[
199,
203
],
[
195,
204
],
[
204,
205
],
[
423,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
210,
213
],
[
210,
214
],
[
206,
215
],
[
215,
216
],
[
423,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
219,
222
],
[
222,
223
],
[
217,
224
],
[
224,
225
],
[
423,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
229,
230
],
[
229,
231
],
[
231,
232
],
[
228,
233
],
[
233,
234
],
[
233,
235
],
[
228,
236
],
[
236,
237
],
[
236,
238
],
[
228,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
241,
243
],
[
228,
244
],
[
244,
245
],
[
245,
246
],
[
246,
247
],
[
246,
248
],
[
244,
249
],
[
249,
250
],
[
249,
251
],
[
251,
252
],
[
252,
253
],
[
244,
254
],
[
254,
255
],
[
255,
256
],
[
244,
257
],
[
258,
258
],
[
258,
259
],
[
259,
260
],
[
260,
261
],
[
259,
262
],
[
262,
263
],
[
262,
264
],
[
259,
265
],
[
265,
266
],
[
266,
267
],
[
265,
268
],
[
228,
269
],
[
269,
270
],
[
270,
271
],
[
269,
272
],
[
269,
273
],
[
228,
274
],
[
274,
275
],
[
274,
276
],
[
228,
277
],
[
277,
278
],
[
277,
279
],
[
279,
280
],
[
280,
281
],
[
280,
282
],
[
282,
283
],
[
283,
284
],
[
284,
285
],
[
283,
286
],
[
283,
287
],
[
282,
288
],
[
288,
289
],
[
289,
290
],
[
288,
291
],
[
288,
292
],
[
292,
293
],
[
292,
294
],
[
279,
295
],
[
295,
296
],
[
296,
297
],
[
296,
298
],
[
295,
299
],
[
299,
300
],
[
300,
301
],
[
295,
302
],
[
302,
303
],
[
228,
304
],
[
304,
305
],
[
304,
306
],
[
228,
307
],
[
307,
308
],
[
307,
309
],
[
228,
310
],
[
310,
311
],
[
311,
312
],
[
311,
313
],
[
310,
314
],
[
314,
315
],
[
315,
316
],
[
315,
317
],
[
317,
318
],
[
317,
319
],
[
314,
320
],
[
320,
321
],
[
321,
322
],
[
321,
323
],
[
320,
324
],
[
324,
325
],
[
325,
326
],
[
325,
327
],
[
314,
328
],
[
328,
329
],
[
328,
330
],
[
314,
331
],
[
331,
332
],
[
331,
333
],
[
333,
334
],
[
334,
335
],
[
335,
336
],
[
334,
337
],
[
333,
338
],
[
314,
339
],
[
339,
340
],
[
339,
341
],
[
228,
342
],
[
342,
343
],
[
342,
344
],
[
423,
345
],
[
345,
346
],
[
345,
347
],
[
347,
348
],
[
347,
349
],
[
345,
350
],
[
350,
351
],
[
350,
352
],
[
345,
353
],
[
353,
354
],
[
345,
355
],
[
355,
356
],
[
355,
357
],
[
357,
358
],
[
358,
359
],
[
358,
360
],
[
357,
361
],
[
361,
362
],
[
361,
363
],
[
363,
364
],
[
364,
365
],
[
363,
366
],
[
366,
367
],
[
367,
368
],
[
367,
369
],
[
369,
370
],
[
370,
371
],
[
370,
372
],
[
366,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
376,
377
],
[
377,
378
],
[
363,
379
],
[
379,
380
],
[
380,
381
],
[
380,
382
],
[
379,
383
],
[
383,
384
],
[
384,
385
],
[
385,
386
],
[
384,
387
],
[
379,
388
],
[
388,
389
],
[
357,
390
],
[
390,
391
],
[
390,
392
],
[
392,
393
],
[
393,
394
],
[
345,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
398,
399
],
[
399,
400
],
[
399,
401
],
[
345,
402
],
[
402,
403
],
[
402,
404
],
[
404,
405
],
[
405,
406
],
[
406,
407
],
[
405,
408
],
[
408,
409
],
[
409,
410
],
[
409,
411
],
[
411,
412
],
[
412,
413
],
[
411,
414
],
[
408,
415
],
[
415,
416
],
[
408,
417
],
[
417,
418
],
[
405,
419
],
[
419,
420
],
[
420,
421
],
[
0,
422
],
[
422,
423
],
[
422,
424
]
]
| [
"import java.util.*;import java.io.*;import java.math.*;\npublic class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n boolean hasNext(){return (index < max);}\n String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static void solve(){//ここがメイン関数代わり\n long N = nextLong();\n String output = \"\";\n HashMap<Integer, String> map = new HashMap<Integer, String>();\n ArrayList<String> list = mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\");\n for(int i = 0; i < list.size(); i++){\n map.put(i + 1, list.get(i));\n }\n map.put(0,\"z\");\n int count = 1;\n while(true){\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }\n myerr(N);\n myerr(count);\n while(N > 0){\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }\n myout(output);\n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"import java.math.*;",
"math.*",
"java",
"public class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n boolean hasNext(){return (index < max);}\n String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static void solve(){//ここがメイン関数代わり\n long N = nextLong();\n String output = \"\";\n HashMap<Integer, String> map = new HashMap<Integer, String>();\n ArrayList<String> list = mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\");\n for(int i = 0; i < list.size(); i++){\n map.put(i + 1, list.get(i));\n }\n map.put(0,\"z\");\n int count = 1;\n while(true){\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }\n myerr(N);\n myerr(count);\n while(N > 0){\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }\n myout(output);\n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"Main",
"static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと",
"ii",
"new InputIterator()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static void flush(){out.flush();}",
"flush",
"{out.flush();}",
"out.flush()",
"out.flush",
"out",
"static void myout(Object t){out.println(t);}",
"myout",
"{out.println(t);}",
"out.println(t)",
"out.println",
"out",
"t",
"Object t",
"t",
"static void myerr(Object t){System.err.println(t);}",
"myerr",
"{System.err.println(t);}",
"System.err.println(t)",
"System.err.println",
"System.err",
"System",
"System.err",
"t",
"Object t",
"t",
"static String next(){return ii.next();}",
"next",
"{return ii.next();}",
"return ii.next();",
"ii.next()",
"ii.next",
"ii",
"static int nextInt(){return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"static long nextLong(){return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}",
"nextStrArray",
"{return myHanSpSplit(next());}",
"return myHanSpSplit(next());",
"myHanSpSplit(next())",
"myHanSpSplit",
"next()",
"next",
"static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}",
"myHanSpSplit",
"{return new ArrayList<String>(Arrays.asList(str.split(\" \")));}",
"return new ArrayList<String>(Arrays.asList(str.split(\" \")));",
"new ArrayList<String>(Arrays.asList(str.split(\" \")))",
"String str",
"str",
"static ArrayList<String> nextCharArray(){return mySingleSplit(next());}",
"nextCharArray",
"{return mySingleSplit(next());}",
"return mySingleSplit(next());",
"mySingleSplit(next())",
"mySingleSplit",
"next()",
"next",
"static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}",
"mySingleSplit",
"{return new ArrayList<String>(Arrays.asList(str.split(\"\")));}",
"return new ArrayList<String>(Arrays.asList(str.split(\"\")));",
"new ArrayList<String>(Arrays.asList(str.split(\"\")))",
"String str",
"str",
"static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }",
"nextIntArray",
"{\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }",
"ArrayList<Integer> ret = new ArrayList<Integer>();",
"ret",
"new ArrayList<Integer>()",
"ArrayList<String> input = nextStrArray();",
"input",
"nextStrArray()",
"nextStrArray",
"for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.size()",
"i",
"input.size()",
"input.size",
"input",
"i++",
"i++",
"i",
"{\n ret.add(Integer.parseInt(input.get(i)));\n }",
"{\n ret.add(Integer.parseInt(input.get(i)));\n }",
"ret.add(Integer.parseInt(input.get(i)))",
"ret.add",
"ret",
"Integer.parseInt(input.get(i))",
"Integer.parseInt",
"Integer",
"input.get(i)",
"input.get",
"input",
"i",
"return ret;",
"ret",
"static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }",
"nextLongArray",
"{\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }",
"ArrayList<Long> ret = new ArrayList<Long>();",
"ret",
"new ArrayList<Long>()",
"ArrayList<String> input = nextStrArray();",
"input",
"nextStrArray()",
"nextStrArray",
"for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < input.size()",
"i",
"input.size()",
"input.size",
"input",
"i++",
"i++",
"i",
"{\n ret.add(Long.parseLong(input.get(i)));\n }",
"{\n ret.add(Long.parseLong(input.get(i)));\n }",
"ret.add(Long.parseLong(input.get(i)))",
"ret.add",
"ret",
"Long.parseLong(input.get(i))",
"Long.parseLong",
"Long",
"input.get(i)",
"input.get",
"input",
"i",
"return ret;",
"ret",
"static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}",
"kaigyoToStr",
"{return String.join(\"\\n\",list);}",
"return String.join(\"\\n\",list);",
"String.join(\"\\n\",list)",
"String.join",
"String",
"\"\\n\"",
"list",
"String[] list",
"list",
"static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}",
"kaigyoToStr",
"{return String.join(\"\\n\",list);}",
"return String.join(\"\\n\",list);",
"String.join(\"\\n\",list)",
"String.join",
"String",
"\"\\n\"",
"list",
"ArrayList<String> list",
"list",
"static String hanSpToStr(String[] list){return String.join(\" \",list);}",
"hanSpToStr",
"{return String.join(\" \",list);}",
"return String.join(\" \",list);",
"String.join(\" \",list)",
"String.join",
"String",
"\" \"",
"list",
"String[] list",
"list",
"static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}",
"hanSpToStr",
"{return String.join(\" \",list);}",
"return String.join(\" \",list);",
"String.join(\" \",list)",
"String.join",
"String",
"\" \"",
"list",
"ArrayList<String> list",
"list",
"public static void main(String[] args){\n solve();\n flush();\n }",
"main",
"{\n solve();\n flush();\n }",
"solve()",
"solve",
"flush()",
"flush",
"String[] args",
"args",
"//↑見なくていいよ!ここまで------------------------------------------\n static void solve(){//ここがメイン関数代わり\n long N = nextLong();\n String output = \"\";\n HashMap<Integer, String> map = new HashMap<Integer, String>();\n ArrayList<String> list = mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\");\n for(int i = 0; i < list.size(); i++){\n map.put(i + 1, list.get(i));\n }\n map.put(0,\"z\");\n int count = 1;\n while(true){\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }\n myerr(N);\n myerr(count);\n while(N > 0){\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }\n myout(output);\n }",
"solve",
"{//ここがメイン関数代わり\n long N = nextLong();\n String output = \"\";\n HashMap<Integer, String> map = new HashMap<Integer, String>();\n ArrayList<String> list = mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\");\n for(int i = 0; i < list.size(); i++){\n map.put(i + 1, list.get(i));\n }\n map.put(0,\"z\");\n int count = 1;\n while(true){\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }\n myerr(N);\n myerr(count);\n while(N > 0){\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }\n myout(output);\n }",
"long N = nextLong();",
"N",
"nextLong()",
"nextLong",
"String output = \"\";",
"output",
"\"\"",
"HashMap<Integer, String> map = new HashMap<Integer, String>();",
"map",
"new HashMap<Integer, String>()",
"ArrayList<String> list = mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\");",
"list",
"mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\")",
"mySingleSplit",
"\"abcdefghijklmnopqrstuvwxyz\"",
"for(int i = 0; i < list.size(); i++){\n map.put(i + 1, list.get(i));\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < list.size()",
"i",
"list.size()",
"list.size",
"list",
"i++",
"i++",
"i",
"{\n map.put(i + 1, list.get(i));\n }",
"{\n map.put(i + 1, list.get(i));\n }",
"map.put(i + 1, list.get(i))",
"map.put",
"map",
"i + 1",
"i",
"1",
"list.get(i)",
"list.get",
"list",
"i",
"map.put(0,\"z\")",
"map.put",
"map",
"0",
"\"z\"",
"int count = 1;",
"count",
"1",
"while(true){\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }",
"true",
"{\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }",
"long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);",
"under",
"(long)Math.pow(26,count) + (long)Math.pow(26, count - 1)",
"(long)Math.pow(26,count)",
"Math.pow",
"Math",
"26",
"count",
"(long)Math.pow(26, count - 1)",
"Math.pow",
"Math",
"26",
"count - 1",
"count",
"1",
"if(N >= under){\n count++;\n }else{\n break;\n }",
"N >= under",
"N",
"under",
"{\n count++;\n }",
"count++",
"count",
"{\n break;\n }",
"break;",
"myerr(N)",
"myerr",
"N",
"myerr(count)",
"myerr",
"count",
"while(N > 0){\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }",
"N > 0",
"N",
"0",
"{\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }",
"int single = (int)(N % 26);",
"single",
"(int)(N % 26)",
"N",
"26",
"if(single == 0){\n N -= 26;\n }",
"single == 0",
"single",
"0",
"{\n N -= 26;\n }",
"N -= 26",
"N",
"26",
"myerr(N)",
"myerr",
"N",
"output = map.get(single) + output",
"output",
"map.get(single) + output",
"map.get(single)",
"map.get",
"map",
"single",
"output",
"N /= 26",
"N",
"26",
"myout(output)",
"myout",
"output",
"static class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n boolean hasNext(){return (index < max);}\n String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }\n }\n }",
"InputIterator",
"ArrayList<String> inputLine = new ArrayList<String>(1024);",
"inputLine",
"new ArrayList<String>(1024)",
"int index = 0;",
"index",
"0",
"int max;",
"max",
"InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }",
"InputIterator",
"{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }",
"true",
"{\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }",
"String read;",
"read",
"try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }",
"catch(IOException e){\n read = null;\n }",
"IOException e",
"{\n read = null;\n }",
"read = null",
"read",
"null",
"{\n read = br.readLine();\n }",
"read = br.readLine()",
"read",
"br.readLine()",
"br.readLine",
"br",
"if(read != null){\n inputLine.add(read);\n }else{\n break;\n }",
"read != null",
"read",
"null",
"{\n inputLine.add(read);\n }",
"inputLine.add(read)",
"inputLine.add",
"inputLine",
"read",
"{\n break;\n }",
"break;",
"max = inputLine.size()",
"max",
"inputLine.size()",
"inputLine.size",
"inputLine",
"boolean hasNext(){return (index < max);}",
"hasNext",
"{return (index < max);}",
"return (index < max);",
"(index < max)",
"index",
"max",
"String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }\n }",
"next",
"{\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }\n }",
"if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }",
"hasNext()",
"hasNext",
"{\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }",
"String returnStr = inputLine.get(index);",
"returnStr",
"inputLine.get(index)",
"inputLine.get",
"inputLine",
"index",
"index++",
"index",
"return returnStr;",
"returnStr",
"{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }",
"throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");",
"new IndexOutOfBoundsException(\"これ以上入力はないよ\")",
"public class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n boolean hasNext(){return (index < max);}\n String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static void solve(){//ここがメイン関数代わり\n long N = nextLong();\n String output = \"\";\n HashMap<Integer, String> map = new HashMap<Integer, String>();\n ArrayList<String> list = mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\");\n for(int i = 0; i < list.size(); i++){\n map.put(i + 1, list.get(i));\n }\n map.put(0,\"z\");\n int count = 1;\n while(true){\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }\n myerr(N);\n myerr(count);\n while(N > 0){\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }\n myout(output);\n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"public class Main{\n //↓見なくていいよ!ここから------------------------------------------\n static class InputIterator{\n ArrayList<String> inputLine = new ArrayList<String>(1024);\n int index = 0; int max;\n InputIterator(){\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n while(true){\n String read;\n try{\n read = br.readLine();\n }catch(IOException e){\n read = null;\n }\n if(read != null){\n inputLine.add(read);\n }else{\n break;\n }\n }\n max = inputLine.size();\n }\n boolean hasNext(){return (index < max);}\n String next(){\n if(hasNext()){\n String returnStr = inputLine.get(index);\n index++;\n return returnStr;\n }else{\n throw new IndexOutOfBoundsException(\"これ以上入力はないよ\");\n }\n }\n }\n \n static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと\n static PrintWriter out = new PrintWriter(System.out);\n static void flush(){out.flush();}\n static void myout(Object t){out.println(t);}\n static void myerr(Object t){System.err.println(t);}\n static String next(){return ii.next();}\n static int nextInt(){return Integer.parseInt(next());}\n static long nextLong(){return Long.parseLong(next());}\n static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}\n static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\" \")));}\n static ArrayList<String> nextCharArray(){return mySingleSplit(next());}\n static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(\"\")));}\n static ArrayList<Integer> nextIntArray(){\n ArrayList<Integer> ret = new ArrayList<Integer>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Integer.parseInt(input.get(i)));\n }\n return ret;\n }\n static ArrayList<Long> nextLongArray(){\n ArrayList<Long> ret = new ArrayList<Long>();\n ArrayList<String> input = nextStrArray();\n for(int i = 0; i < input.size(); i++){\n ret.add(Long.parseLong(input.get(i)));\n }\n return ret;\n }\n static String kaigyoToStr(String[] list){return String.join(\"\\n\",list);}\n static String kaigyoToStr(ArrayList<String> list){return String.join(\"\\n\",list);}\n static String hanSpToStr(String[] list){return String.join(\" \",list);}\n static String hanSpToStr(ArrayList<String> list){return String.join(\" \",list);}\n public static void main(String[] args){\n solve();\n flush();\n }\n //↑見なくていいよ!ここまで------------------------------------------\n static void solve(){//ここがメイン関数代わり\n long N = nextLong();\n String output = \"\";\n HashMap<Integer, String> map = new HashMap<Integer, String>();\n ArrayList<String> list = mySingleSplit(\"abcdefghijklmnopqrstuvwxyz\");\n for(int i = 0; i < list.size(); i++){\n map.put(i + 1, list.get(i));\n }\n map.put(0,\"z\");\n int count = 1;\n while(true){\n long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);\n if(N >= under){\n count++;\n }else{\n break;\n }\n }\n myerr(N);\n myerr(count);\n while(N > 0){\n int single = (int)(N % 26);\n //myerr(single);\n if(single == 0){\n N -= 26;\n }\n myerr(N);\n output = map.get(single) + output;\n N /= 26;\n }\n myout(output);\n }\n //Method addition frame start\n\n //Method addition frame end\n}",
"Main"
]
| import java.util.*;import java.io.*;import java.math.*;
public class Main{
//↓見なくていいよ!ここから------------------------------------------
static class InputIterator{
ArrayList<String> inputLine = new ArrayList<String>(1024);
int index = 0; int max;
InputIterator(){
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String read;
try{
read = br.readLine();
}catch(IOException e){
read = null;
}
if(read != null){
inputLine.add(read);
}else{
break;
}
}
max = inputLine.size();
}
boolean hasNext(){return (index < max);}
String next(){
if(hasNext()){
String returnStr = inputLine.get(index);
index++;
return returnStr;
}else{
throw new IndexOutOfBoundsException("これ以上入力はないよ");
}
}
}
static InputIterator ii = new InputIterator();//リアクティブでは使えないので諦めてScanner使うこと
static PrintWriter out = new PrintWriter(System.out);
static void flush(){out.flush();}
static void myout(Object t){out.println(t);}
static void myerr(Object t){System.err.println(t);}
static String next(){return ii.next();}
static int nextInt(){return Integer.parseInt(next());}
static long nextLong(){return Long.parseLong(next());}
static ArrayList<String> nextStrArray(){return myHanSpSplit(next());}
static ArrayList<String> myHanSpSplit(String str){return new ArrayList<String>(Arrays.asList(str.split(" ")));}
static ArrayList<String> nextCharArray(){return mySingleSplit(next());}
static ArrayList<String> mySingleSplit(String str){return new ArrayList<String>(Arrays.asList(str.split("")));}
static ArrayList<Integer> nextIntArray(){
ArrayList<Integer> ret = new ArrayList<Integer>();
ArrayList<String> input = nextStrArray();
for(int i = 0; i < input.size(); i++){
ret.add(Integer.parseInt(input.get(i)));
}
return ret;
}
static ArrayList<Long> nextLongArray(){
ArrayList<Long> ret = new ArrayList<Long>();
ArrayList<String> input = nextStrArray();
for(int i = 0; i < input.size(); i++){
ret.add(Long.parseLong(input.get(i)));
}
return ret;
}
static String kaigyoToStr(String[] list){return String.join("\n",list);}
static String kaigyoToStr(ArrayList<String> list){return String.join("\n",list);}
static String hanSpToStr(String[] list){return String.join(" ",list);}
static String hanSpToStr(ArrayList<String> list){return String.join(" ",list);}
public static void main(String[] args){
solve();
flush();
}
//↑見なくていいよ!ここまで------------------------------------------
static void solve(){//ここがメイン関数代わり
long N = nextLong();
String output = "";
HashMap<Integer, String> map = new HashMap<Integer, String>();
ArrayList<String> list = mySingleSplit("abcdefghijklmnopqrstuvwxyz");
for(int i = 0; i < list.size(); i++){
map.put(i + 1, list.get(i));
}
map.put(0,"z");
int count = 1;
while(true){
long under = (long)Math.pow(26,count) + (long)Math.pow(26, count - 1);
if(N >= under){
count++;
}else{
break;
}
}
myerr(N);
myerr(count);
while(N > 0){
int single = (int)(N % 26);
//myerr(single);
if(single == 0){
N -= 26;
}
myerr(N);
output = map.get(single) + output;
N /= 26;
}
myout(output);
}
//Method addition frame start
//Method addition frame end
}
|
[
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,
41,
13,
17,
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,
42,
2,
17,
13,
30,
0,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
13,
0,
13,
4,
18,
13,
2,
13,
17,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
114,
8
],
[
114,
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
],
[
26,
28
],
[
11,
29
],
[
29,
30
],
[
29,
31
],
[
31,
32
],
[
32,
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
],
[
31,
58
],
[
31,
59
],
[
11,
60
],
[
60,
61
],
[
61,
62
],
[
61,
63
],
[
60,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
67,
68
],
[
67,
69
],
[
64,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
75,
77
],
[
74,
78
],
[
78,
79
],
[
78,
80
],
[
64,
81
],
[
81,
82
],
[
81,
83
],
[
64,
84
],
[
84,
85
],
[
84,
86
],
[
64,
87
],
[
87,
88
],
[
87,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
92,
93
],
[
92,
94
],
[
11,
95
],
[
95,
96
],
[
95,
97
],
[
11,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
11,
105
],
[
105,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
105,
110
],
[
9,
111
],
[
111,
112
],
[
0,
113
],
[
113,
114
],
[
113,
115
]
]
| [
"import java.util.*;\nimport java.lang.Math;\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 int amari = 0;\n String ans = \"\";\n long kari = 0;\n //System.out.println(N);\n List<String> list = 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 while(0 < N){\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }\n StringBuffer sb = new StringBuffer(ans);\n\t\tString dst = sb.reverse().toString();\n System.out.println(dst);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.lang.Math;",
"Math",
"java.lang",
"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 int amari = 0;\n String ans = \"\";\n long kari = 0;\n //System.out.println(N);\n List<String> list = 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 while(0 < N){\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }\n StringBuffer sb = new StringBuffer(ans);\n\t\tString dst = sb.reverse().toString();\n System.out.println(dst);\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 int amari = 0;\n String ans = \"\";\n long kari = 0;\n //System.out.println(N);\n List<String> list = 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 while(0 < N){\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }\n StringBuffer sb = new StringBuffer(ans);\n\t\tString dst = sb.reverse().toString();\n System.out.println(dst);\n }",
"main",
"{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n int amari = 0;\n String ans = \"\";\n long kari = 0;\n //System.out.println(N);\n List<String> list = 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 while(0 < N){\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }\n StringBuffer sb = new StringBuffer(ans);\n\t\tString dst = sb.reverse().toString();\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 amari = 0;",
"amari",
"0",
"String ans = \"\";",
"ans",
"\"\"",
"long kari = 0;",
"kari",
"0",
"List<String> list = 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\");",
"list",
"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\"",
"while(0 < N){\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }",
"0 < N",
"0",
"N",
"{\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }",
"kari = N % 26",
"kari",
"N % 26",
"N",
"26",
"if(kari == 0){\n kari = 26;\n N -= 1;\n }",
"kari == 0",
"kari",
"0",
"{\n kari = 26;\n N -= 1;\n }",
"kari = 26",
"kari",
"26",
"N -= 1",
"N",
"1",
"N /= 26",
"N",
"26",
"amari = (int)kari",
"amari",
"(int)kari",
"ans += list.get(amari - 1)",
"ans",
"list.get(amari - 1)",
"list.get",
"list",
"amari - 1",
"amari",
"1",
"StringBuffer sb = new StringBuffer(ans);",
"sb",
"new StringBuffer(ans)",
"String dst = sb.reverse().toString();",
"dst",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"System.out.println(dst)",
"System.out.println",
"System.out",
"System",
"System.out",
"dst",
"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 int amari = 0;\n String ans = \"\";\n long kari = 0;\n //System.out.println(N);\n List<String> list = 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 while(0 < N){\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }\n StringBuffer sb = new StringBuffer(ans);\n\t\tString dst = sb.reverse().toString();\n System.out.println(dst);\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 int amari = 0;\n String ans = \"\";\n long kari = 0;\n //System.out.println(N);\n List<String> list = 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 while(0 < N){\n kari = N % 26;\n if(kari == 0){\n kari = 26;\n N -= 1;\n }\n N /= 26;\n //System.out.println(kari);\n amari = (int)kari;\n ans += list.get(amari - 1);\n }\n StringBuffer sb = new StringBuffer(ans);\n\t\tString dst = sb.reverse().toString();\n System.out.println(dst);\n }\n}",
"Main"
]
| import java.util.*;
import java.lang.Math;
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 amari = 0;
String ans = "";
long kari = 0;
//System.out.println(N);
List<String> list = 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");
while(0 < N){
kari = N % 26;
if(kari == 0){
kari = 26;
N -= 1;
}
N /= 26;
//System.out.println(kari);
amari = (int)kari;
ans += list.get(amari - 1);
}
StringBuffer sb = new StringBuffer(ans);
String dst = sb.reverse().toString();
System.out.println(dst);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
2,
4,
18,
13,
17,
17,
17,
41,
13,
17,
42,
2,
13,
17,
30,
40,
13,
0,
13,
2,
13,
2,
17,
2,
13,
17,
0,
13,
2,
13,
17,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
23,
27
],
[
22,
28
],
[
8,
29
],
[
29,
30
],
[
29,
31
],
[
8,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
36,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
8,
53
],
[
53,
54
],
[
53,
55
],
[
8,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.*;\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long n=N;\n long max=(long)Math.pow(10, 15)+1;\n String res=\"\";\n \n \n while(N>0){\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }\n StringBuffer ans = new StringBuffer(res);\n String hoge2 = ans.reverse().toString();\n System.out.println(ans);\n }\n\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long n=N;\n long max=(long)Math.pow(10, 15)+1;\n String res=\"\";\n \n \n while(N>0){\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }\n StringBuffer ans = new StringBuffer(res);\n String hoge2 = ans.reverse().toString();\n System.out.println(ans);\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long n=N;\n long max=(long)Math.pow(10, 15)+1;\n String res=\"\";\n \n \n while(N>0){\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }\n StringBuffer ans = new StringBuffer(res);\n String hoge2 = ans.reverse().toString();\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long n=N;\n long max=(long)Math.pow(10, 15)+1;\n String res=\"\";\n \n \n while(N>0){\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }\n StringBuffer ans = new StringBuffer(res);\n String hoge2 = ans.reverse().toString();\n System.out.println(ans);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long n=N;",
"n",
"N",
"long max=(long)Math.pow(10, 15)+1;",
"max",
"(long)Math.pow(10, 15)+1",
"(long)Math.pow(10, 15)",
"Math.pow",
"Math",
"10",
"15",
"1",
"String res=\"\";",
"res",
"\"\"",
"while(N>0){\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }",
"N>0",
"N",
"0",
"{\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }",
"N--",
"N",
"res = res + (char)('a' + N%26)",
"res",
"res + (char)('a' + N%26)",
"res",
"(char)('a' + N%26)",
"'a'",
"N%26",
"N",
"26",
"N = N/26",
"N",
"N/26",
"N",
"26",
"StringBuffer ans = new StringBuffer(res);",
"ans",
"new StringBuffer(res)",
"String hoge2 = ans.reverse().toString();",
"hoge2",
"ans.reverse().toString()",
"ans.reverse().toString",
"ans.reverse()",
"ans.reverse",
"ans",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long n=N;\n long max=(long)Math.pow(10, 15)+1;\n String res=\"\";\n \n \n while(N>0){\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }\n StringBuffer ans = new StringBuffer(res);\n String hoge2 = ans.reverse().toString();\n System.out.println(ans);\n }\n\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n long n=N;\n long max=(long)Math.pow(10, 15)+1;\n String res=\"\";\n \n \n while(N>0){\n N--;\n res = res + (char)('a' + N%26);\n N = N/26;\n }\n StringBuffer ans = new StringBuffer(res);\n String hoge2 = ans.reverse().toString();\n System.out.println(ans);\n }\n\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
long n=N;
long max=(long)Math.pow(10, 15)+1;
String res="";
while(N>0){
N--;
res = res + (char)('a' + N%26);
N = N/26;
}
StringBuffer ans = new StringBuffer(res);
String hoge2 = ans.reverse().toString();
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
4,
18,
18,
13,
13,
4,
18,
4,
18,
20,
23,
13,
12,
13,
30,
40,
13,
41,
13,
2,
13,
4,
13,
2,
13,
17,
0,
13,
17,
14,
2,
13,
17,
30,
29,
4,
13,
13,
13,
30,
29,
13,
23,
13,
23,
13,
12,
13,
30,
29,
2,
17,
2,
13,
17,
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
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
6,
30
],
[
30,
31
],
[
78,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
39,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
34,
46
],
[
46,
47
],
[
46,
48
],
[
34,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
55,
58
],
[
49,
59
],
[
59,
60
],
[
60,
61
],
[
32,
62
],
[
62,
63
],
[
32,
64
],
[
64,
65
],
[
78,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
72,
73
],
[
72,
74
],
[
66,
75
],
[
75,
76
],
[
0,
77
],
[
77,
78
],
[
77,
79
]
]
| [
"import java.util.*;\n \npublic class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String str = \"\";\n \tSystem.out.println(new StringBuilder(detectChar(a, str)).reverse().toString());\n }\n\n\tpublic static String detectChar(long a, String b) {\n a--; \n \tString c = b + returnChar(a%26);\n \ta /= 26;\n if (a > 0) {\n return detectChar(a, c);\n } else {\n return c;\n }\n\t}\n\n\tpublic static char returnChar(long a) {\n \treturn (char)('a' + a % 26);\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String str = \"\";\n \tSystem.out.println(new StringBuilder(detectChar(a, str)).reverse().toString());\n }\n\n\tpublic static String detectChar(long a, String b) {\n a--; \n \tString c = b + returnChar(a%26);\n \ta /= 26;\n if (a > 0) {\n return detectChar(a, c);\n } else {\n return c;\n }\n\t}\n\n\tpublic static char returnChar(long a) {\n \treturn (char)('a' + a % 26);\n\t}\n}",
"Main",
"public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String str = \"\";\n \tSystem.out.println(new StringBuilder(detectChar(a, str)).reverse().toString());\n }",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String str = \"\";\n \tSystem.out.println(new StringBuilder(detectChar(a, str)).reverse().toString());\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long a = sc.nextLong();",
"a",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String str = \"\";",
"str",
"\"\"",
"System.out.println(new StringBuilder(detectChar(a, str)).reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"new StringBuilder(detectChar(a, str)).reverse().toString()",
"new StringBuilder(detectChar(a, str)).reverse().toString",
"new StringBuilder(detectChar(a, str)).reverse()",
"new StringBuilder(detectChar(a, str)).reverse",
"new StringBuilder(detectChar(a, str))",
"String[] args",
"args",
"public static String detectChar(long a, String b) {\n a--; \n \tString c = b + returnChar(a%26);\n \ta /= 26;\n if (a > 0) {\n return detectChar(a, c);\n } else {\n return c;\n }\n\t}",
"detectChar",
"{\n a--; \n \tString c = b + returnChar(a%26);\n \ta /= 26;\n if (a > 0) {\n return detectChar(a, c);\n } else {\n return c;\n }\n\t}",
"a--",
"a",
"String c = b + returnChar(a%26);",
"c",
"b + returnChar(a%26)",
"b",
"returnChar(a%26)",
"returnChar",
"a%26",
"a",
"26",
"a /= 26",
"a",
"26",
"if (a > 0) {\n return detectChar(a, c);\n } else {\n return c;\n }",
"a > 0",
"a",
"0",
"{\n return detectChar(a, c);\n }",
"return detectChar(a, c);",
"detectChar(a, c)",
"detectChar",
"a",
"c",
"{\n return c;\n }",
"return c;",
"c",
"long a",
"a",
"String b",
"b",
"public static char returnChar(long a) {\n \treturn (char)('a' + a % 26);\n\t}",
"returnChar",
"{\n \treturn (char)('a' + a % 26);\n\t}",
"return (char)('a' + a % 26);",
"(char)('a' + a % 26)",
"'a'",
"a % 26",
"a",
"26",
"long a",
"a",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String str = \"\";\n \tSystem.out.println(new StringBuilder(detectChar(a, str)).reverse().toString());\n }\n\n\tpublic static String detectChar(long a, String b) {\n a--; \n \tString c = b + returnChar(a%26);\n \ta /= 26;\n if (a > 0) {\n return detectChar(a, c);\n } else {\n return c;\n }\n\t}\n\n\tpublic static char returnChar(long a) {\n \treturn (char)('a' + a % 26);\n\t}\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n long a = sc.nextLong();\n String str = \"\";\n \tSystem.out.println(new StringBuilder(detectChar(a, str)).reverse().toString());\n }\n\n\tpublic static String detectChar(long a, String b) {\n a--; \n \tString c = b + returnChar(a%26);\n \ta /= 26;\n if (a > 0) {\n return detectChar(a, c);\n } else {\n return c;\n }\n\t}\n\n\tpublic static char returnChar(long a) {\n \treturn (char)('a' + a % 26);\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
long a = sc.nextLong();
String str = "";
System.out.println(new StringBuilder(detectChar(a, str)).reverse().toString());
}
public static String detectChar(long a, String b) {
a--;
String c = b + returnChar(a%26);
a /= 26;
if (a > 0) {
return detectChar(a, c);
} else {
return c;
}
}
public static char returnChar(long a) {
return (char)('a' + a % 26);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
0,
13,
4,
18,
13,
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,
0,
13,
2,
13,
17,
14,
2,
13,
17,
40,
13,
4,
18,
13,
2,
2,
17,
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
],
[
80,
5
],
[
80,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
22,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
36,
39
],
[
32,
40
],
[
40,
41
],
[
41,
42
],
[
40,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
26,
48
],
[
48,
49
],
[
48,
50
],
[
50,
51
],
[
50,
52
],
[
26,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
57,
58
],
[
8,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
62,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
6,
77
],
[
77,
78
],
[
0,
79
],
[
79,
80
],
[
79,
81
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n long n;\n n = scanner.nextLong();\n //System.out.println(n);\n while(n > 26) {\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }\n sb.append((char)('a' + n -1));\n System.out.println(sb.reverse().toString());\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n long n;\n n = scanner.nextLong();\n //System.out.println(n);\n while(n > 26) {\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }\n sb.append((char)('a' + n -1));\n System.out.println(sb.reverse().toString());\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n long n;\n n = scanner.nextLong();\n //System.out.println(n);\n while(n > 26) {\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }\n sb.append((char)('a' + n -1));\n System.out.println(sb.reverse().toString());\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n long n;\n n = scanner.nextLong();\n //System.out.println(n);\n while(n > 26) {\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }\n sb.append((char)('a' + n -1));\n System.out.println(sb.reverse().toString());\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"long n;",
"n",
"n = scanner.nextLong()",
"n",
"scanner.nextLong()",
"scanner.nextLong",
"scanner",
"while(n > 26) {\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }",
"n > 26",
"n",
"26",
"{\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }",
"int rem = (int) (n % 26);",
"rem",
"(int) (n % 26)",
"n",
"26",
"if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));",
"rem == 0",
"rem",
"0",
"sb.append('z')",
"sb.append",
"sb",
"'z'",
"sb.append((char)('a' + rem - 1))",
"sb.append",
"sb",
"(char)('a' + rem - 1)",
"'a' + rem",
"'a'",
"rem",
"1",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"if(rem == 0)\n n--;",
"rem == 0",
"rem",
"0",
"n--",
"n",
"sb.append((char)('a' + n -1))",
"sb.append",
"sb",
"(char)('a' + n -1)",
"'a' + n",
"'a'",
"n",
"1",
"System.out.println(sb.reverse().toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.reverse().toString()",
"sb.reverse().toString",
"sb.reverse()",
"sb.reverse",
"sb",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n long n;\n n = scanner.nextLong();\n //System.out.println(n);\n while(n > 26) {\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }\n sb.append((char)('a' + n -1));\n System.out.println(sb.reverse().toString());\n }\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n long n;\n n = scanner.nextLong();\n //System.out.println(n);\n while(n > 26) {\n int rem = (int) (n % 26);\n //System.out.println(rem);\n if(rem == 0)\n sb.append('z');\n else\n sb.append((char)('a' + rem - 1));\n //System.out.println(n%26);\n n = n / 26;\n if(rem == 0)\n n--;\n }\n sb.append((char)('a' + n -1));\n System.out.println(sb.reverse().toString());\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
long n;
n = scanner.nextLong();
//System.out.println(n);
while(n > 26) {
int rem = (int) (n % 26);
//System.out.println(rem);
if(rem == 0)
sb.append('z');
else
sb.append((char)('a' + rem - 1));
//System.out.println(n%26);
n = n / 26;
if(rem == 0)
n--;
}
sb.append((char)('a' + n -1));
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,
40,
13,
4,
18,
13,
17,
2,
17,
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
],
[
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
],
[
27,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
24,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
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.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}\n\n\n\n\n\n",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"Long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while (n > 0) {\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}",
"n > 0",
"n",
"0",
"{\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}",
"n--",
"n",
"sb.insert(0, (char) ('a' + n % 26))",
"sb.insert",
"sb",
"0",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n = n / 26",
"n",
"n / 26",
"n",
"26",
"System.out.println(sb.toString())",
"System.out.println",
"System.out",
"System",
"System.out",
"sb.toString()",
"sb.toString",
"sb",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tLong n = sc.nextLong();\n\t\tStringBuilder sb = new StringBuilder();\n\t\twhile (n > 0) {\n\t\t\tn--;\n\t\t\tsb.insert(0, (char) ('a' + n % 26));\n\t\t\tn = n / 26;\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
Long n = sc.nextLong();
StringBuilder sb = new StringBuilder();
while (n > 0) {
n--;
sb.insert(0, (char) ('a' + n % 26));
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,
4,
13,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
14,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
17,
30,
4,
18,
18,
13,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
17,
17,
29,
30,
14,
2,
2,
13,
17,
17,
30,
4,
13,
2,
13,
17,
4,
18,
18,
13,
13,
2,
2,
13,
17,
17,
30,
4,
13,
2,
2,
13,
17,
17,
4,
18,
18,
13,
13,
2,
17,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
134,
5
],
[
134,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
6,
20
],
[
20,
21
],
[
134,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
30,
35
],
[
35,
36
],
[
35,
37
],
[
29,
38
],
[
25,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
44,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
53,
55
],
[
51,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
50,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
66,
70
],
[
44,
71
],
[
71,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
72,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
71,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
82,
87
],
[
87,
88
],
[
87,
89
],
[
71,
90
],
[
39,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
94,
96
],
[
93,
97
],
[
92,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
92,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
114,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
124,
126
],
[
122,
127
],
[
127,
128
],
[
127,
129
],
[
91,
130
],
[
22,
131
],
[
131,
132
],
[
0,
133
],
[
133,
134
],
[
133,
135
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n\t\tlong n = scn.nextLong();\n\t\tfun(n);\n\t}\n\tpublic static void fun(long n) {\n\t\tif(n<27) {\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}else if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}\n\t}\n}\t",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n\t\tlong n = scn.nextLong();\n\t\tfun(n);\n\t}\n\tpublic static void fun(long n) {\n\t\tif(n<27) {\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}else if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n\t\tlong n = scn.nextLong();\n\t\tfun(n);\n\t}",
"main",
"{\n\t\tScanner scn = new Scanner(System.in);\n\t\tlong n = scn.nextLong();\n\t\tfun(n);\n\t}",
"Scanner scn = new Scanner(System.in);",
"scn",
"new Scanner(System.in)",
"long n = scn.nextLong();",
"n",
"scn.nextLong()",
"scn.nextLong",
"scn",
"fun(n)",
"fun",
"n",
"String[] args",
"args",
"public static void fun(long n) {\n\t\tif(n<27) {\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}else if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}\n\t}",
"fun",
"{\n\t\tif(n<27) {\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}else if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}\n\t}",
"if(n<27) {\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}else if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}",
"n<27",
"n",
"27",
"{\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}",
"System.out.print((char)(n+96))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(n+96)",
"n",
"96",
"return;",
"if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}",
"n<703",
"n",
"703",
"{\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}",
"if(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}",
"n%26!=0",
"n%26",
"n",
"26",
"0",
"{\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}",
"System.out.print((char)(n/26 + 96))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(n/26 + 96)",
"n/26",
"n",
"26",
"96",
"System.out.print((char)(n%26 + 96))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(n%26 + 96)",
"n%26",
"n",
"26",
"96",
"{\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}",
"System.out.print((char)(n/26 + 95))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(n/26 + 95)",
"n/26",
"n",
"26",
"95",
"System.out.print((char)(26 + 96))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(26 + 96)",
"26",
"96",
"return;",
"{\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}",
"if(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}",
"n%26!=0",
"n%26",
"n",
"26",
"0",
"{\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}",
"fun(n/26)",
"fun",
"n/26",
"n",
"26",
"System.out.print((char)(n%26 + 96))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(n%26 + 96)",
"n%26",
"n",
"26",
"96",
"{\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}",
"fun(n/26 - 1)",
"fun",
"n/26 - 1",
"n/26",
"n",
"26",
"1",
"System.out.print((char)(26 + 96))",
"System.out.print",
"System.out",
"System",
"System.out",
"(char)(26 + 96)",
"26",
"96",
"return;",
"long n",
"n",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n\t\tlong n = scn.nextLong();\n\t\tfun(n);\n\t}\n\tpublic static void fun(long n) {\n\t\tif(n<27) {\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}else if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scn = new Scanner(System.in);\n\t\tlong n = scn.nextLong();\n\t\tfun(n);\n\t}\n\tpublic static void fun(long n) {\n\t\tif(n<27) {\n\t\t\tSystem.out.print((char)(n+96));\n\t\t\treturn;\n\t\t}else if(n<703) {\n\t\t\tif(n%26!=0) {\n\t\t\tSystem.out.print((char)(n/26 + 96));\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tSystem.out.print((char)(n/26 + 95));\n\t\t\t\tSystem.out.print((char)(26 + 96));\n\t\t\t\treturn;\n\t\t\t}\n\t\t}else {\n\t\t\tif(n%26!=0) {\n\t\t\tfun(n/26);\n\t\t\tSystem.out.print((char)(n%26 + 96));}\n\t\t\telse {\n\t\t\t\tfun(n/26 - 1);\n\t\t\t\tSystem.out.print((char)(26 + 96));}\n\t\t\treturn;\n\t\t}\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scn = new Scanner(System.in);
long n = scn.nextLong();
fun(n);
}
public static void fun(long n) {
if(n<27) {
System.out.print((char)(n+96));
return;
}else if(n<703) {
if(n%26!=0) {
System.out.print((char)(n/26 + 96));
System.out.print((char)(n%26 + 96));}
else {
System.out.print((char)(n/26 + 95));
System.out.print((char)(26 + 96));
return;
}
}else {
if(n%26!=0) {
fun(n/26);
System.out.print((char)(n%26 + 96));}
else {
fun(n/26 - 1);
System.out.print((char)(26 + 96));}
return;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
2,
13,
13,
17,
0,
13,
2,
2,
2,
17,
13,
17,
13,
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
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
24,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
24,
38
],
[
38,
39
],
[
38,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
24,
45
],
[
45,
46
],
[
45,
47
],
[
47,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
47,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
6,
60
],
[
60,
61
],
[
0,
62
],
[
62,
63
],
[
62,
64
]
]
| [
"import java.util.Scanner;\n\n\n\tpublic class Main {\n\t\t\n\t\t\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\t \n\t\t\tlong n = sc.nextLong();\n\t\t\t \n\t String ret = \"\";\n\t \n\t while(n>0) {\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }\n\t \n\t System.out.println(ret);\n\t\t}\n\t}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\t\t\n\t\t\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\t \n\t\t\tlong n = sc.nextLong();\n\t\t\t \n\t String ret = \"\";\n\t \n\t while(n>0) {\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }\n\t \n\t System.out.println(ret);\n\t\t}\n\t}",
"Main",
"public static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\t \n\t\t\tlong n = sc.nextLong();\n\t\t\t \n\t String ret = \"\";\n\t \n\t while(n>0) {\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }\n\t \n\t System.out.println(ret);\n\t\t}",
"main",
"{\n\n\t\t\tScanner sc = new Scanner(System.in);\n\t \n\t\t\tlong n = sc.nextLong();\n\t\t\t \n\t String ret = \"\";\n\t \n\t while(n>0) {\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }\n\t \n\t System.out.println(ret);\n\t\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ret = \"\";",
"ret",
"\"\"",
"while(n>0) {\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }",
"n>0",
"n",
"0",
"{\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }",
"int c = (int)(n%26L);",
"c",
"(int)(n%26L)",
"n",
"26L",
"if(c==0) {\n\t \t\tc=26;\n\t \t}",
"c==0",
"c",
"0",
"{\n\t \t\tc=26;\n\t \t}",
"c=26",
"c",
"26",
"n = (n-c)/26L",
"n",
"(n-c)/26L",
"(n-c)",
"n",
"c",
"26L",
"ret = (char)('a'+c-1) + ret",
"ret",
"(char)('a'+c-1) + ret",
"(char)('a'+c-1)",
"'a'+c",
"'a'",
"c",
"1",
"ret",
"System.out.println(ret)",
"System.out.println",
"System.out",
"System",
"System.out",
"ret",
"String[] args",
"args",
"public class Main {\n\t\t\n\t\t\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\t \n\t\t\tlong n = sc.nextLong();\n\t\t\t \n\t String ret = \"\";\n\t \n\t while(n>0) {\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }\n\t \n\t System.out.println(ret);\n\t\t}\n\t}",
"public class Main {\n\t\t\n\t\t\n\n\t\tpublic static void main(String[] args) {\n\n\t\t\tScanner sc = new Scanner(System.in);\n\t \n\t\t\tlong n = sc.nextLong();\n\t\t\t \n\t String ret = \"\";\n\t \n\t while(n>0) {\n\t \tint c = (int)(n%26L);\n\t \tif(c==0) {\n\t \t\tc=26;\n\t \t}\n\t \tn = (n-c)/26L;\n\t \tret = (char)('a'+c-1) + ret;\n\t }\n\t \n\t System.out.println(ret);\n\t\t}\n\t}",
"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 ret = "";
while(n>0) {
int c = (int)(n%26L);
if(c==0) {
c=26;
}
n = (n-c)/26L;
ret = (char)('a'+c-1) + ret;
}
System.out.println(ret);
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
4,
18,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
2,
4,
18,
13,
13,
17,
30,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
0,
18,
13,
13,
17,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
13,
30,
0,
18,
13,
13,
13,
0,
13,
4,
18,
13,
13,
40,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
2,
2,
13,
13,
17,
2,
2,
17,
18,
13,
13,
17,
41,
13,
20,
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
],
[
144,
8
],
[
144,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
11,
25
],
[
25,
26
],
[
25,
27
],
[
11,
28
],
[
28,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
11,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
40,
45
],
[
39,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
46,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
46,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
60,
63
],
[
46,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
68,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
76,
79
],
[
68,
80
],
[
80,
81
],
[
80,
82
],
[
82,
83
],
[
83,
84
],
[
82,
85
],
[
64,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
86,
92
],
[
92,
93
],
[
92,
94
],
[
94,
95
],
[
95,
96
],
[
94,
97
],
[
46,
98
],
[
98,
99
],
[
11,
100
],
[
100,
101
],
[
100,
102
],
[
11,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
109,
111
],
[
104,
112
],
[
112,
113
],
[
113,
114
],
[
104,
115
],
[
116,
116
],
[
116,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
121,
121
],
[
121,
122
],
[
121,
123
],
[
121,
124
],
[
117,
125
],
[
125,
126
],
[
126,
127
],
[
126,
128
],
[
128,
129
],
[
128,
130
],
[
125,
131
],
[
11,
132
],
[
132,
133
],
[
132,
134
],
[
11,
135
],
[
135,
136
],
[
136,
137
],
[
137,
138
],
[
137,
139
],
[
135,
140
],
[
9,
141
],
[
141,
142
],
[
0,
143
],
[
143,
144
],
[
143,
145
]
]
| [
"import java.util.*;\nimport java.math.BigInteger;\n\npublic class Main{\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n BigInteger a = new BigInteger(scan.next());\n scan.close();\n\n int[] alpha = new int[26];\n int cnt = 0;\n int tmp;\n BigInteger bi26 = new BigInteger(\"26\");\n BigInteger bi1 = new BigInteger(\"1\");\n BigInteger bi0 = new BigInteger(\"0\");\n while(a.compareTo(bi0) == 1) {\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }\n//for(int i=0;i<cnt;i++) {\n// System.out.println(alpha[i]);\n//}\n\n//System.out.println(cnt);\n byte[] ascii = new byte[cnt];\n for(int i=0;i<cnt;i++) {\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }\n\n String outstr = new String(ascii);\n System.out.println(outstr);\n\n}\n}\n",
"import java.util.*;",
"util.*",
"java",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"public class Main{\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n BigInteger a = new BigInteger(scan.next());\n scan.close();\n\n int[] alpha = new int[26];\n int cnt = 0;\n int tmp;\n BigInteger bi26 = new BigInteger(\"26\");\n BigInteger bi1 = new BigInteger(\"1\");\n BigInteger bi0 = new BigInteger(\"0\");\n while(a.compareTo(bi0) == 1) {\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }\n//for(int i=0;i<cnt;i++) {\n// System.out.println(alpha[i]);\n//}\n\n//System.out.println(cnt);\n byte[] ascii = new byte[cnt];\n for(int i=0;i<cnt;i++) {\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }\n\n String outstr = new String(ascii);\n System.out.println(outstr);\n\n}\n}",
"Main",
"public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n BigInteger a = new BigInteger(scan.next());\n scan.close();\n\n int[] alpha = new int[26];\n int cnt = 0;\n int tmp;\n BigInteger bi26 = new BigInteger(\"26\");\n BigInteger bi1 = new BigInteger(\"1\");\n BigInteger bi0 = new BigInteger(\"0\");\n while(a.compareTo(bi0) == 1) {\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }\n//for(int i=0;i<cnt;i++) {\n// System.out.println(alpha[i]);\n//}\n\n//System.out.println(cnt);\n byte[] ascii = new byte[cnt];\n for(int i=0;i<cnt;i++) {\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }\n\n String outstr = new String(ascii);\n System.out.println(outstr);\n\n}",
"main",
"{\n Scanner scan = new Scanner(System.in);\n BigInteger a = new BigInteger(scan.next());\n scan.close();\n\n int[] alpha = new int[26];\n int cnt = 0;\n int tmp;\n BigInteger bi26 = new BigInteger(\"26\");\n BigInteger bi1 = new BigInteger(\"1\");\n BigInteger bi0 = new BigInteger(\"0\");\n while(a.compareTo(bi0) == 1) {\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }\n//for(int i=0;i<cnt;i++) {\n// System.out.println(alpha[i]);\n//}\n\n//System.out.println(cnt);\n byte[] ascii = new byte[cnt];\n for(int i=0;i<cnt;i++) {\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }\n\n String outstr = new String(ascii);\n System.out.println(outstr);\n\n}",
"Scanner scan = new Scanner(System.in);",
"scan",
"new Scanner(System.in)",
"BigInteger a = new BigInteger(scan.next());",
"a",
"new BigInteger(scan.next())",
"scan.close()",
"scan.close",
"scan",
"int[] alpha = new int[26];",
"alpha",
"new int[26]",
"26",
"int cnt = 0;",
"cnt",
"0",
"int tmp;",
"tmp",
"BigInteger bi26 = new BigInteger(\"26\");",
"bi26",
"new BigInteger(\"26\")",
"BigInteger bi1 = new BigInteger(\"1\");",
"bi1",
"new BigInteger(\"1\")",
"BigInteger bi0 = new BigInteger(\"0\");",
"bi0",
"new BigInteger(\"0\")",
"while(a.compareTo(bi0) == 1) {\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }",
"a.compareTo(bi0) == 1",
"a.compareTo(bi0)",
"a.compareTo",
"a",
"bi0",
"1",
"{\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }",
"BigInteger rem = a.remainder(bi26);",
"rem",
"a.remainder(bi26)",
"a.remainder",
"a",
"bi26",
"String strrem = rem.toString();",
"strrem",
"rem.toString()",
"rem.toString",
"rem",
"tmp = Integer.parseInt(strrem)",
"tmp",
"Integer.parseInt(strrem)",
"Integer.parseInt",
"Integer",
"strrem",
"if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }",
"tmp == 0",
"tmp",
"0",
"{\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n }",
"alpha[cnt] = 26",
"alpha[cnt]",
"alpha",
"cnt",
"26",
"a = a.divide(bi26)",
"a",
"a.divide(bi26)",
"a.divide",
"a",
"bi26",
"a = a.subtract(bi1)",
"a",
"a.subtract(bi1)",
"a.subtract",
"a",
"bi1",
"{\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }",
"alpha[cnt] = tmp",
"alpha[cnt]",
"alpha",
"cnt",
"tmp",
"a = a.divide(bi26)",
"a",
"a.divide(bi26)",
"a.divide",
"a",
"bi26",
"cnt++",
"cnt",
"byte[] ascii = new byte[cnt];",
"ascii",
"new byte[cnt]",
"cnt",
"for(int i=0;i<cnt;i++) {\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<cnt",
"i",
"cnt",
"i++",
"i++",
"i",
"{\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }",
"{\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }",
"ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1)",
"ascii[cnt - i -1]",
"ascii",
"cnt - i -1",
"cnt - i -1",
"cnt",
"i",
"1",
"(byte)(97 + alpha[i] - 1)",
"97 + alpha[i]",
"97",
"alpha[i]",
"alpha",
"i",
"1",
"String outstr = new String(ascii);",
"outstr",
"new String(ascii)",
"System.out.println(outstr)",
"System.out.println",
"System.out",
"System",
"System.out",
"outstr",
"String[] args",
"args",
"public class Main{\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n BigInteger a = new BigInteger(scan.next());\n scan.close();\n\n int[] alpha = new int[26];\n int cnt = 0;\n int tmp;\n BigInteger bi26 = new BigInteger(\"26\");\n BigInteger bi1 = new BigInteger(\"1\");\n BigInteger bi0 = new BigInteger(\"0\");\n while(a.compareTo(bi0) == 1) {\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }\n//for(int i=0;i<cnt;i++) {\n// System.out.println(alpha[i]);\n//}\n\n//System.out.println(cnt);\n byte[] ascii = new byte[cnt];\n for(int i=0;i<cnt;i++) {\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }\n\n String outstr = new String(ascii);\n System.out.println(outstr);\n\n}\n}",
"public class Main{\npublic static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n BigInteger a = new BigInteger(scan.next());\n scan.close();\n\n int[] alpha = new int[26];\n int cnt = 0;\n int tmp;\n BigInteger bi26 = new BigInteger(\"26\");\n BigInteger bi1 = new BigInteger(\"1\");\n BigInteger bi0 = new BigInteger(\"0\");\n while(a.compareTo(bi0) == 1) {\n BigInteger rem = a.remainder(bi26);\n String strrem = rem.toString();\n tmp = Integer.parseInt(strrem);\n if (tmp == 0) {\n alpha[cnt] = 26;\n a = a.divide(bi26);\n a = a.subtract(bi1);\n } else {\n alpha[cnt] = tmp;\n a = a.divide(bi26);\n }\n cnt++;\n }\n//for(int i=0;i<cnt;i++) {\n// System.out.println(alpha[i]);\n//}\n\n//System.out.println(cnt);\n byte[] ascii = new byte[cnt];\n for(int i=0;i<cnt;i++) {\n ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);\n }\n\n String outstr = new String(ascii);\n System.out.println(outstr);\n\n}\n}",
"Main"
]
| import java.util.*;
import java.math.BigInteger;
public class Main{
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
BigInteger a = new BigInteger(scan.next());
scan.close();
int[] alpha = new int[26];
int cnt = 0;
int tmp;
BigInteger bi26 = new BigInteger("26");
BigInteger bi1 = new BigInteger("1");
BigInteger bi0 = new BigInteger("0");
while(a.compareTo(bi0) == 1) {
BigInteger rem = a.remainder(bi26);
String strrem = rem.toString();
tmp = Integer.parseInt(strrem);
if (tmp == 0) {
alpha[cnt] = 26;
a = a.divide(bi26);
a = a.subtract(bi1);
} else {
alpha[cnt] = tmp;
a = a.divide(bi26);
}
cnt++;
}
//for(int i=0;i<cnt;i++) {
// System.out.println(alpha[i]);
//}
//System.out.println(cnt);
byte[] ascii = new byte[cnt];
for(int i=0;i<cnt;i++) {
ascii[cnt - i -1] = (byte)(97 + alpha[i] - 1);
}
String outstr = new String(ascii);
System.out.println(outstr);
}
}
|
[
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,
17,
0,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
2,
18,
13,
2,
13,
17,
4,
18,
13,
17,
13,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
2,
13,
18,
13,
13,
14,
2,
13,
17,
30,
41,
13,
4,
18,
13,
17,
13,
41,
13,
2,
2,
13,
18,
13,
13,
13,
4,
18,
13,
2,
13,
17,
0,
13,
2,
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
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
130,
11
],
[
130,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
14,
23
],
[
23,
24
],
[
23,
25
],
[
14,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
14,
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
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
52,
53
],
[
52,
54
],
[
49,
55
],
[
55,
56
],
[
56,
57
],
[
55,
58
],
[
55,
59
],
[
14,
60
],
[
60,
61
],
[
60,
62
],
[
14,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
68,
69
],
[
68,
70
],
[
63,
71
],
[
71,
72
],
[
72,
73
],
[
63,
74
],
[
75,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
78,
80
],
[
80,
81
],
[
80,
82
],
[
75,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
90,
93
],
[
90,
94
],
[
87,
95
],
[
95,
96
],
[
95,
97
],
[
97,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
100,
102
],
[
97,
103
],
[
87,
104
],
[
104,
105
],
[
105,
106
],
[
104,
107
],
[
107,
108
],
[
107,
109
],
[
87,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
14,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
121,
123
],
[
119,
124
],
[
124,
125
],
[
125,
126
],
[
12,
127
],
[
127,
128
],
[
0,
129
],
[
129,
130
],
[
129,
131
]
]
| [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tlong index[] = new long[100];\n\t\tindex[0] = 1;\n\t\tfor (int i = 1; i < 11; i++) {\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 10; i >= 0 ; i--) {\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\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\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tlong index[] = new long[100];\n\t\tindex[0] = 1;\n\t\tfor (int i = 1; i < 11; i++) {\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 10; i >= 0 ; i--) {\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tlong index[] = new long[100];\n\t\tindex[0] = 1;\n\t\tfor (int i = 1; i < 11; i++) {\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 10; i >= 0 ; i--) {\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tlong index[] = new long[100];\n\t\tindex[0] = 1;\n\t\tfor (int i = 1; i < 11; i++) {\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 10; i >= 0 ; i--) {\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\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",
"long index[] = new long[100];",
"index",
"new long[100]",
"100",
"index[0] = 1",
"index[0]",
"index",
"0",
"1",
"for (int i = 1; i < 11; i++) {\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i < 11",
"i",
"11",
"i++",
"i++",
"i",
"{\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}",
"{\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}",
"index[i] = index[i-1] + (long)Math.pow(26, i)",
"index[i]",
"index",
"i",
"index[i-1] + (long)Math.pow(26, i)",
"index[i-1]",
"index",
"i-1",
"i",
"1",
"(long)Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"for (int i = 10; i >= 0 ; i--) {\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\n\t\t}",
"int i = 10;",
"int i = 10;",
"i",
"10",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\n\t\t}",
"{\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\n\t\t}",
"int w = (int)(n/index[i]);",
"w",
"(int)(n/index[i])",
"n",
"index[i]",
"index",
"i",
"if (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}",
"w > 0",
"w",
"0",
"{\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}",
"long temp = (long)Math.pow(26, i);",
"temp",
"(long)Math.pow(26, i)",
"Math.pow",
"Math",
"26",
"i",
"int x = (int)(((n-index[i])/temp));",
"x",
"(int)(((n-index[i])/temp))",
"(n-index[i])",
"n",
"index[i]",
"index",
"i",
"temp",
"sb.append((char)(x + 'a'))",
"sb.append",
"sb",
"(char)(x + 'a')",
"x",
"'a'",
"n= n - (x+1)*temp",
"n",
"n - (x+1)*temp",
"n",
"(x+1)*temp",
"(x+1)",
"x",
"1",
"temp",
"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\n\t\tlong index[] = new long[100];\n\t\tindex[0] = 1;\n\t\tfor (int i = 1; i < 11; i++) {\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 10; i >= 0 ; i--) {\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\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\t\tScanner sc = new Scanner(System.in);\n\t\tlong n = sc.nextLong();\n\n\t\tlong index[] = new long[100];\n\t\tindex[0] = 1;\n\t\tfor (int i = 1; i < 11; i++) {\n\t\t\tindex[i] = index[i-1] + (long)Math.pow(26, i);\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 10; i >= 0 ; i--) {\n\t\t\tint w = (int)(n/index[i]);\n\t\t\tif (w > 0) {\n\t\t\t\tlong temp = (long)Math.pow(26, i);\n\t\t\t\tint x = (int)(((n-index[i])/temp));\n\t\t\t\tsb.append((char)(x + 'a'));\n\t\t\t\tn= n - (x+1)*temp;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sb.toString());\n\t}\n\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
long index[] = new long[100];
index[0] = 1;
for (int i = 1; i < 11; i++) {
index[i] = index[i-1] + (long)Math.pow(26, i);
}
StringBuilder sb = new StringBuilder();
for (int i = 10; i >= 0 ; i--) {
int w = (int)(n/index[i]);
if (w > 0) {
long temp = (long)Math.pow(26, i);
int x = (int)(((n-index[i])/temp));
sb.append((char)(x + 'a'));
n= n - (x+1)*temp;
}
}
System.out.println(sb.toString());
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
13,
41,
13,
17,
41,
13,
20,
41,
13,
18,
13,
13,
42,
17,
30,
0,
13,
4,
18,
13,
18,
13,
13,
0,
13,
4,
18,
13,
13,
0,
13,
4,
18,
4,
18,
13,
13,
4,
18,
13,
17,
18,
13,
13,
14,
4,
18,
13,
18,
13,
13,
30,
3,
0,
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
],
[
94,
8
],
[
94,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
18,
20
],
[
11,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
24,
25
],
[
23,
26
],
[
11,
27
],
[
27,
28
],
[
27,
29
],
[
11,
30
],
[
30,
31
],
[
30,
32
],
[
11,
33
],
[
33,
34
],
[
33,
35
],
[
11,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
38,
40
],
[
11,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
47,
48
],
[
46,
49
],
[
49,
50
],
[
49,
51
],
[
43,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
54,
57
],
[
43,
58
],
[
58,
59
],
[
58,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
62,
65
],
[
43,
66
],
[
66,
67
],
[
67,
68
],
[
66,
69
],
[
66,
70
],
[
70,
71
],
[
70,
72
],
[
43,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
74,
77
],
[
77,
78
],
[
77,
79
],
[
73,
80
],
[
80,
81
],
[
43,
82
],
[
82,
83
],
[
82,
84
],
[
11,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
87,
89
],
[
85,
90
],
[
9,
91
],
[
91,
92
],
[
0,
93
],
[
93,
94
],
[
93,
95
]
]
| [
"import java.math.BigInteger;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger n = new BigInteger(sc.next());\n\t\tString[] cds = new String[]{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\t\n\t\tBigInteger index = BigInteger.valueOf(26);\n\t\tBigInteger nextVal = n;\n\t\tint exact = 0;\n\t\tStringBuilder ans = new StringBuilder();\n\t\tBigInteger border = BigInteger.ONE;\n\t\t\n\t\twhile (true) {\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"import java.math.BigInteger;",
"BigInteger",
"java.math",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger n = new BigInteger(sc.next());\n\t\tString[] cds = new String[]{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\t\n\t\tBigInteger index = BigInteger.valueOf(26);\n\t\tBigInteger nextVal = n;\n\t\tint exact = 0;\n\t\tStringBuilder ans = new StringBuilder();\n\t\tBigInteger border = BigInteger.ONE;\n\t\t\n\t\twhile (true) {\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger n = new BigInteger(sc.next());\n\t\tString[] cds = new String[]{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\t\n\t\tBigInteger index = BigInteger.valueOf(26);\n\t\tBigInteger nextVal = n;\n\t\tint exact = 0;\n\t\tStringBuilder ans = new StringBuilder();\n\t\tBigInteger border = BigInteger.ONE;\n\t\t\n\t\twhile (true) {\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger n = new BigInteger(sc.next());\n\t\tString[] cds = new String[]{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\t\n\t\tBigInteger index = BigInteger.valueOf(26);\n\t\tBigInteger nextVal = n;\n\t\tint exact = 0;\n\t\tStringBuilder ans = new StringBuilder();\n\t\tBigInteger border = BigInteger.ONE;\n\t\t\n\t\twhile (true) {\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"BigInteger n = new BigInteger(sc.next());",
"n",
"new BigInteger(sc.next())",
"String[] cds = new String[]{\"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\"};",
"cds",
"new String[]{\"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\"}",
"BigInteger index = BigInteger.valueOf(26);",
"index",
"BigInteger.valueOf(26)",
"BigInteger.valueOf",
"BigInteger",
"26",
"BigInteger nextVal = n;",
"nextVal",
"n",
"int exact = 0;",
"exact",
"0",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"BigInteger border = BigInteger.ONE;",
"border",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"while (true) {\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}",
"true",
"{\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}",
"n = n.subtract(BigInteger.ONE)",
"n",
"n.subtract(BigInteger.ONE)",
"n.subtract",
"n",
"BigInteger.ONE",
"BigInteger",
"BigInteger.ONE",
"nextVal = n.divide(index)",
"nextVal",
"n.divide(index)",
"n.divide",
"n",
"index",
"exact = n.mod(index).intValue()",
"exact",
"n.mod(index).intValue()",
"n.mod(index).intValue",
"n.mod(index)",
"n.mod",
"n",
"index",
"ans.insert(0, cds[exact])",
"ans.insert",
"ans",
"0",
"cds[exact]",
"cds",
"exact",
"if (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}",
"nextVal.equals(BigInteger.ZERO)",
"nextVal.equals",
"nextVal",
"BigInteger.ZERO",
"BigInteger",
"BigInteger.ZERO",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"n = nextVal",
"n",
"nextVal",
"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\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger n = new BigInteger(sc.next());\n\t\tString[] cds = new String[]{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\t\n\t\tBigInteger index = BigInteger.valueOf(26);\n\t\tBigInteger nextVal = n;\n\t\tint exact = 0;\n\t\tStringBuilder ans = new StringBuilder();\n\t\tBigInteger border = BigInteger.ONE;\n\t\t\n\t\twhile (true) {\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tBigInteger n = new BigInteger(sc.next());\n\t\tString[] cds = new String[]{\"a\", \"b\", \"c\", \"d\", \"e\", \"f\", \"g\", \"h\", \"i\", \"j\", \"k\", \"l\", \"m\", \"n\", \"o\", \"p\", \"q\", \"r\", \"s\", \"t\", \"u\", \"v\", \"w\", \"x\", \"y\", \"z\"};\n\t\t\n\t\tBigInteger index = BigInteger.valueOf(26);\n\t\tBigInteger nextVal = n;\n\t\tint exact = 0;\n\t\tStringBuilder ans = new StringBuilder();\n\t\tBigInteger border = BigInteger.ONE;\n\t\t\n\t\twhile (true) {\n\t\t\tn = n.subtract(BigInteger.ONE);\n\t\t\tnextVal = n.divide(index);\n\t\t\texact = n.mod(index).intValue();\n\t\t\t\n\t\t\tans.insert(0, cds[exact]);\n\t\t\t\n\t\t\tif (nextVal.equals(BigInteger.ZERO)) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tn = nextVal;\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}",
"Main"
]
| import java.math.BigInteger;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
BigInteger n = new BigInteger(sc.next());
String[] cds = new String[]{"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"};
BigInteger index = BigInteger.valueOf(26);
BigInteger nextVal = n;
int exact = 0;
StringBuilder ans = new StringBuilder();
BigInteger border = BigInteger.ONE;
while (true) {
n = n.subtract(BigInteger.ONE);
nextVal = n.divide(index);
exact = n.mod(index).intValue();
ans.insert(0, cds[exact]);
if (nextVal.equals(BigInteger.ZERO)) {
break;
}
n = nextVal;
}
System.out.println(ans);
}
}
|
[
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,
2,
13,
17,
17,
41,
13,
2,
13,
17,
4,
18,
13,
17,
13,
14,
2,
13,
17,
30,
40,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
61,
5
],
[
61,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
20,
24
],
[
24,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
27,
31
],
[
24,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
24,
37
],
[
37,
38
],
[
38,
39
],
[
37,
40
],
[
37,
41
],
[
24,
42
],
[
42,
43
],
[
43,
44
],
[
43,
45
],
[
42,
46
],
[
46,
47
],
[
47,
48
],
[
24,
49
],
[
49,
50
],
[
49,
51
],
[
8,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
6,
58
],
[
58,
59
],
[
0,
60
],
[
60,
61
],
[
60,
62
]
]
| [
"import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder builder = new StringBuilder();\n while (n > 0) {\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }\n System.out.println(builder);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder builder = new StringBuilder();\n while (n > 0) {\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }\n System.out.println(builder);\n }\n}",
"Main",
"public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder builder = new StringBuilder();\n while (n > 0) {\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }\n System.out.println(builder);\n }",
"main",
"{\n // write your code here\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder builder = new StringBuilder();\n while (n > 0) {\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }\n System.out.println(builder);\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"StringBuilder builder = new StringBuilder();",
"builder",
"new StringBuilder()",
"while (n > 0) {\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }",
"n > 0",
"n",
"0",
"{\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }",
"long e = (n - 1) % 26;",
"e",
"(n - 1) % 26",
"(n - 1)",
"n",
"1",
"26",
"char v = (char) (e + 97);",
"v",
"(char) (e + 97)",
"e",
"97",
"builder.insert(0, v)",
"builder.insert",
"builder",
"0",
"v",
"if (e == 25) {\n n--;\n }",
"e == 25",
"e",
"25",
"{\n n--;\n }",
"n--",
"n",
"n /= 26",
"n",
"26",
"System.out.println(builder)",
"System.out.println",
"System.out",
"System",
"System.out",
"builder",
"String[] args",
"args",
"public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder builder = new StringBuilder();\n while (n > 0) {\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }\n System.out.println(builder);\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n // write your code here\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder builder = new StringBuilder();\n while (n > 0) {\n long e = (n - 1) % 26;\n char v = (char) (e + 97);\n builder.insert(0, v);\n if (e == 25) {\n n--;\n }\n n /= 26;\n }\n System.out.println(builder);\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 n = sc.nextLong();
StringBuilder builder = new StringBuilder();
while (n > 0) {
long e = (n - 1) % 26;
char v = (char) (e + 97);
builder.insert(0, v);
if (e == 25) {
n--;
}
n /= 26;
}
System.out.println(builder);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
13,
17,
14,
2,
2,
13,
13,
17,
30,
0,
13,
17,
4,
18,
13,
17,
13,
0,
13,
13,
40,
13,
30,
4,
18,
13,
17,
13,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
76,
5
],
[
76,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
14,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
8,
23
],
[
23,
24
],
[
23,
25
],
[
8,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
26,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
33,
37
],
[
30,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
38,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
48,
52
],
[
44,
53
],
[
53,
54
],
[
53,
55
],
[
44,
56
],
[
56,
57
],
[
38,
58
],
[
58,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
59,
63
],
[
58,
64
],
[
64,
65
],
[
64,
66
],
[
8,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
69,
71
],
[
67,
72
],
[
6,
73
],
[
73,
74
],
[
0,
75
],
[
75,
76
],
[
75,
77
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n int k = 26;\n StringBuilder ans = new StringBuilder();\n while(n != 0) {\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }\n System.out.println(ans);\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 = Long.parseLong(sc.next());\n int k = 26;\n StringBuilder ans = new StringBuilder();\n while(n != 0) {\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n int k = 26;\n StringBuilder ans = new StringBuilder();\n while(n != 0) {\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }\n System.out.println(ans);\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n int k = 26;\n StringBuilder ans = new StringBuilder();\n while(n != 0) {\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }\n System.out.println(ans);\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",
"int k = 26;",
"k",
"26",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"while(n != 0) {\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }",
"n != 0",
"n",
"0",
"{\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }",
"char a = (char)(n % k + 96);",
"a",
"(char)(n % k + 96)",
"n % k",
"n",
"k",
"96",
"if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }",
"n % k == 0",
"n % k",
"n",
"k",
"0",
"{\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }",
"a = 'z'",
"a",
"'z'",
"ans.insert(0, a)",
"ans.insert",
"ans",
"0",
"a",
"n /= k",
"n",
"k",
"n--",
"n",
"{\n ans.insert(0, a); \n n /= k;\n }",
"ans.insert(0, a)",
"ans.insert",
"ans",
"0",
"a",
"n /= k",
"n",
"k",
"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) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n int k = 26;\n StringBuilder ans = new StringBuilder();\n while(n != 0) {\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = Long.parseLong(sc.next());\n int k = 26;\n StringBuilder ans = new StringBuilder();\n while(n != 0) {\n char a = (char)(n % k + 96);\n if(n % k == 0) {\n a = 'z';\n ans.insert(0, a); \n n /= k;\n n--;\n }else {\n ans.insert(0, a); \n n /= k;\n }\n }\n System.out.println(ans);\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 = Long.parseLong(sc.next());
int k = 26;
StringBuilder ans = new StringBuilder();
while(n != 0) {
char a = (char)(n % k + 96);
if(n % k == 0) {
a = 'z';
ans.insert(0, a);
n /= k;
n--;
}else {
ans.insert(0, a);
n /= k;
}
}
System.out.println(ans);
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
4,
18,
13,
17,
41,
13,
20,
42,
2,
13,
17,
30,
41,
13,
2,
2,
13,
17,
17,
0,
13,
2,
2,
13,
17,
17,
4,
18,
13,
18,
13,
13,
4,
18,
18,
13,
13,
4,
18,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
68,
5
],
[
68,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
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
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
33,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
43,
47
],
[
33,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
8,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
54,
59
],
[
59,
60
],
[
60,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
6,
65
],
[
65,
66
],
[
0,
67
],
[
67,
68
],
[
67,
69
]
]
| [
"import java.util.*;\n\npublic class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong N = keyboard.nextLong();\n\t\t\n\t\tString S = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tString[] s = S.split(\"\");\n\t\t\n\t\tStringBuffer ans = new StringBuffer(\"\");\n\t\t\n\t\twhile(N > 0) {\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}\n\t\t\n\t\tSystem.out.print(ans.reverse());\n\t\tkeyboard.close();\t\n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong N = keyboard.nextLong();\n\t\t\n\t\tString S = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tString[] s = S.split(\"\");\n\t\t\n\t\tStringBuffer ans = new StringBuffer(\"\");\n\t\t\n\t\twhile(N > 0) {\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}\n\t\t\n\t\tSystem.out.print(ans.reverse());\n\t\tkeyboard.close();\t\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong N = keyboard.nextLong();\n\t\t\n\t\tString S = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tString[] s = S.split(\"\");\n\t\t\n\t\tStringBuffer ans = new StringBuffer(\"\");\n\t\t\n\t\twhile(N > 0) {\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}\n\t\t\n\t\tSystem.out.print(ans.reverse());\n\t\tkeyboard.close();\t\n\t}",
"main",
"{\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong N = keyboard.nextLong();\n\t\t\n\t\tString S = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tString[] s = S.split(\"\");\n\t\t\n\t\tStringBuffer ans = new StringBuffer(\"\");\n\t\t\n\t\twhile(N > 0) {\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}\n\t\t\n\t\tSystem.out.print(ans.reverse());\n\t\tkeyboard.close();\t\n\t}",
"Scanner keyboard = new Scanner(System.in);",
"keyboard",
"new Scanner(System.in)",
"long N = keyboard.nextLong();",
"N",
"keyboard.nextLong()",
"keyboard.nextLong",
"keyboard",
"String S = \"abcdefghijklmnopqrstuvwxyz\";",
"S",
"\"abcdefghijklmnopqrstuvwxyz\"",
"String[] s = S.split(\"\");",
"s",
"S.split(\"\")",
"S.split",
"S",
"\"\"",
"StringBuffer ans = new StringBuffer(\"\");",
"ans",
"new StringBuffer(\"\")",
"while(N > 0) {\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}",
"N > 0",
"N",
"0",
"{\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}",
"int j = (int)((N-1)%26);",
"j",
"(int)((N-1)%26)",
"(N-1)",
"N",
"1",
"26",
"N = (N-1)/26",
"N",
"(N-1)/26",
"(N-1)",
"N",
"1",
"26",
"ans.append(s[j])",
"ans.append",
"ans",
"s[j]",
"s",
"j",
"System.out.print(ans.reverse())",
"System.out.print",
"System.out",
"System",
"System.out",
"ans.reverse()",
"ans.reverse",
"ans",
"keyboard.close()",
"keyboard.close",
"keyboard",
"String[] args",
"args",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong N = keyboard.nextLong();\n\t\t\n\t\tString S = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tString[] s = S.split(\"\");\n\t\t\n\t\tStringBuffer ans = new StringBuffer(\"\");\n\t\t\n\t\twhile(N > 0) {\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}\n\t\t\n\t\tSystem.out.print(ans.reverse());\n\t\tkeyboard.close();\t\n\t}\n}",
"public class Main {\npublic static void main(String[] args) {\n\t\t\n\t\tScanner keyboard = new Scanner(System.in); \n\t\t\n\t\tlong N = keyboard.nextLong();\n\t\t\n\t\tString S = \"abcdefghijklmnopqrstuvwxyz\";\n\t\tString[] s = S.split(\"\");\n\t\t\n\t\tStringBuffer ans = new StringBuffer(\"\");\n\t\t\n\t\twhile(N > 0) {\n\t\t\tint j = (int)((N-1)%26);\n\t\t\tN = (N-1)/26;\n\t\t\tans.append(s[j]);\n\t\t}\n\t\t\n\t\tSystem.out.print(ans.reverse());\n\t\tkeyboard.close();\t\n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner keyboard = new Scanner(System.in);
long N = keyboard.nextLong();
String S = "abcdefghijklmnopqrstuvwxyz";
String[] s = S.split("");
StringBuffer ans = new StringBuffer("");
while(N > 0) {
int j = (int)((N-1)%26);
N = (N-1)/26;
ans.append(s[j]);
}
System.out.print(ans.reverse());
keyboard.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
13,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
2,
13,
17,
14,
2,
13,
17,
30,
0,
13,
17,
41,
13,
2,
17,
13,
0,
13,
4,
18,
13,
13,
0,
13,
2,
2,
13,
13,
17,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
4,
18,
18,
13,
13,
13,
4,
18,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
81,
5
],
[
81,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
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
],
[
38,
40
],
[
27,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
43,
45
],
[
27,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
27,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
8,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
62,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
8,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
69,
74
],
[
8,
75
],
[
75,
76
],
[
76,
77
],
[
6,
78
],
[
78,
79
],
[
0,
80
],
[
80,
81
],
[
80,
82
]
]
| [
"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 long x = n;\n String res = \"\";\n while (x != 0) {\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }\n StringBuffer bufres = new StringBuffer(res);\n String res1 = bufres.reverse().toString();\n System.out.println(res1);\n sc.close();\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long x = n;\n String res = \"\";\n while (x != 0) {\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }\n StringBuffer bufres = new StringBuffer(res);\n String res1 = bufres.reverse().toString();\n System.out.println(res1);\n sc.close();\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long x = n;\n String res = \"\";\n while (x != 0) {\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }\n StringBuffer bufres = new StringBuffer(res);\n String res1 = bufres.reverse().toString();\n System.out.println(res1);\n sc.close();\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long x = n;\n String res = \"\";\n while (x != 0) {\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }\n StringBuffer bufres = new StringBuffer(res);\n String res1 = bufres.reverse().toString();\n System.out.println(res1);\n sc.close();\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long n = sc.nextLong();",
"n",
"sc.nextLong()",
"sc.nextLong",
"sc",
"long x = n;",
"x",
"n",
"String res = \"\";",
"res",
"\"\"",
"while (x != 0) {\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }",
"x != 0",
"x",
"0",
"{\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }",
"int r = (int)(x % 26);",
"r",
"(int)(x % 26)",
"x",
"26",
"if (r == 0) {\n r = 26;\n }",
"r == 0",
"r",
"0",
"{\n r = 26;\n }",
"r = 26",
"r",
"26",
"char c = (char)(96 + r);",
"c",
"(char)(96 + r)",
"96",
"r",
"res += String.valueOf(c)",
"res",
"String.valueOf(c)",
"String.valueOf",
"String",
"c",
"x = (x - r) / 26",
"x",
"(x - r) / 26",
"(x - r)",
"x",
"r",
"26",
"StringBuffer bufres = new StringBuffer(res);",
"bufres",
"new StringBuffer(res)",
"String res1 = bufres.reverse().toString();",
"res1",
"bufres.reverse().toString()",
"bufres.reverse().toString",
"bufres.reverse()",
"bufres.reverse",
"bufres",
"System.out.println(res1)",
"System.out.println",
"System.out",
"System",
"System.out",
"res1",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long x = n;\n String res = \"\";\n while (x != 0) {\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }\n StringBuffer bufres = new StringBuffer(res);\n String res1 = bufres.reverse().toString();\n System.out.println(res1);\n sc.close();\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n long x = n;\n String res = \"\";\n while (x != 0) {\n int r = (int)(x % 26);\n if (r == 0) {\n r = 26;\n }\n char c = (char)(96 + r);\n res += String.valueOf(c);\n x = (x - r) / 26;\n }\n StringBuffer bufres = new StringBuffer(res);\n String res1 = bufres.reverse().toString();\n System.out.println(res1);\n sc.close();\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long n = sc.nextLong();
long x = n;
String res = "";
while (x != 0) {
int r = (int)(x % 26);
if (r == 0) {
r = 26;
}
char c = (char)(96 + r);
res += String.valueOf(c);
x = (x - r) / 26;
}
StringBuffer bufres = new StringBuffer(res);
String res1 = bufres.reverse().toString();
System.out.println(res1);
sc.close();
}
} |
[
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,
4,
18,
13,
4,
13,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
4,
18,
13,
2,
4,
18,
13,
2,
17,
2,
13,
17,
4,
18,
13,
17,
11,
1,
41,
13,
2,
18,
13,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
40,
13,
0,
18,
13,
13,
2,
17,
2,
13,
17,
0,
13,
17,
29,
20,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
[
13,
15
],
[
0,
16
],
[
131,
17
],
[
131,
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
],
[
131,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
55,
61
],
[
61,
62
],
[
62,
63
],
[
61,
64
],
[
64,
65
],
[
64,
66
],
[
53,
67
],
[
67,
68
],
[
53,
69
],
[
69,
70
],
[
53,
71
],
[
71,
72
],
[
51,
73
],
[
73,
74
],
[
73,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
79,
80
],
[
80,
81
],
[
79,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
83,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
88,
90
],
[
82,
91
],
[
91,
92
],
[
92,
93
],
[
91,
94
],
[
75,
95
],
[
95,
96
],
[
96,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
100,
102
],
[
99,
103
],
[
95,
104
],
[
104,
105
],
[
104,
106
],
[
95,
107
],
[
107,
108
],
[
108,
109
],
[
95,
110
],
[
111,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
114,
118
],
[
118,
119
],
[
118,
120
],
[
120,
121
],
[
120,
122
],
[
111,
123
],
[
123,
124
],
[
123,
125
],
[
75,
126
],
[
126,
127
],
[
73,
128
],
[
128,
129
],
[
0,
130
],
[
130,
131
],
[
130,
132
]
]
| [
"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 *\n * @author Ahmad Hamadneh\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n out.print(getString(x));\n }\n\n private static String getString(long n) {\n char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];\n for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }\n return new String(buf);\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 public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n out.print(getString(x));\n }\n\n private static String getString(long n) {\n char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];\n for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }\n return new String(buf);\n }\n\n }\n}",
"Main",
"public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\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 A solver = new A();\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)",
"A solver = new A();",
"solver",
"new A()",
"solver.solve(1, in, out)",
"solver.solve",
"solver",
"1",
"in",
"out",
"out.close()",
"out.close",
"out",
"String[] args",
"args",
"static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n out.print(getString(x));\n }\n\n private static String getString(long n) {\n char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];\n for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }\n return new String(buf);\n }\n\n }",
"A",
"public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n out.print(getString(x));\n }",
"solve",
"{\n long x = in.nextLong();\n out.print(getString(x));\n }",
"long x = in.nextLong();",
"x",
"in.nextLong()",
"in.nextLong",
"in",
"out.print(getString(x))",
"out.print",
"out",
"getString(x)",
"getString",
"x",
"int testNumber",
"testNumber",
"Scanner in",
"in",
"PrintWriter out",
"out",
"private static String getString(long n) {\n char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];\n for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }\n return new String(buf);\n }",
"getString",
"{\n char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];\n for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }\n return new String(buf);\n }",
"char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];",
"buf",
"new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))]",
"(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))",
"StrictMath.floor",
"StrictMath",
"StrictMath.log(25 * (n + 1)) / StrictMath.log(26)",
"StrictMath.log(25 * (n + 1))",
"StrictMath.log",
"StrictMath",
"25 * (n + 1)",
"25",
"(n + 1)",
"n",
"1",
"StrictMath.log(26)",
"StrictMath.log",
"StrictMath",
"26",
"for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }",
"int i = buf.length - 1;",
"int i = buf.length - 1;",
"i",
"buf.length - 1",
"buf.length",
"buf",
"buf.length",
"1",
"i >= 0",
"i",
"0",
"i--",
"i--",
"i",
"{\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }",
"{\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }",
"n--",
"n",
"buf[i] = (char) ('a' + n % 26)",
"buf[i]",
"buf",
"i",
"(char) ('a' + n % 26)",
"'a'",
"n % 26",
"n",
"26",
"n /= 26",
"n",
"26",
"return new String(buf);",
"new String(buf)",
"long n",
"n",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n out.print(getString(x));\n }\n\n private static String getString(long n) {\n char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];\n for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }\n return new String(buf);\n }\n\n }\n}",
"public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n A solver = new A();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class A {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long x = in.nextLong();\n out.print(getString(x));\n }\n\n private static String getString(long n) {\n char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];\n for (int i = buf.length - 1; i >= 0; i--) {\n n--;\n buf[i] = (char) ('a' + n % 26);\n n /= 26;\n }\n return new String(buf);\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
*
* @author Ahmad Hamadneh
*/
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);
A solver = new A();
solver.solve(1, in, out);
out.close();
}
static class A {
public void solve(int testNumber, Scanner in, PrintWriter out) {
long x = in.nextLong();
out.print(getString(x));
}
private static String getString(long n) {
char[] buf = new char[(int) StrictMath.floor(StrictMath.log(25 * (n + 1)) / StrictMath.log(26))];
for (int i = buf.length - 1; i >= 0; i--) {
n--;
buf[i] = (char) ('a' + n % 26);
n /= 26;
}
return new String(buf);
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
4,
18,
18,
13,
13,
4,
13,
13,
13,
17,
4,
18,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
30,
29,
2,
4,
13,
13,
13,
14,
2,
13,
17,
30,
29,
2,
4,
13,
17,
13,
0,
13,
2,
4,
13,
2,
13,
17,
13,
14,
2,
2,
13,
17,
17,
30,
29,
4,
13,
13,
2,
2,
13,
2,
13,
17,
17,
40,
13,
30,
29,
4,
13,
13,
2,
2,
13,
17,
17,
40,
13,
23,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
17,
35,
13,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
34,
17,
1,
0,
13,
17,
3,
29,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
302,
5
],
[
302,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
8,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
22,
24
],
[
20,
25
],
[
25,
26
],
[
25,
27
],
[
25,
28
],
[
25,
29
],
[
8,
30
],
[
30,
31
],
[
31,
32
],
[
6,
33
],
[
33,
34
],
[
302,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
38,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
44,
48
],
[
38,
49
],
[
49,
50
],
[
50,
51
],
[
50,
52
],
[
49,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
37,
60
],
[
60,
61
],
[
60,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
65,
67
],
[
62,
68
],
[
37,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
69,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
77,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
83,
84
],
[
83,
85
],
[
80,
86
],
[
77,
87
],
[
87,
88
],
[
69,
89
],
[
89,
90
],
[
90,
91
],
[
91,
92
],
[
91,
93
],
[
91,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
91,
99
],
[
99,
100
],
[
35,
101
],
[
101,
102
],
[
35,
103
],
[
103,
104
],
[
35,
105
],
[
105,
106
],
[
302,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
109,
113
],
[
113,
114
],
[
113,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
118,
120
],
[
117,
121
],
[
113,
122
],
[
122,
123
],
[
122,
124
],
[
124,
125
],
[
125,
126
],
[
125,
127
],
[
124,
128
],
[
113,
129
],
[
129,
130
],
[
129,
131
],
[
131,
132
],
[
132,
133
],
[
132,
134
],
[
131,
135
],
[
113,
136
],
[
136,
137
],
[
136,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
113,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
146,
148
],
[
145,
149
],
[
113,
150
],
[
150,
151
],
[
150,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
113,
157
],
[
157,
158
],
[
157,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
113,
164
],
[
164,
165
],
[
164,
166
],
[
166,
167
],
[
167,
168
],
[
167,
169
],
[
166,
170
],
[
113,
171
],
[
171,
172
],
[
171,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
113,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
180,
184
],
[
113,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
188,
189
],
[
188,
190
],
[
187,
191
],
[
113,
192
],
[
192,
193
],
[
192,
194
],
[
194,
195
],
[
195,
196
],
[
195,
197
],
[
194,
198
],
[
113,
199
],
[
199,
200
],
[
199,
201
],
[
201,
202
],
[
202,
203
],
[
202,
204
],
[
201,
205
],
[
113,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
113,
213
],
[
213,
214
],
[
213,
215
],
[
215,
216
],
[
216,
217
],
[
216,
218
],
[
215,
219
],
[
113,
220
],
[
220,
221
],
[
220,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
113,
227
],
[
227,
228
],
[
227,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
113,
234
],
[
234,
235
],
[
234,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
236,
240
],
[
113,
241
],
[
241,
242
],
[
241,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
243,
247
],
[
113,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
251,
253
],
[
250,
254
],
[
113,
255
],
[
255,
256
],
[
255,
257
],
[
257,
258
],
[
258,
259
],
[
258,
260
],
[
257,
261
],
[
113,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
264,
268
],
[
113,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
113,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
279,
280
],
[
279,
281
],
[
278,
282
],
[
113,
283
],
[
283,
284
],
[
283,
285
],
[
285,
286
],
[
286,
287
],
[
286,
288
],
[
285,
289
],
[
113,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
292,
296
],
[
109,
297
],
[
297,
298
],
[
107,
299
],
[
299,
300
],
[
0,
301
],
[
301,
302
],
[
301,
303
]
]
| [
"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\n String result = \"\";\n System.out.println(calc(result, N, 1));\n sc.close();\n\n }\n\n static String calc(String result, long N, int count) {\n if (N < 26) {\n return moji((int) N) + result;\n } else if (N == 26) {\n return moji(0) + result;\n }\n\n result = (moji((int) (N % 26))) + result;\n if (N % 26 != 0) {\n return calc(result, ((N - N % 26) / 26), count++);\n } else {\n return calc(result, ((N - 26) / 26), count++);\n }\n }\n\n static String moji(int N) {\n String moji = \"\";\n switch (N) {\n case 1:\n moji = \"a\";\n break;\n case 2:\n moji = \"b\";\n break;\n case 3:\n moji = \"c\";\n break;\n case 4:\n moji = \"d\";\n break;\n case 5:\n moji = \"e\";\n break;\n case 6:\n moji = \"f\";\n break;\n case 7:\n moji = \"g\";\n break;\n case 8:\n moji = \"h\";\n break;\n case 9:\n moji = \"i\";\n break;\n case 10:\n moji = \"j\";\n break;\n case 11:\n moji = \"k\";\n break;\n case 12:\n moji = \"l\";\n break;\n case 13:\n moji = \"m\";\n break;\n case 14:\n moji = \"n\";\n break;\n case 15:\n moji = \"o\";\n break;\n case 16:\n moji = \"p\";\n break;\n case 17:\n moji = \"q\";\n break;\n case 18:\n moji = \"r\";\n break;\n case 19:\n moji = \"s\";\n break;\n case 20:\n moji = \"t\";\n break;\n case 21:\n moji = \"u\";\n break;\n case 22:\n moji = \"v\";\n break;\n case 23:\n moji = \"w\";\n break;\n case 24:\n moji = \"x\";\n break;\n case 25:\n moji = \"y\";\n break;\n case 0:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String result = \"\";\n System.out.println(calc(result, N, 1));\n sc.close();\n\n }\n\n static String calc(String result, long N, int count) {\n if (N < 26) {\n return moji((int) N) + result;\n } else if (N == 26) {\n return moji(0) + result;\n }\n\n result = (moji((int) (N % 26))) + result;\n if (N % 26 != 0) {\n return calc(result, ((N - N % 26) / 26), count++);\n } else {\n return calc(result, ((N - 26) / 26), count++);\n }\n }\n\n static String moji(int N) {\n String moji = \"\";\n switch (N) {\n case 1:\n moji = \"a\";\n break;\n case 2:\n moji = \"b\";\n break;\n case 3:\n moji = \"c\";\n break;\n case 4:\n moji = \"d\";\n break;\n case 5:\n moji = \"e\";\n break;\n case 6:\n moji = \"f\";\n break;\n case 7:\n moji = \"g\";\n break;\n case 8:\n moji = \"h\";\n break;\n case 9:\n moji = \"i\";\n break;\n case 10:\n moji = \"j\";\n break;\n case 11:\n moji = \"k\";\n break;\n case 12:\n moji = \"l\";\n break;\n case 13:\n moji = \"m\";\n break;\n case 14:\n moji = \"n\";\n break;\n case 15:\n moji = \"o\";\n break;\n case 16:\n moji = \"p\";\n break;\n case 17:\n moji = \"q\";\n break;\n case 18:\n moji = \"r\";\n break;\n case 19:\n moji = \"s\";\n break;\n case 20:\n moji = \"t\";\n break;\n case 21:\n moji = \"u\";\n break;\n case 22:\n moji = \"v\";\n break;\n case 23:\n moji = \"w\";\n break;\n case 24:\n moji = \"x\";\n break;\n case 25:\n moji = \"y\";\n break;\n case 0:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String result = \"\";\n System.out.println(calc(result, N, 1));\n sc.close();\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String result = \"\";\n System.out.println(calc(result, N, 1));\n sc.close();\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String result = \"\";",
"result",
"\"\"",
"System.out.println(calc(result, N, 1))",
"System.out.println",
"System.out",
"System",
"System.out",
"calc(result, N, 1)",
"calc",
"result",
"N",
"1",
"sc.close()",
"sc.close",
"sc",
"String[] args",
"args",
"static String calc(String result, long N, int count) {\n if (N < 26) {\n return moji((int) N) + result;\n } else if (N == 26) {\n return moji(0) + result;\n }\n\n result = (moji((int) (N % 26))) + result;\n if (N % 26 != 0) {\n return calc(result, ((N - N % 26) / 26), count++);\n } else {\n return calc(result, ((N - 26) / 26), count++);\n }\n }",
"calc",
"{\n if (N < 26) {\n return moji((int) N) + result;\n } else if (N == 26) {\n return moji(0) + result;\n }\n\n result = (moji((int) (N % 26))) + result;\n if (N % 26 != 0) {\n return calc(result, ((N - N % 26) / 26), count++);\n } else {\n return calc(result, ((N - 26) / 26), count++);\n }\n }",
"if (N < 26) {\n return moji((int) N) + result;\n } else if (N == 26) {\n return moji(0) + result;\n }",
"N < 26",
"N",
"26",
"{\n return moji((int) N) + result;\n }",
"return moji((int) N) + result;",
"moji((int) N) + result",
"moji((int) N)",
"moji",
"(int) N",
"result",
"if (N == 26) {\n return moji(0) + result;\n }",
"N == 26",
"N",
"26",
"{\n return moji(0) + result;\n }",
"return moji(0) + result;",
"moji(0) + result",
"moji(0)",
"moji",
"0",
"result",
"result = (moji((int) (N % 26))) + result",
"result",
"(moji((int) (N % 26))) + result",
"(moji((int) (N % 26)))",
"moji",
"(int) (N % 26)",
"N",
"26",
"result",
"if (N % 26 != 0) {\n return calc(result, ((N - N % 26) / 26), count++);\n } else {\n return calc(result, ((N - 26) / 26), count++);\n }",
"N % 26 != 0",
"N % 26",
"N",
"26",
"0",
"{\n return calc(result, ((N - N % 26) / 26), count++);\n }",
"return calc(result, ((N - N % 26) / 26), count++);",
"calc(result, ((N - N % 26) / 26), count++)",
"calc",
"result",
"((N - N % 26) / 26)",
"(N - N % 26)",
"N",
"N % 26",
"N",
"26",
"26",
"count++",
"count",
"{\n return calc(result, ((N - 26) / 26), count++);\n }",
"return calc(result, ((N - 26) / 26), count++);",
"calc(result, ((N - 26) / 26), count++)",
"calc",
"result",
"((N - 26) / 26)",
"(N - 26)",
"N",
"26",
"26",
"count++",
"count",
"String result",
"result",
"long N",
"N",
"int count",
"count",
"static String moji(int N) {\n String moji = \"\";\n switch (N) {\n case 1:\n moji = \"a\";\n break;\n case 2:\n moji = \"b\";\n break;\n case 3:\n moji = \"c\";\n break;\n case 4:\n moji = \"d\";\n break;\n case 5:\n moji = \"e\";\n break;\n case 6:\n moji = \"f\";\n break;\n case 7:\n moji = \"g\";\n break;\n case 8:\n moji = \"h\";\n break;\n case 9:\n moji = \"i\";\n break;\n case 10:\n moji = \"j\";\n break;\n case 11:\n moji = \"k\";\n break;\n case 12:\n moji = \"l\";\n break;\n case 13:\n moji = \"m\";\n break;\n case 14:\n moji = \"n\";\n break;\n case 15:\n moji = \"o\";\n break;\n case 16:\n moji = \"p\";\n break;\n case 17:\n moji = \"q\";\n break;\n case 18:\n moji = \"r\";\n break;\n case 19:\n moji = \"s\";\n break;\n case 20:\n moji = \"t\";\n break;\n case 21:\n moji = \"u\";\n break;\n case 22:\n moji = \"v\";\n break;\n case 23:\n moji = \"w\";\n break;\n case 24:\n moji = \"x\";\n break;\n case 25:\n moji = \"y\";\n break;\n case 0:\n moji = \"z\";\n break;\n }\n return moji;\n }",
"moji",
"{\n String moji = \"\";\n switch (N) {\n case 1:\n moji = \"a\";\n break;\n case 2:\n moji = \"b\";\n break;\n case 3:\n moji = \"c\";\n break;\n case 4:\n moji = \"d\";\n break;\n case 5:\n moji = \"e\";\n break;\n case 6:\n moji = \"f\";\n break;\n case 7:\n moji = \"g\";\n break;\n case 8:\n moji = \"h\";\n break;\n case 9:\n moji = \"i\";\n break;\n case 10:\n moji = \"j\";\n break;\n case 11:\n moji = \"k\";\n break;\n case 12:\n moji = \"l\";\n break;\n case 13:\n moji = \"m\";\n break;\n case 14:\n moji = \"n\";\n break;\n case 15:\n moji = \"o\";\n break;\n case 16:\n moji = \"p\";\n break;\n case 17:\n moji = \"q\";\n break;\n case 18:\n moji = \"r\";\n break;\n case 19:\n moji = \"s\";\n break;\n case 20:\n moji = \"t\";\n break;\n case 21:\n moji = \"u\";\n break;\n case 22:\n moji = \"v\";\n break;\n case 23:\n moji = \"w\";\n break;\n case 24:\n moji = \"x\";\n break;\n case 25:\n moji = \"y\";\n break;\n case 0:\n moji = \"z\";\n break;\n }\n return moji;\n }",
"String moji = \"\";",
"moji",
"\"\"",
"switch (N) {\n case 1:\n moji = \"a\";\n break;\n case 2:\n moji = \"b\";\n break;\n case 3:\n moji = \"c\";\n break;\n case 4:\n moji = \"d\";\n break;\n case 5:\n moji = \"e\";\n break;\n case 6:\n moji = \"f\";\n break;\n case 7:\n moji = \"g\";\n break;\n case 8:\n moji = \"h\";\n break;\n case 9:\n moji = \"i\";\n break;\n case 10:\n moji = \"j\";\n break;\n case 11:\n moji = \"k\";\n break;\n case 12:\n moji = \"l\";\n break;\n case 13:\n moji = \"m\";\n break;\n case 14:\n moji = \"n\";\n break;\n case 15:\n moji = \"o\";\n break;\n case 16:\n moji = \"p\";\n break;\n case 17:\n moji = \"q\";\n break;\n case 18:\n moji = \"r\";\n break;\n case 19:\n moji = \"s\";\n break;\n case 20:\n moji = \"t\";\n break;\n case 21:\n moji = \"u\";\n break;\n case 22:\n moji = \"v\";\n break;\n case 23:\n moji = \"w\";\n break;\n case 24:\n moji = \"x\";\n break;\n case 25:\n moji = \"y\";\n break;\n case 0:\n moji = \"z\";\n break;\n }",
"N",
"case 1:",
"1",
"case 1:",
"moji = \"a\"",
"moji",
"\"a\"",
"break;",
"case 2:",
"2",
"case 2:",
"moji = \"b\"",
"moji",
"\"b\"",
"break;",
"case 3:",
"3",
"case 3:",
"moji = \"c\"",
"moji",
"\"c\"",
"break;",
"case 4:",
"4",
"case 4:",
"moji = \"d\"",
"moji",
"\"d\"",
"break;",
"case 5:",
"5",
"case 5:",
"moji = \"e\"",
"moji",
"\"e\"",
"break;",
"case 6:",
"6",
"case 6:",
"moji = \"f\"",
"moji",
"\"f\"",
"break;",
"case 7:",
"7",
"case 7:",
"moji = \"g\"",
"moji",
"\"g\"",
"break;",
"case 8:",
"8",
"case 8:",
"moji = \"h\"",
"moji",
"\"h\"",
"break;",
"case 9:",
"9",
"case 9:",
"moji = \"i\"",
"moji",
"\"i\"",
"break;",
"case 10:",
"10",
"case 10:",
"moji = \"j\"",
"moji",
"\"j\"",
"break;",
"case 11:",
"11",
"case 11:",
"moji = \"k\"",
"moji",
"\"k\"",
"break;",
"case 12:",
"12",
"case 12:",
"moji = \"l\"",
"moji",
"\"l\"",
"break;",
"case 13:",
"13",
"case 13:",
"moji = \"m\"",
"moji",
"\"m\"",
"break;",
"case 14:",
"14",
"case 14:",
"moji = \"n\"",
"moji",
"\"n\"",
"break;",
"case 15:",
"15",
"case 15:",
"moji = \"o\"",
"moji",
"\"o\"",
"break;",
"case 16:",
"16",
"case 16:",
"moji = \"p\"",
"moji",
"\"p\"",
"break;",
"case 17:",
"17",
"case 17:",
"moji = \"q\"",
"moji",
"\"q\"",
"break;",
"case 18:",
"18",
"case 18:",
"moji = \"r\"",
"moji",
"\"r\"",
"break;",
"case 19:",
"19",
"case 19:",
"moji = \"s\"",
"moji",
"\"s\"",
"break;",
"case 20:",
"20",
"case 20:",
"moji = \"t\"",
"moji",
"\"t\"",
"break;",
"case 21:",
"21",
"case 21:",
"moji = \"u\"",
"moji",
"\"u\"",
"break;",
"case 22:",
"22",
"case 22:",
"moji = \"v\"",
"moji",
"\"v\"",
"break;",
"case 23:",
"23",
"case 23:",
"moji = \"w\"",
"moji",
"\"w\"",
"break;",
"case 24:",
"24",
"case 24:",
"moji = \"x\"",
"moji",
"\"x\"",
"break;",
"case 25:",
"25",
"case 25:",
"moji = \"y\"",
"moji",
"\"y\"",
"break;",
"case 0:",
"0",
"case 0:",
"moji = \"z\"",
"moji",
"\"z\"",
"break;",
"return moji;",
"moji",
"int N",
"N",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String result = \"\";\n System.out.println(calc(result, N, 1));\n sc.close();\n\n }\n\n static String calc(String result, long N, int count) {\n if (N < 26) {\n return moji((int) N) + result;\n } else if (N == 26) {\n return moji(0) + result;\n }\n\n result = (moji((int) (N % 26))) + result;\n if (N % 26 != 0) {\n return calc(result, ((N - N % 26) / 26), count++);\n } else {\n return calc(result, ((N - 26) / 26), count++);\n }\n }\n\n static String moji(int N) {\n String moji = \"\";\n switch (N) {\n case 1:\n moji = \"a\";\n break;\n case 2:\n moji = \"b\";\n break;\n case 3:\n moji = \"c\";\n break;\n case 4:\n moji = \"d\";\n break;\n case 5:\n moji = \"e\";\n break;\n case 6:\n moji = \"f\";\n break;\n case 7:\n moji = \"g\";\n break;\n case 8:\n moji = \"h\";\n break;\n case 9:\n moji = \"i\";\n break;\n case 10:\n moji = \"j\";\n break;\n case 11:\n moji = \"k\";\n break;\n case 12:\n moji = \"l\";\n break;\n case 13:\n moji = \"m\";\n break;\n case 14:\n moji = \"n\";\n break;\n case 15:\n moji = \"o\";\n break;\n case 16:\n moji = \"p\";\n break;\n case 17:\n moji = \"q\";\n break;\n case 18:\n moji = \"r\";\n break;\n case 19:\n moji = \"s\";\n break;\n case 20:\n moji = \"t\";\n break;\n case 21:\n moji = \"u\";\n break;\n case 22:\n moji = \"v\";\n break;\n case 23:\n moji = \"w\";\n break;\n case 24:\n moji = \"x\";\n break;\n case 25:\n moji = \"y\";\n break;\n case 0:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long N = sc.nextLong();\n\n String result = \"\";\n System.out.println(calc(result, N, 1));\n sc.close();\n\n }\n\n static String calc(String result, long N, int count) {\n if (N < 26) {\n return moji((int) N) + result;\n } else if (N == 26) {\n return moji(0) + result;\n }\n\n result = (moji((int) (N % 26))) + result;\n if (N % 26 != 0) {\n return calc(result, ((N - N % 26) / 26), count++);\n } else {\n return calc(result, ((N - 26) / 26), count++);\n }\n }\n\n static String moji(int N) {\n String moji = \"\";\n switch (N) {\n case 1:\n moji = \"a\";\n break;\n case 2:\n moji = \"b\";\n break;\n case 3:\n moji = \"c\";\n break;\n case 4:\n moji = \"d\";\n break;\n case 5:\n moji = \"e\";\n break;\n case 6:\n moji = \"f\";\n break;\n case 7:\n moji = \"g\";\n break;\n case 8:\n moji = \"h\";\n break;\n case 9:\n moji = \"i\";\n break;\n case 10:\n moji = \"j\";\n break;\n case 11:\n moji = \"k\";\n break;\n case 12:\n moji = \"l\";\n break;\n case 13:\n moji = \"m\";\n break;\n case 14:\n moji = \"n\";\n break;\n case 15:\n moji = \"o\";\n break;\n case 16:\n moji = \"p\";\n break;\n case 17:\n moji = \"q\";\n break;\n case 18:\n moji = \"r\";\n break;\n case 19:\n moji = \"s\";\n break;\n case 20:\n moji = \"t\";\n break;\n case 21:\n moji = \"u\";\n break;\n case 22:\n moji = \"v\";\n break;\n case 23:\n moji = \"w\";\n break;\n case 24:\n moji = \"x\";\n break;\n case 25:\n moji = \"y\";\n break;\n case 0:\n moji = \"z\";\n break;\n }\n return moji;\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
String result = "";
System.out.println(calc(result, N, 1));
sc.close();
}
static String calc(String result, long N, int count) {
if (N < 26) {
return moji((int) N) + result;
} else if (N == 26) {
return moji(0) + result;
}
result = (moji((int) (N % 26))) + result;
if (N % 26 != 0) {
return calc(result, ((N - N % 26) / 26), count++);
} else {
return calc(result, ((N - 26) / 26), count++);
}
}
static String moji(int N) {
String moji = "";
switch (N) {
case 1:
moji = "a";
break;
case 2:
moji = "b";
break;
case 3:
moji = "c";
break;
case 4:
moji = "d";
break;
case 5:
moji = "e";
break;
case 6:
moji = "f";
break;
case 7:
moji = "g";
break;
case 8:
moji = "h";
break;
case 9:
moji = "i";
break;
case 10:
moji = "j";
break;
case 11:
moji = "k";
break;
case 12:
moji = "l";
break;
case 13:
moji = "m";
break;
case 14:
moji = "n";
break;
case 15:
moji = "o";
break;
case 16:
moji = "p";
break;
case 17:
moji = "q";
break;
case 18:
moji = "r";
break;
case 19:
moji = "s";
break;
case 20:
moji = "t";
break;
case 21:
moji = "u";
break;
case 22:
moji = "v";
break;
case 23:
moji = "w";
break;
case 24:
moji = "x";
break;
case 25:
moji = "y";
break;
case 0:
moji = "z";
break;
}
return moji;
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
2,
17,
17,
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,
17,
42,
2,
13,
17,
30,
14,
2,
2,
13,
17,
17,
30,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
2,
13,
13,
13,
0,
13,
2,
13,
17,
29,
13,
23,
13,
23,
13,
12,
13,
30,
41,
13,
20,
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,
13,
4,
18,
13,
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,
13,
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,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
23,
13,
12,
13,
30,
0,
18,
36,
13,
20,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
18,
13,
13,
23,
13,
12,
13,
30,
4,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
4,
18,
13,
12,
13,
30,
4,
18,
13,
6,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
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
],
[
11,
13
],
[
7,
14
],
[
14,
15
],
[
14,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
16,
23
],
[
23,
24
],
[
24,
25
],
[
24,
26
],
[
26,
27
],
[
26,
28
],
[
24,
29
],
[
14,
30
],
[
30,
31
],
[
14,
32
],
[
32,
33
],
[
7,
34
],
[
34,
35
],
[
34,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
40,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
47,
48
],
[
47,
49
],
[
46,
50
],
[
45,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
44,
59
],
[
59,
60
],
[
59,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
44,
66
],
[
66,
67
],
[
66,
68
],
[
68,
69
],
[
68,
70
],
[
36,
71
],
[
71,
72
],
[
34,
73
],
[
73,
74
],
[
34,
75
],
[
75,
76
],
[
7,
77
],
[
77,
78
],
[
77,
79
],
[
79,
80
],
[
80,
81
],
[
80,
82
],
[
79,
83
],
[
83,
84
],
[
83,
85
],
[
79,
86
],
[
86,
87
],
[
86,
88
],
[
88,
89
],
[
89,
90
],
[
79,
91
],
[
91,
92
],
[
91,
93
],
[
79,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
94,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
101,
102
],
[
101,
103
],
[
98,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
98,
109
],
[
109,
110
],
[
110,
111
],
[
109,
112
],
[
112,
113
],
[
112,
114
],
[
98,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
117,
119
],
[
79,
120
],
[
120,
121
],
[
121,
122
],
[
79,
123
],
[
123,
124
],
[
124,
125
],
[
123,
126
],
[
79,
127
],
[
127,
128
],
[
128,
129
],
[
79,
130
],
[
130,
131
],
[
131,
132
],
[
77,
133
],
[
133,
134
],
[
7,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
135,
139
],
[
139,
140
],
[
139,
141
],
[
135,
143
],
[
143,
144
],
[
135,
145
],
[
145,
146
],
[
135,
147
],
[
147,
148
],
[
135,
149
],
[
149,
150
],
[
149,
151
],
[
151,
152
],
[
152,
153
],
[
153,
154
],
[
153,
155
],
[
152,
156
],
[
149,
157
],
[
157,
158
],
[
135,
159
],
[
159,
160
],
[
159,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
162,
167
],
[
167,
168
],
[
161,
169
],
[
169,
170
],
[
170,
171
],
[
170,
172
],
[
169,
173
],
[
173,
174
],
[
174,
175
],
[
174,
176
],
[
173,
177
],
[
177,
178
],
[
178,
179
],
[
178,
180
],
[
180,
181
],
[
181,
182
],
[
177,
183
],
[
183,
184
],
[
184,
185
],
[
184,
186
],
[
186,
187
],
[
187,
188
],
[
186,
189
],
[
173,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
190,
194
],
[
194,
195
],
[
195,
196
],
[
161,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
135,
202
],
[
202,
203
],
[
202,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
207,
208
],
[
204,
209
],
[
209,
210
],
[
210,
211
],
[
210,
212
],
[
209,
213
],
[
213,
214
],
[
214,
215
],
[
214,
216
],
[
216,
217
],
[
204,
218
],
[
218,
219
],
[
218,
220
],
[
204,
221
],
[
221,
222
],
[
222,
223
],
[
222,
224
],
[
221,
225
],
[
225,
226
],
[
226,
227
],
[
226,
228
],
[
228,
229
],
[
225,
230
],
[
230,
231
],
[
230,
232
],
[
232,
233
],
[
204,
234
],
[
234,
235
],
[
234,
236
],
[
204,
237
],
[
237,
238
],
[
238,
239
],
[
239,
240
],
[
239,
241
],
[
237,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
244,
248
],
[
248,
249
],
[
248,
250
],
[
243,
251
],
[
251,
252
],
[
242,
253
],
[
253,
254
],
[
253,
255
],
[
242,
256
],
[
256,
257
],
[
256,
258
],
[
258,
259
],
[
258,
260
],
[
242,
261
],
[
261,
262
],
[
261,
263
],
[
263,
264
],
[
204,
265
],
[
265,
266
],
[
266,
267
],
[
266,
268
],
[
135,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
274,
275
],
[
271,
276
],
[
276,
277
],
[
277,
278
],
[
277,
279
],
[
276,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
283,
284
],
[
271,
285
],
[
285,
286
],
[
285,
287
],
[
271,
288
],
[
288,
289
],
[
289,
290
],
[
289,
291
],
[
288,
292
],
[
292,
293
],
[
293,
294
],
[
293,
295
],
[
295,
296
],
[
292,
297
],
[
297,
298
],
[
297,
299
],
[
299,
300
],
[
271,
301
],
[
301,
302
],
[
301,
303
],
[
271,
304
],
[
304,
305
],
[
305,
306
],
[
306,
307
],
[
306,
308
],
[
304,
309
],
[
309,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
311,
315
],
[
315,
316
],
[
315,
317
],
[
310,
318
],
[
318,
319
],
[
309,
320
],
[
320,
321
],
[
320,
322
],
[
309,
323
],
[
323,
324
],
[
323,
325
],
[
325,
326
],
[
325,
327
],
[
309,
328
],
[
328,
329
],
[
328,
330
],
[
330,
331
],
[
271,
332
],
[
332,
333
],
[
333,
334
],
[
333,
335
],
[
135,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
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
],
[
357,
359
],
[
356,
360
],
[
360,
361
],
[
338,
362
],
[
362,
363
],
[
336,
364
],
[
364,
365
],
[
135,
366
],
[
366,
367
],
[
366,
368
],
[
368,
369
],
[
369,
370
],
[
369,
371
],
[
371,
372
],
[
368,
373
],
[
373,
374
],
[
374,
375
],
[
374,
376
],
[
373,
377
],
[
377,
378
],
[
378,
379
],
[
378,
380
],
[
380,
381
],
[
368,
382
],
[
382,
383
],
[
382,
384
],
[
368,
385
],
[
385,
386
],
[
386,
387
],
[
387,
388
],
[
387,
389
],
[
385,
390
],
[
390,
391
],
[
391,
392
],
[
392,
393
],
[
391,
394
],
[
390,
395
],
[
395,
396
],
[
395,
397
],
[
397,
398
],
[
368,
399
],
[
399,
400
],
[
400,
401
],
[
401,
402
],
[
135,
403
],
[
403,
404
],
[
403,
405
],
[
405,
406
],
[
406,
407
],
[
406,
408
],
[
408,
409
],
[
405,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
410,
414
],
[
414,
415
],
[
414,
416
],
[
416,
417
],
[
405,
418
],
[
418,
419
],
[
418,
420
],
[
405,
421
],
[
421,
422
],
[
422,
423
],
[
423,
424
],
[
423,
425
],
[
421,
426
],
[
426,
427
],
[
427,
428
],
[
428,
429
],
[
427,
430
],
[
426,
431
],
[
431,
432
],
[
431,
433
],
[
433,
434
],
[
405,
435
],
[
435,
436
],
[
436,
437
],
[
437,
438
],
[
135,
439
],
[
439,
440
],
[
439,
441
],
[
441,
442
],
[
442,
443
],
[
443,
444
],
[
443,
445
],
[
442,
446
],
[
446,
447
],
[
447,
448
],
[
448,
449
],
[
447,
450
],
[
441,
451
],
[
451,
452
],
[
455,
453
],
[
465,
454
],
[
462,
455
],
[
455,
456
],
[
456,
457
],
[
456,
458
],
[
455,
459
],
[
459,
460
],
[
459,
461
],
[
462,
462
],
[
462,
463
],
[
462,
464
],
[
465,
465
],
[
465,
466
],
[
465,
467
],
[
455,
468
],
[
468,
469
],
[
468,
470
],
[
470,
471
],
[
439,
472
],
[
472,
473
],
[
135,
474
],
[
474,
475
],
[
474,
476
],
[
476,
477
],
[
477,
478
],
[
479,
479
],
[
479,
480
],
[
480,
481
],
[
480,
482
],
[
479,
483
],
[
483,
484
],
[
483,
485
],
[
479,
486
],
[
486,
487
],
[
486,
488
],
[
488,
489
],
[
474,
490
],
[
490,
491
],
[
135,
492
],
[
492,
493
],
[
492,
494
],
[
494,
495
],
[
494,
496
],
[
496,
497
],
[
7,
498
],
[
498,
499
],
[
498,
500
],
[
500,
501
],
[
498,
502
],
[
502,
503
],
[
502,
504
],
[
504,
505
],
[
505,
506
],
[
505,
507
],
[
502,
508
],
[
508,
509
],
[
498,
510
],
[
510,
511
],
[
510,
512
],
[
512,
513
],
[
513,
514
],
[
514,
515
],
[
514,
516
],
[
513,
517
],
[
510,
518
],
[
518,
519
],
[
498,
520
],
[
520,
521
],
[
520,
522
],
[
522,
523
],
[
523,
524
],
[
524,
525
],
[
525,
526
],
[
525,
527
],
[
523,
528
],
[
528,
529
],
[
528,
530
],
[
530,
531
],
[
530,
532
],
[
523,
533
],
[
533,
534
],
[
534,
535
],
[
523,
536
],
[
537,
537
],
[
537,
538
],
[
538,
539
],
[
539,
540
],
[
539,
541
],
[
538,
542
],
[
542,
543
],
[
543,
544
],
[
542,
545
],
[
537,
546
],
[
546,
547
],
[
547,
548
],
[
546,
549
],
[
549,
550
],
[
549,
551
],
[
520,
552
],
[
552,
553
],
[
498,
554
],
[
554,
555
],
[
554,
556
],
[
556,
557
],
[
557,
558
],
[
557,
559
],
[
556,
560
],
[
560,
561
],
[
561,
562
],
[
554,
563
],
[
563,
564
],
[
498,
565
],
[
565,
566
],
[
565,
567
],
[
567,
568
],
[
568,
569
],
[
569,
570
],
[
498,
571
],
[
571,
572
],
[
571,
573
],
[
573,
574
],
[
574,
575
],
[
575,
576
],
[
7,
577
],
[
577,
578
],
[
577,
579
],
[
579,
580
],
[
579,
581
],
[
581,
582
],
[
582,
583
],
[
582,
584
],
[
581,
586
],
[
586,
587
],
[
587,
588
],
[
588,
589
],
[
588,
590
],
[
586,
591
],
[
591,
592
],
[
591,
593
],
[
586,
594
],
[
594,
595
],
[
595,
596
],
[
586,
597
],
[
597,
598
],
[
598,
599
],
[
599,
600
],
[
599,
601
],
[
598,
602
],
[
602,
603
],
[
603,
604
],
[
581,
605
],
[
605,
606
],
[
579,
607
],
[
607,
608
],
[
579,
609
],
[
609,
610
]
]
| [
"import java.util.*;\nimport java.io.*;\nclass Main{\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] = nextInt();\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 }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n \n static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n>0)\n {\n n=n-1;\n long mod = n%26;\n //out.printLine(mod);\n sb.append((char)('a'+mod));\n n = n/26;\n }\n sb.reverse();\n out.printLine(sb);\n out.flush();\n out.close();\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.io.*;",
"io.*",
"java",
"class Main{\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] = nextInt();\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 }\n static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}\n \n static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }\n static int gcd(int a, int b) \n { \n if (a == 0) \n return b; \n return gcd(b % a, a); \n } \n static int mod = (int)(1e9+7);\n public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }\n\n public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n>0)\n {\n n=n-1;\n long mod = n%26;\n //out.printLine(mod);\n sb.append((char)('a'+mod));\n n = n/26;\n }\n sb.reverse();\n out.printLine(sb);\n out.flush();\n out.close();\n }\n}",
"Main",
"static int mod = (int)(1e9+7);",
"mod",
"(int)(1e9+7)",
"1e9",
"7",
"static int gcd(int a, int b) \n { \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",
"int a",
"a",
"int b",
"b",
"public static long pow(long a,long b)\n {\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }",
"pow",
"{\n long ans = 1;\n while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }\n return ans;\n }",
"long ans = 1;",
"ans",
"1",
"while(b> 0)\n {\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }",
"b> 0",
"b",
"0",
"{\n if((b & 1)==1){\n ans = (ans*a) % mod; \n }\n a = (a*a) % mod;\n b = b>>1;\n }",
"if((b & 1)==1){\n ans = (ans*a) % mod; \n }",
"(b & 1)==1",
"(b & 1)",
"b",
"1",
"1",
"{\n ans = (ans*a) % mod; \n }",
"ans = (ans*a) % mod",
"ans",
"(ans*a) % mod",
"(ans*a)",
"ans",
"a",
"mod",
"a = (a*a) % mod",
"a",
"(a*a) % mod",
"(a*a)",
"a",
"a",
"mod",
"b = b>>1",
"b",
"b>>1",
"b",
"1",
"return ans;",
"ans",
"long a",
"a",
"long b",
"b",
"public static void main(String[] args) {\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n>0)\n {\n n=n-1;\n long mod = n%26;\n //out.printLine(mod);\n sb.append((char)('a'+mod));\n n = n/26;\n }\n sb.reverse();\n out.printLine(sb);\n out.flush();\n out.close();\n }",
"main",
"{\n InputReader in = new InputReader(System.in);\n OutputWriter out = new OutputWriter(System.out);\n //IOUtils io = new IOUtils();\n long n = in.nextLong();\n StringBuilder sb = new StringBuilder();\n while(n>0)\n {\n n=n-1;\n long mod = n%26;\n //out.printLine(mod);\n sb.append((char)('a'+mod));\n n = n/26;\n }\n sb.reverse();\n out.printLine(sb);\n out.flush();\n out.close();\n }",
"InputReader in = new InputReader(System.in);",
"in",
"new InputReader(System.in)",
"OutputWriter out = new OutputWriter(System.out);",
"out",
"new OutputWriter(System.out)",
"long n = in.nextLong();",
"n",
"in.nextLong()",
"in.nextLong",
"in",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"while(n>0)\n {\n n=n-1;\n long mod = n%26;\n //out.printLine(mod);\n sb.append((char)('a'+mod));\n n = n/26;\n }",
"n>0",
"n",
"0",
"{\n n=n-1;\n long mod = n%26;\n //out.printLine(mod);\n sb.append((char)('a'+mod));\n n = n/26;\n }",
"n=n-1",
"n",
"n-1",
"n",
"1",
"long mod = n%26;",
"mod",
"n%26",
"n",
"26",
"sb.append((char)('a'+mod))",
"sb.append",
"sb",
"(char)('a'+mod)",
"'a'",
"mod",
"n = n/26",
"n",
"n/26",
"n",
"26",
"sb.reverse()",
"sb.reverse",
"sb",
"out.printLine(sb)",
"out.printLine",
"out",
"sb",
"out.flush()",
"out.flush",
"out",
"out.close()",
"out.close",
"out",
"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] = nextInt();\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 }",
"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] = 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 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",
"static class OutputWriter {\n\t\tprivate final PrintWriter writer;\n \n\t\tpublic OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}\n \n\t\tpublic OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}\n \n\t\tpublic void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}\n \n\t\tpublic void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}\n \n\t\tpublic void close() {\n\t\t\twriter.close();\n\t\t}\n \n\t\tpublic void flush() {\n\t\t\twriter.flush();\n\t\t}\n \n\t\t}",
"OutputWriter",
"private final PrintWriter writer;",
"writer",
"public OutputWriter(OutputStream outputStream) {\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}",
"OutputWriter",
"{\n\t\t\twriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n\t\t}",
"writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"writer",
"new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))",
"OutputStream outputStream",
"outputStream",
"public OutputWriter(Writer writer) {\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}",
"OutputWriter",
"{\n\t\t\tthis.writer = new PrintWriter(writer);\n\t\t}",
"this.writer = new PrintWriter(writer)",
"this.writer",
"this",
"this.writer",
"new PrintWriter(writer)",
"Writer writer",
"writer",
"public void print(Object...objects) {\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}",
"print",
"{\n\t\t\tfor (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}\n\t\t}",
"for (int i = 0; i < objects.length; i++) {\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < objects.length",
"i",
"objects.length",
"objects",
"objects.length",
"i++",
"i++",
"i",
"{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}",
"{\n\t\t\t\tif (i != 0)\n\t\t\t\t\twriter.print(' ');\n\t\t\t\twriter.print(objects[i]);\n\t\t\t}",
"if (i != 0)\n\t\t\t\t\twriter.print(' ');",
"i != 0",
"i",
"0",
"writer.print(' ')",
"writer.print",
"writer",
"' '",
"writer.print(objects[i])",
"writer.print",
"writer",
"objects[i]",
"objects",
"i",
"Object...objects",
"objects",
"public void printLine(Object...objects) {\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}",
"printLine",
"{\n\t\t\tprint(objects);\n\t\t\twriter.println();\n\t\t}",
"print(objects)",
"print",
"objects",
"writer.println()",
"writer.println",
"writer",
"Object...objects",
"objects",
"public void close() {\n\t\t\twriter.close();\n\t\t}",
"close",
"{\n\t\t\twriter.close();\n\t\t}",
"writer.close()",
"writer.close",
"writer",
"public void flush() {\n\t\t\twriter.flush();\n\t\t}",
"flush",
"{\n\t\t\twriter.flush();\n\t\t}",
"writer.flush()",
"writer.flush",
"writer",
"static class IOUtils {\n \n\t\tpublic static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }\n\n }",
"IOUtils",
"public static int[] readIntArray(InputReader in, int size) {\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }",
"readIntArray",
"{\n int[] array = new int[size];\n for (int i = 0; i < size; i++)\n array[i] = in.nextInt();\n return array;\n }",
"int[] array = new int[size];",
"array",
"new int[size]",
"size",
"for (int i = 0; i < size; i++)\n array[i] = in.nextInt();",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < size",
"i",
"size",
"i++",
"i++",
"i",
"array[i] = in.nextInt();",
"array[i] = in.nextInt()",
"array[i]",
"array",
"i",
"in.nextInt()",
"in.nextInt",
"in",
"return array;",
"array",
"InputReader in",
"in",
"int size",
"size"
]
| import java.util.*;
import java.io.*;
class Main{
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] = nextInt();
}
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);
}
}
static class OutputWriter {
private final PrintWriter writer;
public OutputWriter(OutputStream outputStream) {
writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
}
public OutputWriter(Writer writer) {
this.writer = new PrintWriter(writer);
}
public void print(Object...objects) {
for (int i = 0; i < objects.length; i++) {
if (i != 0)
writer.print(' ');
writer.print(objects[i]);
}
}
public void printLine(Object...objects) {
print(objects);
writer.println();
}
public void close() {
writer.close();
}
public void flush() {
writer.flush();
}
}
static class IOUtils {
public static int[] readIntArray(InputReader in, int size) {
int[] array = new int[size];
for (int i = 0; i < size; i++)
array[i] = in.nextInt();
return array;
}
}
static int gcd(int a, int b)
{
if (a == 0)
return b;
return gcd(b % a, a);
}
static int mod = (int)(1e9+7);
public static long pow(long a,long b)
{
long ans = 1;
while(b> 0)
{
if((b & 1)==1){
ans = (ans*a) % mod;
}
a = (a*a) % mod;
b = b>>1;
}
return ans;
}
public static void main(String[] args) {
InputReader in = new InputReader(System.in);
OutputWriter out = new OutputWriter(System.out);
//IOUtils io = new IOUtils();
long n = in.nextLong();
StringBuilder sb = new StringBuilder();
while(n>0)
{
n=n-1;
long mod = n%26;
//out.printLine(mod);
sb.append((char)('a'+mod));
n = n/26;
}
sb.reverse();
out.printLine(sb);
out.flush();
out.close();
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
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,
2,
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,
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
],
[
8,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
24,
26
],
[
22,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
30,
34
],
[
22,
35
],
[
36,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
39,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
8,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
54,
55
],
[
55,
56
],
[
50,
57
],
[
57,
58
],
[
57,
59
],
[
50,
60
],
[
60,
61
],
[
61,
62
],
[
50,
63
],
[
64,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
67,
68
],
[
67,
69
],
[
65,
70
],
[
70,
71
],
[
71,
72
],
[
70,
73
],
[
73,
74
],
[
73,
75
],
[
6,
76
],
[
76,
77
],
[
0,
78
],
[
78,
79
],
[
78,
80
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append((char) (surplus + 'a'));\n }\n \n for (int i = name.length(); i > 0; --i) {\n System.out.print(name.charAt(i - 1));\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\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((char) (surplus + 'a'));\n }\n \n for (int i = name.length(); i > 0; --i) {\n System.out.print(name.charAt(i - 1));\n }\n }\n}",
"Main",
"public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append((char) (surplus + 'a'));\n }\n \n for (int i = name.length(); i > 0; --i) {\n System.out.print(name.charAt(i - 1));\n }\n }",
"main",
"{\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((char) (surplus + 'a'));\n }\n \n for (int i = name.length(); i > 0; --i) {\n System.out.print(name.charAt(i - 1));\n }\n }",
"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((char) (surplus + 'a'));\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((char) (surplus + 'a'));\n }",
"{\n surplus = (int) ((n - 1) % 26);\n name.append((char) (surplus + 'a'));\n }",
"surplus = (int) ((n - 1) % 26)",
"surplus",
"(int) ((n - 1) % 26)",
"(n - 1)",
"n",
"1",
"26",
"name.append((char) (surplus + 'a'))",
"name.append",
"name",
"(char) (surplus + 'a')",
"surplus",
"'a'",
"for (int i = name.length(); i > 0; --i) {\n System.out.print(name.charAt(i - 1));\n }",
"int i = name.length();",
"int i = name.length();",
"i",
"name.length()",
"name.length",
"name",
"i > 0",
"i",
"0",
"--i",
"--i",
"i",
"{\n System.out.print(name.charAt(i - 1));\n }",
"{\n System.out.print(name.charAt(i - 1));\n }",
"System.out.print(name.charAt(i - 1))",
"System.out.print",
"System.out",
"System",
"System.out",
"name.charAt(i - 1)",
"name.charAt",
"name",
"i - 1",
"i",
"1",
"String args[]",
"args",
"public class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append((char) (surplus + 'a'));\n }\n \n for (int i = name.length(); i > 0; --i) {\n System.out.print(name.charAt(i - 1));\n }\n }\n}",
"public class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n\n long n = scan.nextLong();\n\n StringBuilder name = new StringBuilder();\n int surplus;\n for (; n > 0; n = (n - 1) / 26) {\n surplus = (int) ((n - 1) % 26);\n name.append((char) (surplus + 'a'));\n }\n \n for (int i = name.length(); i > 0; --i) {\n System.out.print(name.charAt(i - 1));\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 = scan.nextLong();
StringBuilder name = new StringBuilder();
int surplus;
for (; n > 0; n = (n - 1) / 26) {
surplus = (int) ((n - 1) % 26);
name.append((char) (surplus + 'a'));
}
for (int i = name.length(); i > 0; --i) {
System.out.print(name.charAt(i - 1));
}
}
} |
[
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,
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,
23,
13,
12,
13,
30,
29,
4,
18,
13,
4,
18,
13,
13,
13,
13,
23,
13,
23,
13,
23,
13,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
40,
4,
18,
13,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
20,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
13,
29,
13,
23,
13,
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
],
[
160,
26
],
[
160,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
30,
32
],
[
29,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
29,
38
],
[
38,
39
],
[
38,
40
],
[
29,
41
],
[
41,
42
],
[
42,
43
],
[
42,
44
],
[
41,
45
],
[
45,
46
],
[
46,
47
],
[
45,
48
],
[
48,
49
],
[
49,
50
],
[
48,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
53,
55
],
[
45,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
29,
61
],
[
61,
62
],
[
62,
63
],
[
63,
64
],
[
63,
65
],
[
61,
66
],
[
66,
67
],
[
67,
68
],
[
27,
69
],
[
69,
70
],
[
160,
71
],
[
71,
72
],
[
71,
73
],
[
73,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
75,
78
],
[
78,
79
],
[
79,
80
],
[
78,
81
],
[
78,
82
],
[
75,
83
],
[
71,
84
],
[
84,
85
],
[
71,
86
],
[
86,
87
],
[
71,
88
],
[
88,
89
],
[
160,
90
],
[
90,
91
],
[
90,
92
],
[
92,
93
],
[
92,
94
],
[
90,
95
],
[
95,
96
],
[
95,
97
],
[
90,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
103,
104
],
[
104,
105
],
[
101,
106
],
[
106,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
106,
113
],
[
113,
114
],
[
114,
115
],
[
114,
116
],
[
100,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
90,
121
],
[
121,
122
],
[
121,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
126,
127
],
[
125,
128
],
[
128,
129
],
[
90,
130
],
[
130,
131
],
[
130,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
132,
137
],
[
137,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
137,
142
],
[
142,
143
],
[
142,
144
],
[
137,
145
],
[
145,
146
],
[
146,
147
],
[
137,
148
],
[
148,
149
],
[
149,
150
],
[
150,
151
],
[
150,
152
],
[
149,
153
],
[
153,
154
],
[
132,
155
],
[
155,
156
],
[
130,
157
],
[
157,
158
],
[
0,
159
],
[
159,
160
],
[
159,
161
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.StringTokenizer;\nimport java.util.Arrays;\nimport java.lang.Math;\nimport 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 ans = new StringBuilder();\n while (n>0) {\n n--;\n ans.append((char)('a'+n%26));\n n=n/26;\n }\n System.out.println(ans.reverse());\n\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}\n",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"import java.util.ArrayList;",
"ArrayList",
"java.util",
"import java.util.StringTokenizer;",
"StringTokenizer",
"java.util",
"import java.util.Arrays;",
"Arrays",
"java.util",
"import java.lang.Math;",
"Math",
"java.lang",
"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 ans = new StringBuilder();\n while (n>0) {\n n--;\n ans.append((char)('a'+n%26));\n n=n/26;\n }\n System.out.println(ans.reverse());\n\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n>0) {\n n--;\n ans.append((char)('a'+n%26));\n n=n/26;\n }\n System.out.println(ans.reverse());\n\n\n\n\n\n\n\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n StringBuilder ans = new StringBuilder();\n while (n>0) {\n n--;\n ans.append((char)('a'+n%26));\n n=n/26;\n }\n System.out.println(ans.reverse());\n\n\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",
"StringBuilder ans = new StringBuilder();",
"ans",
"new StringBuilder()",
"while (n>0) {\n n--;\n ans.append((char)('a'+n%26));\n n=n/26;\n }",
"n>0",
"n",
"0",
"{\n n--;\n ans.append((char)('a'+n%26));\n 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=n/26",
"n",
"n/26",
"n",
"26",
"System.out.println(ans.reverse())",
"System.out.println",
"System.out",
"System",
"System.out",
"ans.reverse()",
"ans.reverse",
"ans",
"String[] args",
"args",
"public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }",
"convertFromBaseToBase",
"{\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }",
"return Integer.toString(Integer.parseInt(str, fromBase), toBase);",
"Integer.toString(Integer.parseInt(str, fromBase), toBase)",
"Integer.toString",
"Integer",
"Integer.parseInt(str, fromBase)",
"Integer.parseInt",
"Integer",
"str",
"fromBase",
"toBase",
"String str",
"str",
"int fromBase",
"fromBase",
"int toBase",
"toBase",
"static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }",
"FastScanner",
"BufferedReader br=new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st=new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }",
"while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }",
"catch (IOException e) {\n e.printStackTrace();\n }",
"IOException e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st=new StringTokenizer(br.readLine());\n }",
"st=new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt() {\n return Integer.parseInt(next());\n }",
"nextInt",
"{\n return Integer.parseInt(next());\n }",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"readArray",
"{\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"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 ans = new StringBuilder();\n while (n>0) {\n n--;\n ans.append((char)('a'+n%26));\n n=n/26;\n }\n System.out.println(ans.reverse());\n\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\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 ans = new StringBuilder();\n while (n>0) {\n n--;\n ans.append((char)('a'+n%26));\n n=n/26;\n }\n System.out.println(ans.reverse());\n\n\n\n\n\n\n\n }\n public static String convertFromBaseToBase(String str, int fromBase, int toBase) {\n return Integer.toString(Integer.parseInt(str, fromBase), toBase);\n }\n\n\n static class FastScanner {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n\n public String next() {\n while (!st.hasMoreElements())\n try {\n st=new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n int[] readArray(int n) {\n int[] a=new int[n];\n for (int i=0; i<n; i++) a[i]=nextInt();\n return a;\n }\n }\n\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.StringTokenizer;
import java.util.Arrays;
import java.lang.Math;
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 (n>0) {
n--;
ans.append((char)('a'+n%26));
n=n/26;
}
System.out.println(ans.reverse());
}
public static String convertFromBaseToBase(String str, int fromBase, int toBase) {
return Integer.toString(Integer.parseInt(str, fromBase), toBase);
}
static class FastScanner {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st=new StringTokenizer("");
public String next() {
while (!st.hasMoreElements())
try {
st=new StringTokenizer(br.readLine());
} catch (IOException e) {
e.printStackTrace();
}
return st.nextToken();
}
int nextInt() {
return Integer.parseInt(next());
}
int[] readArray(int n) {
int[] a=new int[n];
for (int i=0; i<n; i++) a[i]=nextInt();
return a;
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
0,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
42,
2,
40,
13,
17,
30,
0,
13,
2,
2,
17,
2,
13,
17,
13,
0,
13,
17,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
53,
8
],
[
53,
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
],
[
28,
29
],
[
27,
30
],
[
26,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
35,
37
],
[
37,
38
],
[
37,
39
],
[
34,
40
],
[
31,
41
],
[
41,
42
],
[
41,
43
],
[
11,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
9,
50
],
[
50,
51
],
[
0,
52
],
[
52,
53
],
[
52,
54
]
]
| [
"import java.util.*;\nimport java.util.Collections;\npublic class Main {\n\tpublic static void main(String[] args){\t\n Scanner sc = null;\n sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n \n while(N-- > 0){\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"import java.util.*;",
"util.*",
"java",
"import java.util.Collections;",
"Collections",
"java.util",
"public class Main {\n\tpublic static void main(String[] args){\t\n Scanner sc = null;\n sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n \n while(N-- > 0){\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"Main",
"public static void main(String[] args){\t\n Scanner sc = null;\n sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n \n while(N-- > 0){\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }",
"main",
"{\t\n Scanner sc = null;\n sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n \n while(N-- > 0){\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }",
"Scanner sc = null;",
"sc",
"null",
"sc = new Scanner(System.in)",
"sc",
"new Scanner(System.in)",
"long N = sc.nextLong();",
"N",
"sc.nextLong()",
"sc.nextLong",
"sc",
"String ans = \"\";",
"ans",
"\"\"",
"while(N-- > 0){\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }",
"N-- > 0",
"N--",
"N",
"0",
"{\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }",
"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.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\t\n Scanner sc = null;\n sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n \n while(N-- > 0){\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"public class Main {\n\tpublic static void main(String[] args){\t\n Scanner sc = null;\n sc = new Scanner(System.in);\n long N = sc.nextLong();\n String ans = \"\";\n \n while(N-- > 0){\n ans = (char)('a' + (N%26)) + ans;\n N /= 26;\n }\n System.out.println(ans);\n }\n}",
"Main"
]
| import java.util.*;
import java.util.Collections;
public class Main {
public static void main(String[] args){
Scanner sc = null;
sc = new Scanner(System.in);
long N = sc.nextLong();
String ans = "";
while(N-- > 0){
ans = (char)('a' + (N%26)) + ans;
N /= 26;
}
System.out.println(ans);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
16,
21
],
[
21,
22
],
[
21,
23
],
[
23,
24
],
[
23,
25
],
[
16,
26
],
[
26,
27
],
[
27,
28
],
[
16,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
32,
33
],
[
32,
34
],
[
31,
35
],
[
35,
36
],
[
36,
37
],
[
8,
38
],
[
38,
39
],
[
39,
40
],
[
40,
41
],
[
40,
42
],
[
38,
43
],
[
43,
44
],
[
43,
45
],
[
45,
46
],
[
45,
47
],
[
38,
48
],
[
48,
49
],
[
49,
50
],
[
38,
51
],
[
52,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
54,
58
],
[
53,
59
],
[
59,
60
],
[
60,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
60,
65
],
[
65,
66
],
[
65,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\npublic class Main\n{\n\tpublic static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\nint arr[] = new int[5];\nfor(int i=0; i<arr.length; i++){\narr[i] = sc.nextInt();\n}\nfor(int i=0; i<arr.length; i++){\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}\n}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\nint arr[] = new int[5];\nfor(int i=0; i<arr.length; i++){\narr[i] = sc.nextInt();\n}\nfor(int i=0; i<arr.length; i++){\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}\n}\n}",
"Main",
"public static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\nint arr[] = new int[5];\nfor(int i=0; i<arr.length; i++){\narr[i] = sc.nextInt();\n}\nfor(int i=0; i<arr.length; i++){\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}\n}",
"main",
"{\n\tScanner sc=new Scanner(System.in);\nint arr[] = new int[5];\nfor(int i=0; i<arr.length; i++){\narr[i] = sc.nextInt();\n}\nfor(int i=0; i<arr.length; i++){\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}\n}",
"Scanner sc=new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int arr[] = new int[5];",
"arr",
"new int[5]",
"5",
"for(int i=0; i<arr.length; i++){\narr[i] = sc.nextInt();\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\narr[i] = sc.nextInt();\n}",
"{\narr[i] = sc.nextInt();\n}",
"arr[i] = sc.nextInt()",
"arr[i]",
"arr",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0; i<arr.length; i++){\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<arr.length",
"i",
"arr.length",
"arr",
"arr.length",
"i++",
"i++",
"i",
"{\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}",
"{\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}",
"if(arr[i] == 0){\nSystem.out.print(i+1);\n}",
"arr[i] == 0",
"arr[i]",
"arr",
"i",
"0",
"{\nSystem.out.print(i+1);\n}",
"System.out.print(i+1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String[] args",
"args",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\nint arr[] = new int[5];\nfor(int i=0; i<arr.length; i++){\narr[i] = sc.nextInt();\n}\nfor(int i=0; i<arr.length; i++){\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}\n}\n}",
"public class Main\n{\n\tpublic static void main(String[] args) {\n\tScanner sc=new Scanner(System.in);\nint arr[] = new int[5];\nfor(int i=0; i<arr.length; i++){\narr[i] = sc.nextInt();\n}\nfor(int i=0; i<arr.length; i++){\nif(arr[i] == 0){\nSystem.out.print(i+1);\n}\n//System.out.println();\n}\n}\n}",
"Main"
]
| import java.util.*;
public class Main
{
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int arr[] = new int[5];
for(int i=0; i<arr.length; i++){
arr[i] = sc.nextInt();
}
for(int i=0; i<arr.length; i++){
if(arr[i] == 0){
System.out.print(i+1);
}
//System.out.println();
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
28,
13,
13,
30,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
4,
18,
13,
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
],
[
67,
11
],
[
67,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
14,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
21,
29
],
[
29,
30
],
[
30,
31
],
[
21,
32
],
[
33,
33
],
[
33,
34
],
[
34,
35
],
[
35,
36
],
[
34,
37
],
[
37,
38
],
[
38,
39
],
[
14,
40
],
[
40,
41
],
[
40,
42
],
[
40,
43
],
[
44,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
50,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
56,
59
],
[
55,
60
],
[
14,
61
],
[
61,
62
],
[
62,
63
],
[
12,
64
],
[
64,
65
],
[
0,
66
],
[
66,
67
],
[
66,
68
]
]
| [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\n// ABC170-A\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<Integer> x = new ArrayList<>();\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tx.add(sc.nextInt());\n\t\t}\n\n\t\tfor (Integer i : x) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}\n\n\t\tsc.close();\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\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<Integer> x = new ArrayList<>();\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tx.add(sc.nextInt());\n\t\t}\n\n\t\tfor (Integer i : x) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<Integer> x = new ArrayList<>();\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tx.add(sc.nextInt());\n\t\t}\n\n\t\tfor (Integer i : x) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}\n\n\t\tsc.close();\n\t}",
"main",
"{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<Integer> x = new ArrayList<>();\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tx.add(sc.nextInt());\n\t\t}\n\n\t\tfor (Integer i : x) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}\n\n\t\tsc.close();\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"List<Integer> x = new ArrayList<>();",
"x",
"new ArrayList<>()",
"for (int i = 0; i < 5; i++) {\n\t\t\tx.add(sc.nextInt());\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tx.add(sc.nextInt());\n\t\t}",
"{\n\t\t\tx.add(sc.nextInt());\n\t\t}",
"x.add(sc.nextInt())",
"x.add",
"x",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for (Integer i : x) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}",
"Integer i",
"x",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}",
"{\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}",
"if (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}",
"i == 0",
"i",
"0",
"{\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}",
"System.out.println(x.indexOf(i) + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"x.indexOf(i) + 1",
"x.indexOf(i)",
"x.indexOf",
"x",
"i",
"1",
"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\n\t\tList<Integer> x = new ArrayList<>();\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tx.add(sc.nextInt());\n\t\t}\n\n\t\tfor (Integer i : x) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tList<Integer> x = new ArrayList<>();\n\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tx.add(sc.nextInt());\n\t\t}\n\n\t\tfor (Integer i : x) {\n\t\t\tif (i == 0) {\n\t\t\t\tSystem.out.println(x.indexOf(i) + 1);\n\t\t\t}\n\t\t}\n\n\t\tsc.close();\n\t}\n}",
"Main"
]
| import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
// ABC170-A
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
List<Integer> x = new ArrayList<>();
for (int i = 0; i < 5; i++) {
x.add(sc.nextInt());
}
for (Integer i : x) {
if (i == 0) {
System.out.println(x.indexOf(i) + 1);
}
}
sc.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
4,
13,
23,
13,
12,
13,
30,
38,
30,
41,
13,
20,
41,
13,
20,
17,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
0,
18,
13,
17,
4,
18,
13,
4,
18,
13,
41,
13,
17,
28,
13,
13,
30,
30,
14,
2,
13,
17,
30,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
17,
17,
30,
4,
18,
18,
13,
13,
2,
18,
13,
2,
13,
17,
17,
40,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
6,
11
],
[
11,
12
],
[
119,
13
],
[
13,
14
],
[
13,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
25
],
[
25,
26
],
[
26,
27
],
[
26,
28
],
[
25,
29
],
[
29,
30
],
[
30,
31
],
[
29,
32
],
[
32,
33
],
[
33,
34
],
[
17,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
35,
39
],
[
39,
40
],
[
40,
41
],
[
39,
42
],
[
42,
43
],
[
43,
44
],
[
17,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
45,
49
],
[
49,
50
],
[
50,
51
],
[
49,
52
],
[
52,
53
],
[
53,
54
],
[
17,
55
],
[
55,
56
],
[
56,
57
],
[
56,
58
],
[
55,
59
],
[
59,
60
],
[
60,
61
],
[
59,
62
],
[
62,
63
],
[
63,
64
],
[
17,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
65,
69
],
[
69,
70
],
[
70,
71
],
[
69,
72
],
[
72,
73
],
[
73,
74
],
[
17,
75
],
[
75,
76
],
[
75,
77
],
[
17,
78
],
[
78,
79
],
[
78,
80
],
[
78,
81
],
[
82,
82
],
[
82,
83
],
[
83,
84
],
[
84,
85
],
[
84,
86
],
[
83,
87
],
[
87,
88
],
[
88,
89
],
[
89,
90
],
[
89,
91
],
[
88,
92
],
[
92,
93
],
[
93,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
93,
98
],
[
98,
99
],
[
99,
100
],
[
99,
101
],
[
98,
102
],
[
88,
103
],
[
103,
104
],
[
104,
105
],
[
105,
106
],
[
106,
107
],
[
106,
108
],
[
104,
109
],
[
109,
110
],
[
110,
111
],
[
110,
112
],
[
112,
113
],
[
112,
114
],
[
109,
115
],
[
82,
116
],
[
116,
117
],
[
0,
118
],
[
118,
119
],
[
118,
120
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n a();\n }\n\n public static void a() {\n try (Scanner sc = new Scanner(System.in)) {\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }\n }\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n public static void main(String[] args) {\n a();\n }\n\n public static void a() {\n try (Scanner sc = new Scanner(System.in)) {\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n a();\n }",
"main",
"{\n a();\n }",
"a()",
"a",
"String[] args",
"args",
"public static void a() {\n try (Scanner sc = new Scanner(System.in)) {\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }\n }",
"a",
"{\n try (Scanner sc = new Scanner(System.in)) {\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }\n }",
"try (Scanner sc = new Scanner(System.in)) {\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }",
"{\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }",
"Scanner sc = new Scanner(System.in)",
"Scanner sc = new Scanner(System.in)",
"new Scanner(System.in)",
"int[] a = new int[5];",
"a",
"new int[5]",
"5",
"a[0] = Integer.parseInt(sc.next())",
"a[0]",
"a",
"0",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"a[1] = Integer.parseInt(sc.next())",
"a[1]",
"a",
"1",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"a[2] = Integer.parseInt(sc.next())",
"a[2]",
"a",
"2",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"a[3] = Integer.parseInt(sc.next())",
"a[3]",
"a",
"3",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"a[4] = Integer.parseInt(sc.next())",
"a[4]",
"a",
"4",
"Integer.parseInt(sc.next())",
"Integer.parseInt",
"Integer",
"sc.next()",
"sc.next",
"sc",
"int count = 0;",
"count",
"0",
"for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }",
"int b",
"a",
"{\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }",
"{\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }",
"if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }",
"b == 0",
"b",
"0",
"{\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }",
"if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }",
"count == 4",
"count",
"4",
"{\n System.out.println(a[3] + 1);\n }",
"System.out.println(a[3] + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"a[3] + 1",
"a[3]",
"a",
"3",
"1",
"{\n System.out.println(a[count + 1] - 1);\n }",
"System.out.println(a[count + 1] - 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"a[count + 1] - 1",
"a[count + 1]",
"a",
"count + 1",
"count",
"1",
"1",
"count++",
"count",
"public class Main {\n public static void main(String[] args) {\n a();\n }\n\n public static void a() {\n try (Scanner sc = new Scanner(System.in)) {\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n a();\n }\n\n public static void a() {\n try (Scanner sc = new Scanner(System.in)) {\n int[] a = new int[5];\n a[0] = Integer.parseInt(sc.next());\n a[1] = Integer.parseInt(sc.next());\n a[2] = Integer.parseInt(sc.next());\n a[3] = Integer.parseInt(sc.next());\n a[4] = Integer.parseInt(sc.next());\n\n int count = 0;\n\n for (int b : a) {\n if (b == 0) {\n if (count == 4) {\n System.out.println(a[3] + 1);\n } else {\n System.out.println(a[count + 1] - 1);\n }\n }\n count++;\n }\n }\n }\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
a();
}
public static void a() {
try (Scanner sc = new Scanner(System.in)) {
int[] a = new int[5];
a[0] = Integer.parseInt(sc.next());
a[1] = Integer.parseInt(sc.next());
a[2] = Integer.parseInt(sc.next());
a[3] = Integer.parseInt(sc.next());
a[4] = Integer.parseInt(sc.next());
int count = 0;
for (int b : a) {
if (b == 0) {
if (count == 4) {
System.out.println(a[3] + 1);
} else {
System.out.println(a[count + 1] - 1);
}
}
count++;
}
}
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
4,
18,
18,
13,
13,
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
],
[
295,
8
],
[
295,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
[
11,
15
],
[
15,
16
],
[
15,
17
],
[
11,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
11,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
9,
42
],
[
42,
43
],
[
0,
44
],
[
44,
45
],
[
44,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
48,
50
],
[
44,
51
],
[
51,
52
],
[
51,
53
],
[
44,
55
],
[
55,
56
],
[
55,
57
],
[
44,
58
],
[
58,
59
],
[
58,
60
],
[
44,
61
],
[
61,
62
],
[
61,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
64,
68
],
[
68,
69
],
[
69,
70
],
[
64,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
71,
75
],
[
75,
76
],
[
76,
77
],
[
76,
78
],
[
78,
79
],
[
79,
80
],
[
80,
81
],
[
75,
82
],
[
82,
83
],
[
83,
84
],
[
83,
85
],
[
85,
86
],
[
86,
87
],
[
85,
88
],
[
71,
89
],
[
89,
90
],
[
90,
91
],
[
90,
92
],
[
89,
93
],
[
93,
94
],
[
94,
95
],
[
63,
96
],
[
96,
97
],
[
44,
98
],
[
98,
99
],
[
98,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
105,
106
],
[
105,
107
],
[
107,
108
],
[
101,
109
],
[
109,
110
],
[
110,
111
],
[
44,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
116,
117
],
[
117,
118
],
[
117,
119
],
[
116,
120
],
[
120,
121
],
[
120,
122
],
[
112,
123
],
[
123,
124
],
[
44,
125
],
[
125,
126
],
[
125,
127
],
[
127,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
129,
132
],
[
132,
133
],
[
133,
134
],
[
133,
135
],
[
135,
136
],
[
135,
137
],
[
128,
138
],
[
138,
139
],
[
127,
140
],
[
140,
141
],
[
141,
142
],
[
44,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
147,
148
],
[
148,
149
],
[
146,
150
],
[
150,
151
],
[
145,
152
],
[
152,
153
],
[
152,
154
],
[
145,
155
],
[
155,
156
],
[
155,
157
],
[
157,
158
],
[
145,
159
],
[
159,
160
],
[
160,
161
],
[
160,
162
],
[
159,
163
],
[
163,
164
],
[
164,
165
],
[
165,
166
],
[
164,
167
],
[
163,
168
],
[
168,
169
],
[
168,
170
],
[
170,
171
],
[
145,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
44,
176
],
[
176,
177
],
[
176,
178
],
[
178,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
179,
183
],
[
183,
184
],
[
178,
185
],
[
185,
186
],
[
185,
187
],
[
178,
188
],
[
188,
189
],
[
188,
190
],
[
178,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
178,
195
],
[
195,
196
],
[
196,
197
],
[
196,
198
],
[
195,
199
],
[
199,
200
],
[
200,
201
],
[
200,
202
],
[
199,
203
],
[
203,
204
],
[
203,
205
],
[
205,
206
],
[
178,
207
],
[
207,
208
],
[
208,
209
],
[
209,
210
],
[
209,
211
],
[
208,
212
],
[
212,
213
],
[
212,
214
],
[
207,
215
],
[
215,
216
],
[
216,
217
],
[
178,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
221,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
226,
228
],
[
221,
229
],
[
229,
230
],
[
230,
231
],
[
230,
232
],
[
229,
233
],
[
233,
234
],
[
233,
235
],
[
235,
236
],
[
235,
237
],
[
221,
238
],
[
238,
239
],
[
239,
240
],
[
240,
241
],
[
240,
242
],
[
242,
243
],
[
239,
244
],
[
244,
245
],
[
245,
246
],
[
245,
247
],
[
238,
248
],
[
248,
249
],
[
249,
250
],
[
250,
251
],
[
250,
252
],
[
252,
253
],
[
250,
254
],
[
238,
255
],
[
255,
256
],
[
256,
257
],
[
220,
258
],
[
258,
259
],
[
258,
260
],
[
260,
261
],
[
44,
262
],
[
262,
263
],
[
262,
264
],
[
264,
265
],
[
265,
266
],
[
265,
267
],
[
267,
268
],
[
264,
269
],
[
269,
270
],
[
270,
271
],
[
271,
272
],
[
271,
273
],
[
273,
274
],
[
273,
275
],
[
270,
276
],
[
276,
277
],
[
276,
278
],
[
278,
279
],
[
278,
280
],
[
269,
281
],
[
281,
282
],
[
264,
283
],
[
283,
284
],
[
44,
285
],
[
285,
286
],
[
285,
287
],
[
287,
288
],
[
288,
289
],
[
289,
290
],
[
290,
291
],
[
289,
292
],
[
292,
293
],
[
0,
294
],
[
294,
295
],
[
294,
296
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tint ans = 15;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tans -= fs.nextInt();\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}\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\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\n\tprivate int readByte() {\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}\n\n\tprivate static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}\n\n\tpublic boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}\n\n\tpublic String next() {\n\t\tif (!hasNext())\n\t\t\tthrow 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\n\tpublic long nextLong() {\n\t\tif (!hasNext())\n\t\t\tthrow 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\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\n\tpublic double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tint ans = 15;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tans -= fs.nextInt();\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main",
"public static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tint ans = 15;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tans -= fs.nextInt();\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"main",
"{\n\t\tFastScanner fs = new FastScanner();\n\t\tint ans = 15;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tans -= fs.nextInt();\n\t\t}\n\t\tSystem.out.println(ans);\n\t}",
"FastScanner fs = new FastScanner();",
"fs",
"new FastScanner()",
"int ans = 15;",
"ans",
"15",
"for (int i = 0; i < 5; i++) {\n\t\t\tans -= fs.nextInt();\n\t\t}",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tans -= fs.nextInt();\n\t\t}",
"{\n\t\t\tans -= fs.nextInt();\n\t\t}",
"ans -= fs.nextInt()",
"ans",
"fs.nextInt()",
"fs.nextInt",
"fs",
"System.out.println(ans)",
"System.out.println",
"System.out",
"System",
"System.out",
"ans",
"String[] args",
"args",
"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\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\n\tprivate int readByte() {\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}\n\n\tprivate static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}\n\n\tpublic boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}\n\n\tpublic String next() {\n\t\tif (!hasNext())\n\t\t\tthrow 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\n\tpublic long nextLong() {\n\t\tif (!hasNext())\n\t\t\tthrow 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\n\tpublic int nextInt() {\n\t\tlong nl = nextLong();\n\t\tif (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow new NumberFormatException();\n\t\treturn (int) nl;\n\t}\n\n\tpublic double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\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() {\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}",
"readByte",
"{\n\t\tif (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;\n\t}",
"if (hasNextByte())\n\t\t\treturn buffer[ptr++];\n\t\telse\n\t\t\treturn -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t\treturn 33 <= c && c <= 126;\n\t}",
"isPrintableChar",
"{\n\t\treturn 33 <= c && c <= 126;\n\t}",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"public boolean hasNext() {\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}",
"hasNext",
"{\n\t\twhile (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;\n\t\treturn hasNextByte();\n\t}",
"while (hasNextByte() && !isPrintableChar(buffer[ptr]))\n\t\t\tptr++;",
"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())\n\t\t\tthrow 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())\n\t\t\tthrow 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())\n\t\t\tthrow 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())\n\t\t\tthrow 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())\n\t\t\tthrow 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())\n\t\t\tthrow 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)\n\t\t\tthrow 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)\n\t\t\tthrow new NumberFormatException();\n\t\treturn (int) nl;\n\t}",
"long nl = nextLong();",
"nl",
"nextLong()",
"nextLong",
"if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE)\n\t\t\tthrow 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\t\treturn Double.parseDouble(next());\n\t}",
"nextDouble",
"{\n\t\treturn Double.parseDouble(next());\n\t}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tint ans = 15;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tans -= fs.nextInt();\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner fs = new FastScanner();\n\t\tint ans = 15;\n\t\tfor (int i = 0; i < 5; i++) {\n\t\t\tans -= fs.nextInt();\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastScanner fs = new FastScanner();
int ans = 15;
for (int i = 0; i < 5; i++) {
ans -= fs.nextInt();
}
System.out.println(ans);
}
}
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,
42,
2,
13,
13,
30,
14,
2,
13,
13,
0,
13,
13,
0,
13,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
18,
13,
2,
13,
17,
29,
17,
29,
17,
23,
13,
23,
13,
12,
13,
30,
14,
2,
13,
17,
29,
17,
14,
2,
2,
13,
17,
17,
29,
17,
11,
1,
41,
13,
17,
2,
13,
2,
13,
17,
1,
0,
13,
17,
30,
30,
14,
2,
2,
13,
13,
17,
29,
17,
29,
17,
23,
13,
12,
13,
30,
28,
13,
13,
30,
30,
4,
18,
18,
13,
13,
2,
13,
17,
4,
18,
18,
13,
13,
23,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
17,
41,
13,
14,
2,
18,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
4,
18,
18,
13,
13,
17,
14,
2,
18,
13,
17,
17,
4,
18,
18,
13,
13,
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,
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,
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
],
[
358,
8
],
[
358,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
],
[
13,
15
],
[
12,
16
],
[
16,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
17,
21
],
[
21,
22
],
[
21,
23
],
[
17,
24
],
[
24,
25
],
[
24,
26
],
[
11,
27
],
[
27,
28
],
[
9,
29
],
[
29,
30
],
[
9,
31
],
[
31,
32
],
[
358,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
36,
41
],
[
41,
42
],
[
41,
43
],
[
36,
44
],
[
44,
45
],
[
45,
46
],
[
36,
47
],
[
48,
48
],
[
48,
49
],
[
49,
50
],
[
50,
51
],
[
51,
52
],
[
51,
53
],
[
50,
54
],
[
54,
55
],
[
54,
56
],
[
56,
57
],
[
56,
58
],
[
49,
59
],
[
59,
60
],
[
35,
61
],
[
61,
62
],
[
33,
63
],
[
63,
64
],
[
33,
65
],
[
65,
66
],
[
358,
67
],
[
67,
68
],
[
67,
69
],
[
69,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
70,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
76,
82
],
[
82,
83
],
[
69,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
84,
89
],
[
89,
90
],
[
89,
91
],
[
91,
92
],
[
91,
93
],
[
84,
94
],
[
94,
95
],
[
95,
96
],
[
95,
97
],
[
84,
98
],
[
99,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
102,
104
],
[
101,
105
],
[
100,
106
],
[
106,
107
],
[
69,
108
],
[
108,
109
],
[
67,
110
],
[
110,
111
],
[
358,
112
],
[
112,
113
],
[
112,
114
],
[
114,
115
],
[
115,
116
],
[
115,
117
],
[
115,
118
],
[
119,
119
],
[
119,
120
],
[
120,
121
],
[
121,
122
],
[
122,
123
],
[
122,
124
],
[
120,
125
],
[
125,
126
],
[
125,
127
],
[
114,
128
],
[
128,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
112,
133
],
[
133,
134
],
[
358,
135
],
[
135,
136
],
[
135,
137
],
[
137,
138
],
[
138,
139
],
[
138,
140
],
[
137,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
137,
147
],
[
147,
148
],
[
137,
149
],
[
149,
150
],
[
150,
151
],
[
151,
152
],
[
151,
153
],
[
150,
154
],
[
149,
155
],
[
155,
156
],
[
156,
157
],
[
157,
158
],
[
157,
159
],
[
155,
160
],
[
149,
161
],
[
161,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
162,
166
],
[
161,
167
],
[
167,
168
],
[
168,
169
],
[
169,
170
],
[
169,
171
],
[
167,
172
],
[
161,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
173,
179
],
[
179,
180
],
[
180,
181
],
[
181,
182
],
[
181,
183
],
[
179,
184
],
[
173,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
187,
189
],
[
186,
190
],
[
185,
191
],
[
191,
192
],
[
192,
193
],
[
193,
194
],
[
193,
195
],
[
191,
196
],
[
185,
197
],
[
197,
198
],
[
198,
199
],
[
199,
200
],
[
199,
201
],
[
198,
202
],
[
197,
203
],
[
203,
204
],
[
204,
205
],
[
205,
206
],
[
205,
207
],
[
203,
208
],
[
135,
209
],
[
209,
210
],
[
358,
211
],
[
211,
212
],
[
211,
213
],
[
213,
214
],
[
211,
215
],
[
215,
216
],
[
211,
217
],
[
217,
218
],
[
217,
219
],
[
219,
220
],
[
220,
221
],
[
220,
222
],
[
211,
223
],
[
223,
224
],
[
223,
225
],
[
225,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
228,
230
],
[
227,
231
],
[
231,
232
],
[
232,
233
],
[
233,
234
],
[
226,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
237,
239
],
[
239,
240
],
[
240,
241
],
[
241,
242
],
[
236,
243
],
[
243,
244
],
[
244,
245
],
[
244,
246
],
[
225,
247
],
[
247,
248
],
[
248,
249
],
[
249,
250
],
[
211,
251
],
[
251,
252
],
[
251,
253
],
[
253,
254
],
[
254,
255
],
[
255,
256
],
[
256,
257
],
[
255,
258
],
[
258,
259
],
[
211,
260
],
[
260,
261
],
[
260,
262
],
[
262,
263
],
[
263,
264
],
[
264,
265
],
[
265,
266
],
[
264,
267
],
[
267,
268
],
[
211,
269
],
[
269,
270
],
[
269,
271
],
[
271,
272
],
[
272,
273
],
[
273,
274
],
[
274,
275
],
[
273,
276
],
[
276,
277
],
[
211,
278
],
[
278,
279
],
[
278,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
285
],
[
285,
286
],
[
286,
287
],
[
287,
288
],
[
287,
289
],
[
285,
290
],
[
290,
291
],
[
290,
292
],
[
285,
293
],
[
293,
294
],
[
294,
295
],
[
285,
296
],
[
296,
297
],
[
297,
298
],
[
298,
299
],
[
298,
300
],
[
297,
301
],
[
301,
302
],
[
280,
303
],
[
303,
304
],
[
278,
305
],
[
305,
306
],
[
211,
307
],
[
307,
308
],
[
307,
309
],
[
309,
310
],
[
310,
311
],
[
310,
312
],
[
309,
314
],
[
314,
315
],
[
315,
316
],
[
316,
317
],
[
316,
318
],
[
314,
319
],
[
319,
320
],
[
319,
321
],
[
314,
322
],
[
322,
323
],
[
323,
324
],
[
314,
325
],
[
325,
326
],
[
326,
327
],
[
327,
328
],
[
327,
329
],
[
326,
330
],
[
330,
331
],
[
309,
332
],
[
332,
333
],
[
307,
334
],
[
334,
335
],
[
211,
336
],
[
336,
337
],
[
336,
338
],
[
338,
339
],
[
339,
340
],
[
339,
341
],
[
338,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
347,
348
],
[
342,
349
],
[
349,
350
],
[
350,
351
],
[
350,
352
],
[
352,
353
],
[
353,
354
],
[
338,
355
],
[
355,
356
],
[
0,
357
],
[
357,
358
],
[
357,
359
]
]
| [
"import java.io.*;import java.util.*;\n\npublic class Main{\n static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader();\n //int t = s.nextInt();\n int[] a = s.readArray(5);\n boolean test;\n //while(t>0){\n //test=true;\n if(a[0]==0) System.out.println(\"1\");\n else if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");\n //t--;\n // }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader();\n //int t = s.nextInt();\n int[] a = s.readArray(5);\n boolean test;\n //while(t>0){\n //test=true;\n if(a[0]==0) System.out.println(\"1\");\n else if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");\n //t--;\n // }\n }\n}",
"Main",
"static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }",
"getgcd",
"{\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }",
"while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }",
"n1 != n2",
"n1",
"n2",
"{\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }",
"if(n1 > n2) n1 -= n2;\n else n2 -= n1;",
"n1 > n2",
"n1",
"n2",
"n1 -= n2",
"n1",
"n2",
"n2 -= n1",
"n2",
"n1",
"return n1;",
"n1",
"int n1",
"n1",
"int n2",
"n2",
"static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }",
"isSorted",
"{\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }",
"for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }",
"int i=1;",
"int i=1;",
"i",
"1",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"{\n if(arr[i]<arr[i-1]) return false;\n }",
"{\n if(arr[i]<arr[i-1]) return false;\n }",
"if(arr[i]<arr[i-1]) return false;",
"arr[i]<arr[i-1]",
"arr[i]",
"arr",
"i",
"arr[i-1]",
"arr",
"i-1",
"i",
"1",
"return false;",
"false",
"return true;",
"true",
"int[] arr",
"arr",
"int n",
"n",
"static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }",
"isPrime",
"{\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }",
"if(n==2) return true;\n else if(n%2==0) return false;",
"n==2",
"n",
"2",
"return true;",
"true",
"if(n%2==0) return false;",
"n%2==0",
"n%2",
"n",
"2",
"0",
"return false;",
"false",
"for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }",
"int i=3;",
"int i=3;",
"i",
"3",
"i<=n/2",
"i",
"n/2",
"n",
"2",
"i+=2",
"i+=2",
"i",
"2",
"{\n if(n%i==0) return false;\n }",
"{\n if(n%i==0) return false;\n }",
"if(n%i==0) return false;",
"n%i==0",
"n%i",
"n",
"i",
"0",
"return false;",
"false",
"return true;",
"true",
"long n",
"n",
"static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }",
"printArray",
"{\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }",
"for(int x:arr){\n System.out.print(x+\" \");\n }",
"int x",
"arr",
"{\n System.out.print(x+\" \");\n }",
"{\n System.out.print(x+\" \");\n }",
"System.out.print(x+\" \")",
"System.out.print",
"System.out",
"System",
"System.out",
"x+\" \"",
"x",
"\" \"",
"System.out.println()",
"System.out.println",
"System.out",
"System",
"System.out",
"int[] arr",
"arr",
"public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader();\n //int t = s.nextInt();\n int[] a = s.readArray(5);\n boolean test;\n //while(t>0){\n //test=true;\n if(a[0]==0) System.out.println(\"1\");\n else if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");\n //t--;\n // }\n }",
"main",
"{\n FastReader s=new FastReader();\n //int t = s.nextInt();\n int[] a = s.readArray(5);\n boolean test;\n //while(t>0){\n //test=true;\n if(a[0]==0) System.out.println(\"1\");\n else if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");\n //t--;\n // }\n }",
"FastReader s=new FastReader();",
"s",
"new FastReader()",
"int[] a = s.readArray(5);",
"a",
"s.readArray(5)",
"s.readArray",
"s",
"5",
"boolean test;",
"test",
"if(a[0]==0) System.out.println(\"1\");\n else if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");",
"a[0]==0",
"a[0]",
"a",
"0",
"0",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");",
"a[1]==0",
"a[1]",
"a",
"1",
"0",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");",
"a[2]==0",
"a[2]",
"a",
"2",
"0",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");",
"a[3]==0",
"a[3]",
"a",
"3",
"0",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"if(a[4]==0) System.out.println(\"5\");",
"a[4]==0",
"a[4]",
"a",
"4",
"0",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"String[] args",
"args",
"static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }",
"FastReader",
"BufferedReader br;",
"br",
"StringTokenizer st;",
"st",
"public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}",
"FastReader",
"{br = new BufferedReader(new InputStreamReader(System.in));}",
"br = new BufferedReader(new InputStreamReader(System.in))",
"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();}",
"next",
"{while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}",
"while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}",
"st == null || !st.hasMoreElements()",
"st == null",
"st",
"null",
"!st.hasMoreElements()",
"st.hasMoreElements()",
"st.hasMoreElements",
"st",
"{try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}",
"try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}",
"catch (IOException e){e.printStackTrace();}",
"IOException e",
"{e.printStackTrace();}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{st = new StringTokenizer(br.readLine());}",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"int nextInt(){return Integer.parseInt(next());}",
"nextInt",
"{return Integer.parseInt(next());}",
"return Integer.parseInt(next());",
"Integer.parseInt(next())",
"Integer.parseInt",
"Integer",
"next()",
"next",
"long nextLong(){return Long.parseLong(next());}",
"nextLong",
"{return Long.parseLong(next());}",
"return Long.parseLong(next());",
"Long.parseLong(next())",
"Long.parseLong",
"Long",
"next()",
"next",
"double nextDouble(){return Double.parseDouble(next());}",
"nextDouble",
"{return Double.parseDouble(next());}",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}",
"readArray",
"{int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}",
"int[] a=new int[n];",
"a",
"new int[n]",
"n",
"for (int i=0; i<n; i++) a[i]=nextInt();",
"int i=0;",
"int i=0;",
"i",
"0",
"i<n",
"i",
"n",
"i++",
"i++",
"i",
"a[i]=nextInt();",
"a[i]=nextInt()",
"a[i]",
"a",
"i",
"nextInt()",
"nextInt",
"return a;",
"a",
"int n",
"n",
"long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}",
"readLongArray",
"{long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}",
"long[] a=new long[n];",
"a",
"new long[n]",
"n",
"for (int i=0; i<n; i++) 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",
"int n",
"n",
"String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}",
"nextLine",
"{String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}",
"String str = \"\";",
"str",
"\"\"",
"try{str = br.readLine();}catch (IOException e){e.printStackTrace();}",
"catch (IOException e){e.printStackTrace();}",
"IOException e",
"{e.printStackTrace();}",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{str = br.readLine();}",
"str = br.readLine()",
"str",
"br.readLine()",
"br.readLine",
"br",
"return str;",
"str",
"public class Main{\n static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader();\n //int t = s.nextInt();\n int[] a = s.readArray(5);\n boolean test;\n //while(t>0){\n //test=true;\n if(a[0]==0) System.out.println(\"1\");\n else if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");\n //t--;\n // }\n }\n}",
"public class Main{\n static class FastReader{\n BufferedReader br; \n StringTokenizer st; \n public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));} \n String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();} \n int nextInt(){return Integer.parseInt(next());} \n long nextLong(){return Long.parseLong(next());} \n double nextDouble(){return Double.parseDouble(next());} \n int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}\n long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}\n String nextLine(){String str = \"\";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;} \n }\n static int getgcd(int n1,int n2){\n while(n1 != n2){\n if(n1 > n2) n1 -= n2;\n else n2 -= n1;\n }\n return n1;\n }\n static boolean isSorted(int[] arr, int n){\n for(int i=1;i<n;i++){\n if(arr[i]<arr[i-1]) return false;\n }\n return true;\n }\n static boolean isPrime(long n){\n if(n==2) return true;\n else if(n%2==0) return false;\n for(int i=3;i<=n/2;i+=2){\n if(n%i==0) return false;\n }\n return true;\n }\n static void printArray(int[] arr){\n for(int x:arr){\n System.out.print(x+\" \");\n }\n System.out.println();\n }\n public static void main(String[] args) throws NumberFormatException, IOException {\n FastReader s=new FastReader();\n //int t = s.nextInt();\n int[] a = s.readArray(5);\n boolean test;\n //while(t>0){\n //test=true;\n if(a[0]==0) System.out.println(\"1\");\n else if(a[1]==0) System.out.println(\"2\");\n else if(a[2]==0) System.out.println(\"3\");\n else if(a[3]==0) System.out.println(\"4\");\n else if(a[4]==0) System.out.println(\"5\");\n //t--;\n // }\n }\n}",
"Main"
]
| import java.io.*;import java.util.*;
public class Main{
static class FastReader{
BufferedReader br;
StringTokenizer st;
public FastReader(){br = new BufferedReader(new InputStreamReader(System.in));}
String next(){while (st == null || !st.hasMoreElements()){try{st = new StringTokenizer(br.readLine());}catch (IOException e){e.printStackTrace();}}return st.nextToken();}
int nextInt(){return Integer.parseInt(next());}
long nextLong(){return Long.parseLong(next());}
double nextDouble(){return Double.parseDouble(next());}
int[] readArray(int n){int[] a=new int[n];for (int i=0; i<n; i++) a[i]=nextInt();return a;}
long[] readLongArray(int n){long[] a=new long[n];for (int i=0; i<n; i++) a[i]=nextLong();return a;}
String nextLine(){String str = "";try{str = br.readLine();}catch (IOException e){e.printStackTrace();}return str;}
}
static int getgcd(int n1,int n2){
while(n1 != n2){
if(n1 > n2) n1 -= n2;
else n2 -= n1;
}
return n1;
}
static boolean isSorted(int[] arr, int n){
for(int i=1;i<n;i++){
if(arr[i]<arr[i-1]) return false;
}
return true;
}
static boolean isPrime(long n){
if(n==2) return true;
else if(n%2==0) return false;
for(int i=3;i<=n/2;i+=2){
if(n%i==0) return false;
}
return true;
}
static void printArray(int[] arr){
for(int x:arr){
System.out.print(x+" ");
}
System.out.println();
}
public static void main(String[] args) throws NumberFormatException, IOException {
FastReader s=new FastReader();
//int t = s.nextInt();
int[] a = s.readArray(5);
boolean test;
//while(t>0){
//test=true;
if(a[0]==0) System.out.println("1");
else if(a[1]==0) System.out.println("2");
else if(a[2]==0) System.out.println("3");
else if(a[3]==0) System.out.println("4");
else if(a[4]==0) System.out.println("5");
//t--;
// }
}
} |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
13,
2,
13,
17,
3,
4,
18,
13,
23,
13,
12,
13,
30,
6,
13,
41,
13,
20,
41,
13,
20,
12,
13,
30,
42,
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,
38,
5,
13,
30,
4,
18,
13,
30,
29,
4,
18,
13,
29,
17,
12,
13,
30,
41,
13,
17,
38,
5,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
29,
17,
0,
13,
20,
29,
17,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
161,
8
],
[
161,
9
],
[
9,
10
],
[
9,
11
],
[
161,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
19,
20
],
[
20,
21
],
[
20,
22
],
[
18,
23
],
[
23,
24
],
[
23,
25
],
[
18,
26
],
[
26,
27
],
[
27,
28
],
[
18,
29
],
[
30,
30
],
[
30,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
34,
35
],
[
30,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
36,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
41,
44
],
[
44,
45
],
[
44,
46
],
[
40,
47
],
[
14,
48
],
[
48,
49
],
[
49,
50
],
[
12,
51
],
[
51,
52
],
[
161,
53
],
[
53,
54
],
[
53,
55
],
[
161,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
58,
60
],
[
56,
61
],
[
61,
62
],
[
61,
63
],
[
56,
64
],
[
64,
65
],
[
64,
66
],
[
66,
67
],
[
67,
68
],
[
68,
69
],
[
69,
70
],
[
70,
71
],
[
67,
72
],
[
72,
73
],
[
73,
74
],
[
74,
75
],
[
74,
76
],
[
76,
77
],
[
77,
78
],
[
78,
79
],
[
73,
80
],
[
80,
81
],
[
81,
82
],
[
81,
83
],
[
66,
84
],
[
84,
85
],
[
85,
86
],
[
86,
87
],
[
56,
88
],
[
88,
89
],
[
88,
90
],
[
90,
91
],
[
91,
92
],
[
92,
93
],
[
93,
94
],
[
92,
95
],
[
95,
96
],
[
56,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
56,
106
],
[
106,
107
],
[
106,
108
],
[
108,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
110,
113
],
[
113,
114
],
[
56,
115
],
[
115,
116
],
[
115,
117
],
[
117,
118
],
[
118,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
118,
125
],
[
125,
126
],
[
126,
127
],
[
127,
128
],
[
128,
129
],
[
117,
130
],
[
130,
131
],
[
56,
132
],
[
132,
133
],
[
132,
134
],
[
134,
135
],
[
135,
136
],
[
135,
137
],
[
134,
138
],
[
138,
139
],
[
139,
140
],
[
139,
141
],
[
138,
142
],
[
142,
143
],
[
143,
144
],
[
143,
145
],
[
145,
146
],
[
146,
147
],
[
134,
148
],
[
148,
149
],
[
149,
150
],
[
149,
151
],
[
148,
152
],
[
152,
153
],
[
153,
154
],
[
134,
155
],
[
155,
156
],
[
155,
157
],
[
134,
158
],
[
158,
159
],
[
0,
160
],
[
160,
161
],
[
160,
162
]
]
| [
"import java.io.*;\nimport java.util.*;\n\npublic class Main\n{\n static PrintWriter out = new PrintWriter((System.out));\n\n public static void main(String args[]) throws IOException\n {\n Kioken sc = new Kioken();\n for(int x=0;x<5;x++)\n {\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }\n out.close();\n }\n\n public static void kamehameha()\n {\n }\n\n static class Kioken\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n public String next()\n {\n while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next = null;\n try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }\n if (next == null)\n {\n return false;\n }\n st = new StringTokenizer(next);\n return true;\n }\n }\n}",
"import java.io.*;",
"io.*",
"java",
"import java.util.*;",
"util.*",
"java",
"public class Main\n{\n static PrintWriter out = new PrintWriter((System.out));\n\n public static void main(String args[]) throws IOException\n {\n Kioken sc = new Kioken();\n for(int x=0;x<5;x++)\n {\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }\n out.close();\n }\n\n public static void kamehameha()\n {\n }\n\n static class Kioken\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n public String next()\n {\n while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next = null;\n try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }\n if (next == null)\n {\n return false;\n }\n st = new StringTokenizer(next);\n return true;\n }\n }\n}",
"Main",
"static PrintWriter out = new PrintWriter((System.out));",
"out",
"new PrintWriter((System.out))",
"public static void main(String args[]) throws IOException\n {\n Kioken sc = new Kioken();\n for(int x=0;x<5;x++)\n {\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }\n out.close();\n }",
"main",
"{\n Kioken sc = new Kioken();\n for(int x=0;x<5;x++)\n {\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }\n out.close();\n }",
"Kioken sc = new Kioken();",
"sc",
"new Kioken()",
"for(int x=0;x<5;x++)\n {\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }",
"int x=0;",
"int x=0;",
"x",
"0",
"x<5",
"x",
"5",
"x++",
"x++",
"x",
"{\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }",
"{\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }",
"int a=sc.nextInt();",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(a==0)\n {\n out.println(x+1);\n break;\n }",
"a==0",
"a",
"0",
"{\n out.println(x+1);\n break;\n }",
"out.println(x+1)",
"out.println",
"out",
"x+1",
"x",
"1",
"break;",
"out.close()",
"out.close",
"out",
"String args[]",
"args",
"public static void kamehameha()\n {\n }",
"kamehameha",
"{\n }",
"static class Kioken\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n public String next()\n {\n while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next = null;\n try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }\n if (next == null)\n {\n return false;\n }\n st = new StringTokenizer(next);\n return true;\n }\n }",
"Kioken",
"BufferedReader br = new BufferedReader(new InputStreamReader(System.in));",
"br",
"new BufferedReader(new InputStreamReader(System.in))",
"StringTokenizer st = new StringTokenizer(\"\");",
"st",
"new StringTokenizer(\"\")",
"public String next()\n {\n while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"next",
"{\n while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }",
"while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }",
"!st.hasMoreTokens()",
"st.hasMoreTokens()",
"st.hasMoreTokens",
"st",
"{\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }",
"try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }",
"catch (Exception e)\n {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n st = new StringTokenizer(br.readLine());\n }",
"st = new StringTokenizer(br.readLine())",
"st",
"new StringTokenizer(br.readLine())",
"return st.nextToken();",
"st.nextToken()",
"st.nextToken",
"st",
"public int nextInt()\n {\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()\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",
"public double nextDouble()\n {\n return Double.parseDouble(next());\n }",
"nextDouble",
"{\n return Double.parseDouble(next());\n }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }",
"nextLine",
"{\n try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }",
"try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }",
"catch (Exception e)\n {\n e.printStackTrace();\n }",
"Exception e",
"{\n e.printStackTrace();\n }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n return br.readLine();\n }",
"return br.readLine();",
"br.readLine()",
"br.readLine",
"br",
"return null;",
"null",
"public boolean hasNext()\n {\n String next = null;\n try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }\n if (next == null)\n {\n return false;\n }\n st = new StringTokenizer(next);\n return true;\n }",
"hasNext",
"{\n String next = null;\n try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }\n if (next == null)\n {\n return false;\n }\n st = new StringTokenizer(next);\n return true;\n }",
"String next = null;",
"next",
"null",
"try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }",
"catch (Exception e)\n {\n }",
"Exception e",
"{\n }",
"{\n next = br.readLine();\n }",
"next = br.readLine()",
"next",
"br.readLine()",
"br.readLine",
"br",
"if (next == null)\n {\n return false;\n }",
"next == null",
"next",
"null",
"{\n return false;\n }",
"return false;",
"false",
"st = new StringTokenizer(next)",
"st",
"new StringTokenizer(next)",
"return true;",
"true",
"public class Main\n{\n static PrintWriter out = new PrintWriter((System.out));\n\n public static void main(String args[]) throws IOException\n {\n Kioken sc = new Kioken();\n for(int x=0;x<5;x++)\n {\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }\n out.close();\n }\n\n public static void kamehameha()\n {\n }\n\n static class Kioken\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n public String next()\n {\n while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next = null;\n try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }\n if (next == null)\n {\n return false;\n }\n st = new StringTokenizer(next);\n return true;\n }\n }\n}",
"public class Main\n{\n static PrintWriter out = new PrintWriter((System.out));\n\n public static void main(String args[]) throws IOException\n {\n Kioken sc = new Kioken();\n for(int x=0;x<5;x++)\n {\n int a=sc.nextInt();\n if(a==0)\n {\n out.println(x+1);\n break;\n }\n }\n out.close();\n }\n\n public static void kamehameha()\n {\n }\n\n static class Kioken\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st = new StringTokenizer(\"\");\n\n public String next()\n {\n while (!st.hasMoreTokens())\n {\n try\n {\n st = new StringTokenizer(br.readLine());\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch (Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next = null;\n try\n {\n next = br.readLine();\n }\n catch (Exception e)\n {\n }\n if (next == null)\n {\n return false;\n }\n st = new StringTokenizer(next);\n return true;\n }\n }\n}",
"Main"
]
| import java.io.*;
import java.util.*;
public class Main
{
static PrintWriter out = new PrintWriter((System.out));
public static void main(String args[]) throws IOException
{
Kioken sc = new Kioken();
for(int x=0;x<5;x++)
{
int a=sc.nextInt();
if(a==0)
{
out.println(x+1);
break;
}
}
out.close();
}
public static void kamehameha()
{
}
static class Kioken
{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringTokenizer st = new StringTokenizer("");
public String next()
{
while (!st.hasMoreTokens())
{
try
{
st = new StringTokenizer(br.readLine());
}
catch (Exception e)
{
e.printStackTrace();
}
}
return st.nextToken();
}
public int nextInt()
{
return Integer.parseInt(next());
}
public long nextLong()
{
return Long.parseLong(next());
}
public double nextDouble()
{
return Double.parseDouble(next());
}
public String nextLine()
{
try
{
return br.readLine();
}
catch (Exception e)
{
e.printStackTrace();
}
return null;
}
public boolean hasNext()
{
String next = null;
try
{
next = br.readLine();
}
catch (Exception e)
{
}
if (next == null)
{
return false;
}
st = new StringTokenizer(next);
return true;
}
}
} |
[
7,
15,
13,
17,
6,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
12,
13,
30,
41,
13,
4,
13,
41,
13,
17,
11,
1,
2,
13,
18,
13,
13,
1,
40,
13,
30,
14,
2,
18,
13,
13,
17,
3,
4,
18,
13,
2,
13,
17,
12,
13,
30,
41,
13,
4,
18,
13,
41,
13,
20,
4,
18,
13,
41,
13,
4,
18,
13,
14,
13,
4,
18,
18,
13,
13,
2,
17,
2,
13,
13,
4,
18,
13,
23,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
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,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
41,
13,
18,
13,
13,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
18,
13,
13,
11,
1,
41,
13,
17,
41,
13,
18,
13,
13,
2,
13,
13,
1,
40,
13,
30,
0,
18,
13,
13,
4,
18,
13,
18,
13,
13,
29,
13,
12,
13,
30,
4,
18,
13,
4,
18,
13,
4,
18,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
4,
8
],
[
8,
9
],
[
4,
10
],
[
10,
11
],
[
4,
12
],
[
12,
13
],
[
12,
14
],
[
4,
15
],
[
15,
16
],
[
15,
17
],
[
17,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
17,
22
],
[
22,
23
],
[
22,
24
],
[
17,
25
],
[
25,
26
],
[
25,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
29,
31
],
[
25,
32
],
[
32,
33
],
[
33,
34
],
[
25,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
36,
42
],
[
17,
43
],
[
43,
44
],
[
44,
45
],
[
43,
46
],
[
46,
47
],
[
46,
48
],
[
4,
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
],
[
61,
62
],
[
51,
63
],
[
63,
64
],
[
63,
65
],
[
65,
66
],
[
66,
67
],
[
51,
68
],
[
68,
69
],
[
68,
70
],
[
70,
71
],
[
71,
72
],
[
72,
73
],
[
72,
74
],
[
70,
75
],
[
75,
76
],
[
75,
77
],
[
77,
78
],
[
77,
79
],
[
51,
80
],
[
80,
81
],
[
81,
82
],
[
49,
83
],
[
83,
84
],
[
4,
85
],
[
85,
86
],
[
85,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
87,
91
],
[
91,
92
],
[
91,
93
],
[
87,
94
],
[
94,
95
],
[
94,
96
],
[
4,
97
],
[
97,
98
],
[
97,
99
],
[
99,
100
],
[
100,
101
],
[
101,
102
],
[
102,
103
],
[
101,
104
],
[
104,
105
],
[
105,
106
],
[
4,
107
],
[
107,
108
],
[
107,
109
],
[
109,
110
],
[
110,
111
],
[
111,
112
],
[
112,
113
],
[
111,
114
],
[
114,
115
],
[
115,
116
],
[
4,
117
],
[
117,
118
],
[
117,
119
],
[
119,
120
],
[
120,
121
],
[
120,
122
],
[
122,
123
],
[
123,
124
],
[
124,
125
],
[
125,
126
],
[
122,
127
],
[
119,
128
],
[
128,
129
],
[
128,
130
],
[
131,
132
],
[
131,
133
],
[
119,
134
],
[
134,
135
],
[
135,
136
],
[
136,
137
],
[
136,
138
],
[
135,
139
],
[
139,
140
],
[
139,
141
],
[
141,
142
],
[
141,
143
],
[
134,
144
],
[
144,
145
],
[
144,
146
],
[
134,
147
],
[
147,
148
],
[
148,
149
],
[
134,
150
],
[
150,
151
],
[
151,
152
],
[
152,
153
],
[
152,
154
],
[
151,
155
],
[
155,
156
],
[
156,
157
],
[
155,
158
],
[
158,
159
],
[
158,
160
],
[
119,
161
],
[
161,
162
],
[
4,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
166,
167
],
[
166,
168
],
[
168,
169
],
[
169,
170
],
[
170,
171
],
[
171,
172
],
[
168,
173
],
[
165,
174
],
[
174,
175
],
[
174,
176
],
[
177,
178
],
[
177,
179
],
[
165,
180
],
[
180,
181
],
[
181,
182
],
[
182,
183
],
[
182,
184
],
[
181,
185
],
[
185,
186
],
[
185,
187
],
[
187,
188
],
[
187,
189
],
[
180,
190
],
[
190,
191
],
[
190,
192
],
[
180,
193
],
[
193,
194
],
[
194,
195
],
[
180,
196
],
[
196,
197
],
[
197,
198
],
[
198,
199
],
[
198,
200
],
[
197,
201
],
[
201,
202
],
[
202,
203
],
[
201,
204
],
[
204,
205
],
[
204,
206
],
[
165,
207
],
[
207,
208
],
[
4,
209
],
[
209,
210
],
[
209,
211
],
[
211,
212
],
[
212,
213
],
[
213,
214
],
[
211,
215
],
[
215,
216
],
[
216,
217
],
[
211,
218
],
[
218,
219
],
[
219,
220
]
]
| [
"import java.io.*;\n\nclass Main {\n BufferedReader bf;\n PrintWriter writer;\n StringBuilder sb;\n static boolean local_system = false;\n\n void run() throws IOException {\n int[] c = ni();\n int i = 0;\n for(;i<c.length;i++) if(c[i] == 0) break;\n writer.println(i+1);\n }\n\n public static void main(String[] args) throws IOException {\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }\n\n public Main(){\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }\n\n public int i() throws IOException {\n return Integer.parseInt(bf.readLine());\n }\n\n public long l() throws IOException {\n return Long.parseLong(bf.readLine());\n }\n\n public int[] ni() throws IOException {\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }\n\n public long[] nl() throws IOException {\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }\n\n public void close() throws IOException{\n writer.flush();\n writer.close();\n bf.close();\n }\n}\n\n",
"import java.io.*;",
"io.*",
"java",
"class Main {\n BufferedReader bf;\n PrintWriter writer;\n StringBuilder sb;\n static boolean local_system = false;\n\n void run() throws IOException {\n int[] c = ni();\n int i = 0;\n for(;i<c.length;i++) if(c[i] == 0) break;\n writer.println(i+1);\n }\n\n public static void main(String[] args) throws IOException {\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }\n\n public Main(){\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }\n\n public int i() throws IOException {\n return Integer.parseInt(bf.readLine());\n }\n\n public long l() throws IOException {\n return Long.parseLong(bf.readLine());\n }\n\n public int[] ni() throws IOException {\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }\n\n public long[] nl() throws IOException {\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }\n\n public void close() throws IOException{\n writer.flush();\n writer.close();\n bf.close();\n }\n}",
"Main",
"BufferedReader bf;",
"bf",
"PrintWriter writer;",
"writer",
"StringBuilder sb;",
"sb",
"static boolean local_system = false;",
"local_system",
"false",
"void run() throws IOException {\n int[] c = ni();\n int i = 0;\n for(;i<c.length;i++) if(c[i] == 0) break;\n writer.println(i+1);\n }",
"run",
"{\n int[] c = ni();\n int i = 0;\n for(;i<c.length;i++) if(c[i] == 0) break;\n writer.println(i+1);\n }",
"int[] c = ni();",
"c",
"ni()",
"ni",
"int i = 0;",
"i",
"0",
"for(;i<c.length;i++) if(c[i] == 0) break;",
";",
"i<c.length",
"i",
"c.length",
"c",
"c.length",
"i++",
"i++",
"i",
"if(c[i] == 0) break;",
"if(c[i] == 0) break;",
"c[i] == 0",
"c[i]",
"c",
"i",
"0",
"break;",
"writer.println(i+1)",
"writer.println",
"writer",
"i+1",
"i",
"1",
"public static void main(String[] args) throws IOException {\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }",
"main",
"{\n long start_time = System.currentTimeMillis();\n Main obj = new Main();\n obj.run();\n long end_time = System.currentTimeMillis();\n if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));\n obj.close();\n }",
"long start_time = System.currentTimeMillis();",
"start_time",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"Main obj = new Main();",
"obj",
"new Main()",
"obj.run()",
"obj.run",
"obj",
"long end_time = System.currentTimeMillis();",
"end_time",
"System.currentTimeMillis()",
"System.currentTimeMillis",
"System",
"if (local_system) obj.writer.println(\"Time : \" + (end_time - start_time));",
"local_system",
"obj.writer.println(\"Time : \" + (end_time - start_time))",
"obj.writer.println",
"obj.writer",
"obj",
"obj.writer",
"\"Time : \" + (end_time - start_time)",
"\"Time : \"",
"(end_time - start_time)",
"end_time",
"start_time",
"obj.close()",
"obj.close",
"obj",
"String[] args",
"args",
"public Main(){\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }",
"Main",
"{\n writer = new PrintWriter(System.out);\n bf = new BufferedReader(new InputStreamReader(System.in));\n sb = new StringBuilder();\n }",
"writer = new PrintWriter(System.out)",
"writer",
"new PrintWriter(System.out)",
"bf = new BufferedReader(new InputStreamReader(System.in))",
"bf",
"new BufferedReader(new InputStreamReader(System.in))",
"sb = new StringBuilder()",
"sb",
"new StringBuilder()",
"public int i() throws IOException {\n return Integer.parseInt(bf.readLine());\n }",
"i",
"{\n return Integer.parseInt(bf.readLine());\n }",
"return Integer.parseInt(bf.readLine());",
"Integer.parseInt(bf.readLine())",
"Integer.parseInt",
"Integer",
"bf.readLine()",
"bf.readLine",
"bf",
"public long l() throws IOException {\n return Long.parseLong(bf.readLine());\n }",
"l",
"{\n return Long.parseLong(bf.readLine());\n }",
"return Long.parseLong(bf.readLine());",
"Long.parseLong(bf.readLine())",
"Long.parseLong",
"Long",
"bf.readLine()",
"bf.readLine",
"bf",
"public int[] ni() throws IOException {\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }",
"ni",
"{\n String[] data = bf.readLine().split(\" \");\n int[] send = new int[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);\n return send;\n }",
"String[] data = bf.readLine().split(\" \");",
"data",
"bf.readLine().split(\" \")",
"bf.readLine().split",
"bf.readLine()",
"bf.readLine",
"bf",
"\" \"",
"int[] send = new int[data.length];",
"send",
"new int[data.length]",
"data.length",
"data",
"data.length",
"for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);",
"int i = 0, h = data.length;",
"int i = 0",
"i",
"0",
"h = data.length;",
"h",
"data.length",
"data",
"data.length",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"send[i] = Integer.parseInt(data[i]);",
"send[i] = Integer.parseInt(data[i])",
"send[i]",
"send",
"i",
"Integer.parseInt(data[i])",
"Integer.parseInt",
"Integer",
"data[i]",
"data",
"i",
"return send;",
"send",
"public long[] nl() throws IOException {\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }",
"nl",
"{\n String[] data = bf.readLine().split(\" \");\n long[] send = new long[data.length];\n for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);\n return send;\n }",
"String[] data = bf.readLine().split(\" \");",
"data",
"bf.readLine().split(\" \")",
"bf.readLine().split",
"bf.readLine()",
"bf.readLine",
"bf",
"\" \"",
"long[] send = new long[data.length];",
"send",
"new long[data.length]",
"data.length",
"data",
"data.length",
"for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);",
"int i = 0, h = data.length;",
"int i = 0",
"i",
"0",
"h = data.length;",
"h",
"data.length",
"data",
"data.length",
"i < h",
"i",
"h",
"i++",
"i++",
"i",
"send[i] = Long.parseLong(data[i]);",
"send[i] = Long.parseLong(data[i])",
"send[i]",
"send",
"i",
"Long.parseLong(data[i])",
"Long.parseLong",
"Long",
"data[i]",
"data",
"i",
"return send;",
"send",
"public void close() throws IOException{\n writer.flush();\n writer.close();\n bf.close();\n }",
"close",
"{\n writer.flush();\n writer.close();\n bf.close();\n }",
"writer.flush()",
"writer.flush",
"writer",
"writer.close()",
"writer.close",
"writer",
"bf.close()",
"bf.close",
"bf"
]
| import java.io.*;
class Main {
BufferedReader bf;
PrintWriter writer;
StringBuilder sb;
static boolean local_system = false;
void run() throws IOException {
int[] c = ni();
int i = 0;
for(;i<c.length;i++) if(c[i] == 0) break;
writer.println(i+1);
}
public static void main(String[] args) throws IOException {
long start_time = System.currentTimeMillis();
Main obj = new Main();
obj.run();
long end_time = System.currentTimeMillis();
if (local_system) obj.writer.println("Time : " + (end_time - start_time));
obj.close();
}
public Main(){
writer = new PrintWriter(System.out);
bf = new BufferedReader(new InputStreamReader(System.in));
sb = new StringBuilder();
}
public int i() throws IOException {
return Integer.parseInt(bf.readLine());
}
public long l() throws IOException {
return Long.parseLong(bf.readLine());
}
public int[] ni() throws IOException {
String[] data = bf.readLine().split(" ");
int[] send = new int[data.length];
for (int i = 0, h = data.length; i < h; i++) send[i] = Integer.parseInt(data[i]);
return send;
}
public long[] nl() throws IOException {
String[] data = bf.readLine().split(" ");
long[] send = new long[data.length];
for (int i = 0, h = data.length; i < h; i++) send[i] = Long.parseLong(data[i]);
return send;
}
public void close() throws IOException{
writer.flush();
writer.close();
bf.close();
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
4,
18,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
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
],
[
16,
17
],
[
17,
18
],
[
14,
19
],
[
14,
20
],
[
8,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
23,
25
],
[
21,
26
],
[
26,
27
],
[
26,
28
],
[
28,
29
],
[
28,
30
],
[
21,
31
],
[
31,
32
],
[
32,
33
],
[
21,
34
],
[
35,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
36,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
46,
47
],
[
46,
48
],
[
44,
49
],
[
49,
50
],
[
49,
51
],
[
43,
52
],
[
6,
53
],
[
53,
54
],
[
0,
55
],
[
55,
56
],
[
55,
57
]
]
| [
"import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] numbers = sc.nextLine().split(\" \", 0);\n for (int i = 0; i < numbers.length; i++) {\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] numbers = sc.nextLine().split(\" \", 0);\n for (int i = 0; i < numbers.length; i++) {\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] numbers = sc.nextLine().split(\" \", 0);\n for (int i = 0; i < numbers.length; i++) {\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n String[] numbers = sc.nextLine().split(\" \", 0);\n for (int i = 0; i < numbers.length; i++) {\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"String[] numbers = sc.nextLine().split(\" \", 0);",
"numbers",
"sc.nextLine().split(\" \", 0)",
"sc.nextLine().split",
"sc.nextLine()",
"sc.nextLine",
"sc",
"\" \"",
"0",
"for (int i = 0; i < numbers.length; i++) {\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < numbers.length",
"i",
"numbers.length",
"numbers",
"numbers.length",
"i++",
"i++",
"i",
"{\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }",
"{\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }",
"if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }",
"numbers[i].equals(\"0\")",
"numbers[i].equals",
"numbers[i]",
"numbers",
"i",
"\"0\"",
"{\n System.out.println(i + 1);\n break;\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] numbers = sc.nextLine().split(\" \", 0);\n for (int i = 0; i < numbers.length; i++) {\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String[] numbers = sc.nextLine().split(\" \", 0);\n for (int i = 0; i < numbers.length; i++) {\n if (numbers[i].equals(\"0\")) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
String[] numbers = sc.nextLine().split(" ", 0);
for (int i = 0; i < numbers.length; i++) {
if (numbers[i].equals("0")) {
System.out.println(i + 1);
break;
}
}
}
}
|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
20,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
4,
18,
13,
17,
14,
2,
13,
17,
4,
18,
13,
17,
14,
2,
13,
17,
4,
18,
13,
17,
14,
2,
13,
17,
4,
18,
13,
17,
4,
18,
13,
17,
4,
18,
13,
23,
13,
6,
13,
41,
13,
18,
13,
13,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
12,
13,
30,
14,
2,
13,
13,
30,
29,
17,
30,
0,
13,
17,
38,
5,
13,
30,
4,
18,
13,
30,
0,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
29,
17,
29,
17,
12,
13,
30,
14,
4,
13,
29,
18,
13,
40,
13,
29,
40,
17,
12,
13,
30,
29,
2,
2,
17,
13,
2,
13,
17,
23,
13,
12,
13,
30,
42,
2,
4,
13,
40,
4,
13,
18,
13,
13,
40,
13,
12,
13,
30,
4,
13,
29,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
20,
41,
13,
4,
13,
42,
4,
13,
13,
30,
4,
18,
13,
13,
0,
13,
4,
13,
29,
4,
18,
13,
12,
13,
30,
29,
4,
18,
13,
4,
13,
12,
13,
30,
14,
40,
4,
13,
37,
20,
41,
13,
17,
41,
13,
17,
41,
13,
4,
13,
14,
2,
13,
17,
30,
0,
13,
17,
0,
13,
4,
13,
14,
2,
2,
13,
17,
2,
17,
13,
30,
37,
20,
42,
17,
30,
14,
2,
2,
17,
13,
2,
13,
17,
30,
0,
13,
17,
0,
13,
2,
13,
17,
14,
2,
2,
13,
40,
17,
40,
4,
13,
13,
30,
29,
8,
13,
40,
13,
13,
30,
37,
20,
0,
13,
4,
13,
12,
13,
30,
29,
4,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
12,
13,
30,
14,
13,
30,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
29,
13,
23,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
471,
14
],
[
471,
15
],
[
15,
16
],
[
15,
17
],
[
471,
18
],
[
18,
19
],
[
18,
20
],
[
471,
21
],
[
21,
22
],
[
471,
23
],
[
23,
24
],
[
471,
25
],
[
25,
26
],
[
471,
27
],
[
27,
28
],
[
471,
29
],
[
29,
30
],
[
471,
31
],
[
31,
32
],
[
471,
33
],
[
33,
34
],
[
33,
35
],
[
35,
36
],
[
36,
37
],
[
36,
38
],
[
38,
39
],
[
39,
40
],
[
35,
41
],
[
41,
42
],
[
41,
43
],
[
43,
44
],
[
44,
45
],
[
35,
46
],
[
46,
47
],
[
46,
48
],
[
48,
49
],
[
49,
50
],
[
35,
51
],
[
51,
52
],
[
51,
53
],
[
53,
54
],
[
54,
55
],
[
35,
56
],
[
56,
57
],
[
56,
58
],
[
58,
59
],
[
59,
60
],
[
35,
61
],
[
61,
62
],
[
62,
63
],
[
62,
64
],
[
61,
65
],
[
65,
66
],
[
66,
67
],
[
65,
68
],
[
61,
69
],
[
69,
70
],
[
70,
71
],
[
70,
72
],
[
69,
73
],
[
73,
74
],
[
74,
75
],
[
73,
76
],
[
69,
77
],
[
77,
78
],
[
78,
79
],
[
78,
80
],
[
77,
81
],
[
81,
82
],
[
82,
83
],
[
81,
84
],
[
77,
85
],
[
85,
86
],
[
86,
87
],
[
86,
88
],
[
85,
89
],
[
89,
90
],
[
90,
91
],
[
89,
92
],
[
85,
93
],
[
93,
94
],
[
94,
95
],
[
93,
96
],
[
35,
97
],
[
97,
98
],
[
98,
99
],
[
33,
100
],
[
100,
101
],
[
471,
102
],
[
102,
103
],
[
102,
104
],
[
104,
105
],
[
104,
106
],
[
106,
107
],
[
106,
108
],
[
102,
109
],
[
109,
110
],
[
109,
111
],
[
102,
113
],
[
113,
114
],
[
113,
115
],
[
102,
116
],
[
116,
117
],
[
116,
118
],
[
102,
119
],
[
119,
120
],
[
119,
121
],
[
121,
122
],
[
122,
123
],
[
123,
124
],
[
123,
125
],
[
122,
126
],
[
126,
127
],
[
127,
128
],
[
122,
129
],
[
129,
130
],
[
130,
131
],
[
130,
132
],
[
129,
133
],
[
133,
134
],
[
134,
135
],
[
134,
136
],
[
136,
137
],
[
137,
138
],
[
138,
139
],
[
133,
140
],
[
140,
141
],
[
141,
142
],
[
141,
143
],
[
143,
144
],
[
144,
145
],
[
143,
146
],
[
129,
147
],
[
147,
148
],
[
148,
149
],
[
148,
150
],
[
147,
151
],
[
151,
152
],
[
152,
153
],
[
121,
154
],
[
154,
155
],
[
102,
156
],
[
156,
157
],
[
156,
158
],
[
158,
159
],
[
159,
160
],
[
160,
161
],
[
159,
162
],
[
162,
163
],
[
163,
164
],
[
163,
165
],
[
165,
166
],
[
159,
167
],
[
167,
168
],
[
168,
169
],
[
102,
170
],
[
170,
171
],
[
170,
172
],
[
172,
173
],
[
173,
174
],
[
174,
175
],
[
175,
176
],
[
175,
177
],
[
174,
178
],
[
178,
179
],
[
178,
180
],
[
170,
181
],
[
181,
182
],
[
102,
183
],
[
183,
184
],
[
183,
185
],
[
185,
186
],
[
186,
187
],
[
187,
188
],
[
188,
189
],
[
187,
190
],
[
190,
191
],
[
191,
192
],
[
191,
193
],
[
193,
194
],
[
193,
195
],
[
186,
196
],
[
196,
197
],
[
102,
198
],
[
198,
199
],
[
198,
200
],
[
200,
201
],
[
201,
202
],
[
200,
203
],
[
203,
204
],
[
204,
205
],
[
102,
206
],
[
206,
207
],
[
206,
208
],
[
208,
209
],
[
209,
210
],
[
210,
211
],
[
211,
212
],
[
209,
213
],
[
213,
214
],
[
208,
215
],
[
215,
216
],
[
215,
217
],
[
208,
218
],
[
218,
219
],
[
218,
220
],
[
220,
221
],
[
208,
222
],
[
222,
223
],
[
223,
224
],
[
223,
225
],
[
222,
226
],
[
226,
227
],
[
227,
228
],
[
228,
229
],
[
227,
230
],
[
226,
231
],
[
231,
232
],
[
231,
233
],
[
233,
234
],
[
208,
235
],
[
235,
236
],
[
236,
237
],
[
237,
238
],
[
102,
239
],
[
239,
240
],
[
239,
241
],
[
241,
242
],
[
242,
243
],
[
243,
244
],
[
244,
245
],
[
243,
246
],
[
246,
247
],
[
102,
248
],
[
248,
249
],
[
248,
250
],
[
250,
251
],
[
251,
252
],
[
252,
253
],
[
253,
254
],
[
251,
255
],
[
255,
256
],
[
250,
257
],
[
257,
258
],
[
257,
259
],
[
250,
260
],
[
260,
261
],
[
260,
262
],
[
250,
263
],
[
263,
264
],
[
263,
265
],
[
265,
266
],
[
250,
267
],
[
267,
268
],
[
268,
269
],
[
268,
270
],
[
267,
271
],
[
271,
272
],
[
272,
273
],
[
272,
274
],
[
271,
275
],
[
275,
276
],
[
275,
277
],
[
277,
278
],
[
250,
279
],
[
279,
280
],
[
280,
281
],
[
281,
282
],
[
281,
283
],
[
280,
284
],
[
284,
285
],
[
284,
286
],
[
279,
287
],
[
287,
288
],
[
288,
289
],
[
250,
290
],
[
290,
291
],
[
290,
292
],
[
292,
293
],
[
293,
294
],
[
294,
295
],
[
295,
296
],
[
295,
297
],
[
294,
298
],
[
298,
299
],
[
298,
300
],
[
293,
301
],
[
301,
302
],
[
302,
303
],
[
302,
304
],
[
301,
305
],
[
305,
306
],
[
305,
307
],
[
307,
308
],
[
307,
309
],
[
293,
310
],
[
310,
311
],
[
311,
312
],
[
312,
313
],
[
312,
314
],
[
314,
315
],
[
311,
316
],
[
316,
317
],
[
317,
318
],
[
317,
319
],
[
310,
320
],
[
320,
321
],
[
321,
322
],
[
322,
323
],
[
322,
324
],
[
324,
325
],
[
322,
326
],
[
310,
327
],
[
327,
328
],
[
328,
329
],
[
292,
330
],
[
330,
331
],
[
330,
332
],
[
332,
333
],
[
102,
334
],
[
334,
335
],
[
334,
336
],
[
336,
337
],
[
337,
338
],
[
338,
339
],
[
102,
340
],
[
340,
341
],
[
340,
342
],
[
342,
343
],
[
343,
344
],
[
343,
345
],
[
345,
346
],
[
346,
347
],
[
346,
348
],
[
349,
350
],
[
349,
351
],
[
345,
352
],
[
352,
353
],
[
353,
354
],
[
354,
355
],
[
354,
356
],
[
352,
357
],
[
357,
358
],
[
357,
359
],
[
352,
360
],
[
360,
361
],
[
361,
362
],
[
352,
363
],
[
364,
364
],
[
364,
365
],
[
365,
366
],
[
366,
367
],
[
366,
368
],
[
365,
369
],
[
369,
370
],
[
370,
371
],
[
345,
372
],
[
372,
373
],
[
343,
374
],
[
374,
375
],
[
375,
376
],
[
375,
377
],
[
374,
379
],
[
379,
380
],
[
380,
381
],
[
381,
382
],
[
381,
383
],
[
379,
384
],
[
384,
385
],
[
384,
386
],
[
379,
387
],
[
387,
388
],
[
388,
389
],
[
379,
390
],
[
391,
391
],
[
391,
392
],
[
392,
393
],
[
393,
394
],
[
393,
395
],
[
392,
396
],
[
396,
397
],
[
397,
398
],
[
374,
399
],
[
399,
400
],
[
340,
401
],
[
401,
402
],
[
340,
403
],
[
403,
404
],
[
102,
405
],
[
405,
406
],
[
405,
407
],
[
407,
408
],
[
408,
409
],
[
408,
410
],
[
410,
411
],
[
411,
412
],
[
411,
413
],
[
414,
415
],
[
414,
416
],
[
410,
417
],
[
417,
418
],
[
418,
419
],
[
419,
420
],
[
419,
421
],
[
417,
422
],
[
422,
423
],
[
422,
424
],
[
417,
425
],
[
425,
426
],
[
426,
427
],
[
417,
428
],
[
429,
429
],
[
429,
430
],
[
430,
431
],
[
431,
432
],
[
431,
433
],
[
430,
434
],
[
434,
435
],
[
435,
436
],
[
410,
437
],
[
437,
438
],
[
408,
439
],
[
439,
440
],
[
440,
441
],
[
440,
442
],
[
439,
444
],
[
444,
445
],
[
445,
446
],
[
446,
447
],
[
446,
448
],
[
444,
449
],
[
449,
450
],
[
449,
451
],
[
444,
452
],
[
452,
453
],
[
453,
454
],
[
444,
455
],
[
456,
456
],
[
456,
457
],
[
457,
458
],
[
458,
459
],
[
458,
460
],
[
457,
461
],
[
461,
462
],
[
462,
463
],
[
439,
464
],
[
464,
465
],
[
405,
466
],
[
466,
467
],
[
405,
468
],
[
468,
469
],
[
0,
470
],
[
470,
471
],
[
470,
472
]
]
| [
"import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\npublic class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\t\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\t\n\tstatic String s;\n\tstatic String t;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\t//static HashMap <Long, Integer> map;\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\t\n\t\tif (n==0)\n\t\t\tout.println(1);\n\t\t\n\t\telse if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStream;",
"InputStream",
"java.io",
"import java.io.PrintWriter;",
"PrintWriter",
"java.io",
"import java.util.NoSuchElementException;",
"NoSuchElementException",
"java.util",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\t\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\t\n\tstatic String s;\n\tstatic String t;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\t//static HashMap <Long, Integer> map;\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\t\n\t\tif (n==0)\n\t\t\tout.println(1);\n\t\t\n\t\telse if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"Main",
"static FastScanner sc = new FastScanner();",
"sc",
"new FastScanner()",
"static PrintWriter out = new PrintWriter(System.out);",
"out",
"new PrintWriter(System.out)",
"static int n;",
"n",
"static int m;",
"m",
"static int a;",
"a",
"static int b;",
"b",
"static String s;",
"s",
"static String t;",
"t",
"public static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\t\n\t\tif (n==0)\n\t\t\tout.println(1);\n\t\t\n\t\telse if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"main",
"{\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\t\n\t\tif (n==0)\n\t\t\tout.println(1);\n\t\t\n\t\telse if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}",
"n = sc.nextInt()",
"n",
"sc.nextInt()",
"sc.nextInt",
"sc",
"m = sc.nextInt()",
"m",
"sc.nextInt()",
"sc.nextInt",
"sc",
"a = sc.nextInt()",
"a",
"sc.nextInt()",
"sc.nextInt",
"sc",
"b = sc.nextInt()",
"b",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int c = sc.nextInt();",
"c",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (n==0)\n\t\t\tout.println(1);\n\t\t\n\t\telse if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);",
"n==0",
"n",
"0",
"out.println(1)",
"out.println",
"out",
"1",
"if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);",
"m==0",
"m",
"0",
"out.println(2)",
"out.println",
"out",
"2",
"if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);",
"a==0",
"a",
"0",
"out.println(3)",
"out.println",
"out",
"3",
"if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);",
"b==0",
"b",
"0",
"out.println(4)",
"out.println",
"out",
"4",
"out.println(5)",
"out.println",
"out",
"5",
"out.flush()",
"out.flush",
"out",
"String[] args",
"args",
"static class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }",
"FastScanner",
"private final InputStream in = System.in;",
"in",
"System.in",
"System",
"System.in",
"private final byte[] buffer = new byte[1024];",
"buffer",
"new byte[1024]",
"1024",
"private int ptr = 0;",
"ptr",
"0",
"private int buflen = 0;",
"buflen",
"0",
"private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }",
"hasNextByte",
"{\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }",
"if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }",
"ptr < buflen",
"ptr",
"buflen",
"{\n\t return true;\n\t }",
"return true;",
"true",
"{\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }",
"ptr = 0",
"ptr",
"0",
"try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"catch (IOException e) {\n\t e.printStackTrace();\n\t }",
"IOException e",
"{\n\t e.printStackTrace();\n\t }",
"e.printStackTrace()",
"e.printStackTrace",
"e",
"{\n\t buflen = in.read(buffer);\n\t }",
"buflen = in.read(buffer)",
"buflen",
"in.read(buffer)",
"in.read",
"in",
"buffer",
"if (buflen <= 0) {\n\t return false;\n\t }",
"buflen <= 0",
"buflen",
"0",
"{\n\t return false;\n\t }",
"return false;",
"false",
"return true;",
"true",
"private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }",
"readByte",
"{\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }",
"if (hasNextByte()) return buffer[ptr++];\n\t else return -1;",
"hasNextByte()",
"hasNextByte",
"return buffer[ptr++];",
"buffer[ptr++]",
"buffer",
"ptr++",
"ptr",
"return -1;",
"-1",
"1",
"private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }",
"isPrintableChar",
"{\n\t return 33 <= c && c <= 126;\n\t }",
"return 33 <= c && c <= 126;",
"33 <= c && c <= 126",
"33 <= c",
"33",
"c",
"c <= 126",
"c",
"126",
"int c",
"c",
"private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }",
"skipUnprintable",
"{\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }",
"while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;",
"hasNextByte() && !isPrintableChar(buffer[ptr])",
"hasNextByte()",
"hasNextByte",
"!isPrintableChar(buffer[ptr])",
"isPrintableChar(buffer[ptr])",
"isPrintableChar",
"buffer[ptr]",
"buffer",
"ptr",
"ptr++",
"ptr",
"public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }",
"hasNext",
"{\n\t skipUnprintable();\n\t return hasNextByte();\n\t }",
"skipUnprintable()",
"skipUnprintable",
"return hasNextByte();",
"hasNextByte()",
"hasNextByte",
"public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }",
"next",
"{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"StringBuilder sb = new StringBuilder();",
"sb",
"new StringBuilder()",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }",
"sb.appendCodePoint(b)",
"sb.appendCodePoint",
"sb",
"b",
"b = readByte()",
"b",
"readByte()",
"readByte",
"return sb.toString();",
"sb.toString()",
"sb.toString",
"sb",
"public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }",
"nextDouble",
"{\n\t \treturn Double.parseDouble(next());\n\t }",
"return Double.parseDouble(next());",
"Double.parseDouble(next())",
"Double.parseDouble",
"Double",
"next()",
"next",
"public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }",
"nextLong",
"{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }",
"if (!hasNext()) throw new NoSuchElementException();",
"!hasNext()",
"hasNext()",
"hasNext",
"throw new NoSuchElementException();",
"new NoSuchElementException()",
"long n = 0;",
"n",
"0",
"boolean minus = false;",
"minus",
"false",
"int b = readByte();",
"b",
"readByte()",
"readByte",
"if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }",
"b == '-'",
"b",
"'-'",
"{\n\t minus = true;\n\t b = readByte();\n\t }",
"minus = true",
"minus",
"true",
"b = readByte()",
"b",
"readByte()",
"readByte",
"if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }",
"b < '0' || '9' < b",
"b < '0'",
"b",
"'0'",
"'9' < b",
"'9'",
"b",
"{\n\t throw new NumberFormatException();\n\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }",
"true",
"{\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }",
"if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }",
"'0' <= b && b <= '9'",
"'0' <= b",
"'0'",
"b",
"b <= '9'",
"b",
"'9'",
"{\n\t n *= 10;\n\t n += b - '0';\n\t }",
"n *= 10",
"n",
"10",
"n += b - '0'",
"n",
"b - '0'",
"b",
"'0'",
"if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }",
"b == -1 || !isPrintableChar(b)",
"b == -1",
"b",
"-1",
"1",
"!isPrintableChar(b)",
"isPrintableChar(b)",
"isPrintableChar",
"b",
"{\n\t return minus ? -n : n;\n\t }",
"return minus ? -n : n;",
"minus ? -n : n",
"minus",
"-n",
"n",
"n",
"{\n\t throw new NumberFormatException();\n\t }",
"throw new NumberFormatException();",
"new NumberFormatException()",
"b = readByte()",
"b",
"readByte()",
"readByte",
"public int nextInt() {\n\t return (int) nextLong();\n\t }",
"nextInt",
"{\n\t return (int) nextLong();\n\t }",
"return (int) nextLong();",
"(int) nextLong()",
"nextLong",
"public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }",
"nextIntArray",
"{\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }",
"if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"oneBased",
"{\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"int[] array = new int[N + 1];",
"array",
"new int[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextInt();\n\t }",
"{\n\t array[i] = sc.nextInt();\n\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"{\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }",
"int[] array = new int[N];",
"array",
"new int[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextInt();\n\t }",
"{\n\t array[i] = sc.nextInt();\n\t }",
"array[i] = sc.nextInt()",
"array[i]",
"array",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }",
"nextLongArray",
"{\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }",
"if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"oneBased",
"{\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"long[] array = new long[N + 1];",
"array",
"new long[N + 1]",
"N + 1",
"N",
"1",
"for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextLong();\n\t }",
"{\n\t array[i] = sc.nextLong();\n\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"{\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }",
"long[] array = new long[N];",
"array",
"new long[N]",
"N",
"for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < N",
"i",
"N",
"i++",
"i++",
"i",
"{\n\t array[i] = sc.nextLong();\n\t }",
"{\n\t array[i] = sc.nextLong();\n\t }",
"array[i] = sc.nextLong()",
"array[i]",
"array",
"i",
"sc.nextLong()",
"sc.nextLong",
"sc",
"return array;",
"array",
"int N",
"N",
"boolean oneBased",
"oneBased",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\t\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\t\n\tstatic String s;\n\tstatic String t;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\t//static HashMap <Long, Integer> map;\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\t\n\t\tif (n==0)\n\t\t\tout.println(1);\n\t\t\n\t\telse if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\n\t\n\tstatic int n;\n\tstatic int m;\n\tstatic int a;\n\tstatic int b;\n\t\n\tstatic String s;\n\tstatic String t;\n\t//static Queue <Long> q = new ArrayDeque <Long>();\n\t//static List<ArrayList<Integer>> e;\n\t//static LinkedList<Integer> adj[]; \n\t//static HashMap <Long, Integer> map;\n\t\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\ta = sc.nextInt();\n\t\tb = sc.nextInt();\n\t\tint c = sc.nextInt();\n\t\t\n\t\tif (n==0)\n\t\t\tout.println(1);\n\t\t\n\t\telse if (m==0)\n\t\t\tout.println(2);\n\t\t\n\t\telse if (a==0)\n\t\t\tout.println(3);\n\t\t\n\t\telse if (b==0)\n\t\t\tout.println(4);\n\t\t\n\t\telse\n\t\t\tout.println(5);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t }\n}",
"Main"
]
| import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.NoSuchElementException;
public class Main{
static FastScanner sc = new FastScanner();
static PrintWriter out = new PrintWriter(System.out);
static int n;
static int m;
static int a;
static int b;
static String s;
static String t;
//static Queue <Long> q = new ArrayDeque <Long>();
//static List<ArrayList<Integer>> e;
//static LinkedList<Integer> adj[];
//static HashMap <Long, Integer> map;
public static void main(String[] args) {
n = sc.nextInt();
m = sc.nextInt();
a = sc.nextInt();
b = sc.nextInt();
int c = sc.nextInt();
if (n==0)
out.println(1);
else if (m==0)
out.println(2);
else if (a==0)
out.println(3);
else if (b==0)
out.println(4);
else
out.println(5);
out.flush();
}
static class FastScanner {
private final InputStream in = System.in;
private final byte[] buffer = new byte[1024];
private int ptr = 0;
private int buflen = 0;
private boolean hasNextByte() {
if (ptr < buflen) {
return true;
} else {
ptr = 0;
try {
buflen = in.read(buffer);
} catch (IOException e) {
e.printStackTrace();
}
if (buflen <= 0) {
return false;
}
}
return true;
}
private int readByte() {
if (hasNextByte()) return buffer[ptr++];
else return -1;
}
private static boolean isPrintableChar(int c) {
return 33 <= c && c <= 126;
}
private void skipUnprintable() {
while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;
}
public boolean hasNext() {
skipUnprintable();
return hasNextByte();
}
public String next() {
if (!hasNext()) throw new NoSuchElementException();
StringBuilder sb = new StringBuilder();
int b = readByte();
while (isPrintableChar(b)) {
sb.appendCodePoint(b);
b = readByte();
}
return sb.toString();
}
public double nextDouble () {
return Double.parseDouble(next());
}
public long nextLong() {
if (!hasNext()) throw new NoSuchElementException();
long n = 0;
boolean minus = false;
int b = readByte();
if (b == '-') {
minus = true;
b = readByte();
}
if (b < '0' || '9' < b) {
throw new NumberFormatException();
}
while (true) {
if ('0' <= b && b <= '9') {
n *= 10;
n += b - '0';
} else if (b == -1 || !isPrintableChar(b)) {
return minus ? -n : n;
} else {
throw new NumberFormatException();
}
b = readByte();
}
}
public int nextInt() {
return (int) nextLong();
}
public int[] nextIntArray(int N, boolean oneBased) {
if (oneBased) {
int[] array = new int[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextInt();
}
return array;
} else {
int[] array = new int[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextInt();
}
return array;
}
}
public long[] nextLongArray(int N, boolean oneBased) {
if (oneBased) {
long[] array = new long[N + 1];
for (int i = 1; i <= N; i++) {
array[i] = sc.nextLong();
}
return array;
} else {
long[] array = new long[N];
for (int i = 0; i < N; i++) {
array[i] = sc.nextLong();
}
return array;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
4,
18,
13,
30,
14,
2,
4,
18,
13,
17,
4,
18,
18,
13,
13,
13,
40,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
37,
5
],
[
37,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
15
],
[
15,
16
],
[
16,
17
],
[
17,
18
],
[
15,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
21,
25
],
[
20,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
19,
32
],
[
32,
33
],
[
6,
34
],
[
34,
35
],
[
0,
36
],
[
36,
37
],
[
36,
38
]
]
| [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int i = 1;\n \twhile(sc.hasNextInt()){\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int i = 1;\n \twhile(sc.hasNextInt()){\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }\n }\n}",
"Main",
"public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int i = 1;\n \twhile(sc.hasNextInt()){\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n int i = 1;\n \twhile(sc.hasNextInt()){\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int i = 1;",
"i",
"1",
"while(sc.hasNextInt()){\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }",
"sc.hasNextInt()",
"sc.hasNextInt",
"sc",
"{\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }",
"if(sc.nextInt() == 0) System.out.println(i);",
"sc.nextInt() == 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"i++",
"i",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int i = 1;\n \twhile(sc.hasNextInt()){\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }\n }\n}",
"public class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int i = 1;\n \twhile(sc.hasNextInt()){\n \tif(sc.nextInt() == 0) System.out.println(i);\n i++;\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int i = 1;
while(sc.hasNextInt()){
if(sc.nextInt() == 0) System.out.println(i);
i++;
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
13,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
42,
5
],
[
42,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
26,
30
],
[
25,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
34,
35
],
[
34,
36
],
[
32,
37
],
[
31,
38
],
[
6,
39
],
[
39,
40
],
[
0,
41
],
[
41,
42
],
[
41,
43
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <= 5; i++) {\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <= 5; i++) {\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <= 5; i++) {\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }",
"main",
"{\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <= 5; i++) {\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"for (int i = 1; i <= 5; i++) {\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }",
"int i = 1;",
"int i = 1;",
"i",
"1",
"i <= 5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }",
"{\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }",
"if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }",
"sc.nextInt() == 0",
"sc.nextInt()",
"sc.nextInt",
"sc",
"0",
"{\n System.out.println(i);\n break;\n }",
"System.out.println(i)",
"System.out.println",
"System.out",
"System",
"System.out",
"i",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <= 5; i++) {\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n for (int i = 1; i <= 5; i++) {\n if(sc.nextInt() == 0) {\n System.out.println(i);\n break;\n }\n }\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int i = 1; i <= 5; i++) {
if(sc.nextInt() == 0) {
System.out.println(i);
break;
}
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
18,
13,
13,
17,
30,
0,
13,
13,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
71,
5
],
[
71,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
53,
57
],
[
52,
58
],
[
58,
59
],
[
59,
60
],
[
59,
61
],
[
8,
62
],
[
62,
63
],
[
63,
64
],
[
64,
65
],
[
64,
66
],
[
62,
67
],
[
6,
68
],
[
68,
69
],
[
0,
70
],
[
70,
71
],
[
70,
72
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint X[]=new int[6];\n \tint ans=0;\n \tfor(int i=1;i<=5;i++){\n \t\tX[i]=sc.nextInt();\n \t}\n \tfor(int j=1;j<=5;j++){\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}\n\t\tSystem.out.println(ans);\n\t\t//System.out.print(ans);\n\t\t\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint X[]=new int[6];\n \tint ans=0;\n \tfor(int i=1;i<=5;i++){\n \t\tX[i]=sc.nextInt();\n \t}\n \tfor(int j=1;j<=5;j++){\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}\n\t\tSystem.out.println(ans);\n\t\t//System.out.print(ans);\n\t\t\n\n }\n}",
"Main",
"public static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint X[]=new int[6];\n \tint ans=0;\n \tfor(int i=1;i<=5;i++){\n \t\tX[i]=sc.nextInt();\n \t}\n \tfor(int j=1;j<=5;j++){\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}\n\t\tSystem.out.println(ans);\n\t\t//System.out.print(ans);\n\t\t\n\n }",
"main",
"{\n \tScanner sc = new Scanner(System.in);\n \tint X[]=new int[6];\n \tint ans=0;\n \tfor(int i=1;i<=5;i++){\n \t\tX[i]=sc.nextInt();\n \t}\n \tfor(int j=1;j<=5;j++){\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}\n\t\tSystem.out.println(ans);\n\t\t//System.out.print(ans);\n\t\t\n\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int X[]=new int[6];",
"X",
"new int[6]",
"6",
"int ans=0;",
"ans",
"0",
"for(int i=1;i<=5;i++){\n \t\tX[i]=sc.nextInt();\n \t}",
"int i=1;",
"int i=1;",
"i",
"1",
"i<=5",
"i",
"5",
"i++",
"i++",
"i",
"{\n \t\tX[i]=sc.nextInt();\n \t}",
"{\n \t\tX[i]=sc.nextInt();\n \t}",
"X[i]=sc.nextInt()",
"X[i]",
"X",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int j=1;j<=5;j++){\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}",
"int j=1;",
"int j=1;",
"j",
"1",
"j<=5",
"j",
"5",
"j++",
"j++",
"j",
"{\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}",
"{\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}",
"if (X[j]==0) {\n \t\t\tans=j;\n \t\t}",
"X[j]==0",
"X[j]",
"X",
"j",
"0",
"{\n \t\t\tans=j;\n \t\t}",
"ans=j",
"ans",
"j",
"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 \tScanner sc = new Scanner(System.in);\n \tint X[]=new int[6];\n \tint ans=0;\n \tfor(int i=1;i<=5;i++){\n \t\tX[i]=sc.nextInt();\n \t}\n \tfor(int j=1;j<=5;j++){\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}\n\t\tSystem.out.println(ans);\n\t\t//System.out.print(ans);\n\t\t\n\n }\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \tint X[]=new int[6];\n \tint ans=0;\n \tfor(int i=1;i<=5;i++){\n \t\tX[i]=sc.nextInt();\n \t}\n \tfor(int j=1;j<=5;j++){\n \t\tif (X[j]==0) {\n \t\t\tans=j;\n \t\t}\n \t}\n\t\tSystem.out.println(ans);\n\t\t//System.out.print(ans);\n\t\t\n\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int X[]=new int[6];
int ans=0;
for(int i=1;i<=5;i++){
X[i]=sc.nextInt();
}
for(int j=1;j<=5;j++){
if (X[j]==0) {
ans=j;
}
}
System.out.println(ans);
//System.out.print(ans);
}
} |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
18,
13,
13,
17,
40,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
64,
11
],
[
64,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
15,
17
],
[
14,
18
],
[
18,
19
],
[
18,
20
],
[
20,
21
],
[
21,
22
],
[
22,
23
],
[
23,
24
],
[
20,
25
],
[
14,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
28,
30
],
[
26,
31
],
[
31,
32
],
[
31,
33
],
[
33,
34
],
[
33,
35
],
[
26,
36
],
[
36,
37
],
[
37,
38
],
[
26,
39
],
[
40,
40
],
[
40,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
45,
47
],
[
43,
48
],
[
42,
49
],
[
49,
50
],
[
41,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
12,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"import java.io.BufferedReader;",
"BufferedReader",
"java.io",
"import java.io.IOException;",
"IOException",
"java.io",
"import java.io.InputStreamReader;",
"InputStreamReader",
"java.io",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"Main",
"public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"main",
"{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }\n }",
"BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));",
"reader",
"new BufferedReader(new InputStreamReader(System.in))",
"String[] s = reader.readLine().split(\" \");",
"s",
"reader.readLine().split(\" \")",
"reader.readLine().split",
"reader.readLine()",
"reader.readLine",
"reader",
"\" \"",
"for (int i = 0; i < s.length; i++) {\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }",
"int i = 0;",
"int i = 0;",
"i",
"0",
"i < s.length",
"i",
"s.length",
"s",
"s.length",
"i++",
"i++",
"i",
"{\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }",
"{\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }",
"if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }",
"s[i].indexOf('0') > -1",
"s[i].indexOf('0')",
"s[i].indexOf",
"s[i]",
"s",
"i",
"'0'",
"-1",
"1",
"{\n System.out.println(i + 1);\n break;\n }",
"System.out.println(i + 1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i + 1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n String[] s = reader.readLine().split(\" \");\n for (int i = 0; i < s.length; i++) {\n if (s[i].indexOf('0') > -1) {\n System.out.println(i + 1);\n break;\n }\n }\n }\n}",
"Main"
]
| import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String[] s = reader.readLine().split(" ");
for (int i = 0; i < s.length; i++) {
if (s[i].indexOf('0') > -1) {
System.out.println(i + 1);
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
18,
13,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
3,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
64,
5
],
[
64,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
18,
19
],
[
8,
20
],
[
20,
21
],
[
20,
22
],
[
22,
23
],
[
23,
24
],
[
22,
25
],
[
22,
26
],
[
8,
27
],
[
27,
28
],
[
28,
29
],
[
29,
30
],
[
29,
31
],
[
27,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
34,
36
],
[
27,
37
],
[
37,
38
],
[
38,
39
],
[
27,
40
],
[
41,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
45,
46
],
[
44,
47
],
[
47,
48
],
[
47,
49
],
[
43,
50
],
[
42,
51
],
[
51,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
54,
56
],
[
52,
57
],
[
57,
58
],
[
57,
59
],
[
51,
60
],
[
6,
61
],
[
61,
62
],
[
0,
63
],
[
63,
64
],
[
63,
65
]
]
| [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String input_text = scanner.nextLine();\n scanner.close();\n \n String[] str = input_text.split(\" \", 0);\n \n for(int i=0; i<str.length; i++){\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }\n }\n\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main{\n\tpublic static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String input_text = scanner.nextLine();\n scanner.close();\n \n String[] str = input_text.split(\" \", 0);\n \n for(int i=0; i<str.length; i++){\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }\n }\n\n}",
"Main",
"public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String input_text = scanner.nextLine();\n scanner.close();\n \n String[] str = input_text.split(\" \", 0);\n \n for(int i=0; i<str.length; i++){\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }\n }",
"main",
"{\n Scanner scanner = new Scanner(System.in);\n String input_text = scanner.nextLine();\n scanner.close();\n \n String[] str = input_text.split(\" \", 0);\n \n for(int i=0; i<str.length; i++){\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }\n }",
"Scanner scanner = new Scanner(System.in);",
"scanner",
"new Scanner(System.in)",
"String input_text = scanner.nextLine();",
"input_text",
"scanner.nextLine()",
"scanner.nextLine",
"scanner",
"scanner.close()",
"scanner.close",
"scanner",
"String[] str = input_text.split(\" \", 0);",
"str",
"input_text.split(\" \", 0)",
"input_text.split",
"input_text",
"\" \"",
"0",
"for(int i=0; i<str.length; i++){\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<str.length",
"i",
"str.length",
"str",
"str.length",
"i++",
"i++",
"i",
"{\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }",
"{\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }",
"if (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }",
"Integer.parseInt(str[i])==0",
"Integer.parseInt(str[i])",
"Integer.parseInt",
"Integer",
"str[i]",
"str",
"i",
"0",
"{\n \t\n System.out.print(i+1);\n break;\n \n }",
"System.out.print(i+1)",
"System.out.print",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"break;",
"String[] args",
"args",
"public class Main{\n\tpublic static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String input_text = scanner.nextLine();\n scanner.close();\n \n String[] str = input_text.split(\" \", 0);\n \n for(int i=0; i<str.length; i++){\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }\n }\n\n}",
"public class Main{\n\tpublic static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n String input_text = scanner.nextLine();\n scanner.close();\n \n String[] str = input_text.split(\" \", 0);\n \n for(int i=0; i<str.length; i++){\n\t\tif (Integer.parseInt(str[i])==0){\n \t\n System.out.print(i+1);\n break;\n \n }\n }\n }\n\n}",
"Main"
]
| import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
String input_text = scanner.nextLine();
scanner.close();
String[] str = input_text.split(" ", 0);
for(int i=0; i<str.length; i++){
if (Integer.parseInt(str[i])==0){
System.out.print(i+1);
break;
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
17,
23,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
14,
15
],
[
15,
16
],
[
8,
17
],
[
17,
18
],
[
17,
19
],
[
19,
20
],
[
20,
21
],
[
8,
22
],
[
22,
23
],
[
22,
24
],
[
24,
25
],
[
25,
26
],
[
8,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
8,
32
],
[
32,
33
],
[
32,
34
],
[
34,
35
],
[
35,
36
],
[
8,
37
],
[
37,
38
],
[
38,
39
],
[
38,
40
],
[
37,
41
],
[
41,
42
],
[
42,
43
],
[
43,
44
],
[
44,
45
],
[
44,
46
],
[
42,
47
],
[
37,
48
],
[
48,
49
],
[
49,
50
],
[
49,
51
],
[
48,
52
],
[
52,
53
],
[
53,
54
],
[
54,
55
],
[
55,
56
],
[
55,
57
],
[
53,
58
],
[
48,
59
],
[
59,
60
],
[
60,
61
],
[
60,
62
],
[
59,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
66,
67
],
[
66,
68
],
[
64,
69
],
[
59,
70
],
[
70,
71
],
[
71,
72
],
[
71,
73
],
[
70,
74
],
[
74,
75
],
[
75,
76
],
[
76,
77
],
[
77,
78
],
[
77,
79
],
[
75,
80
],
[
70,
81
],
[
81,
82
],
[
82,
83
],
[
82,
84
],
[
81,
85
],
[
85,
86
],
[
86,
87
],
[
87,
88
],
[
88,
89
],
[
88,
90
],
[
86,
91
],
[
6,
92
],
[
92,
93
]
]
| [
"\nimport java.util.*;\n \nclass Main {\n public static void main(String[] args) {\n \t Scanner sc = new Scanner(System.in);\n\t\tint intA = sc.nextInt();\n \tint intB = sc.nextInt();\n \tint intC = sc.nextInt();\n \tint intD = sc.nextInt();\n \tint intE = sc.nextInt();\n \n\n if (intA == 0 ) {\n System.out.println(\"1\");\n } else if (intB == 0){\n System.out.println(\"2\");\n } else if (intC == 0){\n System.out.println(\"3\");\n } else if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }\n }\n}",
"import java.util.*;",
"util.*",
"java",
"class Main {\n public static void main(String[] args) {\n \t Scanner sc = new Scanner(System.in);\n\t\tint intA = sc.nextInt();\n \tint intB = sc.nextInt();\n \tint intC = sc.nextInt();\n \tint intD = sc.nextInt();\n \tint intE = sc.nextInt();\n \n\n if (intA == 0 ) {\n System.out.println(\"1\");\n } else if (intB == 0){\n System.out.println(\"2\");\n } else if (intC == 0){\n System.out.println(\"3\");\n } else if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }\n }\n}",
"Main",
"public static void main(String[] args) {\n \t Scanner sc = new Scanner(System.in);\n\t\tint intA = sc.nextInt();\n \tint intB = sc.nextInt();\n \tint intC = sc.nextInt();\n \tint intD = sc.nextInt();\n \tint intE = sc.nextInt();\n \n\n if (intA == 0 ) {\n System.out.println(\"1\");\n } else if (intB == 0){\n System.out.println(\"2\");\n } else if (intC == 0){\n System.out.println(\"3\");\n } else if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }\n }",
"main",
"{\n \t Scanner sc = new Scanner(System.in);\n\t\tint intA = sc.nextInt();\n \tint intB = sc.nextInt();\n \tint intC = sc.nextInt();\n \tint intD = sc.nextInt();\n \tint intE = sc.nextInt();\n \n\n if (intA == 0 ) {\n System.out.println(\"1\");\n } else if (intB == 0){\n System.out.println(\"2\");\n } else if (intC == 0){\n System.out.println(\"3\");\n } else if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }\n }",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int intA = sc.nextInt();",
"intA",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int intB = sc.nextInt();",
"intB",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int intC = sc.nextInt();",
"intC",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int intD = sc.nextInt();",
"intD",
"sc.nextInt()",
"sc.nextInt",
"sc",
"int intE = sc.nextInt();",
"intE",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if (intA == 0 ) {\n System.out.println(\"1\");\n } else if (intB == 0){\n System.out.println(\"2\");\n } else if (intC == 0){\n System.out.println(\"3\");\n } else if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }",
"intA == 0",
"intA",
"0",
"{\n System.out.println(\"1\");\n }",
"System.out.println(\"1\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"1\"",
"if (intB == 0){\n System.out.println(\"2\");\n } else if (intC == 0){\n System.out.println(\"3\");\n } else if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }",
"intB == 0",
"intB",
"0",
"{\n System.out.println(\"2\");\n }",
"System.out.println(\"2\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"2\"",
"if (intC == 0){\n System.out.println(\"3\");\n } else if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }",
"intC == 0",
"intC",
"0",
"{\n System.out.println(\"3\");\n }",
"System.out.println(\"3\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"3\"",
"if (intD == 0){\n System.out.println(\"4\");\n } else if (intE == 0){\n System.out.println(\"5\");\n }",
"intD == 0",
"intD",
"0",
"{\n System.out.println(\"4\");\n }",
"System.out.println(\"4\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"4\"",
"if (intE == 0){\n System.out.println(\"5\");\n }",
"intE == 0",
"intE",
"0",
"{\n System.out.println(\"5\");\n }",
"System.out.println(\"5\")",
"System.out.println",
"System.out",
"System",
"System.out",
"\"5\"",
"String[] args",
"args"
]
|
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int intA = sc.nextInt();
int intB = sc.nextInt();
int intC = sc.nextInt();
int intD = sc.nextInt();
int intE = sc.nextInt();
if (intA == 0 ) {
System.out.println("1");
} else if (intB == 0){
System.out.println("2");
} else if (intC == 0){
System.out.println("3");
} else if (intD == 0){
System.out.println("4");
} else if (intE == 0){
System.out.println("5");
}
}
}
|
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
14,
2,
4,
18,
13,
4,
18,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
46,
5
],
[
46,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[
14,
15
],
[
14,
16
],
[
12,
17
],
[
17,
18
],
[
17,
19
],
[
12,
20
],
[
20,
21
],
[
21,
22
],
[
12,
23
],
[
24,
24
],
[
24,
25
],
[
25,
26
],
[
26,
27
],
[
27,
28
],
[
28,
29
],
[
27,
30
],
[
30,
31
],
[
31,
32
],
[
26,
33
],
[
25,
34
],
[
34,
35
],
[
35,
36
],
[
36,
37
],
[
37,
38
],
[
37,
39
],
[
35,
40
],
[
40,
41
],
[
40,
42
],
[
6,
43
],
[
43,
44
],
[
0,
45
],
[
45,
46
],
[
45,
47
]
]
| [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner( System.in );\n\n for(int i=0; i<5; i++){\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }\n\n }\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner( System.in );\n\n for(int i=0; i<5; i++){\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }\n\n }\n}",
"Main",
"public static void main(String[] args){\n Scanner scan = new Scanner( System.in );\n\n for(int i=0; i<5; i++){\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }\n\n }",
"main",
"{\n Scanner scan = new Scanner( System.in );\n\n for(int i=0; i<5; i++){\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }\n\n }",
"Scanner scan = new Scanner( System.in );",
"scan",
"new Scanner( System.in )",
"for(int i=0; i<5; i++){\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }",
"{\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }",
"if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n }",
"Integer.parseInt(scan.next()) == 0",
"Integer.parseInt(scan.next())",
"Integer.parseInt",
"Integer",
"scan.next()",
"scan.next",
"scan",
"0",
"{\n System.out.println(i+1);\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"String[] args",
"args",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner( System.in );\n\n for(int i=0; i<5; i++){\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }\n\n }\n}",
"public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner( System.in );\n\n for(int i=0; i<5; i++){\n if(Integer.parseInt(scan.next()) == 0 ){\n System.out.println(i+1);\n } \n }\n\n }\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner( System.in );
for(int i=0; i<5; i++){
if(Integer.parseInt(scan.next()) == 0 ){
System.out.println(i+1);
}
}
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
17,
14,
2,
18,
13,
13,
17,
30,
3,
4,
18,
18,
13,
13,
13,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
72,
5
],
[
72,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[
8,
16
],
[
16,
17
],
[
16,
18
],
[
8,
19
],
[
19,
20
],
[
20,
21
],
[
21,
22
],
[
21,
23
],
[
19,
24
],
[
24,
25
],
[
24,
26
],
[
19,
27
],
[
27,
28
],
[
28,
29
],
[
19,
30
],
[
31,
31
],
[
31,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
8,
39
],
[
39,
40
],
[
40,
41
],
[
41,
42
],
[
41,
43
],
[
39,
44
],
[
44,
45
],
[
44,
46
],
[
39,
47
],
[
47,
48
],
[
48,
49
],
[
39,
50
],
[
51,
51
],
[
51,
52
],
[
52,
53
],
[
52,
54
],
[
51,
55
],
[
55,
56
],
[
56,
57
],
[
57,
58
],
[
57,
59
],
[
56,
60
],
[
55,
61
],
[
61,
62
],
[
8,
63
],
[
63,
64
],
[
64,
65
],
[
65,
66
],
[
65,
67
],
[
63,
68
],
[
6,
69
],
[
69,
70
],
[
0,
71
],
[
71,
72
],
[
71,
73
]
]
| [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tint count =0;\n\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"import java.util.Scanner;",
"Scanner",
"java.util",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tint count =0;\n\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main",
"public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tint count =0;\n\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tint count =0;\n\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int x[] = new int[5];",
"x",
"new int[5]",
"5",
"int count =0;",
"count",
"0",
"for(int i=0;i<5;i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"{\n\t\t\tx[i]=sc.nextInt();\n\t\t}",
"x[i]=sc.nextInt()",
"x[i]",
"x",
"i",
"sc.nextInt()",
"sc.nextInt",
"sc",
"for(int i=0;i<5;i++) {\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"{\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}",
"count +=1",
"count",
"1",
"if(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}",
"x[i]==0",
"x[i]",
"x",
"i",
"0",
"{\n\t\t\t\tbreak;\n\t\t\t}",
"break;",
"System.out.println(count)",
"System.out.println",
"System.out",
"System",
"System.out",
"count",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tint count =0;\n\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint x[] = new int[5];\n\t\tint count =0;\n\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tx[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<5;i++) {\n\t\t\tcount +=1;\n\t\t\tif(x[i]==0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}",
"Main"
]
| import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int x[] = new int[5];
int count =0;
for(int i=0;i<5;i++) {
x[i]=sc.nextInt();
}
for(int i=0;i<5;i++) {
count +=1;
if(x[i]==0) {
break;
}
}
System.out.println(count);
}
} |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
11,
1,
41,
13,
17,
2,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
4,
18,
18,
13,
13,
2,
13,
17,
29,
23,
13,
10,
6,
13
]
| [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
49,
5
],
[
49,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
14,
15
],
[
15,
16
],
[
16,
17
],
[
16,
18
],
[
14,
19
],
[
19,
20
],
[
19,
21
],
[
14,
22
],
[
22,
23
],
[
23,
24
],
[
14,
25
],
[
26,
26
],
[
26,
27
],
[
27,
28
],
[
27,
29
],
[
29,
30
],
[
30,
31
],
[
26,
32
],
[
32,
33
],
[
33,
34
],
[
33,
35
],
[
32,
36
],
[
36,
37
],
[
37,
38
],
[
38,
39
],
[
39,
40
],
[
39,
41
],
[
37,
42
],
[
42,
43
],
[
42,
44
],
[
36,
45
],
[
6,
46
],
[
46,
47
],
[
0,
48
],
[
48,
49
],
[
48,
50
]
]
| [
"import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int A;\n for(int i=0;i<5;i++){\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n\t}\n}",
"import java.util.*;",
"util.*",
"java",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int A;\n for(int i=0;i<5;i++){\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n\t}\n}",
"Main",
"public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int A;\n for(int i=0;i<5;i++){\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n\t}",
"main",
"{\n\t\tScanner sc = new Scanner(System.in);\n int A;\n for(int i=0;i<5;i++){\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n\t}",
"Scanner sc = new Scanner(System.in);",
"sc",
"new Scanner(System.in)",
"int A;",
"A",
"for(int i=0;i<5;i++){\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }",
"int i=0;",
"int i=0;",
"i",
"0",
"i<5",
"i",
"5",
"i++",
"i++",
"i",
"{\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }",
"{\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }",
"A=sc.nextInt()",
"A",
"sc.nextInt()",
"sc.nextInt",
"sc",
"if(A==0){\n System.out.println(i+1);\n return;\n }",
"A==0",
"A",
"0",
"{\n System.out.println(i+1);\n return;\n }",
"System.out.println(i+1)",
"System.out.println",
"System.out",
"System",
"System.out",
"i+1",
"i",
"1",
"return;",
"String[] args",
"args",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int A;\n for(int i=0;i<5;i++){\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n\t}\n}",
"public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n int A;\n for(int i=0;i<5;i++){\n A=sc.nextInt();\n if(A==0){\n System.out.println(i+1);\n return;\n }\n }\n \n \n\t}\n}",
"Main"
]
| import java.util.*;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int A;
for(int i=0;i<5;i++){
A=sc.nextInt();
if(A==0){
System.out.println(i+1);
return;
}
}
}
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.